@shakerquiz/contracts 0.0.150 → 0.0.152
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/package.json
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"theme": {
|
|
6
|
+
"type": "array",
|
|
7
|
+
"items": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"format": "uuid"
|
|
10
|
+
},
|
|
11
|
+
"uniqueItems": true
|
|
12
|
+
},
|
|
13
|
+
"theme/status": {
|
|
14
|
+
"type": "array",
|
|
15
|
+
"items": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"enum": [
|
|
18
|
+
"Active",
|
|
19
|
+
"Archive"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"uniqueItems": true
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": [
|
|
26
|
+
"theme",
|
|
27
|
+
"theme/status"
|
|
28
|
+
],
|
|
29
|
+
"additionalProperties": false
|
|
30
|
+
}
|
package/source/index.js
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import POST_chatapp_registration_mailing_admin from './contracts/POST/chatapp/registration/mailing/admin.json' with { type: 'json' }
|
|
2
2
|
import POST_chatapp_registration_mailing_organizer from './contracts/POST/chatapp/registration/mailing/organizer.json' with { type: 'json' }
|
|
3
|
+
import POST_theme_cover_admin from './contracts/POST/theme/cover/admin.json' with { type: 'json' }
|
|
3
4
|
import POST_theme_admin from './contracts/POST/theme/admin.json' with { type: 'json' }
|
|
4
5
|
import POST_venues_city_search_admin from './contracts/POST/venues/city/search/admin.json' with { type: 'json' }
|
|
5
6
|
import POST_venues_city_search_organizer from './contracts/POST/venues/city/search/organizer.json' with { type: 'json' }
|
|
6
7
|
import POST_venues_search_admin from './contracts/POST/venues/search/admin.json' with { type: 'json' }
|
|
7
8
|
import POST_venues_search_organizer from './contracts/POST/venues/search/organizer.json' with { type: 'json' }
|
|
8
|
-
import
|
|
9
|
+
import POST_themes_search_admin from './contracts/POST/themes/search/admin.json' with { type: 'json' }
|
|
10
|
+
import POST_themes_search_organizer from './contracts/POST/themes/search/organizer.json' with { type: 'json' }
|
|
9
11
|
import POST_checkin_Unknown from './contracts/POST/checkin/Unknown.json' with { type: 'json' }
|
|
10
12
|
import POST_cities_venues_search_Unknown from './contracts/POST/cities/venues/search/Unknown.json' with { type: 'json' }
|
|
11
13
|
import POST_cities_venues_search_admin from './contracts/POST/cities/venues/search/admin.json' with { type: 'json' }
|
|
@@ -92,12 +94,14 @@ export const Contracts = Object.freeze(
|
|
|
92
94
|
/** @type {const} */ ([
|
|
93
95
|
'POST/chatapp/registration/mailing/admin',
|
|
94
96
|
'POST/chatapp/registration/mailing/organizer',
|
|
97
|
+
'POST/theme/cover/admin',
|
|
95
98
|
'POST/theme/admin',
|
|
96
99
|
'POST/venues/city/search/admin',
|
|
97
100
|
'POST/venues/city/search/organizer',
|
|
98
101
|
'POST/venues/search/admin',
|
|
99
102
|
'POST/venues/search/organizer',
|
|
100
|
-
'POST/themes/search/
|
|
103
|
+
'POST/themes/search/admin',
|
|
104
|
+
'POST/themes/search/organizer',
|
|
101
105
|
'POST/checkin/Unknown',
|
|
102
106
|
'POST/cities/venues/search/Unknown',
|
|
103
107
|
'POST/cities/venues/search/admin',
|
|
@@ -186,12 +190,14 @@ export const Schemas = Object.freeze(
|
|
|
186
190
|
/** @type {const} */ ([
|
|
187
191
|
POST_chatapp_registration_mailing_admin,
|
|
188
192
|
POST_chatapp_registration_mailing_organizer,
|
|
193
|
+
POST_theme_cover_admin,
|
|
189
194
|
POST_theme_admin,
|
|
190
195
|
POST_venues_city_search_admin,
|
|
191
196
|
POST_venues_city_search_organizer,
|
|
192
197
|
POST_venues_search_admin,
|
|
193
198
|
POST_venues_search_organizer,
|
|
194
|
-
|
|
199
|
+
POST_themes_search_admin,
|
|
200
|
+
POST_themes_search_organizer,
|
|
195
201
|
POST_checkin_Unknown,
|
|
196
202
|
POST_cities_venues_search_Unknown,
|
|
197
203
|
POST_cities_venues_search_admin,
|
|
@@ -280,12 +286,14 @@ export const ContractSchema = Object.freeze(
|
|
|
280
286
|
/** @type {const} */ ({
|
|
281
287
|
'POST/chatapp/registration/mailing/admin': POST_chatapp_registration_mailing_admin,
|
|
282
288
|
'POST/chatapp/registration/mailing/organizer': POST_chatapp_registration_mailing_organizer,
|
|
289
|
+
'POST/theme/cover/admin': POST_theme_cover_admin,
|
|
283
290
|
'POST/theme/admin': POST_theme_admin,
|
|
284
291
|
'POST/venues/city/search/admin': POST_venues_city_search_admin,
|
|
285
292
|
'POST/venues/city/search/organizer': POST_venues_city_search_organizer,
|
|
286
293
|
'POST/venues/search/admin': POST_venues_search_admin,
|
|
287
294
|
'POST/venues/search/organizer': POST_venues_search_organizer,
|
|
288
|
-
'POST/themes/search/
|
|
295
|
+
'POST/themes/search/admin': POST_themes_search_admin,
|
|
296
|
+
'POST/themes/search/organizer': POST_themes_search_organizer,
|
|
289
297
|
'POST/checkin/Unknown': POST_checkin_Unknown,
|
|
290
298
|
'POST/cities/venues/search/Unknown': POST_cities_venues_search_Unknown,
|
|
291
299
|
'POST/cities/venues/search/admin': POST_cities_venues_search_admin,
|
|
File without changes
|