@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.
@@ -32,88 +32,58 @@ const MarketplaceSpec = {
32
32
  "type": "subsection",
33
33
  "fields": [
34
34
  {
35
- "name": "discovery",
36
- "type": "subsection",
37
- "hint": "These attributes will be used to display your marketplace in the list of available marketplaces",
38
- "fields": [
39
- {
40
- "name": "name",
41
- "type": "text"
42
- },
43
- {
44
- "name": "subheader",
45
- "type": "text",
46
- "default_value": "Marketplace"
47
- },
48
- {
49
- "name": "description",
50
- "type": "textarea"
51
- },
52
- {
53
- "name": "round_logo",
54
- "extensions": imageTypes,
55
- "type": "file",
56
- "hint": "This logo will be displayed in the list of available marketplaces"
57
- },
58
- {
59
- "name": "card_banner",
60
- "extensions": imageTypes,
61
- "type": "file",
62
- "hint": "This logo will be displayed in the list of available marketplaces. It should be roughly 2:1 aspect ratio."
63
- },
64
- {
65
- "name": "tags",
66
- "type": "multiselect",
67
- "hint": "These tags will be used to help users discover your marketplace based on their interests.",
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": "marketplace",
79
- "type": "subsection",
80
- "hint": "These attributes will be used to customize the user experience when browsing your marketplace",
81
- "fields": [
82
- {
83
- "name": "name",
84
- "label": "Marketplace Name",
85
- "type": "text"
86
- },
87
- {
88
- "name": "top_banner_logo",
89
- "extensions": imageTypes,
90
- "type": "file",
91
- "hint": "This logo will be displayed at the top of the page when browsing your marketplace"
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": [".html"]
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",