@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.d.cts CHANGED
@@ -285,6 +285,7 @@ declare const BitType: {
285
285
  readonly handInPhoto: "hand-in-photo";
286
286
  readonly handInScan: "hand-in-scan";
287
287
  readonly handInSubmit: "hand-in-submit";
288
+ readonly handInSystemMedia: "hand-in-system-media";
288
289
  readonly handInVideo: "hand-in-video";
289
290
  readonly handInVoice: "hand-in-voice";
290
291
  readonly help: "help";
package/dist/index.d.ts CHANGED
@@ -285,6 +285,7 @@ declare const BitType: {
285
285
  readonly handInPhoto: "hand-in-photo";
286
286
  readonly handInScan: "hand-in-scan";
287
287
  readonly handInSubmit: "hand-in-submit";
288
+ readonly handInSystemMedia: "hand-in-system-media";
288
289
  readonly handInVideo: "hand-in-video";
289
290
  readonly handInVoice: "hand-in-voice";
290
291
  readonly help: "help";
package/dist/index.js CHANGED
@@ -294,6 +294,7 @@ var BitType = {
294
294
  handInPhoto: "hand-in-photo",
295
295
  handInScan: "hand-in-scan",
296
296
  handInSubmit: "hand-in-submit",
297
+ handInSystemMedia: "hand-in-system-media",
297
298
  handInVideo: "hand-in-video",
298
299
  handInVoice: "hand-in-voice",
299
300
  help: "help",
@@ -10191,6 +10192,20 @@ var BITS = {
10191
10192
  baseBitType: BitType._standard,
10192
10193
  description: "Hand in scan bit, used to create scan submission sections in articles or books"
10193
10194
  },
10195
+ [BitType.handInSystemMedia]: {
10196
+ //
10197
+ since: "1.5.15",
10198
+ baseBitType: BitType._standard,
10199
+ description: "Hand in system media bit, used to create system media submission sections in articles or books",
10200
+ tags: [
10201
+ {
10202
+ key: ConfigKey.property_handInAcceptFileType,
10203
+ description: "Accepted file types for the hand-in system media, used to define allowed file formats",
10204
+ format: TagFormat.plainText,
10205
+ maxCount: Count.infinity
10206
+ }
10207
+ ]
10208
+ },
10194
10209
  [BitType.handInSubmit]: {
10195
10210
  //
10196
10211
  since: "3.2.0",
@@ -10920,7 +10935,7 @@ var instance2 = new Config();
10920
10935
  // src/generated/package_info.ts
10921
10936
  var PACKAGE_INFO = {
10922
10937
  "name": "@gmb/bitmark-parser-generator",
10923
- "version": "5.17.0",
10938
+ "version": "5.18.0",
10924
10939
  "author": "Get More Brain Ltd",
10925
10940
  "license": "ISC",
10926
10941
  "description": "A bitmark parser and generator using Peggy.js"
@@ -31345,7 +31360,7 @@ var JsonGenerator = class extends AstWalkerGenerator {
31345
31360
  if (bitJson.buttonCaption == null) bitJson.buttonCaption = "";
31346
31361
  if (bitJson.callToActionUrl == null) bitJson.callToActionUrl = "";
31347
31362
  }
31348
- if (instance2.isOfBitType(bitType, BitType.handInFile)) {
31363
+ if (instance2.isOfBitType(bitType, [BitType.handInFile, BitType.handInSystemMedia])) {
31349
31364
  if (bitJson.handInAcceptFileType == null) bitJson.handInAcceptFileType = [];
31350
31365
  }
31351
31366
  if (instance2.isOfBitType(bitType, BitType.handInSubmit)) {