@gmb/bitmark-parser-generator 5.34.0 → 5.35.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.
- package/dist/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +2 -2
- package/dist/browser/cjs/index.cjs +108 -21
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +13 -0
- package/dist/browser/esm/index.d.ts +13 -0
- package/dist/browser/esm/index.js +108 -21
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/cli/main.js +108 -21
- package/dist/cli/main.js.map +1 -1
- package/dist/index.cjs +108 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +108 -21
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -258,6 +258,7 @@ declare const BitType: {
|
|
|
258
258
|
readonly extractorPageNumberCollapsible: "extractor-page-number-collapsible";
|
|
259
259
|
readonly extractorPageWithBlocks: "extractor-page-with-blocks";
|
|
260
260
|
readonly extractorPageWithBlocksCollapsible: "extractor-page-with-blocks-collapsible";
|
|
261
|
+
readonly extractorReconcile: "extractor-reconcile";
|
|
261
262
|
readonly extractorRepeatedText: "extractor-repeated-text";
|
|
262
263
|
readonly extractorRule: "extractor-rule";
|
|
263
264
|
readonly extractorTheme: "extractor-theme";
|
|
@@ -989,6 +990,7 @@ declare const ConfigKey: {
|
|
|
989
990
|
readonly property_revealSolutions: "@revealSolutions";
|
|
990
991
|
readonly property_reviewTag: "@reviewTag";
|
|
991
992
|
readonly property_reviewerTag: "@reviewerTag";
|
|
993
|
+
readonly property_rightsPolicy: "@rightsPolicy";
|
|
992
994
|
readonly property_sampleSolution: "@sampleSolution";
|
|
993
995
|
readonly property_scormSource: "@scormSource";
|
|
994
996
|
readonly property_search: "@search";
|
|
@@ -1708,6 +1710,9 @@ interface BitJson {
|
|
|
1708
1710
|
padletId: string;
|
|
1709
1711
|
jupyterId: string;
|
|
1710
1712
|
jupyterExecutionCount: number;
|
|
1713
|
+
copyright: string;
|
|
1714
|
+
license: string;
|
|
1715
|
+
rightsPolicy: string[];
|
|
1711
1716
|
sourceRL: string;
|
|
1712
1717
|
isPublic: boolean;
|
|
1713
1718
|
isTemplate: boolean;
|
|
@@ -2330,6 +2335,9 @@ interface Bit {
|
|
|
2330
2335
|
padletId?: Property;
|
|
2331
2336
|
jupyterId?: Property;
|
|
2332
2337
|
jupyterExecutionCount?: Property;
|
|
2338
|
+
copyright?: Property;
|
|
2339
|
+
license?: Property;
|
|
2340
|
+
rightsPolicy?: Property;
|
|
2333
2341
|
sourceRL?: Property;
|
|
2334
2342
|
isPublic?: Property;
|
|
2335
2343
|
isTemplate?: Property;
|
|
@@ -3236,6 +3244,8 @@ declare const NodeType: {
|
|
|
3236
3244
|
readonly reviewTagValue: "reviewTagValue";
|
|
3237
3245
|
readonly reviewerTag: "reviewerTag";
|
|
3238
3246
|
readonly reviewerTagValue: "reviewerTagValue";
|
|
3247
|
+
readonly rightsPolicy: "rightsPolicy";
|
|
3248
|
+
readonly rightsPolicyValue: "rightsPolicyValue";
|
|
3239
3249
|
readonly root: "root";
|
|
3240
3250
|
readonly rows: "rows";
|
|
3241
3251
|
readonly rowsValue: "rowsValue";
|
|
@@ -4338,6 +4348,9 @@ declare class Builder extends BaseBuilder {
|
|
|
4338
4348
|
padletId?: string;
|
|
4339
4349
|
jupyterId?: string;
|
|
4340
4350
|
jupyterExecutionCount?: number;
|
|
4351
|
+
copyright?: string;
|
|
4352
|
+
license?: string;
|
|
4353
|
+
rightsPolicy?: string | string[];
|
|
4341
4354
|
sourceRL?: string;
|
|
4342
4355
|
isPublic?: boolean;
|
|
4343
4356
|
isTemplate?: boolean;
|
|
@@ -258,6 +258,7 @@ declare const BitType: {
|
|
|
258
258
|
readonly extractorPageNumberCollapsible: "extractor-page-number-collapsible";
|
|
259
259
|
readonly extractorPageWithBlocks: "extractor-page-with-blocks";
|
|
260
260
|
readonly extractorPageWithBlocksCollapsible: "extractor-page-with-blocks-collapsible";
|
|
261
|
+
readonly extractorReconcile: "extractor-reconcile";
|
|
261
262
|
readonly extractorRepeatedText: "extractor-repeated-text";
|
|
262
263
|
readonly extractorRule: "extractor-rule";
|
|
263
264
|
readonly extractorTheme: "extractor-theme";
|
|
@@ -989,6 +990,7 @@ declare const ConfigKey: {
|
|
|
989
990
|
readonly property_revealSolutions: "@revealSolutions";
|
|
990
991
|
readonly property_reviewTag: "@reviewTag";
|
|
991
992
|
readonly property_reviewerTag: "@reviewerTag";
|
|
993
|
+
readonly property_rightsPolicy: "@rightsPolicy";
|
|
992
994
|
readonly property_sampleSolution: "@sampleSolution";
|
|
993
995
|
readonly property_scormSource: "@scormSource";
|
|
994
996
|
readonly property_search: "@search";
|
|
@@ -1708,6 +1710,9 @@ interface BitJson {
|
|
|
1708
1710
|
padletId: string;
|
|
1709
1711
|
jupyterId: string;
|
|
1710
1712
|
jupyterExecutionCount: number;
|
|
1713
|
+
copyright: string;
|
|
1714
|
+
license: string;
|
|
1715
|
+
rightsPolicy: string[];
|
|
1711
1716
|
sourceRL: string;
|
|
1712
1717
|
isPublic: boolean;
|
|
1713
1718
|
isTemplate: boolean;
|
|
@@ -2330,6 +2335,9 @@ interface Bit {
|
|
|
2330
2335
|
padletId?: Property;
|
|
2331
2336
|
jupyterId?: Property;
|
|
2332
2337
|
jupyterExecutionCount?: Property;
|
|
2338
|
+
copyright?: Property;
|
|
2339
|
+
license?: Property;
|
|
2340
|
+
rightsPolicy?: Property;
|
|
2333
2341
|
sourceRL?: Property;
|
|
2334
2342
|
isPublic?: Property;
|
|
2335
2343
|
isTemplate?: Property;
|
|
@@ -3236,6 +3244,8 @@ declare const NodeType: {
|
|
|
3236
3244
|
readonly reviewTagValue: "reviewTagValue";
|
|
3237
3245
|
readonly reviewerTag: "reviewerTag";
|
|
3238
3246
|
readonly reviewerTagValue: "reviewerTagValue";
|
|
3247
|
+
readonly rightsPolicy: "rightsPolicy";
|
|
3248
|
+
readonly rightsPolicyValue: "rightsPolicyValue";
|
|
3239
3249
|
readonly root: "root";
|
|
3240
3250
|
readonly rows: "rows";
|
|
3241
3251
|
readonly rowsValue: "rowsValue";
|
|
@@ -4338,6 +4348,9 @@ declare class Builder extends BaseBuilder {
|
|
|
4338
4348
|
padletId?: string;
|
|
4339
4349
|
jupyterId?: string;
|
|
4340
4350
|
jupyterExecutionCount?: number;
|
|
4351
|
+
copyright?: string;
|
|
4352
|
+
license?: string;
|
|
4353
|
+
rightsPolicy?: string | string[];
|
|
4341
4354
|
sourceRL?: string;
|
|
4342
4355
|
isPublic?: boolean;
|
|
4343
4356
|
isTemplate?: boolean;
|
|
@@ -267,6 +267,7 @@ var BitType2 = {
|
|
|
267
267
|
extractorPageNumberCollapsible: "extractor-page-number-collapsible",
|
|
268
268
|
extractorPageWithBlocks: "extractor-page-with-blocks",
|
|
269
269
|
extractorPageWithBlocksCollapsible: "extractor-page-with-blocks-collapsible",
|
|
270
|
+
extractorReconcile: "extractor-reconcile",
|
|
270
271
|
extractorRepeatedText: "extractor-repeated-text",
|
|
271
272
|
extractorRule: "extractor-rule",
|
|
272
273
|
extractorTheme: "extractor-theme",
|
|
@@ -1505,6 +1506,7 @@ var propertyKeys = {
|
|
|
1505
1506
|
property_revealSolutions: "@revealSolutions",
|
|
1506
1507
|
property_reviewTag: "@reviewTag",
|
|
1507
1508
|
property_reviewerTag: "@reviewerTag",
|
|
1509
|
+
property_rightsPolicy: "@rightsPolicy",
|
|
1508
1510
|
property_sampleSolution: "@sampleSolution",
|
|
1509
1511
|
property_scormSource: "@scormSource",
|
|
1510
1512
|
property_search: "@search",
|
|
@@ -2514,6 +2516,7 @@ var CARDSETS = {
|
|
|
2514
2516
|
key: ConfigKey.tag_title,
|
|
2515
2517
|
description: "Title of the definition.",
|
|
2516
2518
|
format: TagFormat.plainText,
|
|
2519
|
+
nullable: true,
|
|
2517
2520
|
jsonKey: "^heading.forKeys",
|
|
2518
2521
|
exportJsonKey: { "@bit": { heading: { forKeys: "$" } } }
|
|
2519
2522
|
},
|
|
@@ -2554,6 +2557,7 @@ var CARDSETS = {
|
|
|
2554
2557
|
key: ConfigKey.tag_title,
|
|
2555
2558
|
description: "Title of the definition.",
|
|
2556
2559
|
format: TagFormat.plainText,
|
|
2560
|
+
nullable: true,
|
|
2557
2561
|
jsonKey: "^heading.forValues",
|
|
2558
2562
|
exportJsonKey: { "@bit": { heading: { forValues: "$" } } }
|
|
2559
2563
|
},
|
|
@@ -2632,6 +2636,7 @@ var CARDSETS = {
|
|
|
2632
2636
|
key: ConfigKey.tag_title,
|
|
2633
2637
|
description: "Title of the definition.",
|
|
2634
2638
|
format: TagFormat.plainText,
|
|
2639
|
+
nullable: true,
|
|
2635
2640
|
jsonKey: "^heading.forKeys",
|
|
2636
2641
|
exportJsonKey: { "@bit": { heading: { forKeys: "$" } } }
|
|
2637
2642
|
},
|
|
@@ -2673,6 +2678,7 @@ var CARDSETS = {
|
|
|
2673
2678
|
key: ConfigKey.tag_title,
|
|
2674
2679
|
description: "Title of the definition.",
|
|
2675
2680
|
format: TagFormat.plainText,
|
|
2681
|
+
nullable: true,
|
|
2676
2682
|
jsonKey: "^heading.forValues",
|
|
2677
2683
|
exportJsonKey: { "@bit": { heading: { forValues: "$" } } }
|
|
2678
2684
|
},
|
|
@@ -2786,6 +2792,7 @@ var CARDSETS = {
|
|
|
2786
2792
|
key: ConfigKey.tag_title,
|
|
2787
2793
|
description: "Title of the match pair.",
|
|
2788
2794
|
format: TagFormat.plainText,
|
|
2795
|
+
nullable: true,
|
|
2789
2796
|
jsonKey: "^heading.forKeys",
|
|
2790
2797
|
exportJsonKey: { "@bit": { heading: { forKeys: "$" } } }
|
|
2791
2798
|
},
|
|
@@ -2915,6 +2922,7 @@ var CARDSETS = {
|
|
|
2915
2922
|
key: ConfigKey.tag_title,
|
|
2916
2923
|
description: "Title of the match pair.",
|
|
2917
2924
|
format: TagFormat.plainText,
|
|
2925
|
+
nullable: true,
|
|
2918
2926
|
jsonKey: "^heading.forValues",
|
|
2919
2927
|
exportJsonKey: { "@bit": { heading: { forValues: "$" } } }
|
|
2920
2928
|
},
|
|
@@ -2961,6 +2969,7 @@ var CARDSETS = {
|
|
|
2961
2969
|
key: ConfigKey.tag_title,
|
|
2962
2970
|
description: "Title of the audio match pair.",
|
|
2963
2971
|
format: TagFormat.plainText,
|
|
2972
|
+
nullable: true,
|
|
2964
2973
|
jsonKey: "^heading.forKeys",
|
|
2965
2974
|
exportJsonKey: { "@bit": { heading: { forKeys: "$" } } }
|
|
2966
2975
|
},
|
|
@@ -2992,6 +3001,7 @@ var CARDSETS = {
|
|
|
2992
3001
|
key: ConfigKey.tag_title,
|
|
2993
3002
|
description: "Title of the audio match pair.",
|
|
2994
3003
|
format: TagFormat.plainText,
|
|
3004
|
+
nullable: true,
|
|
2995
3005
|
jsonKey: "^heading.forValues",
|
|
2996
3006
|
exportJsonKey: { "@bit": { heading: { forValues: "$" } } }
|
|
2997
3007
|
},
|
|
@@ -3029,6 +3039,7 @@ var CARDSETS = {
|
|
|
3029
3039
|
key: ConfigKey.tag_title,
|
|
3030
3040
|
description: "Title of the image match pair.",
|
|
3031
3041
|
format: TagFormat.plainText,
|
|
3042
|
+
nullable: true,
|
|
3032
3043
|
jsonKey: "^heading.forKeys",
|
|
3033
3044
|
exportJsonKey: { "@bit": { heading: { forKeys: "$" } } }
|
|
3034
3045
|
},
|
|
@@ -3060,6 +3071,7 @@ var CARDSETS = {
|
|
|
3060
3071
|
key: ConfigKey.tag_title,
|
|
3061
3072
|
description: "Title of the image match pair.",
|
|
3062
3073
|
format: TagFormat.plainText,
|
|
3074
|
+
nullable: true,
|
|
3063
3075
|
jsonKey: "^heading.forValues",
|
|
3064
3076
|
exportJsonKey: { "@bit": { heading: { forValues: "$" } } }
|
|
3065
3077
|
},
|
|
@@ -3135,6 +3147,7 @@ var CARDSETS = {
|
|
|
3135
3147
|
key: ConfigKey.tag_title,
|
|
3136
3148
|
description: "Title of the match matrix.",
|
|
3137
3149
|
format: TagFormat.plainText,
|
|
3150
|
+
nullable: true,
|
|
3138
3151
|
jsonKey: "^heading.forKeys",
|
|
3139
3152
|
exportJsonKey: { "@bit": { heading: { forKeys: "$" } } }
|
|
3140
3153
|
},
|
|
@@ -3247,6 +3260,7 @@ var CARDSETS = {
|
|
|
3247
3260
|
key: ConfigKey.tag_title,
|
|
3248
3261
|
description: "Title of the match matrix.",
|
|
3249
3262
|
format: TagFormat.plainText,
|
|
3263
|
+
nullable: true,
|
|
3250
3264
|
jsonKey: "^heading.forValues",
|
|
3251
3265
|
exportJsonKey: [
|
|
3252
3266
|
{ "@keyonly": { "@bit": { heading: { forValues: [""] } } } },
|
|
@@ -3529,6 +3543,7 @@ var CARDSETS = {
|
|
|
3529
3543
|
key: ConfigKey.tag_title,
|
|
3530
3544
|
description: "Title of the feedback.",
|
|
3531
3545
|
format: TagFormat.plainText,
|
|
3546
|
+
nullable: true,
|
|
3532
3547
|
jsonKey: "^heading.forKeys",
|
|
3533
3548
|
exportJsonKey: { "@bit": { heading: { forKeys: "$" } } }
|
|
3534
3549
|
}
|
|
@@ -3611,6 +3626,7 @@ var CARDSETS = {
|
|
|
3611
3626
|
key: ConfigKey.tag_title,
|
|
3612
3627
|
description: "Title of the feedback.",
|
|
3613
3628
|
format: TagFormat.plainText,
|
|
3629
|
+
nullable: true,
|
|
3614
3630
|
jsonKey: "^heading.forValues",
|
|
3615
3631
|
exportJsonKey: { "@bit": { heading: { forValues: "$" } } }
|
|
3616
3632
|
}
|
|
@@ -4398,6 +4414,22 @@ var GROUPS = {
|
|
|
4398
4414
|
description: "The original location of the information in the original source material",
|
|
4399
4415
|
format: TagFormat.plainText
|
|
4400
4416
|
},
|
|
4417
|
+
{
|
|
4418
|
+
key: ConfigKey.property_copyright,
|
|
4419
|
+
description: "The copyright information for the bit",
|
|
4420
|
+
format: TagFormat.plainText
|
|
4421
|
+
},
|
|
4422
|
+
{
|
|
4423
|
+
key: ConfigKey.property_license,
|
|
4424
|
+
description: "The license for the bit",
|
|
4425
|
+
format: TagFormat.plainText
|
|
4426
|
+
},
|
|
4427
|
+
{
|
|
4428
|
+
key: ConfigKey.property_rightsPolicy,
|
|
4429
|
+
description: "The rights policy or policies for the bit",
|
|
4430
|
+
format: TagFormat.plainText,
|
|
4431
|
+
maxCount: Count.infinity
|
|
4432
|
+
},
|
|
4401
4433
|
{
|
|
4402
4434
|
key: ConfigKey.property_isTemplate,
|
|
4403
4435
|
description: "If true, the bit is a template",
|
|
@@ -4424,7 +4456,8 @@ var GROUPS = {
|
|
|
4424
4456
|
{
|
|
4425
4457
|
key: ConfigKey.property_aiGenerated,
|
|
4426
4458
|
description: "If true, the bit is AI-generated",
|
|
4427
|
-
format: TagFormat.boolean
|
|
4459
|
+
format: TagFormat.boolean,
|
|
4460
|
+
nullable: true
|
|
4428
4461
|
},
|
|
4429
4462
|
{
|
|
4430
4463
|
key: ConfigKey.property_machineTranslated,
|
|
@@ -4439,7 +4472,8 @@ var GROUPS = {
|
|
|
4439
4472
|
{
|
|
4440
4473
|
key: ConfigKey.property_spansPageBreak,
|
|
4441
4474
|
description: "If true, the bit spans a page break",
|
|
4442
|
-
format: TagFormat.boolean
|
|
4475
|
+
format: TagFormat.boolean,
|
|
4476
|
+
nullable: true
|
|
4443
4477
|
},
|
|
4444
4478
|
{
|
|
4445
4479
|
key: ConfigKey.property_searchIndex,
|
|
@@ -4542,6 +4576,7 @@ var GROUPS = {
|
|
|
4542
4576
|
key: ConfigKey.property_theme,
|
|
4543
4577
|
description: "The theme(s) for the bit",
|
|
4544
4578
|
format: TagFormat.plainText,
|
|
4579
|
+
nullable: true,
|
|
4545
4580
|
maxCount: Count.infinity
|
|
4546
4581
|
},
|
|
4547
4582
|
{
|
|
@@ -4560,6 +4595,7 @@ var GROUPS = {
|
|
|
4560
4595
|
key: ConfigKey.property_tag,
|
|
4561
4596
|
description: "The tag(s) for the bit",
|
|
4562
4597
|
format: TagFormat.plainText,
|
|
4598
|
+
nullable: true,
|
|
4563
4599
|
maxCount: Count.infinity
|
|
4564
4600
|
},
|
|
4565
4601
|
{
|
|
@@ -4579,6 +4615,7 @@ var GROUPS = {
|
|
|
4579
4615
|
exportJsonKey: { tags: ["$"] },
|
|
4580
4616
|
description: "The tag(s) for the group",
|
|
4581
4617
|
format: TagFormat.plainText,
|
|
4618
|
+
nullable: true,
|
|
4582
4619
|
maxCount: Count.infinity
|
|
4583
4620
|
}
|
|
4584
4621
|
]
|
|
@@ -4696,6 +4733,20 @@ var GROUPS = {
|
|
|
4696
4733
|
description: "The layer role(s) for the bit",
|
|
4697
4734
|
format: TagFormat.plainText,
|
|
4698
4735
|
maxCount: Count.infinity
|
|
4736
|
+
},
|
|
4737
|
+
{
|
|
4738
|
+
// Universal @internalComment — declares in config what Config.ts also
|
|
4739
|
+
// injects programmatically into every bit (its push runs last and wins
|
|
4740
|
+
// the keyed merge, so runtime behaviour is unchanged). Declared here so
|
|
4741
|
+
// the config export (ConfigBuilder → assets/config → configurator →
|
|
4742
|
+
// bitmark.json) carries the tag for downstream parsers. Empty
|
|
4743
|
+
// exportJsonKey: consumed but never emitted to the bit JSON (the value
|
|
4744
|
+
// is routed to parser.internalComments).
|
|
4745
|
+
key: ConfigKey.property_internalComment,
|
|
4746
|
+
description: "Internal comment for the bit.",
|
|
4747
|
+
format: TagFormat.plainText,
|
|
4748
|
+
maxCount: Count.infinity,
|
|
4749
|
+
exportJsonKey: {}
|
|
4699
4750
|
}
|
|
4700
4751
|
]
|
|
4701
4752
|
},
|
|
@@ -4852,7 +4903,8 @@ var GROUPS = {
|
|
|
4852
4903
|
{
|
|
4853
4904
|
key: ConfigKey.property_size,
|
|
4854
4905
|
description: "The size of the image",
|
|
4855
|
-
format: TagFormat.number
|
|
4906
|
+
format: TagFormat.number,
|
|
4907
|
+
nullable: true
|
|
4856
4908
|
},
|
|
4857
4909
|
{
|
|
4858
4910
|
key: ConfigKey.property_format,
|
|
@@ -5755,6 +5807,7 @@ var GROUPS = {
|
|
|
5755
5807
|
key: ConfigKey.property_coverImage,
|
|
5756
5808
|
description: "The cover image(s) of the book",
|
|
5757
5809
|
format: TagFormat.plainText,
|
|
5810
|
+
nullable: true,
|
|
5758
5811
|
maxCount: Count.infinity
|
|
5759
5812
|
},
|
|
5760
5813
|
{
|
|
@@ -6071,7 +6124,8 @@ var GROUPS = {
|
|
|
6071
6124
|
{
|
|
6072
6125
|
key: ConfigKey.property_platformNeedsShadow,
|
|
6073
6126
|
description: "If true, the platform needs shadow",
|
|
6074
|
-
format: TagFormat.boolean
|
|
6127
|
+
format: TagFormat.boolean,
|
|
6128
|
+
nullable: true
|
|
6075
6129
|
}
|
|
6076
6130
|
]
|
|
6077
6131
|
},
|
|
@@ -6082,7 +6136,8 @@ var GROUPS = {
|
|
|
6082
6136
|
{
|
|
6083
6137
|
key: ConfigKey.property_revealSolutions,
|
|
6084
6138
|
description: "If true, the quiz solutions are revealed",
|
|
6085
|
-
format: TagFormat.boolean
|
|
6139
|
+
format: TagFormat.boolean,
|
|
6140
|
+
nullable: true
|
|
6086
6141
|
// defaultValue: 'false',
|
|
6087
6142
|
},
|
|
6088
6143
|
{
|
|
@@ -6229,12 +6284,14 @@ var GROUPS = {
|
|
|
6229
6284
|
{
|
|
6230
6285
|
key: ConfigKey.property_width,
|
|
6231
6286
|
description: "The width of the image",
|
|
6232
|
-
format: TagFormat.number
|
|
6287
|
+
format: TagFormat.number,
|
|
6288
|
+
nullable: true
|
|
6233
6289
|
},
|
|
6234
6290
|
{
|
|
6235
6291
|
key: ConfigKey.property_height,
|
|
6236
6292
|
description: "The height of the image",
|
|
6237
|
-
format: TagFormat.number
|
|
6293
|
+
format: TagFormat.number,
|
|
6294
|
+
nullable: true
|
|
6238
6295
|
},
|
|
6239
6296
|
{
|
|
6240
6297
|
key: ConfigKey.property_alt,
|
|
@@ -6279,12 +6336,14 @@ var GROUPS = {
|
|
|
6279
6336
|
{
|
|
6280
6337
|
key: ConfigKey.property_width,
|
|
6281
6338
|
description: "The width of the image",
|
|
6282
|
-
format: TagFormat.number
|
|
6339
|
+
format: TagFormat.number,
|
|
6340
|
+
nullable: true
|
|
6283
6341
|
},
|
|
6284
6342
|
{
|
|
6285
6343
|
key: ConfigKey.property_height,
|
|
6286
6344
|
description: "The height of the image",
|
|
6287
|
-
format: TagFormat.number
|
|
6345
|
+
format: TagFormat.number,
|
|
6346
|
+
nullable: true
|
|
6288
6347
|
},
|
|
6289
6348
|
{
|
|
6290
6349
|
key: ConfigKey.property_alt,
|
|
@@ -6336,12 +6395,14 @@ var GROUPS = {
|
|
|
6336
6395
|
{
|
|
6337
6396
|
key: ConfigKey.property_width,
|
|
6338
6397
|
description: "The width of the video",
|
|
6339
|
-
format: TagFormat.number
|
|
6398
|
+
format: TagFormat.number,
|
|
6399
|
+
nullable: true
|
|
6340
6400
|
},
|
|
6341
6401
|
{
|
|
6342
6402
|
key: ConfigKey.property_height,
|
|
6343
6403
|
description: "The height of the video",
|
|
6344
|
-
format: TagFormat.number
|
|
6404
|
+
format: TagFormat.number,
|
|
6405
|
+
nullable: true
|
|
6345
6406
|
},
|
|
6346
6407
|
{
|
|
6347
6408
|
key: ConfigKey.property_duration,
|
|
@@ -7426,7 +7487,8 @@ var BITS = {
|
|
|
7426
7487
|
{
|
|
7427
7488
|
key: ConfigKey.property_coverImage,
|
|
7428
7489
|
description: "Cover image of the catalog item",
|
|
7429
|
-
format: TagFormat.plainText
|
|
7490
|
+
format: TagFormat.plainText,
|
|
7491
|
+
nullable: true
|
|
7430
7492
|
},
|
|
7431
7493
|
{
|
|
7432
7494
|
key: ConfigKey.resource_coverImage,
|
|
@@ -7590,7 +7652,8 @@ var BITS = {
|
|
|
7590
7652
|
{
|
|
7591
7653
|
key: ConfigKey.property_coverImage,
|
|
7592
7654
|
description: "Cover image of the catalog item",
|
|
7593
|
-
format: TagFormat.plainText
|
|
7655
|
+
format: TagFormat.plainText,
|
|
7656
|
+
nullable: true
|
|
7594
7657
|
},
|
|
7595
7658
|
{
|
|
7596
7659
|
key: ConfigKey.resource_coverImage,
|
|
@@ -7754,7 +7817,8 @@ var BITS = {
|
|
|
7754
7817
|
{
|
|
7755
7818
|
key: ConfigKey.property_coverImage,
|
|
7756
7819
|
description: "Cover image of the catalog item",
|
|
7757
|
-
format: TagFormat.plainText
|
|
7820
|
+
format: TagFormat.plainText,
|
|
7821
|
+
nullable: true
|
|
7758
7822
|
},
|
|
7759
7823
|
{
|
|
7760
7824
|
key: ConfigKey.property_content2Buy,
|
|
@@ -8540,12 +8604,14 @@ var BITS = {
|
|
|
8540
8604
|
{
|
|
8541
8605
|
key: ConfigKey.property_quizCountItems,
|
|
8542
8606
|
description: "The number of items in the cloze quiz",
|
|
8543
|
-
format: TagFormat.boolean
|
|
8607
|
+
format: TagFormat.boolean,
|
|
8608
|
+
nullable: true
|
|
8544
8609
|
},
|
|
8545
8610
|
{
|
|
8546
8611
|
key: ConfigKey.property_quizStrikethroughSolutions,
|
|
8547
8612
|
description: "If the cloze solutions should be strikethrough",
|
|
8548
|
-
format: TagFormat.boolean
|
|
8613
|
+
format: TagFormat.boolean,
|
|
8614
|
+
nullable: true
|
|
8549
8615
|
},
|
|
8550
8616
|
{
|
|
8551
8617
|
key: ConfigKey.group_gap,
|
|
@@ -10241,6 +10307,12 @@ var BITS = {
|
|
|
10241
10307
|
description: "Extractor theme bit, used to store design/theme JSON extracted from documents",
|
|
10242
10308
|
textFormatDefault: TextFormat2.json
|
|
10243
10309
|
},
|
|
10310
|
+
[BitType2.extractorReconcile]: {
|
|
10311
|
+
since: "5.35.0",
|
|
10312
|
+
baseBitType: BitType2._standard,
|
|
10313
|
+
description: "Extractor reconcile bit, used to store PDF-compare reconciliation decisions (config and issues) in JSON",
|
|
10314
|
+
textFormatDefault: TextFormat2.json
|
|
10315
|
+
},
|
|
10244
10316
|
[BitType2.extractorAiChat]: {
|
|
10245
10317
|
since: "3.19.0",
|
|
10246
10318
|
baseBitType: BitType2._standard,
|
|
@@ -10264,12 +10336,14 @@ var BITS = {
|
|
|
10264
10336
|
{
|
|
10265
10337
|
key: ConfigKey.property_x,
|
|
10266
10338
|
description: "X-coordinate for the block, used to position the block on the page",
|
|
10267
|
-
format: TagFormat.number
|
|
10339
|
+
format: TagFormat.number,
|
|
10340
|
+
nullable: true
|
|
10268
10341
|
},
|
|
10269
10342
|
{
|
|
10270
10343
|
key: ConfigKey.property_y,
|
|
10271
10344
|
description: "Y-coordinate for the block, used to position the block on the page",
|
|
10272
|
-
format: TagFormat.number
|
|
10345
|
+
format: TagFormat.number,
|
|
10346
|
+
nullable: true
|
|
10273
10347
|
},
|
|
10274
10348
|
{
|
|
10275
10349
|
key: ConfigKey.property_width,
|
|
@@ -12027,7 +12101,8 @@ var BITS = {
|
|
|
12027
12101
|
{
|
|
12028
12102
|
key: ConfigKey.property_product,
|
|
12029
12103
|
description: "Product reference for the product page, used to link to the product",
|
|
12030
|
-
format: TagFormat.plainText
|
|
12104
|
+
format: TagFormat.plainText,
|
|
12105
|
+
nullable: true
|
|
12031
12106
|
}
|
|
12032
12107
|
]
|
|
12033
12108
|
},
|
|
@@ -12046,6 +12121,7 @@ var BITS = {
|
|
|
12046
12121
|
key: ConfigKey.property_product,
|
|
12047
12122
|
description: "Product reference for the product list, used to link to the product",
|
|
12048
12123
|
format: TagFormat.plainText,
|
|
12124
|
+
nullable: true,
|
|
12049
12125
|
maxCount: Count.infinity
|
|
12050
12126
|
}
|
|
12051
12127
|
// {
|
|
@@ -12607,7 +12683,8 @@ var BITS = {
|
|
|
12607
12683
|
{
|
|
12608
12684
|
key: ConfigKey.property_ratingLevelSelected,
|
|
12609
12685
|
description: "Selected level for the rating survey, used to define the default rating",
|
|
12610
|
-
format: TagFormat.number
|
|
12686
|
+
format: TagFormat.number,
|
|
12687
|
+
nullable: true
|
|
12611
12688
|
},
|
|
12612
12689
|
{
|
|
12613
12690
|
key: ConfigKey.property_buttonCaption,
|
|
@@ -13939,7 +14016,7 @@ var instance2 = new Config();
|
|
|
13939
14016
|
// src/generated/package_info.ts
|
|
13940
14017
|
var PACKAGE_INFO = {
|
|
13941
14018
|
"name": "@gmb/bitmark-parser-generator",
|
|
13942
|
-
"version": "5.
|
|
14019
|
+
"version": "5.35.0",
|
|
13943
14020
|
"author": "Get More Brain Ltd",
|
|
13944
14021
|
"license": "ISC",
|
|
13945
14022
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -14864,6 +14941,8 @@ var NodeType = {
|
|
|
14864
14941
|
reviewTagValue: "reviewTagValue",
|
|
14865
14942
|
reviewerTag: "reviewerTag",
|
|
14866
14943
|
reviewerTagValue: "reviewerTagValue",
|
|
14944
|
+
rightsPolicy: "rightsPolicy",
|
|
14945
|
+
rightsPolicyValue: "rightsPolicyValue",
|
|
14867
14946
|
root: "root",
|
|
14868
14947
|
// bit type (root)
|
|
14869
14948
|
rows: "rows",
|
|
@@ -28233,6 +28312,14 @@ var Builder = class extends BaseBuilder {
|
|
|
28233
28312
|
data.jupyterExecutionCount,
|
|
28234
28313
|
options
|
|
28235
28314
|
),
|
|
28315
|
+
copyright: this.toAstProperty(bitType, ConfigKey.property_copyright, data.copyright, options),
|
|
28316
|
+
license: this.toAstProperty(bitType, ConfigKey.property_license, data.license, options),
|
|
28317
|
+
rightsPolicy: this.toAstProperty(
|
|
28318
|
+
bitType,
|
|
28319
|
+
ConfigKey.property_rightsPolicy,
|
|
28320
|
+
data.rightsPolicy,
|
|
28321
|
+
options
|
|
28322
|
+
),
|
|
28236
28323
|
sourceRL: this.toAstProperty(bitType, ConfigKey.property_sourceRL, data.sourceRL, options),
|
|
28237
28324
|
isPublic: this.toAstProperty(bitType, ConfigKey.property_isPublic, data.isPublic, options),
|
|
28238
28325
|
isTemplate: this.toAstProperty(
|