@eluvio/elv-client-js 3.1.63 → 3.1.67
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 +13 -2
- package/dist/ElvClient-min.js +3 -3
- package/dist/ElvClient-node-min.js +3 -3
- package/dist/ElvFrameClient-min.js +1 -1
- package/dist/src/AuthorizationClient.js +21 -15
- package/dist/src/ElvClient.js +16 -4
- package/dist/src/FrameClient.js +1 -1
- package/dist/src/RemoteSigner.js +1 -0
- package/dist/src/client/ContentAccess.js +868 -818
- package/dist/src/client/NFT.js +11 -11
- package/package-lock.json +16 -11
- package/package.json +3 -1
- package/src/AuthorizationClient.js +6 -0
- package/src/ElvClient.js +11 -1
- package/src/FrameClient.js +1 -0
- package/src/RemoteSigner.js +2 -0
- package/src/client/ContentAccess.js +29 -0
- package/src/client/NFT.js +26 -23
- package/testScripts/InitializeTenant.js +32 -1
- package/testScripts/Test.js +19 -0
- package/typeSpecs/Default.js +80 -0
- package/typeSpecs/DropEventSite.js +673 -0
- package/typeSpecs/EventSite.js +776 -0
- package/typeSpecs/EventSiteExtras.js +59 -0
- package/typeSpecs/EventTenant.js +86 -0
- package/typeSpecs/LanguageCodes.js +221 -0
- package/typeSpecs/MainSite.js +279 -0
- package/typeSpecs/Marketplace.js +203 -0
- package/typeSpecs/NFTCollection.js +69 -0
- package/typeSpecs/NFTTemplate.js +269 -0
- package/utilities/ChannelCreate.js +205 -0
- package/utilities/ChannelStartVaLOffering.js +63 -29
- package/utilities/LibraryListObjects.js +26 -2
- package/utilities/MezUnifyAudioDrmKeys.js +69 -0
- package/utilities/lib/concerns/Logger.js +3 -2
- package/utilities/lib/models/PublicMetadataPath.js +19 -0
|
@@ -0,0 +1,673 @@
|
|
|
1
|
+
const imageTypes = ["gif", "jpg", "jpeg", "png", "svg", "webp"];
|
|
2
|
+
const languageOptions = require("./LanguageCodes");
|
|
3
|
+
|
|
4
|
+
const eventSiteSpec = {
|
|
5
|
+
"profile": {
|
|
6
|
+
name: "Eluvio LIVE Drop Event Site",
|
|
7
|
+
version: "0.1",
|
|
8
|
+
},
|
|
9
|
+
manageApp: "default",
|
|
10
|
+
associate_permissions: true,
|
|
11
|
+
"hide_image_tab": true,
|
|
12
|
+
controls: [],
|
|
13
|
+
asset_types: [
|
|
14
|
+
"primary"
|
|
15
|
+
],
|
|
16
|
+
title_types: [
|
|
17
|
+
"site"
|
|
18
|
+
],
|
|
19
|
+
default_image_keys: [],
|
|
20
|
+
localization: {
|
|
21
|
+
localizations: Object.keys(languageOptions)
|
|
22
|
+
},
|
|
23
|
+
associated_assets: [],
|
|
24
|
+
info_fields: [
|
|
25
|
+
{
|
|
26
|
+
"name": "tenant_id",
|
|
27
|
+
"label": "Tenant ID",
|
|
28
|
+
"type": "Text"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"label": "Eluvio LIVE Tenant",
|
|
32
|
+
"name": "tenant",
|
|
33
|
+
"type": "fabric_link",
|
|
34
|
+
"hash_only": true,
|
|
35
|
+
"no_localize": true
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "marketplace",
|
|
39
|
+
"type": "fabric_link",
|
|
40
|
+
"hash_only": true,
|
|
41
|
+
"no_localize": true
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "type",
|
|
45
|
+
"type": "text",
|
|
46
|
+
"default_value": "drop_event",
|
|
47
|
+
"readonly": true
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "state",
|
|
51
|
+
"type": "select",
|
|
52
|
+
"no_localize": true,
|
|
53
|
+
"options": [
|
|
54
|
+
"Inaccessible",
|
|
55
|
+
"Available",
|
|
56
|
+
"Ended"
|
|
57
|
+
],
|
|
58
|
+
"default_value": "Inaccessible",
|
|
59
|
+
"hint": "Specify the current state of the event. Inaccessible and ended events will not be visible to users."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "theme",
|
|
63
|
+
"type": "select",
|
|
64
|
+
"options": [
|
|
65
|
+
"light",
|
|
66
|
+
"dark"
|
|
67
|
+
],
|
|
68
|
+
"no_localize": true,
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "localizations",
|
|
72
|
+
"label": "Localizations",
|
|
73
|
+
"type": "multiselect",
|
|
74
|
+
"no_localize": true,
|
|
75
|
+
"hint": "Additional languages to support",
|
|
76
|
+
"options": Object.keys(languageOptions)
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"fields": [
|
|
80
|
+
{
|
|
81
|
+
"label": "Event Info on Hero Image",
|
|
82
|
+
"name": "hero_info",
|
|
83
|
+
"type": "checkbox",
|
|
84
|
+
"hint": "Check this box if your event info is in your hero image. This will reduce the gradient and omit the text, allowing for more visible real estate on the hero image."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "event_title",
|
|
88
|
+
"type": "text",
|
|
89
|
+
"hint": "The title of the page in the browser"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "feature_header",
|
|
93
|
+
"type": "text",
|
|
94
|
+
"hint": "Displayed when the event is featured on the main page"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "event_header",
|
|
98
|
+
"type": "text",
|
|
99
|
+
"hint": "Displayed on the main event page"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "event_subheader",
|
|
103
|
+
"type": "text",
|
|
104
|
+
"hint": "Displayed on the main event page"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "date_subheader",
|
|
108
|
+
"type": "text",
|
|
109
|
+
"hint": "Displayed on the main page and event page"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "description",
|
|
113
|
+
"type": "textarea"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "copyright",
|
|
117
|
+
"type": "textarea"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "modal_message_get_started",
|
|
121
|
+
"label": "Modal Message (Get Started)",
|
|
122
|
+
"type": "subsection",
|
|
123
|
+
"hint": "If specified, this message will be displayed in a popup modal the 'Get Started' button is pressed. You can use this to communicate event info before they create or sign in to their wallet.",
|
|
124
|
+
"fields": [
|
|
125
|
+
{
|
|
126
|
+
"name": "show",
|
|
127
|
+
"type": "checkbox",
|
|
128
|
+
"hint": "The message box will only be displayed if this is checked"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "image",
|
|
132
|
+
"type": "file",
|
|
133
|
+
"extensions": imageTypes
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "message",
|
|
137
|
+
"type": "rich_text"
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"name": "event_info",
|
|
143
|
+
"type": "subsection"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"fields": [
|
|
147
|
+
{
|
|
148
|
+
"name": "logo",
|
|
149
|
+
"type": "file",
|
|
150
|
+
"extensions": imageTypes
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"extensions": imageTypes,
|
|
154
|
+
"name": "hero_background",
|
|
155
|
+
"type": "file"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"extensions": imageTypes,
|
|
159
|
+
"name": "hero_background_mobile",
|
|
160
|
+
"label": "Hero Background (Mobile)",
|
|
161
|
+
"type": "file"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "hero_video",
|
|
165
|
+
"type": "fabric_link",
|
|
166
|
+
"video_preview": true
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"extensions": imageTypes,
|
|
170
|
+
"label": "Header Image (Dark)",
|
|
171
|
+
"name": "header_dark",
|
|
172
|
+
"type": "file"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"extensions": imageTypes,
|
|
176
|
+
"label": "Header Image (Light)",
|
|
177
|
+
"name": "header_light",
|
|
178
|
+
"type": "file"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"extensions": imageTypes,
|
|
182
|
+
"name": "tv_main_background",
|
|
183
|
+
"type": "file",
|
|
184
|
+
"label": "Main Background (TV)"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"extensions": imageTypes,
|
|
188
|
+
"name": "tv_main_logo",
|
|
189
|
+
"type": "file",
|
|
190
|
+
"label": "Main Logo (TV)"
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
"name": "event_images",
|
|
194
|
+
"type": "subsection"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "promo_videos",
|
|
198
|
+
"type": "list",
|
|
199
|
+
"fields": [
|
|
200
|
+
{
|
|
201
|
+
"name": "video",
|
|
202
|
+
"type": "fabric_link",
|
|
203
|
+
"video_preview": true
|
|
204
|
+
}
|
|
205
|
+
]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"fields": [
|
|
209
|
+
{
|
|
210
|
+
"name": "name",
|
|
211
|
+
"type": "text"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "link",
|
|
215
|
+
"type": "text"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"extensions": imageTypes,
|
|
219
|
+
"label": "Image (for light background)",
|
|
220
|
+
"name": "image",
|
|
221
|
+
"type": "file"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"extensions": imageTypes,
|
|
225
|
+
"label": "Image (for dark background)",
|
|
226
|
+
"name": "image_light",
|
|
227
|
+
"type": "file"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"name": "sponsors",
|
|
231
|
+
"type": "list"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"fields": [
|
|
235
|
+
{
|
|
236
|
+
"name": "header_image",
|
|
237
|
+
"type": "file",
|
|
238
|
+
"extensions": imageTypes
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "header_text",
|
|
242
|
+
"type": "text"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "hide_countdown",
|
|
246
|
+
"type": "checkbox"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "message_1",
|
|
250
|
+
"type": "textarea",
|
|
251
|
+
"hint": "Message above the countdown. Default: 'Your Code is Redeemed. Drop Begins In'"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "message_2",
|
|
255
|
+
"type": "textarea",
|
|
256
|
+
"hint": "Message below the countdown. Default: 'Use the link in your code email to return here at the time of the drop.'"
|
|
257
|
+
}
|
|
258
|
+
],
|
|
259
|
+
"name": "event_landing_page",
|
|
260
|
+
"type": "subsection"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "drops",
|
|
264
|
+
"type": "list",
|
|
265
|
+
"fields": [
|
|
266
|
+
{
|
|
267
|
+
"name": "uuid",
|
|
268
|
+
"label": "Drop ID",
|
|
269
|
+
"type": "uuid",
|
|
270
|
+
"no_localize": true
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "event_header",
|
|
274
|
+
"type": "text",
|
|
275
|
+
"hint": "Used when displayed in upcoming events"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "event_image",
|
|
279
|
+
"type": "file",
|
|
280
|
+
"extensions": imageTypes,
|
|
281
|
+
"hint": "Used when displayed in upcoming events"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "start_date",
|
|
285
|
+
"type": "datetime",
|
|
286
|
+
"no_localize": true
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "end_date",
|
|
290
|
+
"type": "datetime",
|
|
291
|
+
"no_localize": true
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "votable",
|
|
295
|
+
"type": "checkbox",
|
|
296
|
+
"hint": "If specified, users will be able to vote on the available NFTs",
|
|
297
|
+
"default_value": true
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "store_filters",
|
|
301
|
+
"type": "list",
|
|
302
|
+
"hint": "After the drop, the wallet panel will be redirected to the store. Use these fields to filter the items shown"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"name": "nfts",
|
|
306
|
+
"label": "NFTs",
|
|
307
|
+
"type": "list",
|
|
308
|
+
"hint": "NFTs available in this drop",
|
|
309
|
+
"fields": [
|
|
310
|
+
{
|
|
311
|
+
"name": "label",
|
|
312
|
+
"type": "text"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "image",
|
|
316
|
+
"type": "file",
|
|
317
|
+
"extensions": imageTypes
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "sku",
|
|
321
|
+
"label": "SKU",
|
|
322
|
+
"type": "text",
|
|
323
|
+
"hint": "Find NFT SKUs in the associated Marketplace",
|
|
324
|
+
}
|
|
325
|
+
]
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "event_state_preroll",
|
|
329
|
+
"label": "Event State: Preroll",
|
|
330
|
+
"type": "subsection",
|
|
331
|
+
"fields": [
|
|
332
|
+
{
|
|
333
|
+
"name": "use_state",
|
|
334
|
+
"type": "checkbox",
|
|
335
|
+
"default_value": true
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "header",
|
|
339
|
+
"type": "text"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "subheader",
|
|
343
|
+
"type": "text"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "show_countdown",
|
|
347
|
+
"label": "Show Countdown to Next State",
|
|
348
|
+
"type": "checkbox",
|
|
349
|
+
"default_value": false
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "use_main_stream",
|
|
353
|
+
"type": "checkbox",
|
|
354
|
+
"default_value": false,
|
|
355
|
+
"hint": "If checked, the stream for the main event will be used instead of one specified in this section"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "stream",
|
|
359
|
+
"type": "fabric_link",
|
|
360
|
+
"video_preview": true
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"name": "loop_stream",
|
|
364
|
+
"type": "checkbox",
|
|
365
|
+
"default_value": false
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "modal_message",
|
|
369
|
+
"label": "Modal Message (Pre Event)",
|
|
370
|
+
"type": "subsection",
|
|
371
|
+
"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.",
|
|
372
|
+
"fields": [
|
|
373
|
+
{
|
|
374
|
+
"name": "show",
|
|
375
|
+
"type": "checkbox",
|
|
376
|
+
"hint": "The message box will only be displayed if this is checked"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "image",
|
|
380
|
+
"type": "file",
|
|
381
|
+
"extensions": imageTypes
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"name": "message",
|
|
385
|
+
"type": "rich_text"
|
|
386
|
+
}
|
|
387
|
+
]
|
|
388
|
+
},
|
|
389
|
+
]
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "event_state_main",
|
|
393
|
+
"label": "Event State: Main",
|
|
394
|
+
"type": "subsection",
|
|
395
|
+
"fields": [
|
|
396
|
+
{
|
|
397
|
+
"name": "header",
|
|
398
|
+
"type": "text"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "subheader",
|
|
402
|
+
"type": "text"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "start_date",
|
|
406
|
+
"type": "datetime",
|
|
407
|
+
"no_localize": true
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "show_countdown",
|
|
411
|
+
"label": "Show Countdown to Next State",
|
|
412
|
+
"type": "checkbox",
|
|
413
|
+
"default_value": true
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"name": "stream",
|
|
417
|
+
"type": "fabric_link",
|
|
418
|
+
"video_preview": true
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "loop_stream",
|
|
422
|
+
"type": "checkbox",
|
|
423
|
+
"default_value": false
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"name": "modal_message",
|
|
427
|
+
"label": "Modal Message (Main Event)",
|
|
428
|
+
"type": "subsection",
|
|
429
|
+
"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.",
|
|
430
|
+
"fields": [
|
|
431
|
+
{
|
|
432
|
+
"name": "show",
|
|
433
|
+
"type": "checkbox",
|
|
434
|
+
"hint": "The message box will only be displayed if this is checked"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"name": "image",
|
|
438
|
+
"type": "file",
|
|
439
|
+
"extensions": imageTypes
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "message",
|
|
443
|
+
"type": "rich_text"
|
|
444
|
+
}
|
|
445
|
+
]
|
|
446
|
+
},
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "event_state_post_vote",
|
|
451
|
+
"label": "Event State: Voting Ended",
|
|
452
|
+
"type": "subsection",
|
|
453
|
+
"fields": [
|
|
454
|
+
{
|
|
455
|
+
"name": "use_state",
|
|
456
|
+
"type": "checkbox",
|
|
457
|
+
"default_value": true
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
"name": "header",
|
|
461
|
+
"type": "text"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "subheader",
|
|
465
|
+
"type": "text"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "start_date",
|
|
469
|
+
"type": "datetime",
|
|
470
|
+
"no_localize": true
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "show_countdown",
|
|
474
|
+
"label": "Show Countdown to Next State",
|
|
475
|
+
"type": "checkbox",
|
|
476
|
+
"default_value": false
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"name": "use_main_stream",
|
|
480
|
+
"type": "checkbox",
|
|
481
|
+
"default_value": false,
|
|
482
|
+
"hint": "If checked, the stream for the main event will be used instead of one specified in this section"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"name": "stream",
|
|
486
|
+
"type": "fabric_link",
|
|
487
|
+
"video_preview": true
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"name": "loop_stream",
|
|
491
|
+
"type": "checkbox",
|
|
492
|
+
"default_value": false
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"name": "modal_message",
|
|
496
|
+
"label": "Modal Message (Voting Ended)",
|
|
497
|
+
"type": "subsection",
|
|
498
|
+
"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.",
|
|
499
|
+
"fields": [
|
|
500
|
+
{
|
|
501
|
+
"name": "show",
|
|
502
|
+
"type": "checkbox",
|
|
503
|
+
"hint": "The message box will only be displayed if this is checked"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"name": "image",
|
|
507
|
+
"type": "file",
|
|
508
|
+
"extensions": imageTypes
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"name": "message",
|
|
512
|
+
"type": "rich_text"
|
|
513
|
+
}
|
|
514
|
+
]
|
|
515
|
+
},
|
|
516
|
+
]
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"name": "event_state_mint_start",
|
|
520
|
+
"label": "Event State: Minting Start",
|
|
521
|
+
"type": "subsection",
|
|
522
|
+
"fields": [
|
|
523
|
+
{
|
|
524
|
+
"name": "use_state",
|
|
525
|
+
"type": "checkbox",
|
|
526
|
+
"default_value": true
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"name": "header",
|
|
530
|
+
"type": "text"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "subheader",
|
|
534
|
+
"type": "text"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "start_date",
|
|
538
|
+
"type": "datetime",
|
|
539
|
+
"no_localize": true
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "use_main_stream",
|
|
543
|
+
"type": "checkbox",
|
|
544
|
+
"default_value": false,
|
|
545
|
+
"hint": "If checked, the stream for the main event will be used instead of one specified in this section"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"name": "stream",
|
|
549
|
+
"type": "fabric_link",
|
|
550
|
+
"video_preview": true
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"name": "loop_stream",
|
|
554
|
+
"type": "checkbox",
|
|
555
|
+
"default_value": false
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"name": "modal_message",
|
|
559
|
+
"label": "Modal Message (Minting Start)",
|
|
560
|
+
"type": "subsection",
|
|
561
|
+
"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.",
|
|
562
|
+
"fields": [
|
|
563
|
+
{
|
|
564
|
+
"name": "show",
|
|
565
|
+
"type": "checkbox",
|
|
566
|
+
"hint": "The message box will only be displayed if this is checked"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "image",
|
|
570
|
+
"type": "file",
|
|
571
|
+
"extensions": imageTypes
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "message",
|
|
575
|
+
"type": "rich_text"
|
|
576
|
+
}
|
|
577
|
+
]
|
|
578
|
+
},
|
|
579
|
+
]
|
|
580
|
+
}
|
|
581
|
+
]
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "analytics_ids",
|
|
585
|
+
"label": "Analytics IDs",
|
|
586
|
+
"type": "list",
|
|
587
|
+
"no_localize": true,
|
|
588
|
+
"hint": "Specify IDs for your own analytics",
|
|
589
|
+
"fields": [
|
|
590
|
+
{
|
|
591
|
+
"name": "label",
|
|
592
|
+
"type": "text",
|
|
593
|
+
"hint": "A label for this collection of analytics"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "ids",
|
|
597
|
+
"label": "IDs",
|
|
598
|
+
"type": "list",
|
|
599
|
+
"fields": [
|
|
600
|
+
{
|
|
601
|
+
"name": "type",
|
|
602
|
+
"type": "select",
|
|
603
|
+
"options": [
|
|
604
|
+
"Google Analytics ID",
|
|
605
|
+
"Google Tag Manager ID",
|
|
606
|
+
"Google Conversion ID",
|
|
607
|
+
"Google Conversion Label",
|
|
608
|
+
"Facebook Pixel ID",
|
|
609
|
+
"App Nexus Segment ID",
|
|
610
|
+
"App Nexus Pixel ID",
|
|
611
|
+
"TradeDoubler Organization ID",
|
|
612
|
+
"TradeDoubler Event ID",
|
|
613
|
+
]
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"name": "id",
|
|
617
|
+
"label": "ID",
|
|
618
|
+
"type": "text"
|
|
619
|
+
}
|
|
620
|
+
]
|
|
621
|
+
}
|
|
622
|
+
]
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"fields": [
|
|
626
|
+
{
|
|
627
|
+
"name": "name",
|
|
628
|
+
"type": "text"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"name": "description",
|
|
632
|
+
"type": "textarea"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"name": "images",
|
|
636
|
+
"type": "list",
|
|
637
|
+
"fields": [{
|
|
638
|
+
"name": "image",
|
|
639
|
+
"type": "file",
|
|
640
|
+
"extensions": imageTypes
|
|
641
|
+
}]
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
"name": "organizers",
|
|
645
|
+
"type": "list",
|
|
646
|
+
"fields": [
|
|
647
|
+
{
|
|
648
|
+
"name": "name",
|
|
649
|
+
"type": "text"
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
"name": "url",
|
|
653
|
+
"label": "URL",
|
|
654
|
+
"type": "text"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"name": "image",
|
|
658
|
+
"type": "file",
|
|
659
|
+
"extensions": imageTypes
|
|
660
|
+
}
|
|
661
|
+
]
|
|
662
|
+
}
|
|
663
|
+
],
|
|
664
|
+
"label": "Search Listing Info",
|
|
665
|
+
"name": "search_data",
|
|
666
|
+
"type": "subsection",
|
|
667
|
+
"hint": "This information will be used to populate data used by search engines for displaying this event",
|
|
668
|
+
"no_localize": true
|
|
669
|
+
}
|
|
670
|
+
]
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
module.exports = eventSiteSpec;
|