@shakerquiz/contracts 0.0.108 → 0.0.110
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@shakerquiz/contracts",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.110",
|
|
5
5
|
"author": "yurkimus <yurkimus@gmail.com>",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"repository": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"exports": "./source/index.js",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@shakerquiz/utilities": "4.0.
|
|
19
|
+
"@shakerquiz/utilities": "4.0.48",
|
|
20
20
|
"@types/bun": "1.3.7"
|
|
21
21
|
}
|
|
22
22
|
}
|
package/source/index.js
CHANGED
|
@@ -8,16 +8,12 @@ import PATCH_city_currency_admin from './contracts/PATCH/city/currency/admin.jso
|
|
|
8
8
|
import PATCH_city_timezone_admin from './contracts/PATCH/city/timezone/admin.json' with { type: 'json' }
|
|
9
9
|
import PATCH_venue_admin from './contracts/PATCH/venue/admin.json' with { type: 'json' }
|
|
10
10
|
import PATCH_venue_organizer from './contracts/PATCH/venue/organizer.json' with { type: 'json' }
|
|
11
|
-
import PATCH_venues_admin from './contracts/PATCH/venues/admin.json' with { type: 'json' }
|
|
12
|
-
import PATCH_venues_organizer from './contracts/PATCH/venues/organizer.json' with { type: 'json' }
|
|
13
11
|
import PATCH_theme_admin from './contracts/PATCH/theme/admin.json' with { type: 'json' }
|
|
14
12
|
import PATCH_game_admin from './contracts/PATCH/game/admin.json' with { type: 'json' }
|
|
15
13
|
import PATCH_game_organizer from './contracts/PATCH/game/organizer.json' with { type: 'json' }
|
|
16
14
|
import PATCH_game_status_admin from './contracts/PATCH/game/status/admin.json' with { type: 'json' }
|
|
17
15
|
import PATCH_game_status_organizer from './contracts/PATCH/game/status/organizer.json' with { type: 'json' }
|
|
18
16
|
import PATCH_game_status_Service from './contracts/PATCH/game/status/Service.json' with { type: 'json' }
|
|
19
|
-
import PATCH_games_status_admin from './contracts/PATCH/games/status/admin.json' with { type: 'json' }
|
|
20
|
-
import PATCH_games_status_organizer from './contracts/PATCH/games/status/organizer.json' with { type: 'json' }
|
|
21
17
|
import PATCH_registration_admin from './contracts/PATCH/registration/admin.json' with { type: 'json' }
|
|
22
18
|
import PATCH_registration_organizer from './contracts/PATCH/registration/organizer.json' with { type: 'json' }
|
|
23
19
|
import PATCH_registration_Service from './contracts/PATCH/registration/Service.json' with { type: 'json' }
|
|
@@ -31,13 +27,6 @@ import PATCH_registration_channel_admin from './contracts/PATCH/registration/cha
|
|
|
31
27
|
import PATCH_registration_channel_organizer from './contracts/PATCH/registration/channel/organizer.json' with { type: 'json' }
|
|
32
28
|
import PATCH_registration_channel_Service from './contracts/PATCH/registration/channel/Service.json' with { type: 'json' }
|
|
33
29
|
import PATCH_registration_channel_Unknown from './contracts/PATCH/registration/channel/Unknown.json' with { type: 'json' }
|
|
34
|
-
import PATCH_registrations_Service from './contracts/PATCH/registrations/Service.json' with { type: 'json' }
|
|
35
|
-
import PATCH_registrations_status_admin from './contracts/PATCH/registrations/status/admin.json' with { type: 'json' }
|
|
36
|
-
import PATCH_registrations_status_organizer from './contracts/PATCH/registrations/status/organizer.json' with { type: 'json' }
|
|
37
|
-
import PATCH_registrations_status_Service from './contracts/PATCH/registrations/status/Service.json' with { type: 'json' }
|
|
38
|
-
import PATCH_registrations_lineup_admin from './contracts/PATCH/registrations/lineup/admin.json' with { type: 'json' }
|
|
39
|
-
import PATCH_registrations_lineup_organizer from './contracts/PATCH/registrations/lineup/organizer.json' with { type: 'json' }
|
|
40
|
-
import PATCH_registrations_lineup_Service from './contracts/PATCH/registrations/lineup/Service.json' with { type: 'json' }
|
|
41
30
|
import POST_user_admin from './contracts/POST/user/admin.json' with { type: 'json' }
|
|
42
31
|
import POST_user_password_admin from './contracts/POST/user/password/admin.json' with { type: 'json' }
|
|
43
32
|
import POST_user_role_admin from './contracts/POST/user/role/admin.json' with { type: 'json' }
|
|
@@ -83,16 +72,12 @@ export const Contracts = Object.freeze(
|
|
|
83
72
|
'PATCH/city/timezone/admin',
|
|
84
73
|
'PATCH/venue/admin',
|
|
85
74
|
'PATCH/venue/organizer',
|
|
86
|
-
'PATCH/venues/admin',
|
|
87
|
-
'PATCH/venues/organizer',
|
|
88
75
|
'PATCH/theme/admin',
|
|
89
76
|
'PATCH/game/admin',
|
|
90
77
|
'PATCH/game/organizer',
|
|
91
78
|
'PATCH/game/status/admin',
|
|
92
79
|
'PATCH/game/status/organizer',
|
|
93
80
|
'PATCH/game/status/Service',
|
|
94
|
-
'PATCH/games/status/admin',
|
|
95
|
-
'PATCH/games/status/organizer',
|
|
96
81
|
'PATCH/registration/admin',
|
|
97
82
|
'PATCH/registration/organizer',
|
|
98
83
|
'PATCH/registration/Service',
|
|
@@ -106,13 +91,6 @@ export const Contracts = Object.freeze(
|
|
|
106
91
|
'PATCH/registration/channel/organizer',
|
|
107
92
|
'PATCH/registration/channel/Service',
|
|
108
93
|
'PATCH/registration/channel/Unknown',
|
|
109
|
-
'PATCH/registrations/Service',
|
|
110
|
-
'PATCH/registrations/status/admin',
|
|
111
|
-
'PATCH/registrations/status/organizer',
|
|
112
|
-
'PATCH/registrations/status/Service',
|
|
113
|
-
'PATCH/registrations/lineup/admin',
|
|
114
|
-
'PATCH/registrations/lineup/organizer',
|
|
115
|
-
'PATCH/registrations/lineup/Service',
|
|
116
94
|
'POST/user/admin',
|
|
117
95
|
'POST/user/password/admin',
|
|
118
96
|
'POST/user/role/admin',
|
|
@@ -160,16 +138,12 @@ export const Schemas = Object.freeze(
|
|
|
160
138
|
PATCH_city_timezone_admin,
|
|
161
139
|
PATCH_venue_admin,
|
|
162
140
|
PATCH_venue_organizer,
|
|
163
|
-
PATCH_venues_admin,
|
|
164
|
-
PATCH_venues_organizer,
|
|
165
141
|
PATCH_theme_admin,
|
|
166
142
|
PATCH_game_admin,
|
|
167
143
|
PATCH_game_organizer,
|
|
168
144
|
PATCH_game_status_admin,
|
|
169
145
|
PATCH_game_status_organizer,
|
|
170
146
|
PATCH_game_status_Service,
|
|
171
|
-
PATCH_games_status_admin,
|
|
172
|
-
PATCH_games_status_organizer,
|
|
173
147
|
PATCH_registration_admin,
|
|
174
148
|
PATCH_registration_organizer,
|
|
175
149
|
PATCH_registration_Service,
|
|
@@ -183,13 +157,6 @@ export const Schemas = Object.freeze(
|
|
|
183
157
|
PATCH_registration_channel_organizer,
|
|
184
158
|
PATCH_registration_channel_Service,
|
|
185
159
|
PATCH_registration_channel_Unknown,
|
|
186
|
-
PATCH_registrations_Service,
|
|
187
|
-
PATCH_registrations_status_admin,
|
|
188
|
-
PATCH_registrations_status_organizer,
|
|
189
|
-
PATCH_registrations_status_Service,
|
|
190
|
-
PATCH_registrations_lineup_admin,
|
|
191
|
-
PATCH_registrations_lineup_organizer,
|
|
192
|
-
PATCH_registrations_lineup_Service,
|
|
193
160
|
POST_user_admin,
|
|
194
161
|
POST_user_password_admin,
|
|
195
162
|
POST_user_role_admin,
|
|
@@ -237,16 +204,12 @@ export const ContractSchema = Object.freeze(
|
|
|
237
204
|
'PATCH/city/timezone/admin': PATCH_city_timezone_admin,
|
|
238
205
|
'PATCH/venue/admin': PATCH_venue_admin,
|
|
239
206
|
'PATCH/venue/organizer': PATCH_venue_organizer,
|
|
240
|
-
'PATCH/venues/admin': PATCH_venues_admin,
|
|
241
|
-
'PATCH/venues/organizer': PATCH_venues_organizer,
|
|
242
207
|
'PATCH/theme/admin': PATCH_theme_admin,
|
|
243
208
|
'PATCH/game/admin': PATCH_game_admin,
|
|
244
209
|
'PATCH/game/organizer': PATCH_game_organizer,
|
|
245
210
|
'PATCH/game/status/admin': PATCH_game_status_admin,
|
|
246
211
|
'PATCH/game/status/organizer': PATCH_game_status_organizer,
|
|
247
212
|
'PATCH/game/status/Service': PATCH_game_status_Service,
|
|
248
|
-
'PATCH/games/status/admin': PATCH_games_status_admin,
|
|
249
|
-
'PATCH/games/status/organizer': PATCH_games_status_organizer,
|
|
250
213
|
'PATCH/registration/admin': PATCH_registration_admin,
|
|
251
214
|
'PATCH/registration/organizer': PATCH_registration_organizer,
|
|
252
215
|
'PATCH/registration/Service': PATCH_registration_Service,
|
|
@@ -260,13 +223,6 @@ export const ContractSchema = Object.freeze(
|
|
|
260
223
|
'PATCH/registration/channel/organizer': PATCH_registration_channel_organizer,
|
|
261
224
|
'PATCH/registration/channel/Service': PATCH_registration_channel_Service,
|
|
262
225
|
'PATCH/registration/channel/Unknown': PATCH_registration_channel_Unknown,
|
|
263
|
-
'PATCH/registrations/Service': PATCH_registrations_Service,
|
|
264
|
-
'PATCH/registrations/status/admin': PATCH_registrations_status_admin,
|
|
265
|
-
'PATCH/registrations/status/organizer': PATCH_registrations_status_organizer,
|
|
266
|
-
'PATCH/registrations/status/Service': PATCH_registrations_status_Service,
|
|
267
|
-
'PATCH/registrations/lineup/admin': PATCH_registrations_lineup_admin,
|
|
268
|
-
'PATCH/registrations/lineup/organizer': PATCH_registrations_lineup_organizer,
|
|
269
|
-
'PATCH/registrations/lineup/Service': PATCH_registrations_lineup_Service,
|
|
270
226
|
'POST/user/admin': POST_user_admin,
|
|
271
227
|
'POST/user/password/admin': POST_user_password_admin,
|
|
272
228
|
'POST/user/role/admin': POST_user_role_admin,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "array",
|
|
4
|
-
"items": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"id": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "uuid"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"required": [
|
|
13
|
-
"id"
|
|
14
|
-
],
|
|
15
|
-
"additionalProperties": false
|
|
16
|
-
},
|
|
17
|
-
"uniqueItems": true
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"type": "array",
|
|
4
|
-
"items": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"id": {
|
|
8
|
-
"type": "string",
|
|
9
|
-
"format": "uuid"
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
"required": [
|
|
13
|
-
"id"
|
|
14
|
-
],
|
|
15
|
-
"additionalProperties": false
|
|
16
|
-
},
|
|
17
|
-
"uniqueItems": true
|
|
18
|
-
}
|