@eluvio/elv-client-js 3.1.80 → 3.1.84
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 +3 -3
- package/dist/ElvClient-node-min.js +5 -5
- package/dist/ElvFrameClient-min.js +6 -6
- package/dist/ElvPermissionsClient-min.js +6 -6
- package/dist/src/ElvClient.js +2 -3
- package/dist/src/RemoteSigner.js +28 -5
- package/dist/src/Utils.js +23 -3
- package/dist/src/client/ContentAccess.js +14 -9
- package/dist/src/client/ContentManagement.js +10 -12
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/src/ElvClient.js +1 -2
- package/src/RemoteSigner.js +21 -3
- package/src/Utils.js +26 -5
- package/src/client/ContentAccess.js +13 -7
- package/src/client/ContentManagement.js +3 -4
- package/testScripts/InitializeTenant.js +0 -1
- package/typeSpecs/DropEventSite.js +51 -56
- package/typeSpecs/Marketplace.js +88 -80
package/typeSpecs/Marketplace.js
CHANGED
|
@@ -32,88 +32,58 @@ const MarketplaceSpec = {
|
|
|
32
32
|
"type": "subsection",
|
|
33
33
|
"fields": [
|
|
34
34
|
{
|
|
35
|
-
"name": "
|
|
36
|
-
"type": "
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
"options": [
|
|
69
|
-
"Film",
|
|
70
|
-
"Music",
|
|
71
|
-
"Software",
|
|
72
|
-
"TV"
|
|
73
|
-
]
|
|
74
|
-
}
|
|
35
|
+
"name": "name",
|
|
36
|
+
"type": "text"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "subheader",
|
|
40
|
+
"type": "text",
|
|
41
|
+
"default_value": "Marketplace"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "description",
|
|
45
|
+
"type": "textarea"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "round_logo",
|
|
49
|
+
"extensions": imageTypes,
|
|
50
|
+
"type": "file",
|
|
51
|
+
"hint": "This logo will be displayed in the list of available marketplaces"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "card_banner",
|
|
55
|
+
"extensions": imageTypes,
|
|
56
|
+
"type": "file",
|
|
57
|
+
"hint": "This banner will be displayed in the list of available marketplaces. It should be roughly 16:10 aspect ratio."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "tags",
|
|
61
|
+
"type": "multiselect",
|
|
62
|
+
"hint": "These tags will be used to help users discover your marketplace based on their interests.",
|
|
63
|
+
"options": [
|
|
64
|
+
"Film",
|
|
65
|
+
"Music",
|
|
66
|
+
"Software",
|
|
67
|
+
"TV"
|
|
75
68
|
]
|
|
76
69
|
},
|
|
77
70
|
{
|
|
78
|
-
"name": "
|
|
79
|
-
"type": "
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"name": "description",
|
|
95
|
-
"type": "textarea",
|
|
96
|
-
"hint": "Displayed below the top banner logo"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "color_scheme",
|
|
100
|
-
"type": "select",
|
|
101
|
-
"default_value": "Light",
|
|
102
|
-
"options": [
|
|
103
|
-
"Light",
|
|
104
|
-
"Dark",
|
|
105
|
-
"User Preference"
|
|
106
|
-
]
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
"name": "font",
|
|
110
|
-
"type": "select",
|
|
111
|
-
"options": [
|
|
112
|
-
"Helvetica Neue",
|
|
113
|
-
"Inter",
|
|
114
|
-
"Selawik"
|
|
115
|
-
]
|
|
116
|
-
}
|
|
71
|
+
"name": "color_scheme",
|
|
72
|
+
"type": "select",
|
|
73
|
+
"default_value": "Light",
|
|
74
|
+
"options": [
|
|
75
|
+
"Light",
|
|
76
|
+
"Dark",
|
|
77
|
+
"User Preference"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "font",
|
|
82
|
+
"type": "select",
|
|
83
|
+
"options": [
|
|
84
|
+
"Helvetica Neue",
|
|
85
|
+
"Inter",
|
|
86
|
+
"Selawik"
|
|
117
87
|
]
|
|
118
88
|
}
|
|
119
89
|
]
|
|
@@ -206,6 +176,38 @@ const MarketplaceSpec = {
|
|
|
206
176
|
}
|
|
207
177
|
]
|
|
208
178
|
},
|
|
179
|
+
{
|
|
180
|
+
"name": "require_consent",
|
|
181
|
+
"type": "checkbox",
|
|
182
|
+
"default_value": false
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "consent_form_text",
|
|
186
|
+
"type": "rich_text"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "privacy_policy",
|
|
190
|
+
"type": "subsection",
|
|
191
|
+
"fields": [
|
|
192
|
+
{
|
|
193
|
+
"name": "link",
|
|
194
|
+
"type": "text",
|
|
195
|
+
"hint": "Specify a URL to your privacy policy"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "rich_text",
|
|
199
|
+
"type": "rich_text",
|
|
200
|
+
"hint": "Input your privacy policy in the text editor"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "html",
|
|
204
|
+
"label": "HTML",
|
|
205
|
+
"type": "file",
|
|
206
|
+
"hint": "Input your privacy policy as an HTML file",
|
|
207
|
+
"extensions": ["html"]
|
|
208
|
+
}
|
|
209
|
+
]
|
|
210
|
+
},
|
|
209
211
|
{
|
|
210
212
|
"name": "require_email_verification",
|
|
211
213
|
"type": "checkbox",
|
|
@@ -234,7 +236,7 @@ const MarketplaceSpec = {
|
|
|
234
236
|
"label": "Terms and Conditions (HTML)",
|
|
235
237
|
"name": "terms_html",
|
|
236
238
|
"type": "file",
|
|
237
|
-
"extensions": ["
|
|
239
|
+
"extensions": ["html"]
|
|
238
240
|
},
|
|
239
241
|
|
|
240
242
|
|
|
@@ -287,6 +289,12 @@ const MarketplaceSpec = {
|
|
|
287
289
|
"type": "checkbox",
|
|
288
290
|
"default_value": true
|
|
289
291
|
},
|
|
292
|
+
{
|
|
293
|
+
"label": "Release date",
|
|
294
|
+
"name": "available_at",
|
|
295
|
+
"type": "datetime",
|
|
296
|
+
"hint": "(Optional) - If specified, this item will not be available for purchase until the specified time"
|
|
297
|
+
},
|
|
290
298
|
{
|
|
291
299
|
"name": "requires_permissions",
|
|
292
300
|
"type": "checkbox",
|