@shakerquiz/contracts 0.0.150 → 0.0.151
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
|
@@ -5,7 +5,8 @@ import POST_venues_city_search_admin from './contracts/POST/venues/city/search/a
|
|
|
5
5
|
import POST_venues_city_search_organizer from './contracts/POST/venues/city/search/organizer.json' with { type: 'json' }
|
|
6
6
|
import POST_venues_search_admin from './contracts/POST/venues/search/admin.json' with { type: 'json' }
|
|
7
7
|
import POST_venues_search_organizer from './contracts/POST/venues/search/organizer.json' with { type: 'json' }
|
|
8
|
-
import
|
|
8
|
+
import POST_themes_search_admin from './contracts/POST/themes/search/admin.json' with { type: 'json' }
|
|
9
|
+
import POST_themes_search_organizer from './contracts/POST/themes/search/organizer.json' with { type: 'json' }
|
|
9
10
|
import POST_checkin_Unknown from './contracts/POST/checkin/Unknown.json' with { type: 'json' }
|
|
10
11
|
import POST_cities_venues_search_Unknown from './contracts/POST/cities/venues/search/Unknown.json' with { type: 'json' }
|
|
11
12
|
import POST_cities_venues_search_admin from './contracts/POST/cities/venues/search/admin.json' with { type: 'json' }
|
|
@@ -97,7 +98,8 @@ export const Contracts = Object.freeze(
|
|
|
97
98
|
'POST/venues/city/search/organizer',
|
|
98
99
|
'POST/venues/search/admin',
|
|
99
100
|
'POST/venues/search/organizer',
|
|
100
|
-
'POST/themes/search/
|
|
101
|
+
'POST/themes/search/admin',
|
|
102
|
+
'POST/themes/search/organizer',
|
|
101
103
|
'POST/checkin/Unknown',
|
|
102
104
|
'POST/cities/venues/search/Unknown',
|
|
103
105
|
'POST/cities/venues/search/admin',
|
|
@@ -191,7 +193,8 @@ export const Schemas = Object.freeze(
|
|
|
191
193
|
POST_venues_city_search_organizer,
|
|
192
194
|
POST_venues_search_admin,
|
|
193
195
|
POST_venues_search_organizer,
|
|
194
|
-
|
|
196
|
+
POST_themes_search_admin,
|
|
197
|
+
POST_themes_search_organizer,
|
|
195
198
|
POST_checkin_Unknown,
|
|
196
199
|
POST_cities_venues_search_Unknown,
|
|
197
200
|
POST_cities_venues_search_admin,
|
|
@@ -285,7 +288,8 @@ export const ContractSchema = Object.freeze(
|
|
|
285
288
|
'POST/venues/city/search/organizer': POST_venues_city_search_organizer,
|
|
286
289
|
'POST/venues/search/admin': POST_venues_search_admin,
|
|
287
290
|
'POST/venues/search/organizer': POST_venues_search_organizer,
|
|
288
|
-
'POST/themes/search/
|
|
291
|
+
'POST/themes/search/admin': POST_themes_search_admin,
|
|
292
|
+
'POST/themes/search/organizer': POST_themes_search_organizer,
|
|
289
293
|
'POST/checkin/Unknown': POST_checkin_Unknown,
|
|
290
294
|
'POST/cities/venues/search/Unknown': POST_cities_venues_search_Unknown,
|
|
291
295
|
'POST/cities/venues/search/admin': POST_cities_venues_search_admin,
|
|
File without changes
|