@gmb/bitmark-parser-generator 1.4.1 → 1.4.3

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 (119) 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 +56 -7
  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 +241 -173
  8. package/dist/cjs/config/raw/bits.js.map +1 -1
  9. package/dist/cjs/config/raw/cardSets.js +42 -35
  10. package/dist/cjs/config/raw/cardSets.js.map +1 -1
  11. package/dist/cjs/config/raw/groups.js +225 -175
  12. package/dist/cjs/config/raw/groups.js.map +1 -1
  13. package/dist/cjs/config/raw/properties.js +112 -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/generator/bitmark/BitmarkGenerator.js +5 -3
  21. package/dist/cjs/generator/bitmark/BitmarkGenerator.js.map +1 -1
  22. package/dist/cjs/generator/json/JsonGenerator.js +29 -4
  23. package/dist/cjs/generator/json/JsonGenerator.js.map +1 -1
  24. package/dist/cjs/model/ast/NodeType.js +11 -0
  25. package/dist/cjs/model/ast/NodeType.js.map +1 -1
  26. package/dist/cjs/model/config/enum/ConfigKey.js +22 -167
  27. package/dist/cjs/model/config/enum/ConfigKey.js.map +1 -1
  28. package/dist/cjs/model/config/enum/GroupConfigKey.js +53 -0
  29. package/dist/cjs/model/config/enum/GroupConfigKey.js.map +1 -0
  30. package/dist/cjs/model/config/enum/PropertyConfigKey.js +101 -0
  31. package/dist/cjs/model/config/enum/PropertyConfigKey.js.map +1 -0
  32. package/dist/cjs/model/config/enum/ResourceConfigKey.js +37 -0
  33. package/dist/cjs/model/config/enum/ResourceConfigKey.js.map +1 -0
  34. package/dist/cjs/model/config/enum/TagConfigKey.js +28 -0
  35. package/dist/cjs/model/config/enum/TagConfigKey.js.map +1 -0
  36. package/dist/cjs/model/enum/BitType.js +17 -1
  37. package/dist/cjs/model/enum/BitType.js.map +1 -1
  38. package/dist/cjs/model/enum/PropertyTag.js +6 -0
  39. package/dist/cjs/model/enum/PropertyTag.js.map +1 -1
  40. package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +6 -6
  41. package/dist/cjs/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
  42. package/dist/cjs/parser/json/JsonParser.js +11 -4
  43. package/dist/cjs/parser/json/JsonParser.js.map +1 -1
  44. package/dist/esm/ast/Builder.js +57 -8
  45. package/dist/esm/ast/Builder.js.map +1 -1
  46. package/dist/esm/config/ConfigHydrator.js +9 -5
  47. package/dist/esm/config/ConfigHydrator.js.map +1 -1
  48. package/dist/esm/config/raw/bits.js +241 -173
  49. package/dist/esm/config/raw/bits.js.map +1 -1
  50. package/dist/esm/config/raw/cardSets.js +42 -35
  51. package/dist/esm/config/raw/cardSets.js.map +1 -1
  52. package/dist/esm/config/raw/groups.js +225 -175
  53. package/dist/esm/config/raw/groups.js.map +1 -1
  54. package/dist/esm/config/raw/properties.js +112 -83
  55. package/dist/esm/config/raw/properties.js.map +1 -1
  56. package/dist/esm/config/raw/resources.js +23 -23
  57. package/dist/esm/config/raw/resources.js.map +1 -1
  58. package/dist/esm/config/raw/tags.js +16 -16
  59. package/dist/esm/config/raw/tags.js.map +1 -1
  60. package/dist/esm/generated/build-info.js +1 -1
  61. package/dist/esm/generator/bitmark/BitmarkGenerator.js +5 -3
  62. package/dist/esm/generator/bitmark/BitmarkGenerator.js.map +1 -1
  63. package/dist/esm/generator/json/JsonGenerator.js +29 -4
  64. package/dist/esm/generator/json/JsonGenerator.js.map +1 -1
  65. package/dist/esm/model/ast/NodeType.js +11 -0
  66. package/dist/esm/model/ast/NodeType.js.map +1 -1
  67. package/dist/esm/model/config/enum/ConfigKey.js +22 -167
  68. package/dist/esm/model/config/enum/ConfigKey.js.map +1 -1
  69. package/dist/esm/model/config/enum/GroupConfigKey.js +49 -0
  70. package/dist/esm/model/config/enum/GroupConfigKey.js.map +1 -0
  71. package/dist/esm/model/config/enum/PropertyConfigKey.js +97 -0
  72. package/dist/esm/model/config/enum/PropertyConfigKey.js.map +1 -0
  73. package/dist/esm/model/config/enum/ResourceConfigKey.js +33 -0
  74. package/dist/esm/model/config/enum/ResourceConfigKey.js.map +1 -0
  75. package/dist/esm/model/config/enum/TagConfigKey.js +24 -0
  76. package/dist/esm/model/config/enum/TagConfigKey.js.map +1 -0
  77. package/dist/esm/model/enum/BitType.js +17 -1
  78. package/dist/esm/model/enum/BitType.js.map +1 -1
  79. package/dist/esm/model/enum/PropertyTag.js +6 -0
  80. package/dist/esm/model/enum/PropertyTag.js.map +1 -1
  81. package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js +6 -6
  82. package/dist/esm/parser/bitmark/peg/contentProcessors/PropertyContentProcessor.js.map +1 -1
  83. package/dist/esm/parser/json/JsonParser.js +11 -4
  84. package/dist/esm/parser/json/JsonParser.js.map +1 -1
  85. package/dist/types/ast/Builder.d.ts +43 -24
  86. package/dist/types/ast/Builder.d.ts.map +1 -1
  87. package/dist/types/config/ConfigHydrator.d.ts.map +1 -1
  88. package/dist/types/config/raw/bits.d.ts.map +1 -1
  89. package/dist/types/config/raw/cardSets.d.ts.map +1 -1
  90. package/dist/types/config/raw/groups.d.ts.map +1 -1
  91. package/dist/types/config/raw/properties.d.ts.map +1 -1
  92. package/dist/types/generator/bitmark/BitmarkGenerator.d.ts +1 -1
  93. package/dist/types/generator/bitmark/BitmarkGenerator.d.ts.map +1 -1
  94. package/dist/types/generator/json/JsonGenerator.d.ts +1 -1
  95. package/dist/types/generator/json/JsonGenerator.d.ts.map +1 -1
  96. package/dist/types/model/ast/NodeType.d.ts +22 -0
  97. package/dist/types/model/ast/NodeType.d.ts.map +1 -1
  98. package/dist/types/model/ast/Nodes.d.ts +8 -1
  99. package/dist/types/model/ast/Nodes.d.ts.map +1 -1
  100. package/dist/types/model/config/enum/ConfigKey.d.ts +333 -316
  101. package/dist/types/model/config/enum/ConfigKey.d.ts.map +1 -1
  102. package/dist/types/model/config/enum/GroupConfigKey.d.ts +132 -0
  103. package/dist/types/model/config/enum/GroupConfigKey.d.ts.map +1 -0
  104. package/dist/types/model/config/enum/PropertyConfigKey.d.ts +276 -0
  105. package/dist/types/model/config/enum/PropertyConfigKey.d.ts.map +1 -0
  106. package/dist/types/model/config/enum/ResourceConfigKey.d.ts +78 -0
  107. package/dist/types/model/config/enum/ResourceConfigKey.d.ts.map +1 -0
  108. package/dist/types/model/config/enum/TagConfigKey.d.ts +57 -0
  109. package/dist/types/model/config/enum/TagConfigKey.d.ts.map +1 -0
  110. package/dist/types/model/enum/BitType.d.ts +34 -2
  111. package/dist/types/model/enum/BitType.d.ts.map +1 -1
  112. package/dist/types/model/enum/PropertyTag.d.ts +12 -0
  113. package/dist/types/model/enum/PropertyTag.d.ts.map +1 -1
  114. package/dist/types/model/json/BitJson.d.ts +11 -4
  115. package/dist/types/model/json/BitJson.d.ts.map +1 -1
  116. package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts +1 -1
  117. package/dist/types/parser/bitmark/peg/BitmarkPegParserTypes.d.ts.map +1 -1
  118. package/dist/types/parser/json/JsonParser.d.ts.map +1 -1
  119. package/package.json +3 -4
@@ -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,
@@ -68,6 +70,7 @@ const BITS = {
68
70
  aliases: {
69
71
  [AliasBitType.page]: { since: '1.3.0' },
70
72
  [AliasBitType.statement]: { since: '1.3.0' },
73
+ [AliasBitType.buttonCopyText]: { since: '1.4.3' },
71
74
  },
72
75
  },
73
76
  [RootBitType.articleEmbed]: {
@@ -75,11 +78,11 @@ const BITS = {
75
78
  tags: [
76
79
  {
77
80
  type: BitTagType.group,
78
- configKey: ConfigKey._group_standardTags,
81
+ configKey: GroupConfigKey.group_standardTags,
79
82
  },
80
83
  {
81
84
  type: BitTagType.group,
82
- configKey: ConfigKey._group_resourceArticleEmbed,
85
+ configKey: GroupConfigKey.group_resourceArticleEmbed,
83
86
  minCount: 1,
84
87
  },
85
88
  ],
@@ -90,11 +93,11 @@ const BITS = {
90
93
  tags: [
91
94
  {
92
95
  type: BitTagType.group,
93
- configKey: ConfigKey._group_standardTags,
96
+ configKey: GroupConfigKey.group_standardTags,
94
97
  },
95
98
  {
96
99
  type: BitTagType.group,
97
- configKey: ConfigKey._group_resourceArticleLink,
100
+ configKey: GroupConfigKey.group_resourceArticleLink,
98
101
  minCount: 1,
99
102
  },
100
103
  ],
@@ -105,11 +108,11 @@ const BITS = {
105
108
  tags: [
106
109
  {
107
110
  type: BitTagType.group,
108
- configKey: ConfigKey._group_standardTags,
111
+ configKey: GroupConfigKey.group_standardTags,
109
112
  },
110
113
  {
111
114
  type: BitTagType.group,
112
- configKey: ConfigKey._group_resourceAudio,
115
+ configKey: GroupConfigKey.group_resourceAudio,
113
116
  minCount: 1,
114
117
  },
115
118
  ],
@@ -120,11 +123,11 @@ const BITS = {
120
123
  tags: [
121
124
  {
122
125
  type: BitTagType.group,
123
- configKey: ConfigKey._group_standardTags,
126
+ configKey: GroupConfigKey.group_standardTags,
124
127
  },
125
128
  {
126
129
  type: BitTagType.group,
127
- configKey: ConfigKey._group_resourceAudioEmbed,
130
+ configKey: GroupConfigKey.group_resourceAudioEmbed,
128
131
  minCount: 1,
129
132
  },
130
133
  ],
@@ -135,11 +138,11 @@ const BITS = {
135
138
  tags: [
136
139
  {
137
140
  type: BitTagType.group,
138
- configKey: ConfigKey._group_standardTags,
141
+ configKey: GroupConfigKey.group_standardTags,
139
142
  },
140
143
  {
141
144
  type: BitTagType.group,
142
- configKey: ConfigKey._group_resourceAudioLink,
145
+ configKey: GroupConfigKey.group_resourceAudioLink,
143
146
  minCount: 1,
144
147
  },
145
148
  ],
@@ -150,15 +153,15 @@ const BITS = {
150
153
  tags: [
151
154
  {
152
155
  type: BitTagType.group,
153
- configKey: ConfigKey._group_standardTags,
156
+ configKey: GroupConfigKey.group_standardTags,
154
157
  },
155
158
  {
156
159
  type: BitTagType.tag,
157
- configKey: ConfigKey._tag_reference,
160
+ configKey: TagConfigKey.tag_reference,
158
161
  },
159
162
  {
160
163
  type: BitTagType.tag,
161
- configKey: ConfigKey._tag_anchor,
164
+ configKey: TagConfigKey.anchor,
162
165
  },
163
166
  ],
164
167
  bodyAllowed: true,
@@ -168,41 +171,11 @@ const BITS = {
168
171
  tags: [
169
172
  {
170
173
  type: BitTagType.group,
171
- configKey: ConfigKey._group_standardTags,
174
+ configKey: GroupConfigKey.group_standardTags,
172
175
  },
173
176
  {
174
- type: BitTagType.property,
175
- configKey: ConfigKey._property_spaceId,
176
- maxCount: Count.infinity,
177
- },
178
- {
179
- type: BitTagType.tag,
180
- configKey: ConfigKey._tag_title,
181
- maxCount: 2,
182
- },
183
- {
184
- type: BitTagType.property,
185
- configKey: ConfigKey._property_subtype,
186
- },
187
- {
188
- type: BitTagType.property,
189
- configKey: ConfigKey._property_coverImage,
190
- },
191
- {
192
- type: BitTagType.property,
193
- configKey: ConfigKey._property_publisher,
194
- },
195
- {
196
- type: BitTagType.property,
197
- configKey: ConfigKey._property_subject,
198
- },
199
- {
200
- type: BitTagType.property,
201
- configKey: ConfigKey._property_author,
202
- },
203
- {
204
- type: BitTagType.property,
205
- configKey: ConfigKey._property_theme,
177
+ type: BitTagType.group,
178
+ configKey: GroupConfigKey.group_bookCommon,
206
179
  },
207
180
  ],
208
181
  bodyAllowed: true,
@@ -240,12 +213,31 @@ const BITS = {
240
213
  [AliasBitType.bookTitle]: { since: '1.3.0' },
241
214
  },
242
215
  },
216
+ [RootBitType.bookAlias]: {
217
+ since: '1.4.3',
218
+ tags: [
219
+ {
220
+ type: BitTagType.group,
221
+ configKey: GroupConfigKey.group_standardTags,
222
+ },
223
+ {
224
+ type: BitTagType.group,
225
+ configKey: GroupConfigKey.group_bookCommon,
226
+ },
227
+ {
228
+ type: BitTagType.property,
229
+ configKey: PropertyConfigKey.bookAlias,
230
+ maxCount: Count.infinity,
231
+ },
232
+ ],
233
+ bodyAllowed: true,
234
+ },
243
235
  [RootBitType.botActionResponse]: {
244
236
  since: '1.3.0',
245
237
  tags: [
246
238
  {
247
239
  type: BitTagType.group,
248
- configKey: ConfigKey._group_standardTags,
240
+ configKey: GroupConfigKey.group_standardTags,
249
241
  },
250
242
  ],
251
243
  cardSet: CardSetConfigKey._botActionResponses,
@@ -257,11 +249,11 @@ const BITS = {
257
249
  tags: [
258
250
  {
259
251
  type: BitTagType.group,
260
- configKey: ConfigKey._group_standardTags,
252
+ configKey: GroupConfigKey.group_standardTags,
261
253
  },
262
254
  {
263
255
  type: BitTagType.property,
264
- configKey: ConfigKey._property_date,
256
+ configKey: PropertyConfigKey.date,
265
257
  },
266
258
  ],
267
259
  bodyAllowed: true,
@@ -271,20 +263,20 @@ const BITS = {
271
263
  tags: [
272
264
  {
273
265
  type: BitTagType.group,
274
- configKey: ConfigKey._group_standardTags,
266
+ configKey: GroupConfigKey.group_standardTags,
275
267
  },
276
268
  {
277
269
  type: BitTagType.group,
278
- configKey: ConfigKey._group_resourceImage,
270
+ configKey: GroupConfigKey.group_resourceImage,
279
271
  minCount: 1,
280
272
  },
281
273
  {
282
274
  type: BitTagType.property,
283
- configKey: ConfigKey._property_focusX,
275
+ configKey: PropertyConfigKey.focusX,
284
276
  },
285
277
  {
286
278
  type: BitTagType.property,
287
- configKey: ConfigKey._property_focusY,
279
+ configKey: PropertyConfigKey.focusY,
288
280
  },
289
281
  ],
290
282
  bodyAllowed: true,
@@ -294,7 +286,7 @@ const BITS = {
294
286
  tags: [
295
287
  {
296
288
  type: BitTagType.group,
297
- configKey: ConfigKey._group_standardTags,
289
+ configKey: GroupConfigKey.group_standardTags,
298
290
  },
299
291
  ],
300
292
  resourceAttachmentAllowed: true,
@@ -310,15 +302,15 @@ const BITS = {
310
302
  tags: [
311
303
  {
312
304
  type: BitTagType.group,
313
- configKey: ConfigKey._group_standardTags,
305
+ configKey: GroupConfigKey.group_standardTags,
314
306
  },
315
307
  {
316
308
  type: BitTagType.tag,
317
- configKey: ConfigKey._tag_anchor,
309
+ configKey: TagConfigKey.anchor,
318
310
  },
319
311
  {
320
312
  type: BitTagType.tag,
321
- configKey: ConfigKey._tag_title,
313
+ configKey: TagConfigKey.title,
322
314
  },
323
315
  ],
324
316
  bodyAllowed: true,
@@ -328,15 +320,15 @@ const BITS = {
328
320
  tags: [
329
321
  {
330
322
  type: BitTagType.group,
331
- configKey: ConfigKey._group_standardTags,
323
+ configKey: GroupConfigKey.group_standardTags,
332
324
  },
333
325
  {
334
326
  type: BitTagType.group,
335
- configKey: ConfigKey._group_gap,
327
+ configKey: GroupConfigKey.group_gap,
336
328
  },
337
329
  {
338
330
  type: BitTagType.group,
339
- configKey: ConfigKey._group_trueFalse,
331
+ configKey: GroupConfigKey.group_trueFalse,
340
332
  },
341
333
  ],
342
334
  resourceAttachmentAllowed: true,
@@ -350,11 +342,11 @@ const BITS = {
350
342
  tags: [
351
343
  {
352
344
  type: BitTagType.group,
353
- configKey: ConfigKey._group_standardTags,
345
+ configKey: GroupConfigKey.group_standardTags,
354
346
  },
355
347
  {
356
348
  type: BitTagType.group,
357
- configKey: ConfigKey._group_gap,
349
+ configKey: GroupConfigKey.group_gap,
358
350
  },
359
351
  ],
360
352
  resourceAttachmentAllowed: true,
@@ -371,25 +363,34 @@ const BITS = {
371
363
  tags: [
372
364
  {
373
365
  type: BitTagType.group,
374
- configKey: ConfigKey._group_standardTags,
366
+ configKey: GroupConfigKey.group_standardTags,
375
367
  },
376
368
  {
377
369
  type: BitTagType.property,
378
- configKey: ConfigKey._property_computerLanguage,
370
+ configKey: PropertyConfigKey.computerLanguage,
379
371
  },
380
372
  ],
381
373
  bodyAllowed: true,
374
+ aliases: {
375
+ [AliasBitType.appCodeCell]: { since: '1.4.3' },
376
+ [AliasBitType.appCodeEditor]: { since: '1.4.3' },
377
+ [AliasBitType.appCodeIde]: { since: '1.4.3' },
378
+ [AliasBitType.codeRuntime]: { since: '1.4.3' },
379
+ [AliasBitType.consoleLog]: { since: '1.4.3' },
380
+ [AliasBitType.output]: { since: '1.4.3' },
381
+ [AliasBitType.stdout]: { since: '1.4.3' },
382
+ },
382
383
  },
383
384
  [RootBitType.conversationLeft1]: {
384
385
  since: '1.3.0',
385
386
  tags: [
386
387
  {
387
388
  type: BitTagType.group,
388
- configKey: ConfigKey._group_standardTags,
389
+ configKey: GroupConfigKey.group_standardTags,
389
390
  },
390
391
  {
391
392
  type: BitTagType.group,
392
- configKey: ConfigKey._group_partner,
393
+ configKey: GroupConfigKey.group_partner,
393
394
  },
394
395
  ],
395
396
  resourceAttachmentAllowed: true,
@@ -407,11 +408,11 @@ const BITS = {
407
408
  tags: [
408
409
  {
409
410
  type: BitTagType.group,
410
- configKey: ConfigKey._group_standardTags,
411
+ configKey: GroupConfigKey.group_standardTags,
411
412
  },
412
413
  {
413
414
  type: BitTagType.group,
414
- configKey: ConfigKey._group_resourceDocument,
415
+ configKey: GroupConfigKey.group_resourceDocument,
415
416
  minCount: 1,
416
417
  },
417
418
  ],
@@ -422,11 +423,11 @@ const BITS = {
422
423
  tags: [
423
424
  {
424
425
  type: BitTagType.group,
425
- configKey: ConfigKey._group_standardTags,
426
+ configKey: GroupConfigKey.group_standardTags,
426
427
  },
427
428
  {
428
429
  type: BitTagType.group,
429
- configKey: ConfigKey._group_resourceDocumentDownload,
430
+ configKey: GroupConfigKey.group_resourceDocumentDownload,
430
431
  minCount: 1,
431
432
  },
432
433
  ],
@@ -437,11 +438,11 @@ const BITS = {
437
438
  tags: [
438
439
  {
439
440
  type: BitTagType.group,
440
- configKey: ConfigKey._group_standardTags,
441
+ configKey: GroupConfigKey.group_standardTags,
441
442
  },
442
443
  {
443
444
  type: BitTagType.group,
444
- configKey: ConfigKey._group_resourceDocumentEmbed,
445
+ configKey: GroupConfigKey.group_resourceDocumentEmbed,
445
446
  minCount: 1,
446
447
  },
447
448
  ],
@@ -452,11 +453,11 @@ const BITS = {
452
453
  tags: [
453
454
  {
454
455
  type: BitTagType.group,
455
- configKey: ConfigKey._group_standardTags,
456
+ configKey: GroupConfigKey.group_standardTags,
456
457
  },
457
458
  {
458
459
  type: BitTagType.group,
459
- configKey: ConfigKey._group_resourceDocumentLink,
460
+ configKey: GroupConfigKey.group_resourceDocumentLink,
460
461
  minCount: 1,
461
462
  },
462
463
  ],
@@ -467,11 +468,15 @@ const BITS = {
467
468
  tags: [
468
469
  {
469
470
  type: BitTagType.group,
470
- configKey: ConfigKey._group_standardTags,
471
+ configKey: GroupConfigKey.group_standardTags,
471
472
  },
472
473
  {
473
474
  type: BitTagType.property,
474
- configKey: ConfigKey._property_sampleSolution,
475
+ configKey: PropertyConfigKey.reasonableNumOfChars,
476
+ },
477
+ {
478
+ type: BitTagType.property,
479
+ configKey: PropertyConfigKey.property_sampleSolution,
475
480
  },
476
481
  ],
477
482
  resourceAttachmentAllowed: true,
@@ -487,11 +492,11 @@ const BITS = {
487
492
  tags: [
488
493
  {
489
494
  type: BitTagType.group,
490
- configKey: ConfigKey._group_standardTags,
495
+ configKey: GroupConfigKey.group_standardTags,
491
496
  },
492
497
  {
493
498
  type: BitTagType.tag,
494
- configKey: ConfigKey._tag_title,
499
+ configKey: TagConfigKey.title,
495
500
  },
496
501
  ],
497
502
  resourceAttachmentAllowed: true,
@@ -531,7 +536,6 @@ const BITS = {
531
536
  [AliasBitType.details1]: { since: '1.3.0' },
532
537
  [AliasBitType.details]: { since: '1.3.0' },
533
538
  [AliasBitType.editorial]: { since: '1.3.0' },
534
- // [AliasBitType.example]:{ since: '1.3.0'},
535
539
  [AliasBitType.editorNote]: { since: '1.3.0' },
536
540
  [AliasBitType.featured]: { since: '1.3.0' },
537
541
  [AliasBitType.help]: { since: '1.3.0' },
@@ -561,7 +565,6 @@ const BITS = {
561
565
  [AliasBitType.note]: { since: '1.3.0' },
562
566
  [AliasBitType.noteAi]: { since: '1.3.0' },
563
567
  [AliasBitType.notebookArticle]: { since: '1.3.0' },
564
- // [AliasBitType.page]:{ since: '1.3.0'},
565
568
  [AliasBitType.preparationNote]: { since: '1.3.0' },
566
569
  [AliasBitType.releaseNotesSummary]: { since: '1.3.0' },
567
570
  [AliasBitType.remark]: { since: '1.3.0' },
@@ -572,7 +575,6 @@ const BITS = {
572
575
  [AliasBitType.reviewApprovedNote]: { since: '1.3.0' },
573
576
  [AliasBitType.selfAssessment]: { since: '1.3.0' },
574
577
  [AliasBitType.sideNote]: { since: '1.3.0' },
575
- // [AliasBitType.statement]:{ since: '1.3.0'},
576
578
  [AliasBitType.summary]: { since: '1.3.0' },
577
579
  [AliasBitType.summaryAi]: { since: '1.3.0' },
578
580
  [AliasBitType.videoTranscript]: { since: '1.3.0' },
@@ -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
  ],
@@ -665,6 +667,7 @@ const BITS = {
665
667
  [AliasBitType.imageZoom]: { since: '1.3.0' },
666
668
  [AliasBitType.langLifeSkillIcon]: { since: '1.3.0' },
667
669
  [AliasBitType.lifeSkillSticker]: { since: '1.3.0' },
670
+ [AliasBitType.pageBanner]: { since: '1.4.3' },
668
671
  [AliasBitType.screenshot]: { since: '1.3.0', deprecated: '1.4.0' },
669
672
  },
670
673
  },
@@ -673,11 +676,11 @@ const BITS = {
673
676
  tags: [
674
677
  {
675
678
  type: BitTagType.group,
676
- configKey: ConfigKey._group_standardTags,
679
+ configKey: GroupConfigKey.group_standardTags,
677
680
  },
678
681
  {
679
682
  type: BitTagType.group,
680
- configKey: ConfigKey._group_resourceImageLink,
683
+ configKey: GroupConfigKey.group_resourceImageLink,
681
684
  minCount: 1,
682
685
  },
683
686
  ],
@@ -688,15 +691,15 @@ const BITS = {
688
691
  tags: [
689
692
  {
690
693
  type: BitTagType.group,
691
- configKey: ConfigKey._group_standardTags,
694
+ configKey: GroupConfigKey.group_standardTags,
692
695
  },
693
696
  {
694
697
  type: BitTagType.group,
695
- configKey: ConfigKey._group_resourceImage,
698
+ configKey: GroupConfigKey.group_resourceImage,
696
699
  },
697
700
  {
698
701
  type: BitTagType.group,
699
- configKey: ConfigKey._group_imageSource,
702
+ configKey: GroupConfigKey.group_imageSource,
700
703
  },
701
704
  ],
702
705
  bodyAllowed: true,
@@ -706,12 +709,12 @@ const BITS = {
706
709
  tags: [
707
710
  {
708
711
  type: BitTagType.group,
709
- configKey: ConfigKey._group_standardTags,
712
+ configKey: GroupConfigKey.group_standardTags,
710
713
  },
711
714
  {
712
715
  // Combo resource
713
716
  type: BitTagType.group,
714
- configKey: ConfigKey._group_resourceImageResponsive,
717
+ configKey: GroupConfigKey.group_resourceImageResponsive,
715
718
  },
716
719
  ],
717
720
  bodyAllowed: true, // false??
@@ -721,11 +724,11 @@ const BITS = {
721
724
  tags: [
722
725
  {
723
726
  type: BitTagType.group,
724
- configKey: ConfigKey._group_standardTags,
727
+ configKey: GroupConfigKey.group_standardTags,
725
728
  },
726
729
  {
727
730
  type: BitTagType.tag,
728
- configKey: ConfigKey._tag_reference,
731
+ configKey: TagConfigKey.tag_reference,
729
732
  },
730
733
  ],
731
734
  bodyAllowed: true,
@@ -735,7 +738,11 @@ const BITS = {
735
738
  tags: [
736
739
  {
737
740
  type: BitTagType.group,
738
- configKey: ConfigKey._group_standardTags,
741
+ configKey: GroupConfigKey.group_standardTags,
742
+ },
743
+ {
744
+ type: BitTagType.property,
745
+ configKey: PropertyConfigKey.reasonableNumOfChars,
739
746
  },
740
747
  ],
741
748
  cardSet: CardSetConfigKey._questions,
@@ -752,11 +759,11 @@ const BITS = {
752
759
  tags: [
753
760
  {
754
761
  type: BitTagType.group,
755
- configKey: ConfigKey._group_standardTags,
762
+ configKey: GroupConfigKey.group_standardTags,
756
763
  },
757
764
  {
758
765
  type: BitTagType.group,
759
- configKey: ConfigKey._group_learningPathCommon,
766
+ configKey: GroupConfigKey.group_learningPathCommon,
760
767
  },
761
768
  ],
762
769
  resourceAttachmentAllowed: true,
@@ -765,7 +772,6 @@ const BITS = {
765
772
  [AliasBitType.bookLink]: { since: '1.3.0' },
766
773
  [AliasBitType.bookLinkNext]: { since: '1.3.0' },
767
774
  [AliasBitType.bookLinkPrev]: { since: '1.3.0' },
768
- [AliasBitType.learningPathBotTraining]: { since: '1.3.0' },
769
775
  [AliasBitType.learningPathClassroomEvent]: { since: '1.3.0' },
770
776
  [AliasBitType.learningPathClassroomTraining]: { since: '1.3.0' },
771
777
  [AliasBitType.learningPathClosing]: { since: '1.3.0' },
@@ -776,24 +782,43 @@ const BITS = {
776
782
  [AliasBitType.learningPathStep]: { since: '1.3.0' },
777
783
  },
778
784
  },
785
+ [RootBitType.learningPathBotTraining]: {
786
+ since: '1.3.0',
787
+ tags: [
788
+ {
789
+ type: BitTagType.group,
790
+ configKey: GroupConfigKey.group_standardTags,
791
+ },
792
+ {
793
+ type: BitTagType.group,
794
+ configKey: GroupConfigKey.group_learningPathCommon,
795
+ },
796
+ {
797
+ type: BitTagType.property,
798
+ configKey: PropertyConfigKey.bot,
799
+ },
800
+ ],
801
+ resourceAttachmentAllowed: true,
802
+ bodyAllowed: true,
803
+ },
779
804
  [RootBitType.learningPathExternalLink]: {
780
805
  since: '1.3.0',
781
806
  tags: [
782
807
  {
783
808
  type: BitTagType.group,
784
- configKey: ConfigKey._group_standardTags,
809
+ configKey: GroupConfigKey.group_standardTags,
785
810
  },
786
811
  {
787
812
  type: BitTagType.group,
788
- configKey: ConfigKey._group_learningPathCommon,
813
+ configKey: GroupConfigKey.group_learningPathCommon,
789
814
  },
790
815
  {
791
816
  type: BitTagType.property,
792
- configKey: ConfigKey._property_externalLink,
817
+ configKey: PropertyConfigKey.externalLink,
793
818
  },
794
819
  {
795
820
  type: BitTagType.property,
796
- configKey: ConfigKey._property_externalLinkText,
821
+ configKey: PropertyConfigKey.externalLinkText,
797
822
  },
798
823
  ],
799
824
  resourceAttachmentAllowed: true,
@@ -804,15 +829,15 @@ const BITS = {
804
829
  tags: [
805
830
  {
806
831
  type: BitTagType.group,
807
- configKey: ConfigKey._group_standardTags,
832
+ configKey: GroupConfigKey.group_standardTags,
808
833
  },
809
834
  {
810
835
  type: BitTagType.group,
811
- configKey: ConfigKey._group_learningPathCommon,
836
+ configKey: GroupConfigKey.group_learningPathCommon,
812
837
  },
813
838
  {
814
839
  type: BitTagType.property,
815
- configKey: ConfigKey._property_videoCallLink,
840
+ configKey: PropertyConfigKey.videoCallLink,
816
841
  },
817
842
  ],
818
843
  resourceAttachmentAllowed: true,
@@ -823,15 +848,15 @@ const BITS = {
823
848
  tags: [
824
849
  {
825
850
  type: BitTagType.group,
826
- configKey: ConfigKey._group_standardTags,
851
+ configKey: GroupConfigKey.group_standardTags,
827
852
  },
828
853
  {
829
854
  type: BitTagType.group,
830
- configKey: ConfigKey._group_markConfig,
855
+ configKey: GroupConfigKey.group_markConfig,
831
856
  },
832
857
  {
833
858
  type: BitTagType.group,
834
- configKey: ConfigKey._group_mark,
859
+ configKey: GroupConfigKey.group_mark,
835
860
  },
836
861
  ],
837
862
  resourceAttachmentAllowed: true,
@@ -842,7 +867,7 @@ const BITS = {
842
867
  tags: [
843
868
  {
844
869
  type: BitTagType.group,
845
- configKey: ConfigKey._group_standardTags,
870
+ configKey: GroupConfigKey.group_standardTags,
846
871
  },
847
872
  ],
848
873
  cardSet: CardSetConfigKey._matchPairs,
@@ -861,7 +886,7 @@ const BITS = {
861
886
  tags: [
862
887
  {
863
888
  type: BitTagType.group,
864
- configKey: ConfigKey._group_standardTags,
889
+ configKey: GroupConfigKey.group_standardTags,
865
890
  },
866
891
  ],
867
892
  cardSet: CardSetConfigKey._matchMatrix,
@@ -874,7 +899,7 @@ const BITS = {
874
899
  tags: [
875
900
  {
876
901
  type: BitTagType.group,
877
- configKey: ConfigKey._group_standardTags,
902
+ configKey: GroupConfigKey.group_standardTags,
878
903
  },
879
904
  ],
880
905
  cardSet: CardSetConfigKey._matchAudioPairs,
@@ -887,7 +912,7 @@ const BITS = {
887
912
  tags: [
888
913
  {
889
914
  type: BitTagType.group,
890
- configKey: ConfigKey._group_standardTags,
915
+ configKey: GroupConfigKey.group_standardTags,
891
916
  },
892
917
  ],
893
918
  cardSet: CardSetConfigKey._matchImagePairs,
@@ -900,11 +925,11 @@ const BITS = {
900
925
  tags: [
901
926
  {
902
927
  type: BitTagType.group,
903
- configKey: ConfigKey._group_standardTags,
928
+ configKey: GroupConfigKey.group_standardTags,
904
929
  },
905
930
  {
906
931
  type: BitTagType.group,
907
- configKey: ConfigKey._group_trueFalse,
932
+ configKey: GroupConfigKey.group_trueFalse,
908
933
  },
909
934
  ],
910
935
  resourceAttachmentAllowed: true,
@@ -918,11 +943,11 @@ const BITS = {
918
943
  tags: [
919
944
  {
920
945
  type: BitTagType.group,
921
- configKey: ConfigKey._group_standardTags,
946
+ configKey: GroupConfigKey.group_standardTags,
922
947
  },
923
948
  {
924
949
  type: BitTagType.group,
925
- configKey: ConfigKey._group_trueFalse,
950
+ configKey: GroupConfigKey.group_trueFalse,
926
951
  }, // This is actually for multiple-choice-1, but we support it here as well (as many bits are wrong)
927
952
  ],
928
953
  cardSet: CardSetConfigKey._quiz,
@@ -938,11 +963,11 @@ const BITS = {
938
963
  tags: [
939
964
  {
940
965
  type: BitTagType.group,
941
- configKey: ConfigKey._group_standardTags,
966
+ configKey: GroupConfigKey.group_standardTags,
942
967
  },
943
968
  {
944
969
  type: BitTagType.group,
945
- configKey: ConfigKey._group_trueFalse,
970
+ configKey: GroupConfigKey.group_trueFalse,
946
971
  },
947
972
  ],
948
973
  resourceAttachmentAllowed: true,
@@ -957,11 +982,11 @@ const BITS = {
957
982
  tags: [
958
983
  {
959
984
  type: BitTagType.group,
960
- configKey: ConfigKey._group_standardTags,
985
+ configKey: GroupConfigKey.group_standardTags,
961
986
  },
962
987
  {
963
988
  type: BitTagType.group,
964
- configKey: ConfigKey._group_trueFalse,
989
+ configKey: GroupConfigKey.group_trueFalse,
965
990
  },
966
991
  ],
967
992
  resourceAttachmentAllowed: true,
@@ -975,11 +1000,11 @@ const BITS = {
975
1000
  tags: [
976
1001
  {
977
1002
  type: BitTagType.group,
978
- configKey: ConfigKey._group_standardTags,
1003
+ configKey: GroupConfigKey.group_standardTags,
979
1004
  },
980
1005
  {
981
1006
  type: BitTagType.group,
982
- configKey: ConfigKey._group_trueFalse,
1007
+ configKey: GroupConfigKey.group_trueFalse,
983
1008
  }, // This is actually for multiple-response-1, but we support it here as well (as many bits are wrong)
984
1009
  ],
985
1010
  cardSet: CardSetConfigKey._quiz,
@@ -990,16 +1015,31 @@ const BITS = {
990
1015
  [AliasBitType.coachSelfReflectionMultipleResponse]: { since: '1.3.0' },
991
1016
  },
992
1017
  },
1018
+ [RootBitType.pageBuyButton]: {
1019
+ since: '1.4.3',
1020
+ tags: [
1021
+ {
1022
+ type: BitTagType.group,
1023
+ configKey: GroupConfigKey.group_standardTags,
1024
+ },
1025
+ {
1026
+ type: BitTagType.property,
1027
+ configKey: PropertyConfigKey.content2Buy,
1028
+ },
1029
+ ],
1030
+ resourceAttachmentAllowed: true,
1031
+ bodyAllowed: true,
1032
+ },
993
1033
  [RootBitType.photo]: {
994
1034
  since: '1.3.0',
995
1035
  tags: [
996
1036
  {
997
1037
  type: BitTagType.group,
998
- configKey: ConfigKey._group_standardTags,
1038
+ configKey: GroupConfigKey.group_standardTags,
999
1039
  },
1000
1040
  {
1001
1041
  type: BitTagType.group,
1002
- configKey: ConfigKey._group_resourceImage,
1042
+ configKey: GroupConfigKey.group_resourceImage,
1003
1043
  minCount: 1,
1004
1044
  },
1005
1045
  ],
@@ -1010,11 +1050,11 @@ const BITS = {
1010
1050
  tags: [
1011
1051
  {
1012
1052
  type: BitTagType.group,
1013
- configKey: ConfigKey._group_standardTags,
1053
+ configKey: GroupConfigKey.group_standardTags,
1014
1054
  },
1015
1055
  {
1016
1056
  type: BitTagType.property,
1017
- configKey: ConfigKey._property_quotedPerson,
1057
+ configKey: PropertyConfigKey.quotedPerson,
1018
1058
  },
1019
1059
  ],
1020
1060
  bodyAllowed: true,
@@ -1024,7 +1064,7 @@ const BITS = {
1024
1064
  tags: [
1025
1065
  {
1026
1066
  type: BitTagType.group,
1027
- configKey: ConfigKey._group_standardTags,
1067
+ configKey: GroupConfigKey.group_standardTags,
1028
1068
  },
1029
1069
  ],
1030
1070
  bodyAllowed: true,
@@ -1037,11 +1077,11 @@ const BITS = {
1037
1077
  tags: [
1038
1078
  {
1039
1079
  type: BitTagType.group,
1040
- configKey: ConfigKey._group_standardTags,
1080
+ configKey: GroupConfigKey.group_standardTags,
1041
1081
  },
1042
1082
  {
1043
1083
  type: BitTagType.property,
1044
- configKey: ConfigKey._property_releaseVersion,
1084
+ configKey: PropertyConfigKey.releaseVersion,
1045
1085
  },
1046
1086
  ],
1047
1087
  resourceAttachmentAllowed: true,
@@ -1052,16 +1092,16 @@ const BITS = {
1052
1092
  tags: [
1053
1093
  {
1054
1094
  type: BitTagType.group,
1055
- configKey: ConfigKey._group_standardTags,
1095
+ configKey: GroupConfigKey.group_standardTags,
1056
1096
  },
1057
1097
  // Not sure if these are actually valid here, but include them as they are in the test bit.
1058
1098
  {
1059
1099
  type: BitTagType.tag,
1060
- configKey: ConfigKey._tag_anchor,
1100
+ configKey: TagConfigKey.anchor,
1061
1101
  },
1062
1102
  {
1063
1103
  type: BitTagType.tag,
1064
- configKey: ConfigKey._tag_reference,
1104
+ configKey: TagConfigKey.tag_reference,
1065
1105
  },
1066
1106
  ],
1067
1107
  resourceAttachmentAllowed: true,
@@ -1072,7 +1112,7 @@ const BITS = {
1072
1112
  tags: [
1073
1113
  {
1074
1114
  type: BitTagType.group,
1075
- configKey: ConfigKey._group_standardTags,
1115
+ configKey: GroupConfigKey.group_standardTags,
1076
1116
  },
1077
1117
  ],
1078
1118
  cardSet: CardSetConfigKey._elements,
@@ -1086,12 +1126,12 @@ const BITS = {
1086
1126
  tags: [
1087
1127
  {
1088
1128
  type: BitTagType.group,
1089
- configKey: ConfigKey._group_standardTags,
1129
+ configKey: GroupConfigKey.group_standardTags,
1090
1130
  },
1091
1131
  {
1092
1132
  // Combo resource
1093
1133
  type: BitTagType.group,
1094
- configKey: ConfigKey._group_resourceStillImageFilm,
1134
+ configKey: GroupConfigKey.group_resourceStillImageFilm,
1095
1135
  },
1096
1136
  ],
1097
1137
  bodyAllowed: true,
@@ -1101,11 +1141,11 @@ const BITS = {
1101
1141
  tags: [
1102
1142
  {
1103
1143
  type: BitTagType.group,
1104
- configKey: ConfigKey._group_standardTags,
1144
+ configKey: GroupConfigKey.group_standardTags,
1105
1145
  },
1106
1146
  {
1107
1147
  type: BitTagType.group,
1108
- configKey: ConfigKey._group_resourceStillImageFilmEmbed,
1148
+ configKey: GroupConfigKey.group_resourceStillImageFilmEmbed,
1109
1149
  minCount: 1,
1110
1150
  },
1111
1151
  ],
@@ -1116,11 +1156,11 @@ const BITS = {
1116
1156
  tags: [
1117
1157
  {
1118
1158
  type: BitTagType.group,
1119
- configKey: ConfigKey._group_standardTags,
1159
+ configKey: GroupConfigKey.group_standardTags,
1120
1160
  },
1121
1161
  {
1122
1162
  type: BitTagType.group,
1123
- configKey: ConfigKey._group_resourceStillImageFilmLink,
1163
+ configKey: GroupConfigKey.group_resourceStillImageFilmLink,
1124
1164
  minCount: 1,
1125
1165
  },
1126
1166
  ],
@@ -1131,7 +1171,7 @@ const BITS = {
1131
1171
  tags: [
1132
1172
  {
1133
1173
  type: BitTagType.group,
1134
- configKey: ConfigKey._group_standardTags,
1174
+ configKey: GroupConfigKey.group_standardTags,
1135
1175
  },
1136
1176
  ],
1137
1177
  resourceAttachmentAllowed: true,
@@ -1142,7 +1182,7 @@ const BITS = {
1142
1182
  tags: [
1143
1183
  {
1144
1184
  type: BitTagType.group,
1145
- configKey: ConfigKey._group_standardTags,
1185
+ configKey: GroupConfigKey.group_standardTags,
1146
1186
  },
1147
1187
  ],
1148
1188
  resourceAttachmentAllowed: true,
@@ -1153,7 +1193,7 @@ const BITS = {
1153
1193
  tags: [
1154
1194
  {
1155
1195
  type: BitTagType.group,
1156
- configKey: ConfigKey._group_standardTags,
1196
+ configKey: GroupConfigKey.group_standardTags,
1157
1197
  },
1158
1198
  ],
1159
1199
  bodyAllowed: true,
@@ -1183,23 +1223,23 @@ const BITS = {
1183
1223
  tags: [
1184
1224
  {
1185
1225
  type: BitTagType.group,
1186
- configKey: ConfigKey._group_standardTags,
1226
+ configKey: GroupConfigKey.group_standardTags,
1187
1227
  },
1188
1228
  {
1189
1229
  type: BitTagType.property,
1190
- configKey: ConfigKey._property_labelTrue,
1230
+ configKey: PropertyConfigKey.labelTrue,
1191
1231
  },
1192
1232
  {
1193
1233
  type: BitTagType.property,
1194
- configKey: ConfigKey._property_labelFalse,
1234
+ configKey: PropertyConfigKey.labelFalse,
1195
1235
  },
1196
1236
  {
1197
1237
  type: BitTagType.tag,
1198
- configKey: ConfigKey._tag_true,
1238
+ configKey: TagConfigKey.true,
1199
1239
  },
1200
1240
  {
1201
1241
  type: BitTagType.tag,
1202
- configKey: ConfigKey._tag_false,
1242
+ configKey: TagConfigKey.false,
1203
1243
  },
1204
1244
  ],
1205
1245
  resourceAttachmentAllowed: true,
@@ -1211,15 +1251,15 @@ const BITS = {
1211
1251
  tags: [
1212
1252
  {
1213
1253
  type: BitTagType.group,
1214
- configKey: ConfigKey._group_standardTags,
1254
+ configKey: GroupConfigKey.group_standardTags,
1215
1255
  },
1216
1256
  {
1217
1257
  type: BitTagType.property,
1218
- configKey: ConfigKey._property_labelTrue,
1258
+ configKey: PropertyConfigKey.labelTrue,
1219
1259
  },
1220
1260
  {
1221
1261
  type: BitTagType.property,
1222
- configKey: ConfigKey._property_labelFalse,
1262
+ configKey: PropertyConfigKey.labelFalse,
1223
1263
  },
1224
1264
  ],
1225
1265
  cardSet: CardSetConfigKey._statements,
@@ -1232,25 +1272,53 @@ const BITS = {
1232
1272
  tags: [
1233
1273
  {
1234
1274
  type: BitTagType.group,
1235
- configKey: ConfigKey._group_standardTags,
1275
+ configKey: GroupConfigKey.group_standardTags,
1276
+ },
1277
+ {
1278
+ type: BitTagType.property,
1279
+ configKey: PropertyConfigKey.padletId,
1280
+ },
1281
+ ],
1282
+ bodyAllowed: true,
1283
+ },
1284
+ [RootBitType.vendorJupyterOutput]: {
1285
+ since: '1.4.3',
1286
+ tags: [
1287
+ {
1288
+ type: BitTagType.group,
1289
+ configKey: GroupConfigKey.group_standardTags,
1290
+ },
1291
+ {
1292
+ type: BitTagType.property,
1293
+ configKey: PropertyConfigKey.jupyterId,
1236
1294
  },
1237
1295
  {
1238
1296
  type: BitTagType.property,
1239
- configKey: ConfigKey._property_padletId,
1297
+ configKey: PropertyConfigKey.jupyterExecutionCount,
1298
+ },
1299
+ {
1300
+ type: BitTagType.property,
1301
+ configKey: PropertyConfigKey.computerLanguage,
1240
1302
  },
1241
1303
  ],
1242
1304
  bodyAllowed: true,
1305
+ aliases: {
1306
+ [AliasBitType.vendorJupyterCellCode]: { since: '1.4.3' },
1307
+ [AliasBitType.vendorJupyterCellMarkdown]: { since: '1.4.3' },
1308
+ [AliasBitType.vendorJupyterCellRaw]: { since: '1.4.3' },
1309
+ [AliasBitType.vendorJupyterIpynb]: { since: '1.4.3' },
1310
+ },
1243
1311
  },
1244
1312
  [RootBitType.video]: {
1245
1313
  since: '1.3.0',
1246
1314
  tags: [
1247
1315
  {
1248
1316
  type: BitTagType.group,
1249
- configKey: ConfigKey._group_standardTags,
1317
+ configKey: GroupConfigKey.group_standardTags,
1250
1318
  },
1251
1319
  {
1252
1320
  type: BitTagType.group,
1253
- configKey: ConfigKey._group_resourceVideo,
1321
+ configKey: GroupConfigKey.group_resourceVideo,
1254
1322
  minCount: 1,
1255
1323
  },
1256
1324
  ],
@@ -1265,11 +1333,11 @@ const BITS = {
1265
1333
  tags: [
1266
1334
  {
1267
1335
  type: BitTagType.group,
1268
- configKey: ConfigKey._group_standardTags,
1336
+ configKey: GroupConfigKey.group_standardTags,
1269
1337
  },
1270
1338
  {
1271
1339
  type: BitTagType.group,
1272
- configKey: ConfigKey._group_resourceVideoEmbed,
1340
+ configKey: GroupConfigKey.group_resourceVideoEmbed,
1273
1341
  minCount: 1,
1274
1342
  },
1275
1343
  ],
@@ -1284,11 +1352,11 @@ const BITS = {
1284
1352
  tags: [
1285
1353
  {
1286
1354
  type: BitTagType.group,
1287
- configKey: ConfigKey._group_standardTags,
1355
+ configKey: GroupConfigKey.group_standardTags,
1288
1356
  },
1289
1357
  {
1290
1358
  type: BitTagType.group,
1291
- configKey: ConfigKey._group_resourceVideoLink,
1359
+ configKey: GroupConfigKey.group_resourceVideoLink,
1292
1360
  minCount: 1,
1293
1361
  },
1294
1362
  ],
@@ -1303,11 +1371,11 @@ const BITS = {
1303
1371
  tags: [
1304
1372
  {
1305
1373
  type: BitTagType.group,
1306
- configKey: ConfigKey._group_standardTags,
1374
+ configKey: GroupConfigKey.group_standardTags,
1307
1375
  },
1308
1376
  {
1309
1377
  type: BitTagType.group,
1310
- configKey: ConfigKey._group_resourceWebsiteLink,
1378
+ configKey: GroupConfigKey.group_resourceWebsiteLink,
1311
1379
  minCount: 1,
1312
1380
  },
1313
1381
  ],