@gmb/bitmark-parser-generator 1.5.17 → 1.5.18

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 (68) 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 +2 -2
  4. package/dist/cjs/ast/Builder.js.map +1 -1
  5. package/dist/cjs/config/raw/bits.js +28 -130
  6. package/dist/cjs/config/raw/bits.js.map +1 -1
  7. package/dist/cjs/config/raw/cardSets.js +2 -11
  8. package/dist/cjs/config/raw/cardSets.js.map +1 -1
  9. package/dist/cjs/config/raw/properties.js +0 -5
  10. package/dist/cjs/config/raw/properties.js.map +1 -1
  11. package/dist/cjs/generated/build-info.js +1 -1
  12. package/dist/cjs/generator/json/JsonGenerator.js +0 -3
  13. package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
  14. package/dist/cjs/model/ast/NodeType.js +0 -2
  15. package/dist/cjs/model/ast/NodeType.js.map +1 -1
  16. package/dist/cjs/model/config/BitConfig.js +3 -3
  17. package/dist/cjs/model/config/BitConfig.js.map +1 -1
  18. package/dist/cjs/model/config/CardVariantConfig.js +1 -1
  19. package/dist/cjs/model/config/CardVariantConfig.js.map +1 -1
  20. package/dist/cjs/model/config/enum/PropertyConfigKey.js +0 -1
  21. package/dist/cjs/model/config/enum/PropertyConfigKey.js.map +1 -1
  22. package/dist/cjs/model/enum/PropertyTag.js +0 -1
  23. package/dist/cjs/model/enum/PropertyTag.js.map +1 -1
  24. package/dist/cjs/parser/json/JsonParser.js +2 -2
  25. package/dist/cjs/parser/json/JsonParser.js.map +1 -1
  26. package/dist/esm/ast/Builder.js +2 -2
  27. package/dist/esm/ast/Builder.js.map +1 -1
  28. package/dist/esm/config/raw/bits.js +28 -130
  29. package/dist/esm/config/raw/bits.js.map +1 -1
  30. package/dist/esm/config/raw/cardSets.js +2 -11
  31. package/dist/esm/config/raw/cardSets.js.map +1 -1
  32. package/dist/esm/config/raw/properties.js +0 -5
  33. package/dist/esm/config/raw/properties.js.map +1 -1
  34. package/dist/esm/generated/build-info.js +1 -1
  35. package/dist/esm/generator/json/JsonGenerator.js +0 -3
  36. package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
  37. package/dist/esm/model/ast/NodeType.js +0 -2
  38. package/dist/esm/model/ast/NodeType.js.map +1 -1
  39. package/dist/esm/model/config/BitConfig.js +3 -3
  40. package/dist/esm/model/config/BitConfig.js.map +1 -1
  41. package/dist/esm/model/config/CardVariantConfig.js +1 -1
  42. package/dist/esm/model/config/CardVariantConfig.js.map +1 -1
  43. package/dist/esm/model/config/enum/PropertyConfigKey.js +0 -1
  44. package/dist/esm/model/config/enum/PropertyConfigKey.js.map +1 -1
  45. package/dist/esm/model/enum/PropertyTag.js +0 -1
  46. package/dist/esm/model/enum/PropertyTag.js.map +1 -1
  47. package/dist/esm/parser/json/JsonParser.js +2 -2
  48. package/dist/esm/parser/json/JsonParser.js.map +1 -1
  49. package/dist/types/ast/Builder.d.ts +0 -1
  50. package/dist/types/ast/Builder.d.ts.map +1 -1
  51. package/dist/types/config/raw/bits.d.ts.map +1 -1
  52. package/dist/types/config/raw/cardSets.d.ts.map +1 -1
  53. package/dist/types/config/raw/properties.d.ts.map +1 -1
  54. package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
  55. package/dist/types/model/ast/NodeType.d.ts +0 -4
  56. package/dist/types/model/ast/NodeType.d.ts.map +1 -1
  57. package/dist/types/model/ast/Nodes.d.ts +0 -1
  58. package/dist/types/model/ast/Nodes.d.ts.map +1 -1
  59. package/dist/types/model/config/enum/ConfigKey.d.ts +0 -2
  60. package/dist/types/model/config/enum/ConfigKey.d.ts.map +1 -1
  61. package/dist/types/model/config/enum/PropertyConfigKey.d.ts +0 -3
  62. package/dist/types/model/config/enum/PropertyConfigKey.d.ts.map +1 -1
  63. package/dist/types/model/enum/PropertyTag.d.ts +0 -2
  64. package/dist/types/model/enum/PropertyTag.d.ts.map +1 -1
  65. package/dist/types/model/json/BitJson.d.ts +0 -1
  66. package/dist/types/model/json/BitJson.d.ts.map +1 -1
  67. package/dist/types/parser/json/JsonParser.d.ts.map +1 -1
  68. package/package.json +1 -1
@@ -36,8 +36,6 @@ const BITS = {
36
36
  maxCount: Count_1.Count.infinity,
37
37
  },
38
38
  ],
39
- resourceAttachmentAllowed: true,
40
- bodyAllowed: true,
41
39
  rootExampleType: ExampleType_1.ExampleType.string,
42
40
  },
43
41
  [BitType_1.BitType.appFlashcardsQuiz]: { since: '1.3.0', baseBitType: BitType_1.BitType.appFlashcards },
@@ -55,7 +53,7 @@ const BITS = {
55
53
  minCount: 1,
56
54
  },
57
55
  ],
58
- bodyAllowed: false,
56
+ resourceAttachmentAllowed: false,
59
57
  },
60
58
  [BitType_1.BitType.article]: {
61
59
  since: '1.3.0',
@@ -69,8 +67,6 @@ const BITS = {
69
67
  configKey: TagConfigKey_1.TagConfigKey.title,
70
68
  },
71
69
  ],
72
- resourceAttachmentAllowed: true,
73
- bodyAllowed: true,
74
70
  },
75
71
  [BitType_1.BitType.statement]: { since: '1.3.0', baseBitType: BitType_1.BitType.article },
76
72
  [BitType_1.BitType.buttonCopyText]: {
@@ -96,8 +92,6 @@ const BITS = {
96
92
  },
97
93
  ],
98
94
  textFormatDefault: TextFormat_1.TextFormat.text,
99
- resourceAttachmentAllowed: true,
100
- bodyAllowed: true,
101
95
  },
102
96
  [BitType_1.BitType.appBitmarkFromEditor]: { since: '1.4.5', baseBitType: BitType_1.BitType.appBitmarkFromJavascript },
103
97
  [BitType_1.BitType.articleEmbed]: {
@@ -113,7 +107,7 @@ const BITS = {
113
107
  minCount: 1,
114
108
  },
115
109
  ],
116
- bodyAllowed: true,
110
+ resourceAttachmentAllowed: false,
117
111
  },
118
112
  [BitType_1.BitType.articleLink]: {
119
113
  since: '1.3.0',
@@ -128,7 +122,7 @@ const BITS = {
128
122
  minCount: 1,
129
123
  },
130
124
  ],
131
- bodyAllowed: true,
125
+ resourceAttachmentAllowed: false,
132
126
  },
133
127
  [BitType_1.BitType.audio]: {
134
128
  since: '1.3.0',
@@ -143,7 +137,7 @@ const BITS = {
143
137
  minCount: 1,
144
138
  },
145
139
  ],
146
- bodyAllowed: true,
140
+ resourceAttachmentAllowed: false,
147
141
  },
148
142
  [BitType_1.BitType.audioEmbed]: {
149
143
  since: '1.3.0',
@@ -158,7 +152,7 @@ const BITS = {
158
152
  minCount: 1,
159
153
  },
160
154
  ],
161
- bodyAllowed: true,
155
+ resourceAttachmentAllowed: false,
162
156
  },
163
157
  [BitType_1.BitType.audioLink]: {
164
158
  since: '1.3.0',
@@ -173,7 +167,7 @@ const BITS = {
173
167
  minCount: 1,
174
168
  },
175
169
  ],
176
- bodyAllowed: true,
170
+ resourceAttachmentAllowed: false,
177
171
  },
178
172
  [BitType_1.BitType.bitAlias]: {
179
173
  since: '1.3.0',
@@ -191,7 +185,6 @@ const BITS = {
191
185
  configKey: TagConfigKey_1.TagConfigKey.anchor,
192
186
  },
193
187
  ],
194
- bodyAllowed: true,
195
188
  },
196
189
  [BitType_1.BitType.book]: {
197
190
  since: '1.3.0',
@@ -205,7 +198,6 @@ const BITS = {
205
198
  configKey: GroupConfigKey_1.GroupConfigKey.group_bookCommon,
206
199
  },
207
200
  ],
208
- bodyAllowed: true,
209
201
  },
210
202
  [BitType_1.BitType.bookAcknowledgments]: { since: '1.3.0', baseBitType: BitType_1.BitType.book },
211
203
  [BitType_1.BitType.bookAddendum]: { since: '1.3.0', baseBitType: BitType_1.BitType.book },
@@ -258,8 +250,6 @@ const BITS = {
258
250
  },
259
251
  ],
260
252
  cardSet: CardSetConfigKey_1.CardSetConfigKey._botActionResponses,
261
- bodyAllowed: true,
262
- footerAllowed: true,
263
253
  },
264
254
  [BitType_1.BitType.botActionSend]: {
265
255
  since: '1.3.0',
@@ -273,7 +263,6 @@ const BITS = {
273
263
  configKey: PropertyConfigKey_1.PropertyConfigKey.date,
274
264
  },
275
265
  ],
276
- bodyAllowed: true,
277
266
  },
278
267
  [BitType_1.BitType.browserImage]: {
279
268
  since: '1.3.0',
@@ -297,8 +286,6 @@ const BITS = {
297
286
  configKey: GroupConfigKey_1.GroupConfigKey.group_standardTags,
298
287
  },
299
288
  ],
300
- resourceAttachmentAllowed: true,
301
- bodyAllowed: true,
302
289
  },
303
290
  [BitType_1.BitType.question1]: { since: '1.3.0', baseBitType: BitType_1.BitType.card1 },
304
291
  [BitType_1.BitType.survey1]: { since: '1.3.0', baseBitType: BitType_1.BitType.card1 },
@@ -327,7 +314,6 @@ const BITS = {
327
314
  configKey: PropertyConfigKey_1.PropertyConfigKey.progress,
328
315
  },
329
316
  ],
330
- bodyAllowed: true,
331
317
  },
332
318
  [BitType_1.BitType.clozeAndMultipleChoiceText]: {
333
319
  since: '1.3.0',
@@ -345,8 +331,6 @@ const BITS = {
345
331
  configKey: GroupConfigKey_1.GroupConfigKey.group_trueFalse,
346
332
  },
347
333
  ],
348
- resourceAttachmentAllowed: true,
349
- bodyAllowed: true,
350
334
  },
351
335
  [BitType_1.BitType.coachCallToActionClozeAndMultipleChoiceText]: {
352
336
  since: '1.3.0',
@@ -364,8 +348,6 @@ const BITS = {
364
348
  configKey: GroupConfigKey_1.GroupConfigKey.group_gap,
365
349
  },
366
350
  ],
367
- resourceAttachmentAllowed: true,
368
- bodyAllowed: true,
369
351
  },
370
352
  [BitType_1.BitType.clozeInstructionGrouped]: { since: '1.3.0', baseBitType: BitType_1.BitType.cloze },
371
353
  [BitType_1.BitType.clozeSolutionGrouped]: { since: '1.3.0', baseBitType: BitType_1.BitType.cloze },
@@ -382,9 +364,6 @@ const BITS = {
382
364
  },
383
365
  ],
384
366
  cardSet: CardSetConfigKey_1.CardSetConfigKey._clozeList,
385
- resourceAttachmentAllowed: true,
386
- bodyAllowed: true,
387
- footerAllowed: true,
388
367
  },
389
368
  [BitType_1.BitType.code]: {
390
369
  since: '1.3.0',
@@ -399,7 +378,6 @@ const BITS = {
399
378
  },
400
379
  ],
401
380
  textFormatDefault: TextFormat_1.TextFormat.text,
402
- bodyAllowed: true,
403
381
  },
404
382
  [BitType_1.BitType.appCodeCell]: { since: '1.4.3', baseBitType: BitType_1.BitType.code },
405
383
  [BitType_1.BitType.appCodeEditor]: { since: '1.4.3', baseBitType: BitType_1.BitType.code },
@@ -440,8 +418,6 @@ const BITS = {
440
418
  configKey: GroupConfigKey_1.GroupConfigKey.group_person,
441
419
  },
442
420
  ],
443
- resourceAttachmentAllowed: true,
444
- bodyAllowed: true,
445
421
  },
446
422
  [BitType_1.BitType.conversationLeft1Scream]: { since: '1.3.0', baseBitType: BitType_1.BitType.conversationLeft1 },
447
423
  [BitType_1.BitType.conversationLeft1Thought]: { since: '1.3.0', baseBitType: BitType_1.BitType.conversationLeft1 },
@@ -467,9 +443,6 @@ const BITS = {
467
443
  },
468
444
  ],
469
445
  cardSet: CardSetConfigKey_1.CardSetConfigKey._ingredients,
470
- resourceAttachmentAllowed: true,
471
- bodyAllowed: true,
472
- footerAllowed: true,
473
446
  },
474
447
  [BitType_1.BitType.cookRemark]: { since: '1.3.0', baseBitType: BitType_1.BitType.example },
475
448
  [BitType_1.BitType.cookVariation]: { since: '1.3.0', baseBitType: BitType_1.BitType.example },
@@ -495,7 +468,7 @@ const BITS = {
495
468
  minCount: 1,
496
469
  },
497
470
  ],
498
- bodyAllowed: true,
471
+ resourceAttachmentAllowed: false,
499
472
  },
500
473
  [BitType_1.BitType.documentDownload]: {
501
474
  since: '1.3.0',
@@ -510,7 +483,7 @@ const BITS = {
510
483
  minCount: 1,
511
484
  },
512
485
  ],
513
- bodyAllowed: true,
486
+ resourceAttachmentAllowed: false,
514
487
  },
515
488
  [BitType_1.BitType.documentEmbed]: {
516
489
  since: '1.3.0',
@@ -525,7 +498,7 @@ const BITS = {
525
498
  minCount: 1,
526
499
  },
527
500
  ],
528
- bodyAllowed: true,
501
+ resourceAttachmentAllowed: false,
529
502
  },
530
503
  [BitType_1.BitType.documentLink]: {
531
504
  since: '1.3.0',
@@ -540,7 +513,7 @@ const BITS = {
540
513
  minCount: 1,
541
514
  },
542
515
  ],
543
- bodyAllowed: true,
516
+ resourceAttachmentAllowed: false,
544
517
  },
545
518
  [BitType_1.BitType.essay]: {
546
519
  since: '1.3.0',
@@ -567,8 +540,6 @@ const BITS = {
567
540
  maxCount: Count_1.Count.infinity,
568
541
  },
569
542
  ],
570
- resourceAttachmentAllowed: true,
571
- bodyAllowed: true,
572
543
  rootExampleType: ExampleType_1.ExampleType.string,
573
544
  },
574
545
  [BitType_1.BitType.coachSelfReflectionEssay]: { since: '1.3.0', baseBitType: BitType_1.BitType.essay },
@@ -585,8 +556,6 @@ const BITS = {
585
556
  configKey: TagConfigKey_1.TagConfigKey.title,
586
557
  },
587
558
  ],
588
- resourceAttachmentAllowed: true,
589
- bodyAllowed: true,
590
559
  rootExampleType: ExampleType_1.ExampleType.string,
591
560
  },
592
561
  [BitType_1.BitType.appAiPrompt]: { since: '1.3.0', baseBitType: BitType_1.BitType.example },
@@ -652,9 +621,6 @@ const BITS = {
652
621
  since: '1.4.13',
653
622
  baseBitType: BitType_1.BitType.example,
654
623
  cardSet: CardSetConfigKey_1.CardSetConfigKey._exampleBitList,
655
- resourceAttachmentAllowed: true,
656
- bodyAllowed: true,
657
- footerAllowed: true,
658
624
  rootExampleType: ExampleType_1.ExampleType.string,
659
625
  },
660
626
  [BitType_1.BitType.extractorPage]: { since: '1.5.17', baseBitType: BitType_1.BitType.page },
@@ -708,7 +674,7 @@ const BITS = {
708
674
  minCount: 1,
709
675
  },
710
676
  ],
711
- bodyAllowed: true,
677
+ resourceAttachmentAllowed: false,
712
678
  },
713
679
  [BitType_1.BitType.pageOpenBook]: {
714
680
  since: '1.5.10',
@@ -716,7 +682,11 @@ const BITS = {
716
682
  tags: [
717
683
  {
718
684
  type: BitTagType_1.BitTagType.property,
719
- configKey: PropertyConfigKey_1.PropertyConfigKey.bookId,
685
+ configKey: PropertyConfigKey_1.PropertyConfigKey.book,
686
+ },
687
+ {
688
+ type: BitTagType_1.BitTagType.tag,
689
+ configKey: TagConfigKey_1.TagConfigKey.tag_reference,
720
690
  },
721
691
  {
722
692
  type: BitTagType_1.BitTagType.property,
@@ -749,9 +719,6 @@ const BITS = {
749
719
  },
750
720
  ],
751
721
  cardSet: CardSetConfigKey_1.CardSetConfigKey._flashcards,
752
- resourceAttachmentAllowed: true,
753
- bodyAllowed: true,
754
- footerAllowed: true,
755
722
  },
756
723
  [BitType_1.BitType.flashcard1]: { since: '1.3.0', baseBitType: BitType_1.BitType.flashcard },
757
724
  [BitType_1.BitType.focusImage]: {
@@ -780,8 +747,6 @@ const BITS = {
780
747
  configKey: GroupConfigKey_1.GroupConfigKey.group_trueFalse,
781
748
  },
782
749
  ],
783
- resourceAttachmentAllowed: true,
784
- bodyAllowed: true,
785
750
  },
786
751
  [BitType_1.BitType.image]: {
787
752
  since: '1.3.0',
@@ -800,7 +765,7 @@ const BITS = {
800
765
  minCount: 1,
801
766
  },
802
767
  ],
803
- bodyAllowed: true,
768
+ resourceAttachmentAllowed: false,
804
769
  },
805
770
  [BitType_1.BitType.appCreateBitsFromImage]: { since: '1.3.0', baseBitType: BitType_1.BitType.image },
806
771
  [BitType_1.BitType.appGetScreenshot]: { since: '1.3.0', baseBitType: BitType_1.BitType.image },
@@ -835,7 +800,7 @@ const BITS = {
835
800
  minCount: 1,
836
801
  },
837
802
  ],
838
- bodyAllowed: true,
803
+ resourceAttachmentAllowed: false,
839
804
  },
840
805
  [BitType_1.BitType.imageOnDevice]: {
841
806
  since: '1.3.0',
@@ -853,7 +818,7 @@ const BITS = {
853
818
  configKey: GroupConfigKey_1.GroupConfigKey.group_imageSource,
854
819
  },
855
820
  ],
856
- bodyAllowed: true,
821
+ resourceAttachmentAllowed: false,
857
822
  },
858
823
  [BitType_1.BitType.imageResponsive]: {
859
824
  since: '1.3.0',
@@ -868,7 +833,7 @@ const BITS = {
868
833
  configKey: GroupConfigKey_1.GroupConfigKey.group_resourceImageResponsive,
869
834
  },
870
835
  ],
871
- bodyAllowed: true, // false??
836
+ resourceAttachmentAllowed: false,
872
837
  },
873
838
  [BitType_1.BitType.imagesLogoGrave]: {
874
839
  since: '1.5.11',
@@ -885,7 +850,7 @@ const BITS = {
885
850
  maxCount: Count_1.Count.infinity,
886
851
  },
887
852
  ],
888
- bodyAllowed: true, // false??
853
+ resourceAttachmentAllowed: false,
889
854
  },
890
855
  [BitType_1.BitType.internalLink]: {
891
856
  since: '1.3.0',
@@ -899,7 +864,6 @@ const BITS = {
899
864
  configKey: TagConfigKey_1.TagConfigKey.tag_reference,
900
865
  },
901
866
  ],
902
- bodyAllowed: true,
903
867
  },
904
868
  [BitType_1.BitType.interview]: {
905
869
  since: '1.3.0',
@@ -914,9 +878,6 @@ const BITS = {
914
878
  },
915
879
  ],
916
880
  cardSet: CardSetConfigKey_1.CardSetConfigKey._questions,
917
- resourceAttachmentAllowed: true,
918
- bodyAllowed: true,
919
- footerAllowed: true,
920
881
  },
921
882
  [BitType_1.BitType.interviewInstructionGrouped]: { since: '1.3.0', baseBitType: BitType_1.BitType.interview },
922
883
  [BitType_1.BitType.botInterview]: { since: '1.3.0', baseBitType: BitType_1.BitType.interview },
@@ -932,8 +893,6 @@ const BITS = {
932
893
  configKey: GroupConfigKey_1.GroupConfigKey.group_learningPathCommon,
933
894
  },
934
895
  ],
935
- resourceAttachmentAllowed: true,
936
- bodyAllowed: true,
937
896
  },
938
897
  [BitType_1.BitType.bookLink]: { since: '1.3.0', baseBitType: BitType_1.BitType.learningPathBook },
939
898
  [BitType_1.BitType.bookLinkNext]: { since: '1.3.0', baseBitType: BitType_1.BitType.learningPathBook },
@@ -996,8 +955,6 @@ const BITS = {
996
955
  configKey: GroupConfigKey_1.GroupConfigKey.group_mark,
997
956
  },
998
957
  ],
999
- resourceAttachmentAllowed: true,
1000
- bodyAllowed: true,
1001
958
  },
1002
959
  [BitType_1.BitType.match]: {
1003
960
  since: '1.3.0',
@@ -1008,9 +965,6 @@ const BITS = {
1008
965
  },
1009
966
  ],
1010
967
  cardSet: CardSetConfigKey_1.CardSetConfigKey._matchPairs,
1011
- resourceAttachmentAllowed: true,
1012
- bodyAllowed: true,
1013
- footerAllowed: true,
1014
968
  },
1015
969
  [BitType_1.BitType.matchAll]: { since: '1.3.0', baseBitType: BitType_1.BitType.match },
1016
970
  [BitType_1.BitType.matchReverse]: { since: '1.3.0', baseBitType: BitType_1.BitType.match },
@@ -1043,8 +997,6 @@ const BITS = {
1043
997
  configKey: GroupConfigKey_1.GroupConfigKey.group_trueFalse,
1044
998
  },
1045
999
  ],
1046
- resourceAttachmentAllowed: true,
1047
- bodyAllowed: true,
1048
1000
  },
1049
1001
  [BitType_1.BitType.coachSelfReflectionMultipleChoice1]: { since: '1.3.0', baseBitType: BitType_1.BitType.multipleChoice1 },
1050
1002
  [BitType_1.BitType.multipleChoice]: {
@@ -1060,9 +1012,6 @@ const BITS = {
1060
1012
  }, // This is actually for multiple-choice-1, but we support it here as well (as many bits are wrong)
1061
1013
  ],
1062
1014
  cardSet: CardSetConfigKey_1.CardSetConfigKey._quiz,
1063
- resourceAttachmentAllowed: true,
1064
- bodyAllowed: true,
1065
- footerAllowed: true,
1066
1015
  },
1067
1016
  [BitType_1.BitType.coachSelfReflectionMultipleChoice]: { since: '1.3.0', baseBitType: BitType_1.BitType.multipleChoice },
1068
1017
  [BitType_1.BitType.multipleChoiceText]: {
@@ -1077,8 +1026,6 @@ const BITS = {
1077
1026
  configKey: GroupConfigKey_1.GroupConfigKey.group_trueFalse,
1078
1027
  },
1079
1028
  ],
1080
- resourceAttachmentAllowed: true,
1081
- bodyAllowed: true,
1082
1029
  },
1083
1030
  [BitType_1.BitType.coachCallToActionMultipleChoiceText]: { since: '1.3.0', baseBitType: BitType_1.BitType.multipleChoiceText },
1084
1031
  [BitType_1.BitType.coachSelfReflectionMultipleChoiceText]: { since: '1.3.0', baseBitType: BitType_1.BitType.multipleChoiceText },
@@ -1094,8 +1041,6 @@ const BITS = {
1094
1041
  configKey: GroupConfigKey_1.GroupConfigKey.group_trueFalse,
1095
1042
  },
1096
1043
  ],
1097
- resourceAttachmentAllowed: true,
1098
- bodyAllowed: true,
1099
1044
  },
1100
1045
  [BitType_1.BitType.coachSelfReflectionMultipleResponse1]: { since: '1.3.0', baseBitType: BitType_1.BitType.multipleResponse1 },
1101
1046
  [BitType_1.BitType.multipleResponse]: {
@@ -1111,9 +1056,6 @@ const BITS = {
1111
1056
  }, // This is actually for multiple-response-1, but we support it here as well (as many bits are wrong)
1112
1057
  ],
1113
1058
  cardSet: CardSetConfigKey_1.CardSetConfigKey._quiz,
1114
- resourceAttachmentAllowed: true,
1115
- bodyAllowed: true,
1116
- footerAllowed: true,
1117
1059
  },
1118
1060
  [BitType_1.BitType.coachSelfReflectionMultipleResponse]: { since: '1.3.0', baseBitType: BitType_1.BitType.multipleResponse },
1119
1061
  [BitType_1.BitType.page]: {
@@ -1132,8 +1074,6 @@ const BITS = {
1132
1074
  configKey: PropertyConfigKey_1.PropertyConfigKey.thumbImage,
1133
1075
  },
1134
1076
  ],
1135
- resourceAttachmentAllowed: true,
1136
- bodyAllowed: true,
1137
1077
  },
1138
1078
  [BitType_1.BitType.pageBuyButton]: {
1139
1079
  since: '1.4.3',
@@ -1151,8 +1091,6 @@ const BITS = {
1151
1091
  configKey: PropertyConfigKey_1.PropertyConfigKey.buttonCaption,
1152
1092
  },
1153
1093
  ],
1154
- resourceAttachmentAllowed: true,
1155
- bodyAllowed: true,
1156
1094
  },
1157
1095
  [BitType_1.BitType.pageBuyButtonPromotion]: { since: '1.5.11', baseBitType: BitType_1.BitType.pageBuyButton },
1158
1096
  [BitType_1.BitType.pagePerson]: {
@@ -1171,8 +1109,6 @@ const BITS = {
1171
1109
  configKey: PropertyConfigKey_1.PropertyConfigKey.buttonCaption,
1172
1110
  },
1173
1111
  ],
1174
- resourceAttachmentAllowed: true,
1175
- bodyAllowed: true,
1176
1112
  },
1177
1113
  [BitType_1.BitType.pageProduct]: {
1178
1114
  since: '1.4.17',
@@ -1186,8 +1122,6 @@ const BITS = {
1186
1122
  configKey: PropertyConfigKey_1.PropertyConfigKey.product,
1187
1123
  },
1188
1124
  ],
1189
- resourceAttachmentAllowed: true,
1190
- bodyAllowed: true,
1191
1125
  },
1192
1126
  [BitType_1.BitType.pageProductList]: {
1193
1127
  since: '1.4.17',
@@ -1202,8 +1136,6 @@ const BITS = {
1202
1136
  maxCount: Count_1.Count.infinity,
1203
1137
  },
1204
1138
  ],
1205
- resourceAttachmentAllowed: true,
1206
- bodyAllowed: true,
1207
1139
  },
1208
1140
  [BitType_1.BitType.pageProductVideo]: {
1209
1141
  since: '1.4.17',
@@ -1217,8 +1149,6 @@ const BITS = {
1217
1149
  configKey: PropertyConfigKey_1.PropertyConfigKey.productVideo,
1218
1150
  },
1219
1151
  ],
1220
- resourceAttachmentAllowed: true,
1221
- bodyAllowed: true,
1222
1152
  },
1223
1153
  [BitType_1.BitType.pageProductVideoList]: {
1224
1154
  since: '1.4.17',
@@ -1233,8 +1163,6 @@ const BITS = {
1233
1163
  maxCount: Count_1.Count.infinity,
1234
1164
  },
1235
1165
  ],
1236
- resourceAttachmentAllowed: true,
1237
- bodyAllowed: true,
1238
1166
  },
1239
1167
  [BitType_1.BitType.pageSectionFolder]: {
1240
1168
  since: '1.4.17',
@@ -1248,8 +1176,6 @@ const BITS = {
1248
1176
  configKey: PropertyConfigKey_1.PropertyConfigKey.productFolder,
1249
1177
  },
1250
1178
  ],
1251
- resourceAttachmentAllowed: true,
1252
- bodyAllowed: true,
1253
1179
  },
1254
1180
  [BitType_1.BitType.photo]: {
1255
1181
  since: '1.3.0',
@@ -1267,7 +1193,6 @@ const BITS = {
1267
1193
  configKey: PropertyConfigKey_1.PropertyConfigKey.quotedPerson,
1268
1194
  },
1269
1195
  ],
1270
- bodyAllowed: true,
1271
1196
  },
1272
1197
  [BitType_1.BitType.rating]: {
1273
1198
  since: '1.3.0',
@@ -1277,7 +1202,6 @@ const BITS = {
1277
1202
  configKey: GroupConfigKey_1.GroupConfigKey.group_standardTags,
1278
1203
  },
1279
1204
  ],
1280
- bodyAllowed: true,
1281
1205
  },
1282
1206
  [BitType_1.BitType.coachSelfReflectionRating]: { since: '1.3.0', baseBitType: BitType_1.BitType.rating },
1283
1207
  [BitType_1.BitType.releaseNote]: {
@@ -1300,8 +1224,6 @@ const BITS = {
1300
1224
  configKey: PropertyConfigKey_1.PropertyConfigKey.releaseDate,
1301
1225
  },
1302
1226
  ],
1303
- resourceAttachmentAllowed: true,
1304
- bodyAllowed: true,
1305
1227
  },
1306
1228
  [BitType_1.BitType.reviewNote]: {
1307
1229
  since: '1.3.0',
@@ -1327,8 +1249,6 @@ const BITS = {
1327
1249
  configKey: PropertyConfigKey_1.PropertyConfigKey.resolvedBy,
1328
1250
  },
1329
1251
  ],
1330
- resourceAttachmentAllowed: true,
1331
- bodyAllowed: true,
1332
1252
  rootExampleType: ExampleType_1.ExampleType.string,
1333
1253
  },
1334
1254
  [BitType_1.BitType.reviewAuthorNote]: { since: '1.3.0', baseBitType: BitType_1.BitType.reviewNote },
@@ -1352,8 +1272,6 @@ const BITS = {
1352
1272
  configKey: TagConfigKey_1.TagConfigKey.tag_reference,
1353
1273
  },
1354
1274
  ],
1355
- resourceAttachmentAllowed: true,
1356
- bodyAllowed: true,
1357
1275
  },
1358
1276
  [BitType_1.BitType.sequence]: {
1359
1277
  since: '1.3.0',
@@ -1364,9 +1282,6 @@ const BITS = {
1364
1282
  },
1365
1283
  ],
1366
1284
  cardSet: CardSetConfigKey_1.CardSetConfigKey._elements,
1367
- resourceAttachmentAllowed: true,
1368
- bodyAllowed: true,
1369
- footerAllowed: true,
1370
1285
  rootExampleType: ExampleType_1.ExampleType.boolean,
1371
1286
  },
1372
1287
  [BitType_1.BitType.stillImageFilm]: {
@@ -1382,7 +1297,7 @@ const BITS = {
1382
1297
  configKey: GroupConfigKey_1.GroupConfigKey.group_resourceStillImageFilm,
1383
1298
  },
1384
1299
  ],
1385
- bodyAllowed: true,
1300
+ resourceAttachmentAllowed: false,
1386
1301
  },
1387
1302
  [BitType_1.BitType.stillImageFilmEmbed]: {
1388
1303
  since: '1.3.0',
@@ -1397,7 +1312,7 @@ const BITS = {
1397
1312
  minCount: 1,
1398
1313
  },
1399
1314
  ],
1400
- bodyAllowed: true,
1315
+ resourceAttachmentAllowed: false,
1401
1316
  },
1402
1317
  [BitType_1.BitType.stillImageFilmLink]: {
1403
1318
  since: '1.3.0',
@@ -1412,7 +1327,7 @@ const BITS = {
1412
1327
  minCount: 1,
1413
1328
  },
1414
1329
  ],
1415
- bodyAllowed: true,
1330
+ resourceAttachmentAllowed: false,
1416
1331
  },
1417
1332
  [BitType_1.BitType.surveyAnonymous]: {
1418
1333
  since: '1.3.0',
@@ -1422,8 +1337,6 @@ const BITS = {
1422
1337
  configKey: GroupConfigKey_1.GroupConfigKey.group_standardTags,
1423
1338
  },
1424
1339
  ],
1425
- resourceAttachmentAllowed: true,
1426
- bodyAllowed: true,
1427
1340
  },
1428
1341
  [BitType_1.BitType.survey]: {
1429
1342
  since: '1.3.0',
@@ -1433,8 +1346,6 @@ const BITS = {
1433
1346
  configKey: GroupConfigKey_1.GroupConfigKey.group_standardTags,
1434
1347
  },
1435
1348
  ],
1436
- resourceAttachmentAllowed: true,
1437
- bodyAllowed: true,
1438
1349
  },
1439
1350
  [BitType_1.BitType.scorm]: {
1440
1351
  since: '1.5.11',
@@ -1452,8 +1363,6 @@ const BITS = {
1452
1363
  configKey: PropertyConfigKey_1.PropertyConfigKey.posterImage,
1453
1364
  },
1454
1365
  ],
1455
- resourceAttachmentAllowed: true,
1456
- bodyAllowed: true,
1457
1366
  },
1458
1367
  [BitType_1.BitType.table]: {
1459
1368
  since: '1.5.15',
@@ -1464,7 +1373,6 @@ const BITS = {
1464
1373
  },
1465
1374
  ],
1466
1375
  textFormatDefault: TextFormat_1.TextFormat.json,
1467
- bodyAllowed: true,
1468
1376
  },
1469
1377
  [BitType_1.BitType.toc]: {
1470
1378
  since: '1.3.0',
@@ -1474,7 +1382,6 @@ const BITS = {
1474
1382
  configKey: GroupConfigKey_1.GroupConfigKey.group_standardTags,
1475
1383
  },
1476
1384
  ],
1477
- bodyAllowed: true,
1478
1385
  },
1479
1386
  [BitType_1.BitType.tocChapter]: {
1480
1387
  since: '1.5.5',
@@ -1536,8 +1443,6 @@ const BITS = {
1536
1443
  configKey: TagConfigKey_1.TagConfigKey.false,
1537
1444
  },
1538
1445
  ],
1539
- resourceAttachmentAllowed: true,
1540
- bodyAllowed: false,
1541
1446
  rootExampleType: ExampleType_1.ExampleType.boolean,
1542
1447
  },
1543
1448
  [BitType_1.BitType.trueFalse]: {
@@ -1557,9 +1462,6 @@ const BITS = {
1557
1462
  },
1558
1463
  ],
1559
1464
  cardSet: CardSetConfigKey_1.CardSetConfigKey._statements,
1560
- resourceAttachmentAllowed: true,
1561
- bodyAllowed: true,
1562
- footerAllowed: true,
1563
1465
  },
1564
1466
  [BitType_1.BitType.vendorAmcharts5Chart]: {
1565
1467
  since: '1.5.8',
@@ -1571,7 +1473,6 @@ const BITS = {
1571
1473
  },
1572
1474
  ],
1573
1475
  textFormatDefault: TextFormat_1.TextFormat.json,
1574
- bodyAllowed: true,
1575
1476
  },
1576
1477
  [BitType_1.BitType.vendorIframelyEmbed]: {
1577
1478
  since: '1.5.10',
@@ -1595,7 +1496,6 @@ const BITS = {
1595
1496
  },
1596
1497
  ],
1597
1498
  textFormatDefault: TextFormat_1.TextFormat.text,
1598
- bodyAllowed: true,
1599
1499
  },
1600
1500
  [BitType_1.BitType.vendorIframelyCard]: { since: '1.5.10', baseBitType: BitType_1.BitType.vendorIframelyEmbed },
1601
1501
  [BitType_1.BitType.vendorIframelyPreview]: { since: '1.5.10', baseBitType: BitType_1.BitType.vendorIframelyEmbed },
@@ -1614,7 +1514,6 @@ const BITS = {
1614
1514
  },
1615
1515
  ],
1616
1516
  textFormatDefault: TextFormat_1.TextFormat.text,
1617
- bodyAllowed: true,
1618
1517
  },
1619
1518
  [BitType_1.BitType.vendorJupyterCellCode]: { since: '1.4.3', baseBitType: BitType_1.BitType.vendorJupyterOutput },
1620
1519
  [BitType_1.BitType.vendorJupyterCellMarkdown]: { since: '1.4.3', baseBitType: BitType_1.BitType.vendorJupyterOutput },
@@ -1634,7 +1533,6 @@ const BITS = {
1634
1533
  },
1635
1534
  ],
1636
1535
  textFormatDefault: TextFormat_1.TextFormat.text,
1637
- bodyAllowed: true,
1638
1536
  },
1639
1537
  [BitType_1.BitType.video]: {
1640
1538
  since: '1.3.0',
@@ -1649,7 +1547,7 @@ const BITS = {
1649
1547
  minCount: 1,
1650
1548
  },
1651
1549
  ],
1652
- bodyAllowed: true,
1550
+ resourceAttachmentAllowed: false,
1653
1551
  },
1654
1552
  [BitType_1.BitType.videoLandscape]: { since: '1.3.0', baseBitType: BitType_1.BitType.video },
1655
1553
  [BitType_1.BitType.videoPortrait]: { since: '1.3.0', baseBitType: BitType_1.BitType.video },
@@ -1666,7 +1564,7 @@ const BITS = {
1666
1564
  minCount: 1,
1667
1565
  },
1668
1566
  ],
1669
- bodyAllowed: true,
1567
+ resourceAttachmentAllowed: false,
1670
1568
  },
1671
1569
  [BitType_1.BitType.videoEmbedLandscape]: { since: '1.3.0', baseBitType: BitType_1.BitType.videoEmbed },
1672
1570
  [BitType_1.BitType.videoEmbedPortrait]: { since: '1.3.0', baseBitType: BitType_1.BitType.videoEmbed },
@@ -1683,7 +1581,7 @@ const BITS = {
1683
1581
  minCount: 1,
1684
1582
  },
1685
1583
  ],
1686
- bodyAllowed: true,
1584
+ resourceAttachmentAllowed: false,
1687
1585
  },
1688
1586
  [BitType_1.BitType.videoLinkLandscape]: { since: '1.3.0', baseBitType: BitType_1.BitType.videoLink },
1689
1587
  [BitType_1.BitType.videoLinkPortrait]: { since: '1.3.0', baseBitType: BitType_1.BitType.videoLink },
@@ -1700,7 +1598,7 @@ const BITS = {
1700
1598
  minCount: 1,
1701
1599
  },
1702
1600
  ],
1703
- bodyAllowed: true,
1601
+ resourceAttachmentAllowed: false,
1704
1602
  },
1705
1603
  };
1706
1604
  exports.BITS = BITS;