@gmb/bitmark-parser-generator 5.17.0 → 5.18.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
@@ -356,6 +356,7 @@ var BitType = {
356
356
  handInPhoto: "hand-in-photo",
357
357
  handInScan: "hand-in-scan",
358
358
  handInSubmit: "hand-in-submit",
359
+ handInSystemMedia: "hand-in-system-media",
359
360
  handInVideo: "hand-in-video",
360
361
  handInVoice: "hand-in-voice",
361
362
  help: "help",
@@ -10253,6 +10254,20 @@ var BITS = {
10253
10254
  baseBitType: BitType._standard,
10254
10255
  description: "Hand in scan bit, used to create scan submission sections in articles or books"
10255
10256
  },
10257
+ [BitType.handInSystemMedia]: {
10258
+ //
10259
+ since: "1.5.15",
10260
+ baseBitType: BitType._standard,
10261
+ description: "Hand in system media bit, used to create system media submission sections in articles or books",
10262
+ tags: [
10263
+ {
10264
+ key: ConfigKey.property_handInAcceptFileType,
10265
+ description: "Accepted file types for the hand-in system media, used to define allowed file formats",
10266
+ format: TagFormat.plainText,
10267
+ maxCount: Count.infinity
10268
+ }
10269
+ ]
10270
+ },
10256
10271
  [BitType.handInSubmit]: {
10257
10272
  //
10258
10273
  since: "3.2.0",
@@ -10982,7 +10997,7 @@ var instance2 = new Config();
10982
10997
  // src/generated/package_info.ts
10983
10998
  var PACKAGE_INFO = {
10984
10999
  "name": "@gmb/bitmark-parser-generator",
10985
- "version": "5.17.0",
11000
+ "version": "5.18.0",
10986
11001
  "author": "Get More Brain Ltd",
10987
11002
  "license": "ISC",
10988
11003
  "description": "A bitmark parser and generator using Peggy.js"
@@ -31407,7 +31422,7 @@ var JsonGenerator = class extends AstWalkerGenerator {
31407
31422
  if (bitJson.buttonCaption == null) bitJson.buttonCaption = "";
31408
31423
  if (bitJson.callToActionUrl == null) bitJson.callToActionUrl = "";
31409
31424
  }
31410
- if (instance2.isOfBitType(bitType, BitType.handInFile)) {
31425
+ if (instance2.isOfBitType(bitType, [BitType.handInFile, BitType.handInSystemMedia])) {
31411
31426
  if (bitJson.handInAcceptFileType == null) bitJson.handInAcceptFileType = [];
31412
31427
  }
31413
31428
  if (instance2.isOfBitType(bitType, BitType.handInSubmit)) {