@shakerquiz/contracts 0.0.145 → 0.0.146

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.145",
4
+ "version": "0.0.146",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "token": {
6
+ "type": "string"
7
+ }
8
+ },
9
+ "required": [],
10
+ "additionalProperties": false
11
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "token": {
6
+ "type": "string"
7
+ }
8
+ },
9
+ "required": [],
10
+ "additionalProperties": false
11
+ }
package/source/index.js CHANGED
@@ -28,6 +28,7 @@ import POST_game_registrations_export_organizer from './contracts/POST/game/regi
28
28
  import POST_game_admin from './contracts/POST/game/admin.json' with { type: 'json' }
29
29
  import POST_game_organizer from './contracts/POST/game/organizer.json' with { type: 'json' }
30
30
  import POST_registrations_search_Unknown from './contracts/POST/registrations/search/Unknown.json' with { type: 'json' }
31
+ import POST_city_vk_group_token_admin from './contracts/POST/city/vk_group_token/admin.json' with { type: 'json' }
31
32
  import POST_city_admin from './contracts/POST/city/admin.json' with { type: 'json' }
32
33
  import POST_games_search_Unknown from './contracts/POST/games/search/Unknown.json' with { type: 'json' }
33
34
  import POST_venue_admin from './contracts/POST/venue/admin.json' with { type: 'json' }
@@ -62,6 +63,7 @@ import PATCH_registrations_lineup_organizer from './contracts/PATCH/registration
62
63
  import PATCH_city_timezone_admin from './contracts/PATCH/city/timezone/admin.json' with { type: 'json' }
63
64
  import PATCH_city_currency_admin from './contracts/PATCH/city/currency/admin.json' with { type: 'json' }
64
65
  import PATCH_city_country_admin from './contracts/PATCH/city/country/admin.json' with { type: 'json' }
66
+ import PATCH_city_vk_group_token_admin from './contracts/PATCH/city/vk_group_token/admin.json' with { type: 'json' }
65
67
  import PATCH_city_admin from './contracts/PATCH/city/admin.json' with { type: 'json' }
66
68
  import PATCH_games_status_Service from './contracts/PATCH/games/status/Service.json' with { type: 'json' }
67
69
  import PATCH_games_status_admin from './contracts/PATCH/games/status/admin.json' with { type: 'json' }
@@ -115,6 +117,7 @@ export const Contracts = Object.freeze(
115
117
  'POST/game/admin',
116
118
  'POST/game/organizer',
117
119
  'POST/registrations/search/Unknown',
120
+ 'POST/city/vk_group_token/admin',
118
121
  'POST/city/admin',
119
122
  'POST/games/search/Unknown',
120
123
  'POST/venue/admin',
@@ -149,6 +152,7 @@ export const Contracts = Object.freeze(
149
152
  'PATCH/city/timezone/admin',
150
153
  'PATCH/city/currency/admin',
151
154
  'PATCH/city/country/admin',
155
+ 'PATCH/city/vk_group_token/admin',
152
156
  'PATCH/city/admin',
153
157
  'PATCH/games/status/Service',
154
158
  'PATCH/games/status/admin',
@@ -204,6 +208,7 @@ export const Schemas = Object.freeze(
204
208
  POST_game_admin,
205
209
  POST_game_organizer,
206
210
  POST_registrations_search_Unknown,
211
+ POST_city_vk_group_token_admin,
207
212
  POST_city_admin,
208
213
  POST_games_search_Unknown,
209
214
  POST_venue_admin,
@@ -238,6 +243,7 @@ export const Schemas = Object.freeze(
238
243
  PATCH_city_timezone_admin,
239
244
  PATCH_city_currency_admin,
240
245
  PATCH_city_country_admin,
246
+ PATCH_city_vk_group_token_admin,
241
247
  PATCH_city_admin,
242
248
  PATCH_games_status_Service,
243
249
  PATCH_games_status_admin,
@@ -293,6 +299,7 @@ export const ContractSchema = Object.freeze(
293
299
  'POST/game/admin': POST_game_admin,
294
300
  'POST/game/organizer': POST_game_organizer,
295
301
  'POST/registrations/search/Unknown': POST_registrations_search_Unknown,
302
+ 'POST/city/vk_group_token/admin': POST_city_vk_group_token_admin,
296
303
  'POST/city/admin': POST_city_admin,
297
304
  'POST/games/search/Unknown': POST_games_search_Unknown,
298
305
  'POST/venue/admin': POST_venue_admin,
@@ -327,6 +334,7 @@ export const ContractSchema = Object.freeze(
327
334
  'PATCH/city/timezone/admin': PATCH_city_timezone_admin,
328
335
  'PATCH/city/currency/admin': PATCH_city_currency_admin,
329
336
  'PATCH/city/country/admin': PATCH_city_country_admin,
337
+ 'PATCH/city/vk_group_token/admin': PATCH_city_vk_group_token_admin,
330
338
  'PATCH/city/admin': PATCH_city_admin,
331
339
  'PATCH/games/status/Service': PATCH_games_status_Service,
332
340
  'PATCH/games/status/admin': PATCH_games_status_admin,