@gmb/bitmark-parser-generator 5.7.0 → 5.8.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/cli/main.js CHANGED
@@ -263,6 +263,7 @@ var BitType = {
263
263
  extractorPageWithBlocks: "extractor-page-with-blocks",
264
264
  extractorPageWithBlocksCollapsible: "extractor-page-with-blocks-collapsible",
265
265
  extractorRepeatedText: "extractor-repeated-text",
266
+ extractorTheme: "extractor-theme",
266
267
  featured: "featured",
267
268
  feedback: "feedback",
268
269
  figure: "figure",
@@ -478,6 +479,9 @@ var BitType = {
478
479
  reviewApprovedNote: "review-approved-note",
479
480
  reviewAuthorNote: "review-author-note",
480
481
  reviewCustomerNote: "review-customer-note",
482
+ reviewError: "review-error",
483
+ reviewErrorAi: "review-error-ai",
484
+ reviewErrorTranslation: "review-error-translation",
481
485
  reviewNote: "review-note",
482
486
  reviewRequestForReviewNote: "review-request-for-review-note",
483
487
  reviewReviewerNote: "review-reviewer-note",
@@ -1176,6 +1180,8 @@ var propertyKeys = {
1176
1180
  property_disableFeedback: "@disableFeedback",
1177
1181
  property_duration: "@duration",
1178
1182
  property_isEditable: "@isEditable",
1183
+ property_needsValidation: "@needsValidation",
1184
+ property_validationDate: "@validationDate",
1179
1185
  property_emphasis: "@emphasis",
1180
1186
  property_example: "@example",
1181
1187
  property_externalId: "@externalId",
@@ -2707,6 +2713,18 @@ var GROUPS = {
2707
2713
  format: TagFormat.boolean,
2708
2714
  defaultValue: "false"
2709
2715
  },
2716
+ {
2717
+ key: ConfigKey.property_needsValidation,
2718
+ description: "If true, the bit needs validation",
2719
+ format: TagFormat.boolean,
2720
+ defaultValue: "false"
2721
+ },
2722
+ {
2723
+ key: ConfigKey.property_validationDate,
2724
+ description: "The date when the bit was validated",
2725
+ format: TagFormat.plainText,
2726
+ defaultValue: ""
2727
+ },
2710
2728
  {
2711
2729
  key: ConfigKey.property_aiGenerated,
2712
2730
  description: "If true, the bit is AI-generated",
@@ -7226,6 +7244,12 @@ var BITS = {
7226
7244
  description: "Extractor information bit, used to provide information about extractors in articles or books",
7227
7245
  textFormatDefault: TextFormat.json
7228
7246
  },
7247
+ [BitType.extractorTheme]: {
7248
+ since: "5.7.0",
7249
+ baseBitType: BitType._standard,
7250
+ description: "Extractor theme bit, used to store design/theme JSON extracted from documents",
7251
+ textFormatDefault: TextFormat.json
7252
+ },
7229
7253
  [BitType.extractorAiChat]: {
7230
7254
  since: "3.19.0",
7231
7255
  baseBitType: BitType._standard,
@@ -8992,6 +9016,21 @@ var BITS = {
8992
9016
  baseBitType: BitType.reviewNote,
8993
9017
  description: "Customer review note bit, used to create customer notes in reviews"
8994
9018
  },
9019
+ [BitType.reviewError]: {
9020
+ since: "5.8.0",
9021
+ baseBitType: BitType.reviewNote,
9022
+ description: "Review error note bit, used to create error notes in reviews"
9023
+ },
9024
+ [BitType.reviewErrorAi]: {
9025
+ since: "5.8.0",
9026
+ baseBitType: BitType.reviewNote,
9027
+ description: "Review error AI note bit, used to create AI error notes in reviews"
9028
+ },
9029
+ [BitType.reviewErrorTranslation]: {
9030
+ since: "5.8.0",
9031
+ baseBitType: BitType.reviewNote,
9032
+ description: "Review error translation note bit, used to create translation error notes in reviews"
9033
+ },
8995
9034
  [BitType.reviewReviewerNote]: {
8996
9035
  since: "1.3.0",
8997
9036
  baseBitType: BitType.reviewNote,
@@ -10306,7 +10345,7 @@ var instance2 = new Config();
10306
10345
  // src/generated/package_info.ts
10307
10346
  var PACKAGE_INFO = {
10308
10347
  "name": "@gmb/bitmark-parser-generator",
10309
- "version": "5.7.0",
10348
+ "version": "5.8.0",
10310
10349
  "license": "ISC"};
10311
10350
  var Environment = {
10312
10351
  unknown: "",
@@ -10623,10 +10662,6 @@ var NodeType = {
10623
10662
  advertisingClickUrl: "advertisingClickUrl",
10624
10663
  advertisingClickUrlValue: "advertisingClickUrlValue",
10625
10664
  ageRange: "ageRange",
10626
- brandColor: "brandColor",
10627
- brandColorValue: "brandColorValue",
10628
- brandColorName: "brandColorName",
10629
- brandColorNameValue: "brandColorNameValue",
10630
10665
  ageRangeValue: "ageRangeValue",
10631
10666
  aiGenerated: "aiGenerated",
10632
10667
  aiGeneratedValue: "aiGeneratedValue",
@@ -10654,7 +10689,6 @@ var NodeType = {
10654
10689
  audioEmbed: "audioEmbed",
10655
10690
  audioLink: "audioLink",
10656
10691
  author: "author",
10657
- authorValue: "authorValue",
10658
10692
  authorFullName: "authorFullName",
10659
10693
  authorFullNameValue: "authorFullNameValue",
10660
10694
  authorJobTitle: "authorJobTitle",
@@ -10663,6 +10697,7 @@ var NodeType = {
10663
10697
  authorPseudonymValue: "authorPseudonymValue",
10664
10698
  authorTitle: "authorTitle",
10665
10699
  authorTitleValue: "authorTitleValue",
10700
+ authorValue: "authorValue",
10666
10701
  availableClassifications: "availableClassifications",
10667
10702
  availableClassificationsValue: "availableClassificationsValue",
10668
10703
  avatarImage: "avatarImage",
@@ -10714,6 +10749,10 @@ var NodeType = {
10714
10749
  botResponses: "botResponses",
10715
10750
  botResponsesValue: "botResponsesValue",
10716
10751
  botValue: "botValue",
10752
+ brandColor: "brandColor",
10753
+ brandColorName: "brandColorName",
10754
+ brandColorNameValue: "brandColorNameValue",
10755
+ brandColorValue: "brandColorValue",
10717
10756
  bubbleTag: "bubbleTag",
10718
10757
  bubbleTagValue: "bubbleTagValue",
10719
10758
  buttonCaption: "buttonCaption",
@@ -10809,6 +10848,8 @@ var NodeType = {
10809
10848
  elementsValueValue: "elementsValueValue",
10810
10849
  emphasis: "emphasis",
10811
10850
  end: "end",
10851
+ enforceUpdateOverUserInput: "enforceUpdateOverUserInput",
10852
+ enforceUpdateOverUserInputValue: "enforceUpdateOverUserInputValue",
10812
10853
  errors: "errors",
10813
10854
  errorsValue: "errorsValue",
10814
10855
  example: "example",
@@ -10817,6 +10858,8 @@ var NodeType = {
10817
10858
  externalIdValue: "externalIdValue",
10818
10859
  externalLink: "externalLink",
10819
10860
  externalLinkText: "externalLinkText",
10861
+ extractorExtractionTimestamp: "extractorExtractionTimestamp",
10862
+ extractorExtractionTimestampValue: "extractorExtractionTimestampValue",
10820
10863
  extractorTag: "extractorTag",
10821
10864
  extractorTagValue: "extractorTagValue",
10822
10865
  extraProperties: "extraProperties",
@@ -10835,8 +10878,8 @@ var NodeType = {
10835
10878
  focusY: "focusY",
10836
10879
  focusYValue: "focusYValue",
10837
10880
  footer: "footer",
10838
- footerValue: "footerValue",
10839
10881
  footerText: "footerText",
10882
+ footerValue: "footerValue",
10840
10883
  forKeys: "forKeys",
10841
10884
  format: "format",
10842
10885
  formula: "formula",
@@ -10860,6 +10903,8 @@ var NodeType = {
10860
10903
  hasBookNavigationValue: "hasBookNavigationValue",
10861
10904
  hasMarkAsDone: "hasMarkAsDone",
10862
10905
  hasMarkAsDoneValue: "hasMarkAsDoneValue",
10906
+ hasPrintRestriction: "hasPrintRestriction",
10907
+ hasPrintRestrictionValue: "hasPrintRestrictionValue",
10863
10908
  head: "head",
10864
10909
  heading: "heading",
10865
10910
  height: "height",
@@ -10874,8 +10919,8 @@ var NodeType = {
10874
10919
  iconValue: "iconValue",
10875
10920
  id: "id",
10876
10921
  idValue: "idValue",
10877
- iframeSrc: "iframeSrc",
10878
10922
  iframeName: "iframeName",
10923
+ iframeSrc: "iframeSrc",
10879
10924
  image: "image",
10880
10925
  imageFirst: "imageFirst",
10881
10926
  imageFirstValue: "imageFirstValue",
@@ -10895,12 +10940,6 @@ var NodeType = {
10895
10940
  internalCommentValue: "internalCommentValue",
10896
10941
  internalPrintPdf: "internalPrintPdf",
10897
10942
  internalPrintPdfValue: "internalPrintPdfValue",
10898
- hasPrintRestriction: "hasPrintRestriction",
10899
- hasPrintRestrictionValue: "hasPrintRestrictionValue",
10900
- enforceUpdateOverUserInput: "enforceUpdateOverUserInput",
10901
- enforceUpdateOverUserInputValue: "enforceUpdateOverUserInputValue",
10902
- extractorExtractionTimestamp: "extractorExtractionTimestamp",
10903
- extractorExtractionTimestampValue: "extractorExtractionTimestampValue",
10904
10943
  isCaseSensitive: "isCaseSensitive",
10905
10944
  isCommented: "isCommented",
10906
10945
  isCorrect: "isCorrect",
@@ -10919,8 +10958,8 @@ var NodeType = {
10919
10958
  isTracked: "isTracked",
10920
10959
  isTrackedValue: "isTrackedValue",
10921
10960
  item: "item",
10922
- itemValue: "itemValue",
10923
10961
  itemLead: "itemLead",
10962
+ itemValue: "itemValue",
10924
10963
  jobTitle: "jobTitle",
10925
10964
  jobTitleValue: "jobTitleValue",
10926
10965
  jupyterExecutionCount: "jupyterExecutionCount",
@@ -10967,10 +11006,6 @@ var NodeType = {
10967
11006
  locationValue: "locationValue",
10968
11007
  machineTranslated: "machineTranslated",
10969
11008
  machineTranslatedValue: "machineTranslatedValue",
10970
- translationOf: "translationOf",
10971
- translationOfValue: "translationOfValue",
10972
- spansPageBreak: "spansPageBreak",
10973
- spansPageBreakValue: "spansPageBreakValue",
10974
11009
  mailingList: "mailingList",
10975
11010
  marginNumber: "marginNumber",
10976
11011
  marginNumberValue: "marginNumberValue",
@@ -10992,6 +11027,8 @@ var NodeType = {
10992
11027
  message: "message",
10993
11028
  mockupId: "mockupId",
10994
11029
  name: "name",
11030
+ needsValidation: "needsValidation",
11031
+ needsValidationValue: "needsValidationValue",
10995
11032
  offset: "offset",
10996
11033
  options: "options",
10997
11034
  optionsValue: "optionsValue",
@@ -11004,8 +11041,6 @@ var NodeType = {
11004
11041
  pageNumber: "pageNumber",
11005
11042
  pageNumberValue: "pageNumberValue",
11006
11043
  pageValue: "pageValue",
11007
- printParentChapterLevel: "printParentChapterLevel",
11008
- printParentChapterLevelValue: "printParentChapterLevelValue",
11009
11044
  pairs: "pairs",
11010
11045
  pairsValue: "pairsValue",
11011
11046
  parent: "parent",
@@ -11014,55 +11049,55 @@ var NodeType = {
11014
11049
  partialAnswerValue: "partialAnswerValue",
11015
11050
  path: "path",
11016
11051
  pathValue: "pathValue",
11052
+ person: "person",
11053
+ platformBackgroundColor: "platformBackgroundColor",
11054
+ platformBackgroundColorValue: "platformBackgroundColorValue",
11055
+ platformBackgroundImage: "platformBackgroundImage",
11056
+ platformBackgroundImageValue: "platformBackgroundImageValue",
11057
+ platformBaseLayerColor: "platformBaseLayerColor",
11058
+ platformBaseLayerColorValue: "platformBaseLayerColorValue",
11059
+ platformBorderColor: "platformBorderColor",
11060
+ platformBorderColorValue: "platformBorderColorValue",
11061
+ platformBorderRadius: "platformBorderRadius",
11062
+ platformBorderRadiusValue: "platformBorderRadiusValue",
11017
11063
  platformBrandTarget: "platformBrandTarget",
11018
11064
  platformBrandTargetValue: "platformBrandTargetValue",
11019
- platformName: "platformName",
11020
- platformNameValue: "platformNameValue",
11065
+ platformButtonBackgroundColor: "platformButtonBackgroundColor",
11066
+ platformButtonBackgroundColorValue: "platformButtonBackgroundColorValue",
11067
+ platformButtonPrimaryColor: "platformButtonPrimaryColor",
11068
+ platformButtonPrimaryColorValue: "platformButtonPrimaryColorValue",
11021
11069
  platformIcon: "platformIcon",
11022
11070
  platformIconValue: "platformIconValue",
11023
11071
  platformLogo: "platformLogo",
11024
- platformLogoValue: "platformLogoValue",
11025
11072
  platformLogoMaxHeight: "platformLogoMaxHeight",
11026
11073
  platformLogoMaxHeightValue: "platformLogoMaxHeightValue",
11074
+ platformLogoValue: "platformLogoValue",
11075
+ platformMargin: "platformMargin",
11076
+ platformMarginValue: "platformMarginValue",
11077
+ platformMessageBackgroundColor: "platformMessageBackgroundColor",
11078
+ platformMessageBackgroundColorValue: "platformMessageBackgroundColorValue",
11079
+ platformName: "platformName",
11080
+ platformNameValue: "platformNameValue",
11081
+ platformNeedsShadow: "platformNeedsShadow",
11082
+ platformNeedsShadowValue: "platformNeedsShadowValue",
11083
+ platformPlaceholderColor: "platformPlaceholderColor",
11084
+ platformPlaceholderColorValue: "platformPlaceholderColorValue",
11027
11085
  platformPrimaryColor: "platformPrimaryColor",
11028
11086
  platformPrimaryColorValue: "platformPrimaryColorValue",
11029
- platformSecondaryColor: "platformSecondaryColor",
11030
- platformSecondaryColorValue: "platformSecondaryColorValue",
11031
- platformBackgroundColor: "platformBackgroundColor",
11032
- platformBackgroundColorValue: "platformBackgroundColorValue",
11033
11087
  platformScrollbarColor: "platformScrollbarColor",
11034
11088
  platformScrollbarColorValue: "platformScrollbarColorValue",
11089
+ platformSecondaryColor: "platformSecondaryColor",
11090
+ platformSecondaryColorValue: "platformSecondaryColorValue",
11091
+ platformSelectionBorderRadius: "platformSelectionBorderRadius",
11092
+ platformSelectionBorderRadiusValue: "platformSelectionBorderRadiusValue",
11035
11093
  platformSelectionColor: "platformSelectionColor",
11036
11094
  platformSelectionColorValue: "platformSelectionColorValue",
11095
+ platformSelectionTextColor: "platformSelectionTextColor",
11096
+ platformSelectionTextColorValue: "platformSelectionTextColorValue",
11037
11097
  platformSeparatorColor: "platformSeparatorColor",
11038
11098
  platformSeparatorColorValue: "platformSeparatorColorValue",
11039
- platformPlaceholderColor: "platformPlaceholderColor",
11040
- platformPlaceholderColorValue: "platformPlaceholderColorValue",
11041
11099
  platformTextSelectionColor: "platformTextSelectionColor",
11042
11100
  platformTextSelectionColorValue: "platformTextSelectionColorValue",
11043
- platformButtonPrimaryColor: "platformButtonPrimaryColor",
11044
- platformButtonPrimaryColorValue: "platformButtonPrimaryColorValue",
11045
- platformButtonBackgroundColor: "platformButtonBackgroundColor",
11046
- platformButtonBackgroundColorValue: "platformButtonBackgroundColorValue",
11047
- platformMessageBackgroundColor: "platformMessageBackgroundColor",
11048
- platformMessageBackgroundColorValue: "platformMessageBackgroundColorValue",
11049
- platformBackgroundImage: "platformBackgroundImage",
11050
- platformBackgroundImageValue: "platformBackgroundImageValue",
11051
- platformBorderColor: "platformBorderColor",
11052
- platformBorderColorValue: "platformBorderColorValue",
11053
- platformSelectionTextColor: "platformSelectionTextColor",
11054
- platformSelectionTextColorValue: "platformSelectionTextColorValue",
11055
- platformBaseLayerColor: "platformBaseLayerColor",
11056
- platformBaseLayerColorValue: "platformBaseLayerColorValue",
11057
- platformMargin: "platformMargin",
11058
- platformMarginValue: "platformMarginValue",
11059
- platformBorderRadius: "platformBorderRadius",
11060
- platformBorderRadiusValue: "platformBorderRadiusValue",
11061
- platformSelectionBorderRadius: "platformSelectionBorderRadius",
11062
- platformSelectionBorderRadiusValue: "platformSelectionBorderRadiusValue",
11063
- platformNeedsShadow: "platformNeedsShadow",
11064
- platformNeedsShadowValue: "platformNeedsShadowValue",
11065
- person: "person",
11066
11101
  pointerLeft: "pointerLeft",
11067
11102
  pointerLeftValue: "pointerLeftValue",
11068
11103
  pointerTop: "pointerTop",
@@ -11075,6 +11110,8 @@ var NodeType = {
11075
11110
  previewImageValue: "previewImageValue",
11076
11111
  previewVideo: "previewVideo",
11077
11112
  previewVideoValue: "previewVideoValue",
11113
+ printParentChapterLevel: "printParentChapterLevel",
11114
+ printParentChapterLevelValue: "printParentChapterLevelValue",
11078
11115
  processHandIn: "processHandIn",
11079
11116
  processHandInLocation: "processHandInLocation",
11080
11117
  processHandInLocationValue: "processHandInLocationValue",
@@ -11110,9 +11147,9 @@ var NodeType = {
11110
11147
  publisherValue: "publisherValue",
11111
11148
  quantity: "quantity",
11112
11149
  question: "question",
11113
- questionValue: "questionValue",
11114
11150
  questions: "questions",
11115
11151
  questionsValue: "questionsValue",
11152
+ questionValue: "questionValue",
11116
11153
  quizCountItems: "quizCountItems",
11117
11154
  quizCountItemsValue: "quizCountItemsValue",
11118
11155
  quizStrikethroughSolutions: "quizStrikethroughSolutions",
@@ -11165,6 +11202,8 @@ var NodeType = {
11165
11202
  // bit type (root)
11166
11203
  rows: "rows",
11167
11204
  rowsValue: "rowsValue",
11205
+ rtl: "rtl",
11206
+ rtlValue: "rtlValue",
11168
11207
  rubric: "rubric",
11169
11208
  rubricValue: "rubricValue",
11170
11209
  sampleSolution: "sampleSolution",
@@ -11194,6 +11233,8 @@ var NodeType = {
11194
11233
  sourceRLValue: "sourceRLValue",
11195
11234
  spaceId: "spaceId",
11196
11235
  spaceIdValue: "spaceIdValue",
11236
+ spansPageBreak: "spansPageBreak",
11237
+ spansPageBreakValue: "spansPageBreakValue",
11197
11238
  src: "src",
11198
11239
  src1x: "src1x",
11199
11240
  src2x: "src2x",
@@ -11259,15 +11300,13 @@ var NodeType = {
11259
11300
  textsValue: "textsValue",
11260
11301
  theme: "theme",
11261
11302
  themeValue: "themeValue",
11262
- rtl: "rtl",
11263
- rtlValue: "rtlValue",
11264
11303
  thumbImage: "thumbImage",
11265
11304
  thumbImageValue: "thumbImageValue",
11266
11305
  thumbnails: "thumbnails",
11267
11306
  thumbnailsValue: "thumbnailsValue",
11268
11307
  title: "title",
11269
- titleValue: "titleValue",
11270
11308
  titleString: "titleString",
11309
+ titleValue: "titleValue",
11271
11310
  toc: "toc",
11272
11311
  tocContent: "tocContent",
11273
11312
  tocContentValue: "tocContentValue",
@@ -11276,11 +11315,15 @@ var NodeType = {
11276
11315
  tocValue: "tocValue",
11277
11316
  topicTag: "topicTag",
11278
11317
  topicTagValue: "topicTagValue",
11318
+ translationOf: "translationOf",
11319
+ translationOfValue: "translationOfValue",
11279
11320
  trim: "trim",
11280
11321
  type: "type",
11281
11322
  unit: "unit",
11282
11323
  unitAbbr: "unitAbbr",
11283
11324
  url: "url",
11325
+ validationDate: "validationDate",
11326
+ validationDateValue: "validationDateValue",
11284
11327
  value: "value",
11285
11328
  values: "values",
11286
11329
  valuesValue: "valuesValue",
@@ -23863,6 +23906,18 @@ var Builder = class extends BaseBuilder {
23863
23906
  data.isEditable,
23864
23907
  options
23865
23908
  ),
23909
+ needsValidation: this.toAstProperty(
23910
+ bitType,
23911
+ ConfigKey.property_needsValidation,
23912
+ data.needsValidation,
23913
+ options
23914
+ ),
23915
+ validationDate: this.toAstProperty(
23916
+ bitType,
23917
+ ConfigKey.property_validationDate,
23918
+ data.validationDate,
23919
+ options
23920
+ ),
23866
23921
  aiGenerated: this.toAstProperty(
23867
23922
  bitType,
23868
23923
  ConfigKey.property_aiGenerated,