@eluvio/elv-client-js 3.1.66 → 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.
@@ -0,0 +1,59 @@
1
+ const imageTypes = ["gif", "jpg", "jpeg", "png", "svg", "webp"];
2
+
3
+ const eventSiteExtrasSpec = {
4
+ "profile": {
5
+ name: "Eluvio LIVE Event Site Extras",
6
+ version: "0.11",
7
+ },
8
+ "hide_image_tab": true,
9
+ manageApp: "default",
10
+ "asset_types": [
11
+ "primary"
12
+ ],
13
+ "title_types": [
14
+ "extra"
15
+ ],
16
+ "associate_permissions": false,
17
+ "associated_assets": [],
18
+ "controls": [],
19
+ "default_image_keys": [],
20
+ "info_fields": [
21
+ {
22
+ "name": "release_date",
23
+ "type": "datetime"
24
+ },
25
+ {
26
+ "name": "synopsis",
27
+ "type": "textarea"
28
+ },
29
+ {
30
+ "name": "copyright",
31
+ "type": "text"
32
+ },
33
+ {
34
+ "fields": [
35
+ {
36
+ "name": "title",
37
+ "type": "text"
38
+ },
39
+ {
40
+ "name": "description",
41
+ "type": "textarea"
42
+ },
43
+ {
44
+ "extensions": imageTypes,
45
+ "name": "image",
46
+ "type": "file"
47
+ },
48
+ {
49
+ "name": "video",
50
+ "type": "fabric_link"
51
+ }
52
+ ],
53
+ "name": "gallery",
54
+ "type": "list"
55
+ }
56
+ ]
57
+ };
58
+
59
+ module.exports = eventSiteExtrasSpec;
@@ -0,0 +1,86 @@
1
+ const imageTypes = ["gif", "jpg", "jpeg", "png", "svg", "webp"];
2
+
3
+ const eventTenantSpec = {
4
+ "profile": {
5
+ name: "Eluvio LIVE Tenant",
6
+ version: "0.1",
7
+ },
8
+ "hide_image_tab": true,
9
+ manageApp: "default",
10
+ controls: [
11
+ "images",
12
+ ],
13
+ asset_types: [
14
+ "primary",
15
+ ],
16
+ title_types: [
17
+ "site-selector"
18
+ ],
19
+ info_fields: [
20
+ {
21
+ "name": "name",
22
+ "type": "text"
23
+ },
24
+ {
25
+ "extensions": imageTypes,
26
+ "name": "logo",
27
+ "type": "file"
28
+ },
29
+ {
30
+ "name": "copyright",
31
+ "type": "text"
32
+ },
33
+ {
34
+ "name": "privacy_policy",
35
+ "type": "rich_text"
36
+ },
37
+ {
38
+ "label": "Privacy Policy (HTML)",
39
+ "name": "privacy_policy_html",
40
+ "type": "file",
41
+ "extensions": ["html"]
42
+ },
43
+ {
44
+ "label": "Terms and Conditions",
45
+ "name": "terms",
46
+ "type": "rich_text"
47
+ },
48
+ {
49
+ "label": "Terms and Conditions (HTML)",
50
+ "name": "terms_html",
51
+ "type": "file",
52
+ "extensions": ["html"]
53
+ }
54
+ ],
55
+ localizations: [],
56
+ associated_assets: [
57
+ {
58
+ name: "sites",
59
+ label: "Events",
60
+ indexed: false,
61
+ slugged: true,
62
+ defaultable: false,
63
+ orderable: false,
64
+ title_types: ["site"]
65
+ },
66
+ {
67
+ name: "marketplaces",
68
+ index: false,
69
+ slugged: true,
70
+ defaultable: false,
71
+ orderable: false,
72
+ title_types: ["marketplace"]
73
+ },
74
+ {
75
+ name: "collections",
76
+ label: "Collections",
77
+ indexed: false,
78
+ slugged: true,
79
+ defaultable: false,
80
+ orderable: false,
81
+ title_types: ["collection"]
82
+ }
83
+ ]
84
+ };
85
+
86
+ module.exports = eventTenantSpec;
@@ -0,0 +1,221 @@
1
+ const codes = {
2
+ "aa": "Afar",
3
+ "ab": "Abkhazian",
4
+ "af": "Afrikaans",
5
+ "am": "Amharic",
6
+ "ar": "Arabic",
7
+ "ar-ae": "Arabic (U.A.E.)",
8
+ "ar-bh": "Arabic (Bahrain)",
9
+ "ar-dz": "Arabic (Algeria)",
10
+ "ar-eg": "Arabic (Egypt)",
11
+ "ar-iq": "Arabic (Iraq)",
12
+ "ar-jo": "Arabic (Jordan)",
13
+ "ar-kw": "Arabic (Kuwait)",
14
+ "ar-lb": "Arabic (Lebanon)",
15
+ "ar-ly": "Arabic (libya)",
16
+ "ar-ma": "Arabic (Morocco)",
17
+ "ar-om": "Arabic (Oman)",
18
+ "ar-qa": "Arabic (Qatar)",
19
+ "ar-sa": "Arabic (Saudi Arabia)",
20
+ "ar-sy": "Arabic (Syria)",
21
+ "ar-tn": "Arabic (Tunisia)",
22
+ "ar-ye": "Arabic (Yemen)",
23
+ "as": "Assamese",
24
+ "ay": "Aymara",
25
+ "az": "Azeri",
26
+ "ba": "Bashkir",
27
+ "be": "Belarusian",
28
+ "bg": "Bulgarian",
29
+ "bh": "Bihari",
30
+ "bi": "Bislama",
31
+ "bn": "Bengali",
32
+ "bo": "Tibetan",
33
+ "br": "Breton",
34
+ "ca": "Catalan",
35
+ "co": "Corsican",
36
+ "cs": "Czech",
37
+ "cy": "Welsh",
38
+ "da": "Danish",
39
+ "de": "German",
40
+ "de-at": "German (Austria)",
41
+ "de-ch": "German (Switzerland)",
42
+ "de-li": "German (Liechtenstein)",
43
+ "de-lu": "German (Luxembourg)",
44
+ "div": "Divehi",
45
+ "dz": "Bhutani",
46
+ "el": "Greek",
47
+ "en": "English",
48
+ "en-au": "English (Australia)",
49
+ "en-bz": "English (Belize)",
50
+ "en-ca": "English (Canada)",
51
+ "en-gb": "English (United Kingdom)",
52
+ "en-ie": "English (Ireland)",
53
+ "en-jm": "English (Jamaica)",
54
+ "en-nz": "English (New Zealand)",
55
+ "en-ph": "English (Philippines)",
56
+ "en-tt": "English (Trinidad)",
57
+ "en-us": "English (United States)",
58
+ "en-za": "English (South Africa)",
59
+ "en-zw": "English (Zimbabwe)",
60
+ "eo": "Esperanto",
61
+ "es": "Spanish",
62
+ "es-ar": "Spanish (Argentina)",
63
+ "es-bo": "Spanish (Bolivia)",
64
+ "es-cl": "Spanish (Chile)",
65
+ "es-co": "Spanish (Colombia)",
66
+ "es-cr": "Spanish (Costa Rica)",
67
+ "es-do": "Spanish (Dominican Republic)",
68
+ "es-ec": "Spanish (Ecuador)",
69
+ "es-es": "Spanish (España)",
70
+ "es-gt": "Spanish (Guatemala)",
71
+ "es-hn": "Spanish (Honduras)",
72
+ "es-mx": "Spanish (Mexico)",
73
+ "es-ni": "Spanish (Nicaragua)",
74
+ "es-pa": "Spanish (Panama)",
75
+ "es-pe": "Spanish (Peru)",
76
+ "es-pr": "Spanish (Puerto Rico)",
77
+ "es-py": "Spanish (Paraguay)",
78
+ "es-sv": "Spanish (El Salvador)",
79
+ "es-us": "Spanish (United States)",
80
+ "es-uy": "Spanish (Uruguay)",
81
+ "es-ve": "Spanish (Venezuela)",
82
+ "et": "Estonian",
83
+ "eu": "Basque",
84
+ "fa": "Farsi",
85
+ "fi": "Finnish",
86
+ "fj": "Fiji",
87
+ "fo": "Faeroese",
88
+ "fr": "French",
89
+ "fr-be": "French (Belgium)",
90
+ "fr-ca": "French (Canada)",
91
+ "fr-ch": "French (Switzerland)",
92
+ "fr-lu": "French (Luxembourg)",
93
+ "fr-mc": "French (Monaco)",
94
+ "fy": "Frisian",
95
+ "ga": "Irish",
96
+ "gd": "Gaelic",
97
+ "gl": "Galician",
98
+ "gn": "Guarani",
99
+ "gu": "Gujarati",
100
+ "ha": "Hausa",
101
+ "he": "Hebrew",
102
+ "hi": "Hindi",
103
+ "hr": "Croatian",
104
+ "hu": "Hungarian",
105
+ "hy": "Armenian",
106
+ "ia": "Interlingua",
107
+ "id": "Indonesian",
108
+ "ie": "Interlingue",
109
+ "ik": "Inupiak",
110
+ "in": "Indonesian",
111
+ "is": "Icelandic",
112
+ "it": "Italian",
113
+ "it-ch": "Italian (Switzerland)",
114
+ "iw": "Hebrew",
115
+ "ja": "Japanese",
116
+ "ji": "Yiddish",
117
+ "jw": "Javanese",
118
+ "ka": "Georgian",
119
+ "kk": "Kazakh",
120
+ "kl": "Greenlandic",
121
+ "km": "Cambodian",
122
+ "kn": "Kannada",
123
+ "ko": "Korean",
124
+ "kok": "Konkani",
125
+ "ks": "Kashmiri",
126
+ "ku": "Kurdish",
127
+ "ky": "Kirghiz",
128
+ "kz": "Kyrgyz",
129
+ "la": "Latin",
130
+ "ln": "Lingala",
131
+ "lo": "Laothian",
132
+ "ls": "Slovenian",
133
+ "lt": "Lithuanian",
134
+ "lv": "Latvian",
135
+ "mg": "Malagasy",
136
+ "mi": "Maori",
137
+ "mk": "FYRO Macedonian",
138
+ "ml": "Malayalam",
139
+ "mn": "Mongolian",
140
+ "mo": "Moldavian",
141
+ "mr": "Marathi",
142
+ "ms": "Malay",
143
+ "mt": "Maltese",
144
+ "my": "Burmese",
145
+ "na": "Nauru",
146
+ "nb-no": "Norwegian (Bokmal)",
147
+ "ne": "Nepali (India)",
148
+ "nl": "Dutch",
149
+ "nl-be": "Dutch (Belgium)",
150
+ "nn-no": "Norwegian",
151
+ "no": "Norwegian (Bokmal)",
152
+ "oc": "Occitan",
153
+ "om": "(Afan)/Oromoor/Oriya",
154
+ "or": "Oriya",
155
+ "pa": "Punjabi",
156
+ "pl": "Polish",
157
+ "ps": "Pashto/Pushto",
158
+ "pt": "Portuguese",
159
+ "pt-br": "Portuguese (Brazil)",
160
+ "qu": "Quechua",
161
+ "rm": "Rhaeto-Romanic",
162
+ "rn": "Kirundi",
163
+ "ro": "Romanian",
164
+ "ro-md": "Romanian (Moldova)",
165
+ "ru": "Russian",
166
+ "ru-md": "Russian (Moldova)",
167
+ "rw": "Kinyarwanda",
168
+ "sa": "Sanskrit",
169
+ "sb": "Sorbian",
170
+ "sd": "Sindhi",
171
+ "sg": "Sangro",
172
+ "sh": "Serbo-Croatian",
173
+ "si": "Singhalese",
174
+ "sk": "Slovak",
175
+ "sl": "Slovenian",
176
+ "sm": "Samoan",
177
+ "sn": "Shona",
178
+ "so": "Somali",
179
+ "sq": "Albanian",
180
+ "sr": "Serbian",
181
+ "ss": "Siswati",
182
+ "st": "Sesotho",
183
+ "su": "Sundanese",
184
+ "sv": "Swedish",
185
+ "sv-fi": "Swedish (Finland)",
186
+ "sw": "Swahili",
187
+ "sx": "Sutu",
188
+ "syr": "Syriac",
189
+ "ta": "Tamil",
190
+ "te": "Telugu",
191
+ "tg": "Tajik",
192
+ "th": "Thai",
193
+ "ti": "Tigrinya",
194
+ "tk": "Turkmen",
195
+ "tl": "Tagalog",
196
+ "tn": "Tswana",
197
+ "to": "Tonga",
198
+ "tr": "Turkish",
199
+ "ts": "Tsonga",
200
+ "tt": "Tatar",
201
+ "tw": "Twi",
202
+ "uk": "Ukrainian",
203
+ "ur": "Urdu",
204
+ "us": "English",
205
+ "uz": "Uzbek",
206
+ "vi": "Vietnamese",
207
+ "vo": "Volapuk",
208
+ "wo": "Wolof",
209
+ "xh": "Xhosa",
210
+ "yi": "Yiddish",
211
+ "yo": "Yoruba",
212
+ "zh": "Chinese",
213
+ "zh-cn": "Chinese (China)",
214
+ "zh-hk": "Chinese (Hong Kong SAR)",
215
+ "zh-mo": "Chinese (Macau SAR)",
216
+ "zh-sg": "Chinese (Singapore)",
217
+ "zh-tw": "Chinese (Taiwan)",
218
+ "zu": "Zulu"
219
+ };
220
+
221
+ module.exports = codes;
@@ -0,0 +1,279 @@
1
+ const imageTypes = ["gif", "jpg", "jpeg", "png", "svg", "webp"];
2
+
3
+ const mainSiteSelectorSpec = {
4
+ "profile": {
5
+ name: "Eluvio LIVE Main Site",
6
+ version: "0.1",
7
+ },
8
+ manageApp: "default",
9
+ controls: [
10
+ "images",
11
+ ],
12
+ asset_types: [
13
+ "primary",
14
+ ],
15
+ title_types: [
16
+ "site-selector"
17
+ ],
18
+ "associated_assets": [
19
+ {
20
+ "name": "promo_videos",
21
+ "indexed": true,
22
+ "orderable": true,
23
+ "slugged": false,
24
+ },
25
+ {
26
+ "name": "featured_events",
27
+ "indexed": true,
28
+ "slugged": true,
29
+ "orderable": true
30
+ },
31
+ {
32
+ "name": "carousel_events",
33
+ "indexed": true,
34
+ "slugged": true
35
+ },
36
+ {
37
+ "name": "tenants",
38
+ "indexed": false,
39
+ "slugged": true,
40
+ },
41
+ ],
42
+ "info_fields": [
43
+ {
44
+ "name": "mode",
45
+ "type": "select",
46
+ "options": ["test", "production"],
47
+ "default_value": "test"
48
+ },
49
+ {
50
+ "name": "domain_map",
51
+ "label": "Domain Name Mapping",
52
+ "type": "list",
53
+ "fields": [
54
+ {
55
+ "name": "domain",
56
+ "type": "text"
57
+ },
58
+ {
59
+ "name": "tenant_slug",
60
+ "type": "text"
61
+ },
62
+ {
63
+ "name": "event_slug",
64
+ "type": "text"
65
+ },
66
+ ]
67
+ },
68
+ {
69
+ "name": "site_images",
70
+ "type": "subsection",
71
+ "fields": [
72
+ {
73
+ "extensions": imageTypes,
74
+ "label": "Eluvio Live Logo (Light)",
75
+ "name": "eluvio_live_logo_light",
76
+ "type": "file"
77
+ },
78
+ {
79
+ "extensions": imageTypes,
80
+ "label": "Eluvio Live Logo (Dark)",
81
+ "name": "eluvio_live_logo_dark",
82
+ "type": "file"
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "fields": [
88
+ {
89
+ "fields": [
90
+ {
91
+ "extensions": imageTypes,
92
+ "name": "main_image",
93
+ "type": "file"
94
+ },
95
+ {
96
+ "type": "list",
97
+ "name": "card_images",
98
+ "fields": [
99
+ {
100
+ "extensions": imageTypes,
101
+ "name": "card_image",
102
+ "type": "file"
103
+ },
104
+ {
105
+ "name": "title"
106
+ }
107
+ ]
108
+ }
109
+ ],
110
+ "name": "beautiful_quality",
111
+ "type": "subsection"
112
+ },
113
+ {
114
+ "fields": [
115
+ {
116
+ "extensions": imageTypes,
117
+ "name": "main_image",
118
+ "type": "file"
119
+ },
120
+ {
121
+ "type": "list",
122
+ "name": "card_images",
123
+ "fields": [
124
+ {
125
+ "extensions": imageTypes,
126
+ "name": "card_image",
127
+ "type": "file"
128
+ },
129
+ {
130
+ "name": "title"
131
+ }
132
+ ]
133
+ }
134
+ ],
135
+ "name": "directly_to_fans",
136
+ "type": "subsection"
137
+ },
138
+ {
139
+ "fields": [
140
+ {
141
+ "extensions": imageTypes,
142
+ "name": "main_image",
143
+ "type": "file"
144
+ },
145
+ {
146
+ "type": "list",
147
+ "name": "card_images",
148
+ "fields": [
149
+ {
150
+ "extensions": imageTypes,
151
+ "name": "card_image",
152
+ "type": "file"
153
+ },
154
+ {
155
+ "name": "title"
156
+ }
157
+ ]
158
+ }
159
+ ],
160
+ "name": "retain_control",
161
+ "type": "subsection"
162
+ },
163
+ {
164
+ "fields": [
165
+ {
166
+ "extensions": imageTypes,
167
+ "name": "main_image",
168
+ "type": "file"
169
+ },
170
+ {
171
+ "type": "list",
172
+ "name": "card_images",
173
+ "fields": [
174
+ {
175
+ "extensions": imageTypes,
176
+ "name": "card_image",
177
+ "type": "file"
178
+ },
179
+ {
180
+ "name": "title"
181
+ }
182
+ ]
183
+ }
184
+ ],
185
+ "name": "push_boundaries",
186
+ "type": "subsection"
187
+ },
188
+ {
189
+ "fields": [
190
+ {
191
+ "extensions": imageTypes,
192
+ "name": "main_image",
193
+ "type": "file"
194
+ },
195
+ {
196
+ "type": "list",
197
+ "name": "card_images",
198
+ "fields": [
199
+ {
200
+ "extensions": imageTypes,
201
+ "name": "card_image",
202
+ "type": "file"
203
+ },
204
+ {
205
+ "name": "title"
206
+ }
207
+ ]
208
+ }
209
+ ],
210
+ "name": "remonetize_endlessly",
211
+ "type": "subsection"
212
+ },
213
+ {
214
+ "fields": [
215
+ {
216
+ "type": "list",
217
+ "name": "card_images",
218
+ "fields": [
219
+ {
220
+ "extensions": imageTypes,
221
+ "name": "card_image",
222
+ "type": "file"
223
+ },
224
+ {
225
+ "name": "title"
226
+ }
227
+ ]
228
+ }
229
+ ],
230
+ "name": "nft_collections",
231
+ "label": "NFT Collections",
232
+ "type": "subsection"
233
+ },
234
+ ],
235
+ "name": "images",
236
+ "type": "subsection"
237
+ },
238
+ {
239
+ "fields": [
240
+ {
241
+ "name": "name",
242
+ "type": "text"
243
+ },
244
+ {
245
+ "name": "text",
246
+ "type": "textarea"
247
+ },
248
+ {
249
+ "name": "image",
250
+ "type": "file",
251
+ "extensions": imageTypes
252
+ }
253
+ ],
254
+ "name": "production_partners",
255
+ "type": "list"
256
+ },
257
+ {
258
+ "fields": [
259
+ {
260
+ "name": "name",
261
+ "type": "text"
262
+ },
263
+ {
264
+ "name": "text",
265
+ "type": "textarea"
266
+ },
267
+ {
268
+ "name": "image",
269
+ "type": "file",
270
+ "extensions": imageTypes
271
+ }
272
+ ],
273
+ "name": "merchandise_partners",
274
+ "type": "list"
275
+ }
276
+ ]
277
+ };
278
+
279
+ module.exports = mainSiteSelectorSpec;