@eluvio/elv-client-js 3.1.75 → 3.1.79
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/README.md +2 -1
- package/dist/ElvClient-min.js +5 -5
- package/dist/ElvClient-node-min.js +9 -9
- package/dist/ElvFrameClient-min.js +4 -4
- package/dist/src/AuthorizationClient.js +24 -14
- package/dist/src/EthClient.js +21 -11
- package/dist/src/FrameClient.js +1 -1
- package/dist/src/client/ABRPublishing.js +30 -9
- package/dist/src/client/ContentAccess.js +36 -27
- package/dist/src/client/ContentManagement.js +404 -305
- package/dist/src/client/Files.js +72 -50
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/AuthorizationClient.js +4 -1
- package/src/EthClient.js +2 -0
- package/src/FrameClient.js +1 -0
- package/src/client/ABRPublishing.js +18 -3
- package/src/client/ContentAccess.js +5 -3
- package/src/client/ContentManagement.js +63 -1
- package/src/client/Files.js +4 -1
- package/testScripts/logo2.png +0 -0
- package/typeSpecs/DropEventSite.js +204 -39
- package/typeSpecs/NFTTemplate.js +11 -3
- package/utilities/MezzanineCreate.js +2 -2
|
@@ -22,7 +22,22 @@ const eventSiteSpec = {
|
|
|
22
22
|
localization: {
|
|
23
23
|
localizations: Object.keys(languageOptions)
|
|
24
24
|
},
|
|
25
|
-
associated_assets: [
|
|
25
|
+
associated_assets: [
|
|
26
|
+
{
|
|
27
|
+
name: "promos",
|
|
28
|
+
label: "Promos (Apple TV)",
|
|
29
|
+
indexed: true,
|
|
30
|
+
slugged: true,
|
|
31
|
+
defaultable: true,
|
|
32
|
+
orderable: true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: "channels",
|
|
36
|
+
label: "Channels (Apple TV)",
|
|
37
|
+
indexed: true,
|
|
38
|
+
defaultable: true
|
|
39
|
+
},
|
|
40
|
+
],
|
|
26
41
|
info_fields: [
|
|
27
42
|
{
|
|
28
43
|
"label": "Basic Info",
|
|
@@ -59,6 +74,11 @@ const eventSiteSpec = {
|
|
|
59
74
|
"default_value": "Inaccessible",
|
|
60
75
|
"hint": "Specify the current state of the event. Inaccessible and ended events will not be visible to users."
|
|
61
76
|
},
|
|
77
|
+
{
|
|
78
|
+
"label": "Accessible (Apple TV)",
|
|
79
|
+
"name": "accessible",
|
|
80
|
+
"type": "checkbox"
|
|
81
|
+
},
|
|
62
82
|
{
|
|
63
83
|
"name": "theme",
|
|
64
84
|
"type": "select",
|
|
@@ -179,22 +199,26 @@ const eventSiteSpec = {
|
|
|
179
199
|
{
|
|
180
200
|
"name": "image",
|
|
181
201
|
"type": "file",
|
|
182
|
-
"extensions": imageTypes
|
|
202
|
+
"extensions": imageTypes,
|
|
203
|
+
"depends_on": "./show"
|
|
183
204
|
},
|
|
184
205
|
{
|
|
185
206
|
"name": "message",
|
|
186
|
-
"type": "rich_text"
|
|
207
|
+
"type": "rich_text",
|
|
208
|
+
"depends_on": "./show"
|
|
187
209
|
},
|
|
188
210
|
{
|
|
189
211
|
"name": "button_text",
|
|
190
212
|
"type": "text",
|
|
191
|
-
"hint": "Text for the button at the bottom of the modal. By default, it will be 'Create Wallet' if login is required for the next drop, otherwise it will be 'Join the Drop'"
|
|
213
|
+
"hint": "Text for the button at the bottom of the modal. By default, it will be 'Create Wallet' if login is required for the next drop, otherwise it will be 'Join the Drop'",
|
|
214
|
+
"depends_on": "./show"
|
|
192
215
|
},
|
|
193
216
|
{
|
|
194
217
|
"name": "post_login",
|
|
195
218
|
"label": "Post Login Modal",
|
|
196
219
|
"type": "subsection",
|
|
197
220
|
"hint": "If specified, modal will be shown after a user goes through the login process from the 'Get Started' modal",
|
|
221
|
+
"depends_on": "./show",
|
|
198
222
|
"fields": [
|
|
199
223
|
{
|
|
200
224
|
"name": "show",
|
|
@@ -301,13 +325,15 @@ const eventSiteSpec = {
|
|
|
301
325
|
{
|
|
302
326
|
"extensions": imageTypes,
|
|
303
327
|
"name": "image",
|
|
304
|
-
"type": "file"
|
|
328
|
+
"type": "file",
|
|
329
|
+
"depends_on": "./show"
|
|
305
330
|
},
|
|
306
331
|
{
|
|
307
332
|
"extensions": imageTypes,
|
|
308
333
|
"name": "image_mobile",
|
|
309
334
|
"label": "Image (Mobile)",
|
|
310
|
-
"type": "file"
|
|
335
|
+
"type": "file",
|
|
336
|
+
"depends_on": "./show"
|
|
311
337
|
},
|
|
312
338
|
{
|
|
313
339
|
"name": "type",
|
|
@@ -318,23 +344,27 @@ const eventSiteSpec = {
|
|
|
318
344
|
"link"
|
|
319
345
|
],
|
|
320
346
|
"default_value": "marketplace",
|
|
321
|
-
"hint": "Specify what happens when clicking on the banner. The banner can link to a URL or a drop, or it can open the marketplace view."
|
|
347
|
+
"hint": "Specify what happens when clicking on the banner. The banner can link to a URL or a drop, or it can open the marketplace view.",
|
|
348
|
+
"depends_on": "./show"
|
|
322
349
|
},
|
|
323
350
|
{
|
|
324
351
|
"name": "marketplace_filters",
|
|
325
352
|
"type": "list",
|
|
326
|
-
"hint": "If the banner links to the marketplace, you can specify filters to apply when the marketplace is opened via the banner."
|
|
353
|
+
"hint": "If the banner links to the marketplace, you can specify filters to apply when the marketplace is opened via the banner.",
|
|
354
|
+
"depends_on": "./show"
|
|
327
355
|
},
|
|
328
356
|
{
|
|
329
357
|
"name": "link",
|
|
330
358
|
"type": "text",
|
|
331
|
-
"hint": "If the banner is a link, specify the URL to link to."
|
|
359
|
+
"hint": "If the banner is a link, specify the URL to link to.",
|
|
360
|
+
"depends_on": "./show"
|
|
332
361
|
},
|
|
333
362
|
{
|
|
334
363
|
"label": "Drop UUID",
|
|
335
364
|
"name": "drop_uuid",
|
|
336
365
|
"type": "text",
|
|
337
|
-
"hint": "If the banner links to a drop, you can specify a specific drop to link to. If not specified, the banner will link to the next upcoming drop."
|
|
366
|
+
"hint": "If the banner links to a drop, you can specify a specific drop to link to. If not specified, the banner will link to the next upcoming drop.",
|
|
367
|
+
"depends_on": "./show"
|
|
338
368
|
}
|
|
339
369
|
]
|
|
340
370
|
}
|
|
@@ -707,6 +737,7 @@ const eventSiteSpec = {
|
|
|
707
737
|
"label": "FAQ",
|
|
708
738
|
"hint": "Specify a custom FAQ. If blank, the default FAQ will be displayed",
|
|
709
739
|
"type": "list",
|
|
740
|
+
"depends_on": "./show_faq",
|
|
710
741
|
"fields": [
|
|
711
742
|
{
|
|
712
743
|
"name": "question",
|
|
@@ -760,17 +791,20 @@ const eventSiteSpec = {
|
|
|
760
791
|
{
|
|
761
792
|
"name": "redemption_message",
|
|
762
793
|
"type": "text",
|
|
763
|
-
"hint": "Text to be displayed on coupon redemption page"
|
|
794
|
+
"hint": "Text to be displayed on coupon redemption page",
|
|
795
|
+
"depends_on": "./coupon_mode"
|
|
764
796
|
},
|
|
765
797
|
{
|
|
766
798
|
"name": "event_page_message_1",
|
|
767
799
|
"type": "text",
|
|
768
|
-
"hint": "Text to be displayed on event page after redemption"
|
|
800
|
+
"hint": "Text to be displayed on event page after redemption",
|
|
801
|
+
"depends_on": "./coupon_mode"
|
|
769
802
|
},
|
|
770
803
|
{
|
|
771
804
|
"name": "event_page_message_2",
|
|
772
805
|
"type": "text",
|
|
773
|
-
"hint": "Text to be displayed on event page after redemption"
|
|
806
|
+
"hint": "Text to be displayed on event page after redemption",
|
|
807
|
+
"depends_on": "./coupon_mode"
|
|
774
808
|
}
|
|
775
809
|
],
|
|
776
810
|
"name": "coupon_redemption",
|
|
@@ -1002,6 +1036,11 @@ const eventSiteSpec = {
|
|
|
1002
1036
|
"name": "header_drops",
|
|
1003
1037
|
"type": "header"
|
|
1004
1038
|
},
|
|
1039
|
+
{
|
|
1040
|
+
"name": "hide_upcoming_events",
|
|
1041
|
+
"type": "checkbox",
|
|
1042
|
+
"default_value": false
|
|
1043
|
+
},
|
|
1005
1044
|
{
|
|
1006
1045
|
"name": "marketplace_drops",
|
|
1007
1046
|
"type": "list",
|
|
@@ -1029,6 +1068,7 @@ const eventSiteSpec = {
|
|
|
1029
1068
|
"no_localize": true
|
|
1030
1069
|
},
|
|
1031
1070
|
{
|
|
1071
|
+
"label": "marketplace_filters",
|
|
1032
1072
|
"name": "store_filters",
|
|
1033
1073
|
"type": "list",
|
|
1034
1074
|
"hint": "After the drop, the wallet panel will be redirected to the store. Use these fields to filter the items shown for users who voted"
|
|
@@ -1051,6 +1091,54 @@ const eventSiteSpec = {
|
|
|
1051
1091
|
"label": "Calendar Event Info",
|
|
1052
1092
|
"name": "calendar",
|
|
1053
1093
|
"type": "subsection"
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
"label": "Use Custom Landing Page",
|
|
1097
|
+
"hint": "If checked, the landing page info below will be used for this drop event instead of the general landing page configuration.",
|
|
1098
|
+
"name": "custom_landing_page",
|
|
1099
|
+
"type": "checkbox"
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"fields": [
|
|
1103
|
+
{
|
|
1104
|
+
"name": "header_image",
|
|
1105
|
+
"type": "file",
|
|
1106
|
+
"extensions": imageTypes
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"name": "background_image",
|
|
1110
|
+
"type": "file",
|
|
1111
|
+
"extensions": imageTypes
|
|
1112
|
+
},
|
|
1113
|
+
{
|
|
1114
|
+
"name": "background_image_mobile",
|
|
1115
|
+
"label": "Background Image (Mobile)",
|
|
1116
|
+
"type": "file",
|
|
1117
|
+
"extensions": imageTypes
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"name": "header_text",
|
|
1121
|
+
"type": "text"
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"name": "show_countdown",
|
|
1125
|
+
"type": "checkbox",
|
|
1126
|
+
"default_value": true
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"name": "message_1",
|
|
1130
|
+
"type": "textarea",
|
|
1131
|
+
"hint": "Message above the countdown. Default: 'Your Code is Redeemed. Drop Begins In'"
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"name": "message_2",
|
|
1135
|
+
"type": "textarea",
|
|
1136
|
+
"hint": "Message below the countdown. Default: 'Use the link in your code email to return here at the time of the drop.'"
|
|
1137
|
+
}
|
|
1138
|
+
],
|
|
1139
|
+
"name": "event_landing_page",
|
|
1140
|
+
"type": "subsection",
|
|
1141
|
+
"depends_on": "./custom_landing_page"
|
|
1054
1142
|
}
|
|
1055
1143
|
]
|
|
1056
1144
|
},
|
|
@@ -1171,6 +1259,54 @@ const eventSiteSpec = {
|
|
|
1171
1259
|
"name": "calendar",
|
|
1172
1260
|
"type": "subsection"
|
|
1173
1261
|
},
|
|
1262
|
+
{
|
|
1263
|
+
"label": "Use Custom Landing Page",
|
|
1264
|
+
"hint": "If checked, the landing page info below will be used for this drop event instead of the general landing page configuration.",
|
|
1265
|
+
"name": "custom_landing_page",
|
|
1266
|
+
"type": "checkbox"
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
"fields": [
|
|
1270
|
+
{
|
|
1271
|
+
"name": "header_image",
|
|
1272
|
+
"type": "file",
|
|
1273
|
+
"extensions": imageTypes
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"name": "background_image",
|
|
1277
|
+
"type": "file",
|
|
1278
|
+
"extensions": imageTypes
|
|
1279
|
+
},
|
|
1280
|
+
{
|
|
1281
|
+
"name": "background_image_mobile",
|
|
1282
|
+
"label": "Background Image (Mobile)",
|
|
1283
|
+
"type": "file",
|
|
1284
|
+
"extensions": imageTypes
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"name": "header_text",
|
|
1288
|
+
"type": "text"
|
|
1289
|
+
},
|
|
1290
|
+
{
|
|
1291
|
+
"name": "show_countdown",
|
|
1292
|
+
"type": "checkbox",
|
|
1293
|
+
"default_value": true
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
"name": "message_1",
|
|
1297
|
+
"type": "textarea",
|
|
1298
|
+
"hint": "Message above the countdown. Default: 'Your Code is Redeemed. Drop Begins In'"
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"name": "message_2",
|
|
1302
|
+
"type": "textarea",
|
|
1303
|
+
"hint": "Message below the countdown. Default: 'Use the link in your code email to return here at the time of the drop.'"
|
|
1304
|
+
}
|
|
1305
|
+
],
|
|
1306
|
+
"name": "event_landing_page",
|
|
1307
|
+
"type": "subsection",
|
|
1308
|
+
"depends_on": "./custom_landing_page"
|
|
1309
|
+
},
|
|
1174
1310
|
{
|
|
1175
1311
|
"name": "event_state_preroll",
|
|
1176
1312
|
"label": "Event State: Preroll",
|
|
@@ -1183,39 +1319,46 @@ const eventSiteSpec = {
|
|
|
1183
1319
|
},
|
|
1184
1320
|
{
|
|
1185
1321
|
"name": "header",
|
|
1186
|
-
"type": "text"
|
|
1322
|
+
"type": "text",
|
|
1323
|
+
"depends_on": "./use_state"
|
|
1187
1324
|
},
|
|
1188
1325
|
{
|
|
1189
1326
|
"name": "subheader",
|
|
1190
|
-
"type": "text"
|
|
1327
|
+
"type": "text",
|
|
1328
|
+
"depends_on": "./use_state"
|
|
1191
1329
|
},
|
|
1192
1330
|
{
|
|
1193
1331
|
"name": "show_countdown",
|
|
1194
1332
|
"label": "Show Countdown to Next State",
|
|
1195
1333
|
"type": "checkbox",
|
|
1196
|
-
"default_value": false
|
|
1334
|
+
"default_value": false,
|
|
1335
|
+
"depends_on": "./use_state"
|
|
1197
1336
|
},
|
|
1198
1337
|
{
|
|
1199
1338
|
"name": "use_main_stream",
|
|
1200
1339
|
"type": "checkbox",
|
|
1201
1340
|
"default_value": false,
|
|
1202
|
-
"hint": "If checked, the stream for the main event will be used instead of one specified in this section"
|
|
1341
|
+
"hint": "If checked, the stream for the main event will be used instead of one specified in this section",
|
|
1342
|
+
"depends_on": "./use_state"
|
|
1203
1343
|
},
|
|
1204
1344
|
{
|
|
1205
1345
|
"name": "stream",
|
|
1206
1346
|
"type": "fabric_link",
|
|
1207
|
-
"video_preview": true
|
|
1347
|
+
"video_preview": true,
|
|
1348
|
+
"depends_on": "./use_state"
|
|
1208
1349
|
},
|
|
1209
1350
|
{
|
|
1210
1351
|
"name": "loop_stream",
|
|
1211
1352
|
"type": "checkbox",
|
|
1212
|
-
"default_value": false
|
|
1353
|
+
"default_value": false,
|
|
1354
|
+
"depends_on": "./use_state"
|
|
1213
1355
|
},
|
|
1214
1356
|
{
|
|
1215
1357
|
"name": "modal_message",
|
|
1216
1358
|
"label": "Modal Message (Pre Event)",
|
|
1217
1359
|
"type": "subsection",
|
|
1218
1360
|
"hint": "If specified, this message will be displayed in a popup modal at the start of this part of the event. You can use this to communicate information to users.",
|
|
1361
|
+
"depends_on": "./use_state",
|
|
1219
1362
|
"fields": [
|
|
1220
1363
|
{
|
|
1221
1364
|
"name": "show",
|
|
@@ -1301,48 +1444,56 @@ const eventSiteSpec = {
|
|
|
1301
1444
|
{
|
|
1302
1445
|
"name": "use_state",
|
|
1303
1446
|
"type": "checkbox",
|
|
1304
|
-
"default_value":
|
|
1447
|
+
"default_value": false
|
|
1305
1448
|
},
|
|
1306
1449
|
{
|
|
1307
1450
|
"name": "header",
|
|
1308
|
-
"type": "text"
|
|
1451
|
+
"type": "text",
|
|
1452
|
+
"depends_on": "./use_state"
|
|
1309
1453
|
},
|
|
1310
1454
|
{
|
|
1311
1455
|
"name": "subheader",
|
|
1312
|
-
"type": "text"
|
|
1456
|
+
"type": "text",
|
|
1457
|
+
"depends_on": "./use_state"
|
|
1313
1458
|
},
|
|
1314
1459
|
{
|
|
1315
1460
|
"name": "start_date",
|
|
1316
1461
|
"type": "datetime",
|
|
1317
|
-
"no_localize": true
|
|
1462
|
+
"no_localize": true,
|
|
1463
|
+
"depends_on": "./use_state"
|
|
1318
1464
|
},
|
|
1319
1465
|
{
|
|
1320
1466
|
"name": "show_countdown",
|
|
1321
1467
|
"label": "Show Countdown to Next State",
|
|
1322
1468
|
"type": "checkbox",
|
|
1323
|
-
"default_value": false
|
|
1469
|
+
"default_value": false,
|
|
1470
|
+
"depends_on": "./use_state"
|
|
1324
1471
|
},
|
|
1325
1472
|
{
|
|
1326
1473
|
"name": "use_main_stream",
|
|
1327
1474
|
"type": "checkbox",
|
|
1328
1475
|
"default_value": false,
|
|
1476
|
+
"depends_on": "./use_state",
|
|
1329
1477
|
"hint": "If checked, the stream for the main event will be used instead of one specified in this section"
|
|
1330
1478
|
},
|
|
1331
1479
|
{
|
|
1332
1480
|
"name": "stream",
|
|
1333
1481
|
"type": "fabric_link",
|
|
1334
|
-
"video_preview": true
|
|
1482
|
+
"video_preview": true,
|
|
1483
|
+
"depends_on": "./use_state"
|
|
1335
1484
|
},
|
|
1336
1485
|
{
|
|
1337
1486
|
"name": "loop_stream",
|
|
1338
1487
|
"type": "checkbox",
|
|
1339
|
-
"default_value": false
|
|
1488
|
+
"default_value": false,
|
|
1489
|
+
"depends_on": "./use_state"
|
|
1340
1490
|
},
|
|
1341
1491
|
{
|
|
1342
1492
|
"name": "modal_message",
|
|
1343
1493
|
"label": "Modal Message (Voting Ended)",
|
|
1344
1494
|
"type": "subsection",
|
|
1345
1495
|
"hint": "If specified, this message will be displayed in a popup modal at the start of this part of the event. You can use this to communicate information to users.",
|
|
1496
|
+
"depends_on": "./use_state",
|
|
1346
1497
|
"fields": [
|
|
1347
1498
|
{
|
|
1348
1499
|
"name": "show",
|
|
@@ -1370,42 +1521,49 @@ const eventSiteSpec = {
|
|
|
1370
1521
|
{
|
|
1371
1522
|
"name": "use_state",
|
|
1372
1523
|
"type": "checkbox",
|
|
1373
|
-
"default_value":
|
|
1524
|
+
"default_value": false
|
|
1374
1525
|
},
|
|
1375
1526
|
{
|
|
1376
1527
|
"name": "header",
|
|
1377
|
-
"type": "text"
|
|
1528
|
+
"type": "text",
|
|
1529
|
+
"depends_on": "./use_state"
|
|
1378
1530
|
},
|
|
1379
1531
|
{
|
|
1380
1532
|
"name": "subheader",
|
|
1381
|
-
"type": "text"
|
|
1533
|
+
"type": "text",
|
|
1534
|
+
"depends_on": "./use_state"
|
|
1382
1535
|
},
|
|
1383
1536
|
{
|
|
1384
1537
|
"name": "start_date",
|
|
1385
1538
|
"type": "datetime",
|
|
1386
|
-
"no_localize": true
|
|
1539
|
+
"no_localize": true,
|
|
1540
|
+
"depends_on": "./use_state"
|
|
1387
1541
|
},
|
|
1388
1542
|
{
|
|
1389
1543
|
"name": "use_main_stream",
|
|
1390
1544
|
"type": "checkbox",
|
|
1391
1545
|
"default_value": false,
|
|
1392
|
-
"hint": "If checked, the stream for the main event will be used instead of one specified in this section"
|
|
1546
|
+
"hint": "If checked, the stream for the main event will be used instead of one specified in this section",
|
|
1547
|
+
"depends_on": "./use_state"
|
|
1393
1548
|
},
|
|
1394
1549
|
{
|
|
1395
1550
|
"name": "stream",
|
|
1396
1551
|
"type": "fabric_link",
|
|
1397
|
-
"video_preview": true
|
|
1552
|
+
"video_preview": true,
|
|
1553
|
+
"depends_on": "./use_state"
|
|
1398
1554
|
},
|
|
1399
1555
|
{
|
|
1400
1556
|
"name": "loop_stream",
|
|
1401
1557
|
"type": "checkbox",
|
|
1402
|
-
"default_value": false
|
|
1558
|
+
"default_value": false,
|
|
1559
|
+
"depends_on": "./use_state"
|
|
1403
1560
|
},
|
|
1404
1561
|
{
|
|
1405
1562
|
"name": "modal_message",
|
|
1406
1563
|
"label": "Modal Message (Minting Start)",
|
|
1407
1564
|
"type": "subsection",
|
|
1408
1565
|
"hint": "If specified, this message will be displayed in a popup modal at the start of this part of the event. You can use this to communicate information to users.",
|
|
1566
|
+
"depends_on": "./use_state",
|
|
1409
1567
|
"fields": [
|
|
1410
1568
|
{
|
|
1411
1569
|
"name": "show",
|
|
@@ -1437,38 +1595,45 @@ const eventSiteSpec = {
|
|
|
1437
1595
|
},
|
|
1438
1596
|
{
|
|
1439
1597
|
"name": "header",
|
|
1440
|
-
"type": "text"
|
|
1598
|
+
"type": "text",
|
|
1599
|
+
"depends_on": "./use_state"
|
|
1441
1600
|
},
|
|
1442
1601
|
{
|
|
1443
1602
|
"name": "subheader",
|
|
1444
|
-
"type": "text"
|
|
1603
|
+
"type": "text",
|
|
1604
|
+
"depends_on": "./use_state"
|
|
1445
1605
|
},
|
|
1446
1606
|
{
|
|
1447
1607
|
"name": "start_date",
|
|
1448
1608
|
"type": "datetime",
|
|
1449
|
-
"no_localize": true
|
|
1609
|
+
"no_localize": true,
|
|
1610
|
+
"depends_on": "./use_state"
|
|
1450
1611
|
},
|
|
1451
1612
|
{
|
|
1452
1613
|
"name": "use_main_stream",
|
|
1453
1614
|
"type": "checkbox",
|
|
1454
1615
|
"default_value": false,
|
|
1455
|
-
"hint": "If checked, the stream for the main event will be used instead of one specified in this section"
|
|
1616
|
+
"hint": "If checked, the stream for the main event will be used instead of one specified in this section",
|
|
1617
|
+
"depends_on": "./use_state"
|
|
1456
1618
|
},
|
|
1457
1619
|
{
|
|
1458
1620
|
"name": "stream",
|
|
1459
1621
|
"type": "fabric_link",
|
|
1460
|
-
"video_preview": true
|
|
1622
|
+
"video_preview": true,
|
|
1623
|
+
"depends_on": "./use_state"
|
|
1461
1624
|
},
|
|
1462
1625
|
{
|
|
1463
1626
|
"name": "loop_stream",
|
|
1464
1627
|
"type": "checkbox",
|
|
1465
|
-
"default_value": false
|
|
1628
|
+
"default_value": false,
|
|
1629
|
+
"depends_on": "./use_state"
|
|
1466
1630
|
},
|
|
1467
1631
|
{
|
|
1468
1632
|
"name": "modal_message",
|
|
1469
1633
|
"label": "Modal Message (Event Ended)",
|
|
1470
1634
|
"type": "subsection",
|
|
1471
1635
|
"hint": "If specified, this message will be displayed in a popup modal at the start of this part of the event. You can use this to communicate information to users.",
|
|
1636
|
+
"depends_on": "./use_state",
|
|
1472
1637
|
"fields": [
|
|
1473
1638
|
{
|
|
1474
1639
|
"name": "show",
|
package/typeSpecs/NFTTemplate.js
CHANGED
|
@@ -129,6 +129,11 @@ const NFTTemplateSpec = {
|
|
|
129
129
|
"type": "checkbox",
|
|
130
130
|
"default_value": true
|
|
131
131
|
},
|
|
132
|
+
{
|
|
133
|
+
"name": "has_audio",
|
|
134
|
+
"type": "checkbox",
|
|
135
|
+
"default_value": false
|
|
136
|
+
},
|
|
132
137
|
{
|
|
133
138
|
"name": "token_uri",
|
|
134
139
|
"label": "Token URI",
|
|
@@ -145,7 +150,8 @@ const NFTTemplateSpec = {
|
|
|
145
150
|
"loop": true,
|
|
146
151
|
"hide_controls": true,
|
|
147
152
|
"muted": true,
|
|
148
|
-
"autoplay": true
|
|
153
|
+
"autoplay": true,
|
|
154
|
+
"check_has_audio_flag": true
|
|
149
155
|
},
|
|
150
156
|
{
|
|
151
157
|
"name": "external_url",
|
|
@@ -157,7 +163,8 @@ const NFTTemplateSpec = {
|
|
|
157
163
|
"loop": true,
|
|
158
164
|
"hide_controls": true,
|
|
159
165
|
"muted": true,
|
|
160
|
-
"autoplay": true
|
|
166
|
+
"autoplay": true,
|
|
167
|
+
"check_has_audio_flag": true
|
|
161
168
|
},
|
|
162
169
|
{
|
|
163
170
|
"name": "background_color",
|
|
@@ -185,7 +192,8 @@ const NFTTemplateSpec = {
|
|
|
185
192
|
"loop": true,
|
|
186
193
|
"hide_controls": true,
|
|
187
194
|
"muted": true,
|
|
188
|
-
"autoplay": true
|
|
195
|
+
"autoplay": true,
|
|
196
|
+
"check_has_audio_flag": true
|
|
189
197
|
}
|
|
190
198
|
]
|
|
191
199
|
},
|
|
@@ -126,7 +126,7 @@ class MezzanineCreate extends Utility {
|
|
|
126
126
|
|
|
127
127
|
if(!existingPublicMetadata.asset_metadata) existingPublicMetadata.asset_metadata = {};
|
|
128
128
|
|
|
129
|
-
const mergedExistingAndArgMetadata = R.
|
|
129
|
+
const mergedExistingAndArgMetadata = R.mergeDeepRight(
|
|
130
130
|
{public: existingPublicMetadata},
|
|
131
131
|
metadataFromArg
|
|
132
132
|
);
|
|
@@ -248,4 +248,4 @@ if(require.main === module) {
|
|
|
248
248
|
Utility.cmdLineInvoke(MezzanineCreate);
|
|
249
249
|
} else {
|
|
250
250
|
module.exports = MezzanineCreate;
|
|
251
|
-
}
|
|
251
|
+
}
|