@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/browser/bitmark-parser-generator.min.js +1 -1
- package/dist/browser/bundle-report.html +84 -29
- package/dist/browser/cjs/index.cjs +17 -2
- package/dist/browser/cjs/index.cjs.map +1 -1
- package/dist/browser/cjs/index.d.cts +1 -0
- package/dist/browser/esm/index.d.ts +1 -0
- package/dist/browser/esm/index.js +17 -2
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/cli/main.js +17 -2
- package/dist/cli/main.js.map +1 -1
- package/dist/index.cjs +17 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +17 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -342,6 +342,7 @@ var BitType2 = {
|
|
|
342
342
|
handInPhoto: "hand-in-photo",
|
|
343
343
|
handInScan: "hand-in-scan",
|
|
344
344
|
handInSubmit: "hand-in-submit",
|
|
345
|
+
handInSystemMedia: "hand-in-system-media",
|
|
345
346
|
handInVideo: "hand-in-video",
|
|
346
347
|
handInVoice: "hand-in-voice",
|
|
347
348
|
help: "help",
|
|
@@ -10239,6 +10240,20 @@ var BITS = {
|
|
|
10239
10240
|
baseBitType: BitType2._standard,
|
|
10240
10241
|
description: "Hand in scan bit, used to create scan submission sections in articles or books"
|
|
10241
10242
|
},
|
|
10243
|
+
[BitType2.handInSystemMedia]: {
|
|
10244
|
+
//
|
|
10245
|
+
since: "1.5.15",
|
|
10246
|
+
baseBitType: BitType2._standard,
|
|
10247
|
+
description: "Hand in system media bit, used to create system media submission sections in articles or books",
|
|
10248
|
+
tags: [
|
|
10249
|
+
{
|
|
10250
|
+
key: ConfigKey.property_handInAcceptFileType,
|
|
10251
|
+
description: "Accepted file types for the hand-in system media, used to define allowed file formats",
|
|
10252
|
+
format: TagFormat.plainText,
|
|
10253
|
+
maxCount: Count.infinity
|
|
10254
|
+
}
|
|
10255
|
+
]
|
|
10256
|
+
},
|
|
10242
10257
|
[BitType2.handInSubmit]: {
|
|
10243
10258
|
//
|
|
10244
10259
|
since: "3.2.0",
|
|
@@ -10968,7 +10983,7 @@ var instance2 = new Config();
|
|
|
10968
10983
|
// src/generated/package_info.ts
|
|
10969
10984
|
var PACKAGE_INFO = {
|
|
10970
10985
|
"name": "@gmb/bitmark-parser-generator",
|
|
10971
|
-
"version": "5.
|
|
10986
|
+
"version": "5.18.0",
|
|
10972
10987
|
"author": "Get More Brain Ltd",
|
|
10973
10988
|
"license": "ISC",
|
|
10974
10989
|
"description": "A bitmark parser and generator using Peggy.js"
|
|
@@ -31393,7 +31408,7 @@ var JsonGenerator = class extends AstWalkerGenerator {
|
|
|
31393
31408
|
if (bitJson.buttonCaption == null) bitJson.buttonCaption = "";
|
|
31394
31409
|
if (bitJson.callToActionUrl == null) bitJson.callToActionUrl = "";
|
|
31395
31410
|
}
|
|
31396
|
-
if (instance2.isOfBitType(bitType, BitType2.handInFile)) {
|
|
31411
|
+
if (instance2.isOfBitType(bitType, [BitType2.handInFile, BitType2.handInSystemMedia])) {
|
|
31397
31412
|
if (bitJson.handInAcceptFileType == null) bitJson.handInAcceptFileType = [];
|
|
31398
31413
|
}
|
|
31399
31414
|
if (instance2.isOfBitType(bitType, BitType2.handInSubmit)) {
|