@gmb/bitmark-parser-generator 5.32.0 → 5.34.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/index.d.cts CHANGED
@@ -440,6 +440,8 @@ declare const BitType: {
440
440
  readonly pageSectionFolder: "page-section-folder";
441
441
  readonly pageShopInShop: "page-shop-in-shop";
442
442
  readonly pageSpecial: "page-special";
443
+ readonly pageEnd: "page-end";
444
+ readonly pageStart: "page-start";
443
445
  readonly pageSubpage: "page-subpage";
444
446
  readonly pageSubscribe: "page-subscribe";
445
447
  readonly parameters: "parameters";
@@ -985,6 +987,8 @@ declare const ConfigKey: {
985
987
  readonly property_resolvedBy: "@resolvedBy";
986
988
  readonly property_resolvedDate: "@resolvedDate";
987
989
  readonly property_revealSolutions: "@revealSolutions";
990
+ readonly property_reviewTag: "@reviewTag";
991
+ readonly property_reviewerTag: "@reviewerTag";
988
992
  readonly property_sampleSolution: "@sampleSolution";
989
993
  readonly property_scormSource: "@scormSource";
990
994
  readonly property_search: "@search";
@@ -1742,6 +1746,8 @@ interface BitJson {
1742
1746
  slug: string;
1743
1747
  tag: string | string[];
1744
1748
  groupTag: GroupTagJson[];
1749
+ reviewTag: string | string[];
1750
+ reviewerTag: string | string[];
1745
1751
  reductionTag: string | string[];
1746
1752
  bubbleTag: string | string[];
1747
1753
  extractorTag: string | string[];
@@ -2367,6 +2373,8 @@ interface Bit {
2367
2373
  slug?: Property;
2368
2374
  tag?: Property;
2369
2375
  groupTag?: GroupTagJson[];
2376
+ reviewTag?: Property;
2377
+ reviewerTag?: Property;
2370
2378
  reductionTag?: Property;
2371
2379
  bubbleTag?: Property;
2372
2380
  extractorTag?: Property;
@@ -3224,6 +3232,10 @@ declare const NodeType: {
3224
3232
  readonly responses: "responses";
3225
3233
  readonly responsesValue: "responsesValue";
3226
3234
  readonly revealSolutions: "revealSolutions";
3235
+ readonly reviewTag: "reviewTag";
3236
+ readonly reviewTagValue: "reviewTagValue";
3237
+ readonly reviewerTag: "reviewerTag";
3238
+ readonly reviewerTagValue: "reviewerTagValue";
3227
3239
  readonly root: "root";
3228
3240
  readonly rows: "rows";
3229
3241
  readonly rowsValue: "rowsValue";
@@ -4369,6 +4381,8 @@ declare class Builder extends BaseBuilder {
4369
4381
  slug?: string;
4370
4382
  tag?: string | string[];
4371
4383
  groupTag?: Partial<GroupTagJson> | Partial<GroupTagJson>[];
4384
+ reviewTag?: string | string[];
4385
+ reviewerTag?: string | string[];
4372
4386
  reductionTag?: string | string[];
4373
4387
  bubbleTag?: string | string[];
4374
4388
  extractorTag?: string | string[];
package/dist/index.d.ts CHANGED
@@ -440,6 +440,8 @@ declare const BitType: {
440
440
  readonly pageSectionFolder: "page-section-folder";
441
441
  readonly pageShopInShop: "page-shop-in-shop";
442
442
  readonly pageSpecial: "page-special";
443
+ readonly pageEnd: "page-end";
444
+ readonly pageStart: "page-start";
443
445
  readonly pageSubpage: "page-subpage";
444
446
  readonly pageSubscribe: "page-subscribe";
445
447
  readonly parameters: "parameters";
@@ -985,6 +987,8 @@ declare const ConfigKey: {
985
987
  readonly property_resolvedBy: "@resolvedBy";
986
988
  readonly property_resolvedDate: "@resolvedDate";
987
989
  readonly property_revealSolutions: "@revealSolutions";
990
+ readonly property_reviewTag: "@reviewTag";
991
+ readonly property_reviewerTag: "@reviewerTag";
988
992
  readonly property_sampleSolution: "@sampleSolution";
989
993
  readonly property_scormSource: "@scormSource";
990
994
  readonly property_search: "@search";
@@ -1742,6 +1746,8 @@ interface BitJson {
1742
1746
  slug: string;
1743
1747
  tag: string | string[];
1744
1748
  groupTag: GroupTagJson[];
1749
+ reviewTag: string | string[];
1750
+ reviewerTag: string | string[];
1745
1751
  reductionTag: string | string[];
1746
1752
  bubbleTag: string | string[];
1747
1753
  extractorTag: string | string[];
@@ -2367,6 +2373,8 @@ interface Bit {
2367
2373
  slug?: Property;
2368
2374
  tag?: Property;
2369
2375
  groupTag?: GroupTagJson[];
2376
+ reviewTag?: Property;
2377
+ reviewerTag?: Property;
2370
2378
  reductionTag?: Property;
2371
2379
  bubbleTag?: Property;
2372
2380
  extractorTag?: Property;
@@ -3224,6 +3232,10 @@ declare const NodeType: {
3224
3232
  readonly responses: "responses";
3225
3233
  readonly responsesValue: "responsesValue";
3226
3234
  readonly revealSolutions: "revealSolutions";
3235
+ readonly reviewTag: "reviewTag";
3236
+ readonly reviewTagValue: "reviewTagValue";
3237
+ readonly reviewerTag: "reviewerTag";
3238
+ readonly reviewerTagValue: "reviewerTagValue";
3227
3239
  readonly root: "root";
3228
3240
  readonly rows: "rows";
3229
3241
  readonly rowsValue: "rowsValue";
@@ -4369,6 +4381,8 @@ declare class Builder extends BaseBuilder {
4369
4381
  slug?: string;
4370
4382
  tag?: string | string[];
4371
4383
  groupTag?: Partial<GroupTagJson> | Partial<GroupTagJson>[];
4384
+ reviewTag?: string | string[];
4385
+ reviewerTag?: string | string[];
4372
4386
  reductionTag?: string | string[];
4373
4387
  bubbleTag?: string | string[];
4374
4388
  extractorTag?: string | string[];
package/dist/index.js CHANGED
@@ -449,6 +449,8 @@ var BitType = {
449
449
  pageSectionFolder: "page-section-folder",
450
450
  pageShopInShop: "page-shop-in-shop",
451
451
  pageSpecial: "page-special",
452
+ pageEnd: "page-end",
453
+ pageStart: "page-start",
452
454
  pageSubpage: "page-subpage",
453
455
  pageSubscribe: "page-subscribe",
454
456
  parameters: "parameters",
@@ -1501,6 +1503,8 @@ var propertyKeys = {
1501
1503
  property_resolvedBy: "@resolvedBy",
1502
1504
  property_resolvedDate: "@resolvedDate",
1503
1505
  property_revealSolutions: "@revealSolutions",
1506
+ property_reviewTag: "@reviewTag",
1507
+ property_reviewerTag: "@reviewerTag",
1504
1508
  property_sampleSolution: "@sampleSolution",
1505
1509
  property_scormSource: "@scormSource",
1506
1510
  property_search: "@search",
@@ -4579,6 +4583,18 @@ var GROUPS = {
4579
4583
  }
4580
4584
  ]
4581
4585
  },
4586
+ {
4587
+ key: ConfigKey.property_reviewTag,
4588
+ description: "The review tag(s) for the bit",
4589
+ format: TagFormat.plainText,
4590
+ maxCount: Count.infinity
4591
+ },
4592
+ {
4593
+ key: ConfigKey.property_reviewerTag,
4594
+ description: "The reviewer tag(s) for the bit",
4595
+ format: TagFormat.plainText,
4596
+ maxCount: Count.infinity
4597
+ },
4582
4598
  {
4583
4599
  key: ConfigKey.property_reductionTag,
4584
4600
  description: "The reduction tag(s) for the bit",
@@ -11967,6 +11983,16 @@ var BITS = {
11967
11983
  baseBitType: BitType.pageSubpage,
11968
11984
  description: "Page special bit, used to create special pages in articles or books"
11969
11985
  },
11986
+ [BitType.pageEnd]: {
11987
+ since: "5.33.0",
11988
+ baseBitType: BitType.article,
11989
+ description: "Page end bit, used to mark the end of a page section in articles or books"
11990
+ },
11991
+ [BitType.pageStart]: {
11992
+ since: "5.33.0",
11993
+ baseBitType: BitType.article,
11994
+ description: "Page start bit, used to mark the start of a page section in articles or books"
11995
+ },
11970
11996
  [BitType.pagePerson]: {
11971
11997
  since: "1.5.16",
11972
11998
  baseBitType: BitType._standard,
@@ -13913,7 +13939,7 @@ var instance2 = new Config();
13913
13939
  // src/generated/package_info.ts
13914
13940
  var PACKAGE_INFO = {
13915
13941
  "name": "@gmb/bitmark-parser-generator",
13916
- "version": "5.32.0",
13942
+ "version": "5.34.0",
13917
13943
  "author": "Get More Brain Ltd",
13918
13944
  "license": "ISC",
13919
13945
  "description": "A bitmark parser and generator using Peggy.js"
@@ -14834,6 +14860,10 @@ var NodeType = {
14834
14860
  responses: "responses",
14835
14861
  responsesValue: "responsesValue",
14836
14862
  revealSolutions: "revealSolutions",
14863
+ reviewTag: "reviewTag",
14864
+ reviewTagValue: "reviewTagValue",
14865
+ reviewerTag: "reviewerTag",
14866
+ reviewerTagValue: "reviewerTagValue",
14837
14867
  root: "root",
14838
14868
  // bit type (root)
14839
14869
  rows: "rows",
@@ -28362,6 +28392,13 @@ var Builder = class extends BaseBuilder {
28362
28392
  slug: this.toAstProperty(bitType, ConfigKey.property_slug, data.slug, options),
28363
28393
  tag: this.toAstProperty(bitType, ConfigKey.property_tag, data.tag, options),
28364
28394
  groupTag: this.buildGroupTags(context, data.groupTag),
28395
+ reviewTag: this.toAstProperty(bitType, ConfigKey.property_reviewTag, data.reviewTag, options),
28396
+ reviewerTag: this.toAstProperty(
28397
+ bitType,
28398
+ ConfigKey.property_reviewerTag,
28399
+ data.reviewerTag,
28400
+ options
28401
+ ),
28365
28402
  reductionTag: this.toAstProperty(
28366
28403
  bitType,
28367
28404
  ConfigKey.property_reductionTag,