@eluvio/elv-client-js 3.1.76 → 3.1.80
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/ElvClient-min.js +5 -5
- package/dist/ElvClient-node-min.js +9 -9
- package/dist/ElvFrameClient-min.js +1 -1
- package/dist/src/AuthorizationClient.js +175 -142
- package/dist/src/ElvClient.js +12 -7
- package/dist/src/EthClient.js +21 -11
- package/dist/src/UserProfileClient.js +19 -12
- package/dist/src/client/ABRPublishing.js +30 -9
- package/dist/src/client/ContentAccess.js +54 -49
- package/dist/src/client/ContentManagement.js +40 -17
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/AuthorizationClient.js +19 -1
- package/src/ElvClient.js +11 -5
- package/src/EthClient.js +2 -0
- package/src/UserProfileClient.js +14 -6
- package/src/client/ABRPublishing.js +18 -3
- package/src/client/ContentAccess.js +15 -10
- package/src/client/ContentManagement.js +11 -0
- package/testScripts/CreateABRMezzanine.js +0 -1
- package/testScripts/OfferingRemoveDash.js +49 -0
- package/typeSpecs/DropEventSite.js +271 -63
- package/typeSpecs/EventTenant.js +1 -1
- package/typeSpecs/Marketplace.js +226 -148
- package/typeSpecs/NFTTemplate.js +26 -4
- package/typeSpecs/UpdateTypes.js +92 -0
- package/utilities/ChannelGetTestUrls.js +179 -0
- package/utilities/MezzanineCreate.js +2 -3
- package/typeSpecs/EventSite.js +0 -803
- package/utilities/ChannelGetLiveUrls.js +0 -136
|
@@ -6,7 +6,7 @@ const currencyOptions = [...new Set(Object.values(require("country-codes-list").
|
|
|
6
6
|
const eventSiteSpec = {
|
|
7
7
|
"profile": {
|
|
8
8
|
name: "Eluvio LIVE Event Site",
|
|
9
|
-
version: "0.
|
|
9
|
+
version: "0.3",
|
|
10
10
|
},
|
|
11
11
|
manageApp: "default",
|
|
12
12
|
associate_permissions: true,
|
|
@@ -50,17 +50,25 @@ const eventSiteSpec = {
|
|
|
50
50
|
"type": "Text"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"hash_only": true,
|
|
57
|
-
"no_localize": true
|
|
53
|
+
"name": "tenant_slug",
|
|
54
|
+
"type": "text",
|
|
55
|
+
"required": true,
|
|
58
56
|
},
|
|
59
57
|
{
|
|
60
|
-
"name": "
|
|
61
|
-
"type": "
|
|
62
|
-
"
|
|
63
|
-
|
|
58
|
+
"name": "marketplace_info",
|
|
59
|
+
"type": "subsection",
|
|
60
|
+
"fields": [
|
|
61
|
+
{
|
|
62
|
+
"name": "tenant_slug",
|
|
63
|
+
"type": "text",
|
|
64
|
+
"hint": "The slug of the tenant in which the marketplace is defined"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "marketplace_slug",
|
|
68
|
+
"type": "text",
|
|
69
|
+
"hint": "The slug of the marketplace"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
64
72
|
},
|
|
65
73
|
{
|
|
66
74
|
"name": "state",
|
|
@@ -81,6 +89,7 @@ const eventSiteSpec = {
|
|
|
81
89
|
},
|
|
82
90
|
{
|
|
83
91
|
"name": "theme",
|
|
92
|
+
"label": "Color Scheme",
|
|
84
93
|
"type": "select",
|
|
85
94
|
"options": [
|
|
86
95
|
"light",
|
|
@@ -199,22 +208,26 @@ const eventSiteSpec = {
|
|
|
199
208
|
{
|
|
200
209
|
"name": "image",
|
|
201
210
|
"type": "file",
|
|
202
|
-
"extensions": imageTypes
|
|
211
|
+
"extensions": imageTypes,
|
|
212
|
+
"depends_on": "./show"
|
|
203
213
|
},
|
|
204
214
|
{
|
|
205
215
|
"name": "message",
|
|
206
|
-
"type": "rich_text"
|
|
216
|
+
"type": "rich_text",
|
|
217
|
+
"depends_on": "./show"
|
|
207
218
|
},
|
|
208
219
|
{
|
|
209
220
|
"name": "button_text",
|
|
210
221
|
"type": "text",
|
|
211
|
-
"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'"
|
|
222
|
+
"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'",
|
|
223
|
+
"depends_on": "./show"
|
|
212
224
|
},
|
|
213
225
|
{
|
|
214
226
|
"name": "post_login",
|
|
215
227
|
"label": "Post Login Modal",
|
|
216
228
|
"type": "subsection",
|
|
217
229
|
"hint": "If specified, modal will be shown after a user goes through the login process from the 'Get Started' modal",
|
|
230
|
+
"depends_on": "./show",
|
|
218
231
|
"fields": [
|
|
219
232
|
{
|
|
220
233
|
"name": "show",
|
|
@@ -321,13 +334,15 @@ const eventSiteSpec = {
|
|
|
321
334
|
{
|
|
322
335
|
"extensions": imageTypes,
|
|
323
336
|
"name": "image",
|
|
324
|
-
"type": "file"
|
|
337
|
+
"type": "file",
|
|
338
|
+
"depends_on": "./show"
|
|
325
339
|
},
|
|
326
340
|
{
|
|
327
341
|
"extensions": imageTypes,
|
|
328
342
|
"name": "image_mobile",
|
|
329
343
|
"label": "Image (Mobile)",
|
|
330
|
-
"type": "file"
|
|
344
|
+
"type": "file",
|
|
345
|
+
"depends_on": "./show"
|
|
331
346
|
},
|
|
332
347
|
{
|
|
333
348
|
"name": "type",
|
|
@@ -338,23 +353,27 @@ const eventSiteSpec = {
|
|
|
338
353
|
"link"
|
|
339
354
|
],
|
|
340
355
|
"default_value": "marketplace",
|
|
341
|
-
"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."
|
|
356
|
+
"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.",
|
|
357
|
+
"depends_on": "./show"
|
|
342
358
|
},
|
|
343
359
|
{
|
|
344
360
|
"name": "marketplace_filters",
|
|
345
361
|
"type": "list",
|
|
346
|
-
"hint": "If the banner links to the marketplace, you can specify filters to apply when the marketplace is opened via the banner."
|
|
362
|
+
"hint": "If the banner links to the marketplace, you can specify filters to apply when the marketplace is opened via the banner.",
|
|
363
|
+
"depends_on": "./show"
|
|
347
364
|
},
|
|
348
365
|
{
|
|
349
366
|
"name": "link",
|
|
350
367
|
"type": "text",
|
|
351
|
-
"hint": "If the banner is a link, specify the URL to link to."
|
|
368
|
+
"hint": "If the banner is a link, specify the URL to link to.",
|
|
369
|
+
"depends_on": "./show"
|
|
352
370
|
},
|
|
353
371
|
{
|
|
354
372
|
"label": "Drop UUID",
|
|
355
373
|
"name": "drop_uuid",
|
|
356
374
|
"type": "text",
|
|
357
|
-
"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."
|
|
375
|
+
"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.",
|
|
376
|
+
"depends_on": "./show"
|
|
358
377
|
}
|
|
359
378
|
]
|
|
360
379
|
}
|
|
@@ -463,22 +482,38 @@ const eventSiteSpec = {
|
|
|
463
482
|
]
|
|
464
483
|
},
|
|
465
484
|
{
|
|
485
|
+
"name": "event_info_modals",
|
|
486
|
+
"type": "list",
|
|
466
487
|
"fields": [
|
|
467
488
|
{
|
|
468
|
-
"name": "
|
|
489
|
+
"name": "button_text",
|
|
469
490
|
"type": "text"
|
|
470
491
|
},
|
|
471
492
|
{
|
|
493
|
+
"name": "pages",
|
|
494
|
+
"type": "list",
|
|
472
495
|
"fields": [
|
|
473
496
|
{
|
|
474
|
-
"hint": "A description displayed next to the 'Next' button when viewing the previous page.",
|
|
475
497
|
"name": "page_title",
|
|
476
498
|
"type": "text"
|
|
477
499
|
},
|
|
478
500
|
{
|
|
479
|
-
"extensions": imageTypes,
|
|
480
501
|
"name": "image",
|
|
481
|
-
"
|
|
502
|
+
"extensions": imageTypes,
|
|
503
|
+
"type": "file",
|
|
504
|
+
"unless": "./video",
|
|
505
|
+
"hint": "Select an image for this page. Each page may only have one image or one video"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "video",
|
|
509
|
+
"type": "fabric_link",
|
|
510
|
+
"video_preview": true,
|
|
511
|
+
"unless": "./image",
|
|
512
|
+
"hint": "Select a video for this page. Each page may only have one image or one video"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "text",
|
|
516
|
+
"type": "rich_text"
|
|
482
517
|
},
|
|
483
518
|
{
|
|
484
519
|
"name": "text_color",
|
|
@@ -498,17 +533,9 @@ const eventSiteSpec = {
|
|
|
498
533
|
"label": "White"
|
|
499
534
|
}
|
|
500
535
|
},
|
|
501
|
-
|
|
502
|
-
"name": "text",
|
|
503
|
-
"type": "rich_text"
|
|
504
|
-
}
|
|
505
|
-
],
|
|
506
|
-
"name": "pages",
|
|
507
|
-
"type": "list"
|
|
536
|
+
]
|
|
508
537
|
}
|
|
509
|
-
]
|
|
510
|
-
"name": "event_descriptions",
|
|
511
|
-
"type": "list"
|
|
538
|
+
]
|
|
512
539
|
},
|
|
513
540
|
{
|
|
514
541
|
"fields": [
|
|
@@ -727,6 +754,7 @@ const eventSiteSpec = {
|
|
|
727
754
|
"label": "FAQ",
|
|
728
755
|
"hint": "Specify a custom FAQ. If blank, the default FAQ will be displayed",
|
|
729
756
|
"type": "list",
|
|
757
|
+
"depends_on": "./show_faq",
|
|
730
758
|
"fields": [
|
|
731
759
|
{
|
|
732
760
|
"name": "question",
|
|
@@ -780,17 +808,20 @@ const eventSiteSpec = {
|
|
|
780
808
|
{
|
|
781
809
|
"name": "redemption_message",
|
|
782
810
|
"type": "text",
|
|
783
|
-
"hint": "Text to be displayed on coupon redemption page"
|
|
811
|
+
"hint": "Text to be displayed on coupon redemption page",
|
|
812
|
+
"depends_on": "./coupon_mode"
|
|
784
813
|
},
|
|
785
814
|
{
|
|
786
815
|
"name": "event_page_message_1",
|
|
787
816
|
"type": "text",
|
|
788
|
-
"hint": "Text to be displayed on event page after redemption"
|
|
817
|
+
"hint": "Text to be displayed on event page after redemption",
|
|
818
|
+
"depends_on": "./coupon_mode"
|
|
789
819
|
},
|
|
790
820
|
{
|
|
791
821
|
"name": "event_page_message_2",
|
|
792
822
|
"type": "text",
|
|
793
|
-
"hint": "Text to be displayed on event page after redemption"
|
|
823
|
+
"hint": "Text to be displayed on event page after redemption",
|
|
824
|
+
"depends_on": "./coupon_mode"
|
|
794
825
|
}
|
|
795
826
|
],
|
|
796
827
|
"name": "coupon_redemption",
|
|
@@ -1054,6 +1085,7 @@ const eventSiteSpec = {
|
|
|
1054
1085
|
"no_localize": true
|
|
1055
1086
|
},
|
|
1056
1087
|
{
|
|
1088
|
+
"label": "marketplace_filters",
|
|
1057
1089
|
"name": "store_filters",
|
|
1058
1090
|
"type": "list",
|
|
1059
1091
|
"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"
|
|
@@ -1076,6 +1108,54 @@ const eventSiteSpec = {
|
|
|
1076
1108
|
"label": "Calendar Event Info",
|
|
1077
1109
|
"name": "calendar",
|
|
1078
1110
|
"type": "subsection"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"label": "Use Custom Landing Page",
|
|
1114
|
+
"hint": "If checked, the landing page info below will be used for this drop event instead of the general landing page configuration.",
|
|
1115
|
+
"name": "custom_landing_page",
|
|
1116
|
+
"type": "checkbox"
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
"fields": [
|
|
1120
|
+
{
|
|
1121
|
+
"name": "header_image",
|
|
1122
|
+
"type": "file",
|
|
1123
|
+
"extensions": imageTypes
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "background_image",
|
|
1127
|
+
"type": "file",
|
|
1128
|
+
"extensions": imageTypes
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
"name": "background_image_mobile",
|
|
1132
|
+
"label": "Background Image (Mobile)",
|
|
1133
|
+
"type": "file",
|
|
1134
|
+
"extensions": imageTypes
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
"name": "header_text",
|
|
1138
|
+
"type": "text"
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"name": "show_countdown",
|
|
1142
|
+
"type": "checkbox",
|
|
1143
|
+
"default_value": true
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"name": "message_1",
|
|
1147
|
+
"type": "textarea",
|
|
1148
|
+
"hint": "Message above the countdown. Default: 'Your Code is Redeemed. Drop Begins In'"
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
"name": "message_2",
|
|
1152
|
+
"type": "textarea",
|
|
1153
|
+
"hint": "Message below the countdown. Default: 'Use the link in your code email to return here at the time of the drop.'"
|
|
1154
|
+
}
|
|
1155
|
+
],
|
|
1156
|
+
"name": "event_landing_page",
|
|
1157
|
+
"type": "subsection",
|
|
1158
|
+
"depends_on": "./custom_landing_page"
|
|
1079
1159
|
}
|
|
1080
1160
|
]
|
|
1081
1161
|
},
|
|
@@ -1196,6 +1276,54 @@ const eventSiteSpec = {
|
|
|
1196
1276
|
"name": "calendar",
|
|
1197
1277
|
"type": "subsection"
|
|
1198
1278
|
},
|
|
1279
|
+
{
|
|
1280
|
+
"label": "Use Custom Landing Page",
|
|
1281
|
+
"hint": "If checked, the landing page info below will be used for this drop event instead of the general landing page configuration.",
|
|
1282
|
+
"name": "custom_landing_page",
|
|
1283
|
+
"type": "checkbox"
|
|
1284
|
+
},
|
|
1285
|
+
{
|
|
1286
|
+
"fields": [
|
|
1287
|
+
{
|
|
1288
|
+
"name": "header_image",
|
|
1289
|
+
"type": "file",
|
|
1290
|
+
"extensions": imageTypes
|
|
1291
|
+
},
|
|
1292
|
+
{
|
|
1293
|
+
"name": "background_image",
|
|
1294
|
+
"type": "file",
|
|
1295
|
+
"extensions": imageTypes
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"name": "background_image_mobile",
|
|
1299
|
+
"label": "Background Image (Mobile)",
|
|
1300
|
+
"type": "file",
|
|
1301
|
+
"extensions": imageTypes
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"name": "header_text",
|
|
1305
|
+
"type": "text"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"name": "show_countdown",
|
|
1309
|
+
"type": "checkbox",
|
|
1310
|
+
"default_value": true
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"name": "message_1",
|
|
1314
|
+
"type": "textarea",
|
|
1315
|
+
"hint": "Message above the countdown. Default: 'Your Code is Redeemed. Drop Begins In'"
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"name": "message_2",
|
|
1319
|
+
"type": "textarea",
|
|
1320
|
+
"hint": "Message below the countdown. Default: 'Use the link in your code email to return here at the time of the drop.'"
|
|
1321
|
+
}
|
|
1322
|
+
],
|
|
1323
|
+
"name": "event_landing_page",
|
|
1324
|
+
"type": "subsection",
|
|
1325
|
+
"depends_on": "./custom_landing_page"
|
|
1326
|
+
},
|
|
1199
1327
|
{
|
|
1200
1328
|
"name": "event_state_preroll",
|
|
1201
1329
|
"label": "Event State: Preroll",
|
|
@@ -1208,39 +1336,46 @@ const eventSiteSpec = {
|
|
|
1208
1336
|
},
|
|
1209
1337
|
{
|
|
1210
1338
|
"name": "header",
|
|
1211
|
-
"type": "text"
|
|
1339
|
+
"type": "text",
|
|
1340
|
+
"depends_on": "./use_state"
|
|
1212
1341
|
},
|
|
1213
1342
|
{
|
|
1214
1343
|
"name": "subheader",
|
|
1215
|
-
"type": "text"
|
|
1344
|
+
"type": "text",
|
|
1345
|
+
"depends_on": "./use_state"
|
|
1216
1346
|
},
|
|
1217
1347
|
{
|
|
1218
1348
|
"name": "show_countdown",
|
|
1219
1349
|
"label": "Show Countdown to Next State",
|
|
1220
1350
|
"type": "checkbox",
|
|
1221
|
-
"default_value": false
|
|
1351
|
+
"default_value": false,
|
|
1352
|
+
"depends_on": "./use_state"
|
|
1222
1353
|
},
|
|
1223
1354
|
{
|
|
1224
1355
|
"name": "use_main_stream",
|
|
1225
1356
|
"type": "checkbox",
|
|
1226
1357
|
"default_value": false,
|
|
1227
|
-
"hint": "If checked, the stream for the main event will be used instead of one specified in this section"
|
|
1358
|
+
"hint": "If checked, the stream for the main event will be used instead of one specified in this section",
|
|
1359
|
+
"depends_on": "./use_state"
|
|
1228
1360
|
},
|
|
1229
1361
|
{
|
|
1230
1362
|
"name": "stream",
|
|
1231
1363
|
"type": "fabric_link",
|
|
1232
|
-
"video_preview": true
|
|
1364
|
+
"video_preview": true,
|
|
1365
|
+
"depends_on": "./use_state"
|
|
1233
1366
|
},
|
|
1234
1367
|
{
|
|
1235
1368
|
"name": "loop_stream",
|
|
1236
1369
|
"type": "checkbox",
|
|
1237
|
-
"default_value": false
|
|
1370
|
+
"default_value": false,
|
|
1371
|
+
"depends_on": "./use_state"
|
|
1238
1372
|
},
|
|
1239
1373
|
{
|
|
1240
1374
|
"name": "modal_message",
|
|
1241
1375
|
"label": "Modal Message (Pre Event)",
|
|
1242
1376
|
"type": "subsection",
|
|
1243
1377
|
"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.",
|
|
1378
|
+
"depends_on": "./use_state",
|
|
1244
1379
|
"fields": [
|
|
1245
1380
|
{
|
|
1246
1381
|
"name": "show",
|
|
@@ -1326,48 +1461,56 @@ const eventSiteSpec = {
|
|
|
1326
1461
|
{
|
|
1327
1462
|
"name": "use_state",
|
|
1328
1463
|
"type": "checkbox",
|
|
1329
|
-
"default_value":
|
|
1464
|
+
"default_value": false
|
|
1330
1465
|
},
|
|
1331
1466
|
{
|
|
1332
1467
|
"name": "header",
|
|
1333
|
-
"type": "text"
|
|
1468
|
+
"type": "text",
|
|
1469
|
+
"depends_on": "./use_state"
|
|
1334
1470
|
},
|
|
1335
1471
|
{
|
|
1336
1472
|
"name": "subheader",
|
|
1337
|
-
"type": "text"
|
|
1473
|
+
"type": "text",
|
|
1474
|
+
"depends_on": "./use_state"
|
|
1338
1475
|
},
|
|
1339
1476
|
{
|
|
1340
1477
|
"name": "start_date",
|
|
1341
1478
|
"type": "datetime",
|
|
1342
|
-
"no_localize": true
|
|
1479
|
+
"no_localize": true,
|
|
1480
|
+
"depends_on": "./use_state"
|
|
1343
1481
|
},
|
|
1344
1482
|
{
|
|
1345
1483
|
"name": "show_countdown",
|
|
1346
1484
|
"label": "Show Countdown to Next State",
|
|
1347
1485
|
"type": "checkbox",
|
|
1348
|
-
"default_value": false
|
|
1486
|
+
"default_value": false,
|
|
1487
|
+
"depends_on": "./use_state"
|
|
1349
1488
|
},
|
|
1350
1489
|
{
|
|
1351
1490
|
"name": "use_main_stream",
|
|
1352
1491
|
"type": "checkbox",
|
|
1353
1492
|
"default_value": false,
|
|
1493
|
+
"depends_on": "./use_state",
|
|
1354
1494
|
"hint": "If checked, the stream for the main event will be used instead of one specified in this section"
|
|
1355
1495
|
},
|
|
1356
1496
|
{
|
|
1357
1497
|
"name": "stream",
|
|
1358
1498
|
"type": "fabric_link",
|
|
1359
|
-
"video_preview": true
|
|
1499
|
+
"video_preview": true,
|
|
1500
|
+
"depends_on": "./use_state"
|
|
1360
1501
|
},
|
|
1361
1502
|
{
|
|
1362
1503
|
"name": "loop_stream",
|
|
1363
1504
|
"type": "checkbox",
|
|
1364
|
-
"default_value": false
|
|
1505
|
+
"default_value": false,
|
|
1506
|
+
"depends_on": "./use_state"
|
|
1365
1507
|
},
|
|
1366
1508
|
{
|
|
1367
1509
|
"name": "modal_message",
|
|
1368
1510
|
"label": "Modal Message (Voting Ended)",
|
|
1369
1511
|
"type": "subsection",
|
|
1370
1512
|
"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.",
|
|
1513
|
+
"depends_on": "./use_state",
|
|
1371
1514
|
"fields": [
|
|
1372
1515
|
{
|
|
1373
1516
|
"name": "show",
|
|
@@ -1395,42 +1538,49 @@ const eventSiteSpec = {
|
|
|
1395
1538
|
{
|
|
1396
1539
|
"name": "use_state",
|
|
1397
1540
|
"type": "checkbox",
|
|
1398
|
-
"default_value":
|
|
1541
|
+
"default_value": false
|
|
1399
1542
|
},
|
|
1400
1543
|
{
|
|
1401
1544
|
"name": "header",
|
|
1402
|
-
"type": "text"
|
|
1545
|
+
"type": "text",
|
|
1546
|
+
"depends_on": "./use_state"
|
|
1403
1547
|
},
|
|
1404
1548
|
{
|
|
1405
1549
|
"name": "subheader",
|
|
1406
|
-
"type": "text"
|
|
1550
|
+
"type": "text",
|
|
1551
|
+
"depends_on": "./use_state"
|
|
1407
1552
|
},
|
|
1408
1553
|
{
|
|
1409
1554
|
"name": "start_date",
|
|
1410
1555
|
"type": "datetime",
|
|
1411
|
-
"no_localize": true
|
|
1556
|
+
"no_localize": true,
|
|
1557
|
+
"depends_on": "./use_state"
|
|
1412
1558
|
},
|
|
1413
1559
|
{
|
|
1414
1560
|
"name": "use_main_stream",
|
|
1415
1561
|
"type": "checkbox",
|
|
1416
1562
|
"default_value": false,
|
|
1417
|
-
"hint": "If checked, the stream for the main event will be used instead of one specified in this section"
|
|
1563
|
+
"hint": "If checked, the stream for the main event will be used instead of one specified in this section",
|
|
1564
|
+
"depends_on": "./use_state"
|
|
1418
1565
|
},
|
|
1419
1566
|
{
|
|
1420
1567
|
"name": "stream",
|
|
1421
1568
|
"type": "fabric_link",
|
|
1422
|
-
"video_preview": true
|
|
1569
|
+
"video_preview": true,
|
|
1570
|
+
"depends_on": "./use_state"
|
|
1423
1571
|
},
|
|
1424
1572
|
{
|
|
1425
1573
|
"name": "loop_stream",
|
|
1426
1574
|
"type": "checkbox",
|
|
1427
|
-
"default_value": false
|
|
1575
|
+
"default_value": false,
|
|
1576
|
+
"depends_on": "./use_state"
|
|
1428
1577
|
},
|
|
1429
1578
|
{
|
|
1430
1579
|
"name": "modal_message",
|
|
1431
1580
|
"label": "Modal Message (Minting Start)",
|
|
1432
1581
|
"type": "subsection",
|
|
1433
1582
|
"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.",
|
|
1583
|
+
"depends_on": "./use_state",
|
|
1434
1584
|
"fields": [
|
|
1435
1585
|
{
|
|
1436
1586
|
"name": "show",
|
|
@@ -1462,38 +1612,45 @@ const eventSiteSpec = {
|
|
|
1462
1612
|
},
|
|
1463
1613
|
{
|
|
1464
1614
|
"name": "header",
|
|
1465
|
-
"type": "text"
|
|
1615
|
+
"type": "text",
|
|
1616
|
+
"depends_on": "./use_state"
|
|
1466
1617
|
},
|
|
1467
1618
|
{
|
|
1468
1619
|
"name": "subheader",
|
|
1469
|
-
"type": "text"
|
|
1620
|
+
"type": "text",
|
|
1621
|
+
"depends_on": "./use_state"
|
|
1470
1622
|
},
|
|
1471
1623
|
{
|
|
1472
1624
|
"name": "start_date",
|
|
1473
1625
|
"type": "datetime",
|
|
1474
|
-
"no_localize": true
|
|
1626
|
+
"no_localize": true,
|
|
1627
|
+
"depends_on": "./use_state"
|
|
1475
1628
|
},
|
|
1476
1629
|
{
|
|
1477
1630
|
"name": "use_main_stream",
|
|
1478
1631
|
"type": "checkbox",
|
|
1479
1632
|
"default_value": false,
|
|
1480
|
-
"hint": "If checked, the stream for the main event will be used instead of one specified in this section"
|
|
1633
|
+
"hint": "If checked, the stream for the main event will be used instead of one specified in this section",
|
|
1634
|
+
"depends_on": "./use_state"
|
|
1481
1635
|
},
|
|
1482
1636
|
{
|
|
1483
1637
|
"name": "stream",
|
|
1484
1638
|
"type": "fabric_link",
|
|
1485
|
-
"video_preview": true
|
|
1639
|
+
"video_preview": true,
|
|
1640
|
+
"depends_on": "./use_state"
|
|
1486
1641
|
},
|
|
1487
1642
|
{
|
|
1488
1643
|
"name": "loop_stream",
|
|
1489
1644
|
"type": "checkbox",
|
|
1490
|
-
"default_value": false
|
|
1645
|
+
"default_value": false,
|
|
1646
|
+
"depends_on": "./use_state"
|
|
1491
1647
|
},
|
|
1492
1648
|
{
|
|
1493
1649
|
"name": "modal_message",
|
|
1494
1650
|
"label": "Modal Message (Event Ended)",
|
|
1495
1651
|
"type": "subsection",
|
|
1496
1652
|
"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.",
|
|
1653
|
+
"depends_on": "./use_state",
|
|
1497
1654
|
"fields": [
|
|
1498
1655
|
{
|
|
1499
1656
|
"name": "show",
|
|
@@ -1659,7 +1816,58 @@ const eventSiteSpec = {
|
|
|
1659
1816
|
]
|
|
1660
1817
|
}
|
|
1661
1818
|
]
|
|
1662
|
-
}
|
|
1819
|
+
},
|
|
1820
|
+
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
{
|
|
1824
|
+
"fields": [
|
|
1825
|
+
{
|
|
1826
|
+
"name": "name",
|
|
1827
|
+
"type": "text"
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
"fields": [
|
|
1831
|
+
{
|
|
1832
|
+
"hint": "A description displayed next to the 'Next' button when viewing the previous page.",
|
|
1833
|
+
"name": "page_title",
|
|
1834
|
+
"type": "text"
|
|
1835
|
+
},
|
|
1836
|
+
{
|
|
1837
|
+
"extensions": imageTypes,
|
|
1838
|
+
"name": "image",
|
|
1839
|
+
"type": "file"
|
|
1840
|
+
},
|
|
1841
|
+
{
|
|
1842
|
+
"name": "text_color",
|
|
1843
|
+
"type": "color",
|
|
1844
|
+
"no_label": true,
|
|
1845
|
+
"default_value": {
|
|
1846
|
+
"color": "#000000",
|
|
1847
|
+
"label": "Black"
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"name": "background_color",
|
|
1852
|
+
"type": "color",
|
|
1853
|
+
"no_label": true,
|
|
1854
|
+
"default_value": {
|
|
1855
|
+
"color": "#FFFFFF",
|
|
1856
|
+
"label": "White"
|
|
1857
|
+
}
|
|
1858
|
+
},
|
|
1859
|
+
{
|
|
1860
|
+
"name": "text",
|
|
1861
|
+
"type": "rich_text"
|
|
1862
|
+
}
|
|
1863
|
+
],
|
|
1864
|
+
"name": "pages",
|
|
1865
|
+
"type": "list"
|
|
1866
|
+
}
|
|
1867
|
+
],
|
|
1868
|
+
"name": "event_descriptions",
|
|
1869
|
+
"type": "list"
|
|
1870
|
+
},
|
|
1663
1871
|
]
|
|
1664
1872
|
};
|
|
1665
1873
|
|
package/typeSpecs/EventTenant.js
CHANGED