@gmb/bitmark-parser-generator 5.8.0 → 5.9.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.cjs CHANGED
@@ -1204,6 +1204,7 @@ var propertyKeys = {
1204
1204
  property_aiGenerated: "@aiGenerated",
1205
1205
  property_allowedBit: "@allowedBit",
1206
1206
  property_allowPrint: "@allowPrint",
1207
+ property_allowPrintEnforceSpaceConfiguration: "@allowPrintEnforceSpaceConfiguration",
1207
1208
  property_allowSubtitles: "@allowSubtitles",
1208
1209
  property_alt: "@alt",
1209
1210
  property_altLangTag: "@altLangTag",
@@ -1338,6 +1339,7 @@ var propertyKeys = {
1338
1339
  property_location: "@location",
1339
1340
  property_machineTranslated: "@machineTranslated",
1340
1341
  property_translationOf: "@translationOf",
1342
+ property_translationOfBook: "@translationOfBook",
1341
1343
  property_spansPageBreak: "@spansPageBreak",
1342
1344
  property_mailingList: "@mailingList",
1343
1345
  property_mark: "@mark",
@@ -3476,6 +3478,11 @@ var GROUPS = {
3476
3478
  format: TagFormat.plainText,
3477
3479
  maxCount: Count.infinity
3478
3480
  },
3481
+ {
3482
+ key: ConfigKey.property_translationOfBook,
3483
+ description: "External Id of the translated book",
3484
+ format: TagFormat.plainText
3485
+ },
3479
3486
  {
3480
3487
  key: ConfigKey.property_duration,
3481
3488
  description: "The duration of the book",
@@ -3502,6 +3509,12 @@ var GROUPS = {
3502
3509
  format: TagFormat.boolean,
3503
3510
  defaultValue: "false"
3504
3511
  },
3512
+ {
3513
+ key: ConfigKey.property_allowPrintEnforceSpaceConfiguration,
3514
+ description: "If true, enforces space configuration for printing regardless of the allowPrint setting",
3515
+ format: TagFormat.boolean,
3516
+ defaultValue: "false"
3517
+ },
3505
3518
  {
3506
3519
  key: ConfigKey.property_hasPrintRestriction,
3507
3520
  description: "If true, the book has print restrictions",
@@ -10450,7 +10463,7 @@ var instance2 = new Config();
10450
10463
  // src/generated/package_info.ts
10451
10464
  var PACKAGE_INFO = {
10452
10465
  "name": "@gmb/bitmark-parser-generator",
10453
- "version": "5.8.0",
10466
+ "version": "5.9.0",
10454
10467
  "author": "Get More Brain Ltd",
10455
10468
  "license": "ISC",
10456
10469
  "description": "A bitmark parser and generator using Peggy.js"
@@ -11314,6 +11327,8 @@ var NodeType = {
11314
11327
  refPublisher: "refPublisher",
11315
11328
  relatedBook: "relatedBook",
11316
11329
  relatedBookValue: "relatedBookValue",
11330
+ translationOfBook: "translationOfBook",
11331
+ translationOfBookValue: "translationOfBookValue",
11317
11332
  releaseDate: "releaseDate",
11318
11333
  releaseDateValue: "releaseDateValue",
11319
11334
  releaseKind: "releaseKind",
@@ -24429,6 +24444,12 @@ var Builder = class extends BaseBuilder {
24429
24444
  data.relatedBook,
24430
24445
  options
24431
24446
  ),
24447
+ translationOfBook: this.toAstProperty(
24448
+ bitType,
24449
+ ConfigKey.property_translationOfBook,
24450
+ data.translationOfBook,
24451
+ options
24452
+ ),
24432
24453
  author: this.toAstProperty(bitType, ConfigKey.property_author, data.author, options),
24433
24454
  subject: this.toAstProperty(bitType, ConfigKey.property_subject, data.subject, options),
24434
24455
  date: this.toAstProperty(bitType, ConfigKey.property_date, data.date, options),
@@ -25005,6 +25026,12 @@ var Builder = class extends BaseBuilder {
25005
25026
  data.allowPrint,
25006
25027
  options
25007
25028
  ),
25029
+ allowPrintEnforceSpaceConfiguration: this.toAstProperty(
25030
+ bitType,
25031
+ ConfigKey.property_allowPrintEnforceSpaceConfiguration,
25032
+ data.allowPrintEnforceSpaceConfiguration,
25033
+ options
25034
+ ),
25008
25035
  printParentChapterLevel: this.toAstProperty(
25009
25036
  bitType,
25010
25037
  ConfigKey.property_printParentChapterLevel,