@shakerquiz/utilities 0.4.23 → 0.4.25

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/source/scope.d.ts CHANGED
@@ -9,82 +9,82 @@ type ScopeRoleResponse = {
9
9
 
10
10
  'GET/Checkin/Unit': {
11
11
  admin: {
12
- email: User['email']
13
- first_name: User['first_name']
14
- id: User['id']
15
- last_name: User['last_name']
16
- phone: User['phone']
17
- third_name: User['third_name']
12
+ email: UserTable['email']
13
+ first_name: UserTable['first_name']
14
+ id: UserTable['id']
15
+ last_name: UserTable['last_name']
16
+ phone: UserTable['phone']
17
+ third_name: UserTable['third_name']
18
18
  role: {
19
- id: Role['id']
20
- name: Role['name']
19
+ id: RoleTable['id']
20
+ name: RoleTable['name']
21
21
  }
22
22
  cities: Array<{
23
- alias: City['alias']
24
- id: City['id']
25
- name: City['name']
26
- vk_group_id: City['vk_group_id']
23
+ alias: CityTable['alias']
24
+ id: CityTable['id']
25
+ name: CityTable['name']
26
+ vk_group_id: CityTable['vk_group_id']
27
27
  }>
28
28
  }
29
29
 
30
30
  default: {
31
- email: User['email']
32
- first_name: User['first_name']
33
- id: User['id']
34
- last_name: User['last_name']
35
- phone: User['phone']
36
- third_name: User['third_name']
31
+ email: UserTable['email']
32
+ first_name: UserTable['first_name']
33
+ id: UserTable['id']
34
+ last_name: UserTable['last_name']
35
+ phone: UserTable['phone']
36
+ third_name: UserTable['third_name']
37
37
  role: {
38
- id: Role['id']
39
- name: Role['name']
38
+ id: RoleTable['id']
39
+ name: RoleTable['name']
40
40
  }
41
41
  cities: Array<{
42
- alias: City['alias']
43
- id: City['id']
44
- name: City['name']
45
- vk_group_id: City['vk_group_id']
42
+ alias: CityTable['alias']
43
+ id: CityTable['id']
44
+ name: CityTable['name']
45
+ vk_group_id: CityTable['vk_group_id']
46
46
  }>
47
47
  }
48
48
 
49
49
  organizer: {
50
- email: User['email']
51
- first_name: User['first_name']
52
- id: User['id']
53
- last_name: User['last_name']
54
- phone: User['phone']
55
- third_name: User['third_name']
50
+ email: UserTable['email']
51
+ first_name: UserTable['first_name']
52
+ id: UserTable['id']
53
+ last_name: UserTable['last_name']
54
+ phone: UserTable['phone']
55
+ third_name: UserTable['third_name']
56
56
  role: {
57
- id: Role['id']
58
- name: Role['name']
57
+ id: RoleTable['id']
58
+ name: RoleTable['name']
59
59
  }
60
60
  cities: Array<{
61
- alias: City['alias']
62
- id: City['id']
63
- name: City['name']
64
- vk_group_id: City['vk_group_id']
61
+ alias: CityTable['alias']
62
+ id: CityTable['id']
63
+ name: CityTable['name']
64
+ vk_group_id: CityTable['vk_group_id']
65
65
  }>
66
66
  }
67
67
  }
68
68
 
69
69
  'GET/User/Set': {
70
70
  admin: Array<{
71
- email: User['email']
72
- first_name: User['first_name']
73
- gmail_link: User['gmail_link']
74
- id: User['id']
75
- is_active: User['is_active']
76
- last_name: User['last_name']
77
- mailru_link: User['mailru_link']
78
- phone: User['phone']
71
+ email: UserTable['email']
72
+ first_name: UserTable['first_name']
73
+ gmail_link: UserTable['gmail_link']
74
+ id: UserTable['id']
75
+ is_active: UserTable['is_active']
76
+ last_name: UserTable['last_name']
77
+ mailru_link: UserTable['mailru_link']
78
+ phone: UserTable['phone']
79
79
  role: {
80
- id: Role['id']
81
- name: Role['name']
80
+ id: RoleTable['id']
81
+ name: RoleTable['name']
82
82
  }
83
83
  cities: Array<{
84
- alias: City['alias']
85
- id: City['id']
86
- name: City['name']
87
- vk_group_id: City['vk_group_id']
84
+ alias: CityTable['alias']
85
+ id: CityTable['id']
86
+ name: CityTable['name']
87
+ vk_group_id: CityTable['vk_group_id']
88
88
  }>
89
89
  }>
90
90
 
@@ -95,23 +95,23 @@ type ScopeRoleResponse = {
95
95
 
96
96
  'GET/User/Unit': {
97
97
  admin: {
98
- email: User['email']
99
- first_name: User['first_name']
100
- gmail_link: User['gmail_link']
101
- id: User['id']
102
- is_active: User['is_active']
103
- last_name: User['last_name']
104
- mailru_link: User['mailru_link']
105
- phone: User['phone']
98
+ email: UserTable['email']
99
+ first_name: UserTable['first_name']
100
+ gmail_link: UserTable['gmail_link']
101
+ id: UserTable['id']
102
+ is_active: UserTable['is_active']
103
+ last_name: UserTable['last_name']
104
+ mailru_link: UserTable['mailru_link']
105
+ phone: UserTable['phone']
106
106
  role: {
107
- id: Role['id']
108
- name: Role['name']
107
+ id: RoleTable['id']
108
+ name: RoleTable['name']
109
109
  }
110
110
  cities: Array<{
111
- alias: City['alias']
112
- id: City['id']
113
- name: City['name']
114
- vk_group_id: City['vk_group_id']
111
+ alias: CityTable['alias']
112
+ id: CityTable['id']
113
+ name: CityTable['name']
114
+ vk_group_id: CityTable['vk_group_id']
115
115
  }>
116
116
  }
117
117
 
@@ -122,21 +122,21 @@ type ScopeRoleResponse = {
122
122
 
123
123
  'GET/Role/Set': {
124
124
  admin: Array<{
125
- description: Role['description']
126
- id: Role['id']
127
- name: Role['name']
128
- time_created: Role['time_created']
129
- time_updated: Role['time_updated']
125
+ description: RoleTable['description']
126
+ id: RoleTable['id']
127
+ name: RoleTable['name']
128
+ time_created: RoleTable['time_created']
129
+ time_updated: RoleTable['time_updated']
130
130
  }>
131
131
 
132
132
  default: unknown
133
133
 
134
134
  organizer: Array<{
135
- description: Role['description']
136
- id: Role['id']
137
- name: Role['name']
138
- time_created: Role['time_created']
139
- time_updated: Role['time_updated']
135
+ description: RoleTable['description']
136
+ id: RoleTable['id']
137
+ name: RoleTable['name']
138
+ time_created: RoleTable['time_created']
139
+ time_updated: RoleTable['time_updated']
140
140
  }>
141
141
  }
142
142
 
@@ -152,7 +152,7 @@ type ScopeRoleResponse = {
152
152
  admin: unknown
153
153
 
154
154
  default: Array<{
155
- code: City['country']
155
+ code: CityTable['country']
156
156
  name: string
157
157
  }>
158
158
 
@@ -168,283 +168,283 @@ type ScopeRoleResponse = {
168
168
  }
169
169
 
170
170
  'GET/City/Set': {
171
- admin: Array<City>
171
+ admin: Array<CityTable>
172
172
 
173
173
  default: Array<{
174
- address: City['address']
175
- alias: City['alias']
176
- country: City['country']
177
- custom_html: City['custom_html']
178
- custom_script: City['custom_script']
179
- email: City['email']
180
- id: City['id']
181
- inst_link: City['inst_link']
182
- max_members_count: City['max_members_count']
183
- meta_description: City['meta_description']
184
- meta_title: City['meta_title']
185
- min_members_count: City['min_members_count']
186
- name: City['name']
187
- phone: City['phone']
188
- tg_link: City['tg_link']
189
- vk_group_id: City['vk_group_id']
190
- vk_link: City['vk_link']
191
- yandex_metrica: City['yandex_metrica']
174
+ address: CityTable['address']
175
+ alias: CityTable['alias']
176
+ country: CityTable['country']
177
+ custom_html: CityTable['custom_html']
178
+ custom_script: CityTable['custom_script']
179
+ email: CityTable['email']
180
+ id: CityTable['id']
181
+ inst_link: CityTable['inst_link']
182
+ max_members_count: CityTable['max_members_count']
183
+ meta_description: CityTable['meta_description']
184
+ meta_title: CityTable['meta_title']
185
+ min_members_count: CityTable['min_members_count']
186
+ name: CityTable['name']
187
+ phone: CityTable['phone']
188
+ tg_link: CityTable['tg_link']
189
+ vk_group_id: CityTable['vk_group_id']
190
+ vk_link: CityTable['vk_link']
191
+ yandex_metrica: CityTable['yandex_metrica']
192
192
  }>
193
193
 
194
- organizer: Array<City>
194
+ organizer: Array<CityTable>
195
195
  }
196
196
 
197
197
  'GET/City/Unit': {
198
- admin: City
198
+ admin: CityTable
199
199
 
200
200
  default: {
201
- address: City['address']
202
- alias: City['alias']
203
- country: City['country']
204
- custom_html: City['custom_html']
205
- custom_script: City['custom_script']
206
- email: City['email']
207
- id: City['id']
208
- inst_link: City['inst_link']
209
- max_members_count: City['max_members_count']
210
- meta_description: City['meta_description']
211
- meta_title: City['meta_title']
212
- min_members_count: City['min_members_count']
213
- name: City['name']
214
- phone: City['phone']
215
- tg_link: City['tg_link']
216
- vk_group_id: City['vk_group_id']
217
- vk_link: City['vk_link']
218
- yandex_metrica: City['yandex_metrica']
201
+ address: CityTable['address']
202
+ alias: CityTable['alias']
203
+ country: CityTable['country']
204
+ custom_html: CityTable['custom_html']
205
+ custom_script: CityTable['custom_script']
206
+ email: CityTable['email']
207
+ id: CityTable['id']
208
+ inst_link: CityTable['inst_link']
209
+ max_members_count: CityTable['max_members_count']
210
+ meta_description: CityTable['meta_description']
211
+ meta_title: CityTable['meta_title']
212
+ min_members_count: CityTable['min_members_count']
213
+ name: CityTable['name']
214
+ phone: CityTable['phone']
215
+ tg_link: CityTable['tg_link']
216
+ vk_group_id: CityTable['vk_group_id']
217
+ vk_link: CityTable['vk_link']
218
+ yandex_metrica: CityTable['yandex_metrica']
219
219
  }
220
220
 
221
- organizer: City
221
+ organizer: CityTable
222
222
  }
223
223
 
224
224
  'GET/Venue/Set': {
225
225
  admin: Array<{
226
- city_id: Venue['city_id']
227
- comment_equipment: Venue['comment_equipment']
228
- comment_responsible: Venue['comment_responsible']
229
- comment: Venue['comment']
230
- floor: Venue['floor']
231
- game_time: Venue['game_time']
232
- house_number: Venue['house_number']
233
- id: Venue['id']
234
- is_adult: Venue['is_adult']
235
- latitude: Venue['latitude']
236
- location_info: Venue['location_info']
237
- longitude: Venue['longitude']
238
- metro: Venue['metro']
239
- name: Venue['name']
240
- people_capacity: Venue['people_capacity']
241
- street: Venue['street']
242
- team_capacity: Venue['team_capacity']
243
- time_created: Venue['time_created']
244
- time_updated: Venue['time_updated']
226
+ city_id: VenueTable['city_id']
227
+ comment_equipment: VenueTable['comment_equipment']
228
+ comment_responsible: VenueTable['comment_responsible']
229
+ comment: VenueTable['comment']
230
+ floor: VenueTable['floor']
231
+ game_time: VenueTable['game_time']
232
+ house_number: VenueTable['house_number']
233
+ id: VenueTable['id']
234
+ is_adult: VenueTable['is_adult']
235
+ latitude: VenueTable['latitude']
236
+ location_info: VenueTable['location_info']
237
+ longitude: VenueTable['longitude']
238
+ metro: VenueTable['metro']
239
+ name: VenueTable['name']
240
+ people_capacity: VenueTable['people_capacity']
241
+ street: VenueTable['street']
242
+ team_capacity: VenueTable['team_capacity']
243
+ time_created: VenueTable['time_created']
244
+ time_updated: VenueTable['time_updated']
245
245
  city: {
246
- alias: City['alias']
247
- country: City['country']
248
- id: City['id']
249
- name: City['name']
250
- vk_group_id: City['vk_group_id']
246
+ alias: CityTable['alias']
247
+ country: CityTable['country']
248
+ id: CityTable['id']
249
+ name: CityTable['name']
250
+ vk_group_id: CityTable['vk_group_id']
251
251
  }
252
252
  }>
253
253
 
254
254
  default: unknown
255
255
 
256
256
  organizer: Array<{
257
- city_id: Venue['city_id']
258
- comment_equipment: Venue['comment_equipment']
259
- comment_responsible: Venue['comment_responsible']
260
- comment: Venue['comment']
261
- floor: Venue['floor']
262
- game_time: Venue['game_time']
263
- house_number: Venue['house_number']
264
- id: Venue['id']
265
- is_adult: Venue['is_adult']
266
- latitude: Venue['latitude']
267
- location_info: Venue['location_info']
268
- longitude: Venue['longitude']
269
- metro: Venue['metro']
270
- name: Venue['name']
271
- people_capacity: Venue['people_capacity']
272
- street: Venue['street']
273
- team_capacity: Venue['team_capacity']
274
- time_created: Venue['time_created']
275
- time_updated: Venue['time_updated']
257
+ city_id: VenueTable['city_id']
258
+ comment_equipment: VenueTable['comment_equipment']
259
+ comment_responsible: VenueTable['comment_responsible']
260
+ comment: VenueTable['comment']
261
+ floor: VenueTable['floor']
262
+ game_time: VenueTable['game_time']
263
+ house_number: VenueTable['house_number']
264
+ id: VenueTable['id']
265
+ is_adult: VenueTable['is_adult']
266
+ latitude: VenueTable['latitude']
267
+ location_info: VenueTable['location_info']
268
+ longitude: VenueTable['longitude']
269
+ metro: VenueTable['metro']
270
+ name: VenueTable['name']
271
+ people_capacity: VenueTable['people_capacity']
272
+ street: VenueTable['street']
273
+ team_capacity: VenueTable['team_capacity']
274
+ time_created: VenueTable['time_created']
275
+ time_updated: VenueTable['time_updated']
276
276
  city: {
277
- alias: City['alias']
278
- country: City['country']
279
- id: City['id']
280
- name: City['name']
281
- vk_group_id: City['vk_group_id']
277
+ alias: CityTable['alias']
278
+ country: CityTable['country']
279
+ id: CityTable['id']
280
+ name: CityTable['name']
281
+ vk_group_id: CityTable['vk_group_id']
282
282
  }
283
283
  }>
284
284
  }
285
285
 
286
286
  'GET/Venue/Unit': {
287
287
  admin: {
288
- city_id: Venue['city_id']
289
- comment_equipment: Venue['comment_equipment']
290
- comment_responsible: Venue['comment_responsible']
291
- comment: Venue['comment']
292
- floor: Venue['floor']
293
- game_time: Venue['game_time']
294
- house_number: Venue['house_number']
295
- id: Venue['id']
296
- is_adult: Venue['is_adult']
297
- latitude: Venue['latitude']
298
- location_info: Venue['location_info']
299
- longitude: Venue['longitude']
300
- metro: Venue['metro']
301
- name: Venue['name']
302
- people_capacity: Venue['people_capacity']
303
- street: Venue['street']
304
- team_capacity: Venue['team_capacity']
305
- time_created: Venue['time_created']
306
- time_updated: Venue['time_updated']
288
+ city_id: VenueTable['city_id']
289
+ comment_equipment: VenueTable['comment_equipment']
290
+ comment_responsible: VenueTable['comment_responsible']
291
+ comment: VenueTable['comment']
292
+ floor: VenueTable['floor']
293
+ game_time: VenueTable['game_time']
294
+ house_number: VenueTable['house_number']
295
+ id: VenueTable['id']
296
+ is_adult: VenueTable['is_adult']
297
+ latitude: VenueTable['latitude']
298
+ location_info: VenueTable['location_info']
299
+ longitude: VenueTable['longitude']
300
+ metro: VenueTable['metro']
301
+ name: VenueTable['name']
302
+ people_capacity: VenueTable['people_capacity']
303
+ street: VenueTable['street']
304
+ team_capacity: VenueTable['team_capacity']
305
+ time_created: VenueTable['time_created']
306
+ time_updated: VenueTable['time_updated']
307
307
  city: {
308
- alias: City['alias']
309
- country: City['country']
310
- id: City['id']
311
- name: City['name']
312
- vk_group_id: City['vk_group_id']
308
+ alias: CityTable['alias']
309
+ country: CityTable['country']
310
+ id: CityTable['id']
311
+ name: CityTable['name']
312
+ vk_group_id: CityTable['vk_group_id']
313
313
  }
314
314
  }
315
315
 
316
316
  default: unknown
317
317
 
318
318
  organizer: {
319
- city_id: Venue['city_id']
320
- comment_equipment: Venue['comment_equipment']
321
- comment_responsible: Venue['comment_responsible']
322
- comment: Venue['comment']
323
- floor: Venue['floor']
324
- game_time: Venue['game_time']
325
- house_number: Venue['house_number']
326
- id: Venue['id']
327
- is_adult: Venue['is_adult']
328
- latitude: Venue['latitude']
329
- location_info: Venue['location_info']
330
- longitude: Venue['longitude']
331
- metro: Venue['metro']
332
- name: Venue['name']
333
- people_capacity: Venue['people_capacity']
334
- street: Venue['street']
335
- team_capacity: Venue['team_capacity']
336
- time_created: Venue['time_created']
337
- time_updated: Venue['time_updated']
319
+ city_id: VenueTable['city_id']
320
+ comment_equipment: VenueTable['comment_equipment']
321
+ comment_responsible: VenueTable['comment_responsible']
322
+ comment: VenueTable['comment']
323
+ floor: VenueTable['floor']
324
+ game_time: VenueTable['game_time']
325
+ house_number: VenueTable['house_number']
326
+ id: VenueTable['id']
327
+ is_adult: VenueTable['is_adult']
328
+ latitude: VenueTable['latitude']
329
+ location_info: VenueTable['location_info']
330
+ longitude: VenueTable['longitude']
331
+ metro: VenueTable['metro']
332
+ name: VenueTable['name']
333
+ people_capacity: VenueTable['people_capacity']
334
+ street: VenueTable['street']
335
+ team_capacity: VenueTable['team_capacity']
336
+ time_created: VenueTable['time_created']
337
+ time_updated: VenueTable['time_updated']
338
338
  city: {
339
- alias: City['alias']
340
- country: City['country']
341
- id: City['id']
342
- name: City['name']
343
- vk_group_id: City['vk_group_id']
339
+ alias: CityTable['alias']
340
+ country: CityTable['country']
341
+ id: CityTable['id']
342
+ name: CityTable['name']
343
+ vk_group_id: CityTable['vk_group_id']
344
344
  }
345
345
  }
346
346
  }
347
347
 
348
348
  'GET/Theme/Set': {
349
349
  admin: Array<{
350
- description: Theme['description']
351
- id: Theme['id']
352
- name: Theme['name']
353
- short_description: Theme['short_description']
354
- time_created: Theme['time_created']
350
+ description: ThemeTable['description']
351
+ id: ThemeTable['id']
352
+ name: ThemeTable['name']
353
+ short_description: ThemeTable['short_description']
354
+ time_created: ThemeTable['time_created']
355
355
  image: {
356
- id: ImageMedia['id']
356
+ id: ImageTable['id']
357
357
  }
358
358
  media: {
359
- id: Media['id']
360
- path: Media['path']
361
- title: Media['title']
359
+ id: MediaTable['id']
360
+ path: MediaTable['path']
361
+ title: MediaTable['title']
362
362
  }
363
363
  }>
364
364
 
365
365
  default: unknown
366
366
 
367
367
  organizer: Array<{
368
- description: Theme['description']
369
- id: Theme['id']
370
- name: Theme['name']
371
- short_description: Theme['short_description']
372
- time_created: Theme['time_created']
368
+ description: ThemeTable['description']
369
+ id: ThemeTable['id']
370
+ name: ThemeTable['name']
371
+ short_description: ThemeTable['short_description']
372
+ time_created: ThemeTable['time_created']
373
373
  image: {
374
- id: ImageMedia['id']
374
+ id: ImageTable['id']
375
375
  }
376
376
  media: {
377
- id: Media['id']
378
- path: Media['path']
379
- title: Media['title']
377
+ id: MediaTable['id']
378
+ path: MediaTable['path']
379
+ title: MediaTable['title']
380
380
  }
381
381
  }>
382
382
  }
383
383
 
384
384
  'GET/Theme/Unit': {
385
385
  admin: {
386
- description: Theme['description']
387
- id: Theme['id']
388
- name: Theme['name']
389
- short_description: Theme['short_description']
390
- time_created: Theme['time_created']
386
+ description: ThemeTable['description']
387
+ id: ThemeTable['id']
388
+ name: ThemeTable['name']
389
+ short_description: ThemeTable['short_description']
390
+ time_created: ThemeTable['time_created']
391
391
  image: {
392
- id: ImageMedia['id']
392
+ id: ImageTable['id']
393
393
  }
394
394
  media: {
395
- id: Media['id']
396
- path: Media['path']
397
- title: Media['title']
395
+ id: MediaTable['id']
396
+ path: MediaTable['path']
397
+ title: MediaTable['title']
398
398
  }
399
399
  }
400
400
 
401
401
  default: unknown
402
402
 
403
403
  organizer: {
404
- description: Theme['description']
405
- id: Theme['id']
406
- name: Theme['name']
407
- short_description: Theme['short_description']
408
- time_created: Theme['time_created']
404
+ description: ThemeTable['description']
405
+ id: ThemeTable['id']
406
+ name: ThemeTable['name']
407
+ short_description: ThemeTable['short_description']
408
+ time_created: ThemeTable['time_created']
409
409
  image: {
410
- id: ImageMedia['id']
410
+ id: ImageTable['id']
411
411
  }
412
412
  media: {
413
- id: Media['id']
414
- path: Media['path']
415
- title: Media['title']
413
+ id: MediaTable['id']
414
+ path: MediaTable['path']
415
+ title: MediaTable['title']
416
416
  }
417
417
  }
418
418
  }
419
419
 
420
420
  'GET/Game/Set': {
421
421
  admin: Array<{
422
- id: Game['id']
423
- alias: Game['alias']
424
- number: Game['number']
425
- event_time: Game['event_time']
426
- status: Game['status']
422
+ id: GameTable['id']
423
+ alias: GameTable['alias']
424
+ number: GameTable['number']
425
+ event_time: GameTable['event_time']
426
+ status: GameTable['status']
427
427
  city: {
428
- alias: City['alias']
429
- id: City['id']
430
- name: City['name']
431
- vk_group_id: City['vk_group_id']
428
+ alias: CityTable['alias']
429
+ id: CityTable['id']
430
+ name: CityTable['name']
431
+ vk_group_id: CityTable['vk_group_id']
432
432
  }
433
433
  location: {
434
- id: Venue['id']
435
- name: Venue['name']
434
+ id: VenueTable['id']
435
+ name: VenueTable['name']
436
436
  }
437
437
  theme: {
438
- id: Theme['id']
439
- name: Theme['name']
438
+ id: ThemeTable['id']
439
+ name: ThemeTable['name']
440
440
  }
441
441
  image: {
442
- id: ImageMedia['id']
442
+ id: ImageTable['id']
443
443
  }
444
444
  media: {
445
- id: Media['id']
446
- path: Media['path']
447
- title: Media['title']
445
+ id: MediaTable['id']
446
+ path: MediaTable['path']
447
+ title: MediaTable['title']
448
448
  }
449
449
  people: number
450
450
  people_reserve: number
@@ -453,74 +453,74 @@ type ScopeRoleResponse = {
453
453
  }>
454
454
 
455
455
  default: Array<{
456
- id: Game['id']
457
- alias: Game['alias']
458
- number: Game['number']
459
- event_time: Game['event_time']
460
- status: Game['status']
461
- price: Game['price']
462
- currency: Game['currency']
463
- min_members_count: Game['min_members_count']
464
- max_members_count: Game['max_members_count']
456
+ id: GameTable['id']
457
+ alias: GameTable['alias']
458
+ number: GameTable['number']
459
+ event_time: GameTable['event_time']
460
+ status: GameTable['status']
461
+ price: GameTable['price']
462
+ currency: GameTable['currency']
463
+ min_members_count: GameTable['min_members_count']
464
+ max_members_count: GameTable['max_members_count']
465
465
  city: {
466
- alias: City['alias']
467
- id: City['id']
468
- name: City['name']
469
- vk_group_id: City['vk_group_id']
466
+ alias: CityTable['alias']
467
+ id: CityTable['id']
468
+ name: CityTable['name']
469
+ vk_group_id: CityTable['vk_group_id']
470
470
  }
471
471
  location: {
472
- house_number: Venue['house_number']
473
- id: Venue['id']
474
- location_info: Venue['location_info']
475
- name: Venue['name']
476
- street: Venue['street']
472
+ house_number: VenueTable['house_number']
473
+ id: VenueTable['id']
474
+ location_info: VenueTable['location_info']
475
+ name: VenueTable['name']
476
+ street: VenueTable['street']
477
477
  }
478
478
  theme: {
479
- description: Theme['description']
480
- id: Theme['id']
481
- name: Theme['name']
482
- short_description: Theme['short_description']
479
+ description: ThemeTable['description']
480
+ id: ThemeTable['id']
481
+ name: ThemeTable['name']
482
+ short_description: ThemeTable['short_description']
483
483
  }
484
484
  image: {
485
- id: ImageMedia['id']
485
+ id: ImageTable['id']
486
486
  }
487
487
  media: {
488
- id: Media['id']
489
- path: Media['path']
488
+ id: MediaTable['id']
489
+ path: MediaTable['path']
490
490
  }
491
491
  }>
492
492
 
493
493
  organizer: Array<{
494
- alias: Game['alias']
495
- event_time: Game['event_time']
496
- id: Game['id']
497
- number: Game['number']
498
- status: Game['status']
494
+ alias: GameTable['alias']
495
+ event_time: GameTable['event_time']
496
+ id: GameTable['id']
497
+ number: GameTable['number']
498
+ status: GameTable['status']
499
499
  city: {
500
- alias: City['alias']
501
- id: City['id']
502
- name: City['name']
503
- vk_group_id: City['vk_group_id']
500
+ alias: CityTable['alias']
501
+ id: CityTable['id']
502
+ name: CityTable['name']
503
+ vk_group_id: CityTable['vk_group_id']
504
504
  }
505
505
  location: {
506
- house_number: Venue['house_number']
507
- id: Venue['id']
508
- location_info: Venue['location_info']
509
- name: Venue['name']
510
- street: Venue['street']
506
+ house_number: VenueTable['house_number']
507
+ id: VenueTable['id']
508
+ location_info: VenueTable['location_info']
509
+ name: VenueTable['name']
510
+ street: VenueTable['street']
511
511
  }
512
512
  theme: {
513
- description: Theme['description']
514
- id: Theme['id']
515
- name: Theme['name']
516
- short_description: Theme['short_description']
513
+ description: ThemeTable['description']
514
+ id: ThemeTable['id']
515
+ name: ThemeTable['name']
516
+ short_description: ThemeTable['short_description']
517
517
  }
518
518
  image: {
519
- id: ImageMedia['id']
519
+ id: ImageTable['id']
520
520
  }
521
521
  media: {
522
- id: Media['id']
523
- path: Media['path']
522
+ id: MediaTable['id']
523
+ path: MediaTable['path']
524
524
  }
525
525
  people: number
526
526
  people_reserve: number
@@ -531,124 +531,124 @@ type ScopeRoleResponse = {
531
531
 
532
532
  'GET/Game/Unit': {
533
533
  admin: {
534
- alias: Game['alias']
535
- currency: Game['currency']
536
- event_time: Game['event_time']
537
- id: Game['id']
538
- max_members_count: Game['max_members_count']
539
- min_members_count: Game['min_members_count']
540
- number: Game['number']
541
- personal_comment: Game['personal_comment']
542
- price: Game['price']
543
- status: Game['status']
534
+ alias: GameTable['alias']
535
+ currency: GameTable['currency']
536
+ event_time: GameTable['event_time']
537
+ id: GameTable['id']
538
+ max_members_count: GameTable['max_members_count']
539
+ min_members_count: GameTable['min_members_count']
540
+ number: GameTable['number']
541
+ personal_comment: GameTable['personal_comment']
542
+ price: GameTable['price']
543
+ status: GameTable['status']
544
544
  city: {
545
- alias: City['alias']
546
- id: City['id']
547
- name: City['name']
548
- timezone: City['timezone']
549
- vk_group_id: City['vk_group_id']
545
+ alias: CityTable['alias']
546
+ id: CityTable['id']
547
+ name: CityTable['name']
548
+ timezone: CityTable['timezone']
549
+ vk_group_id: CityTable['vk_group_id']
550
550
  }
551
551
  venue: {
552
- house_number: Venue['house_number']
553
- id: Venue['id']
554
- name: Venue['name']
555
- street: Venue['street']
552
+ house_number: VenueTable['house_number']
553
+ id: VenueTable['id']
554
+ name: VenueTable['name']
555
+ street: VenueTable['street']
556
556
  }
557
557
  theme: {
558
- description: Theme['description']
559
- id: Theme['id']
560
- name: Theme['name']
561
- short_description: Theme['short_description']
558
+ description: ThemeTable['description']
559
+ id: ThemeTable['id']
560
+ name: ThemeTable['name']
561
+ short_description: ThemeTable['short_description']
562
562
  }
563
563
  image: {
564
- id: ImageMedia['id']
564
+ id: ImageTable['id']
565
565
  }
566
566
  media: {
567
- id: Media['id']
568
- path: Media['path']
569
- title: Media['title']
567
+ id: MediaTable['id']
568
+ path: MediaTable['path']
569
+ title: MediaTable['title']
570
570
  }
571
571
  }
572
572
 
573
573
  default: {
574
- alias: Game['alias']
575
- currency: Game['currency']
576
- event_time: Game['event_time']
577
- id: Game['id']
578
- max_members_count: Game['max_members_count']
579
- min_members_count: Game['min_members_count']
580
- number: Game['number']
581
- price: Game['price']
582
- status: Game['status']
583
- weekday: Game['weekday']
574
+ alias: GameTable['alias']
575
+ currency: GameTable['currency']
576
+ event_time: GameTable['event_time']
577
+ id: GameTable['id']
578
+ max_members_count: GameTable['max_members_count']
579
+ min_members_count: GameTable['min_members_count']
580
+ number: GameTable['number']
581
+ price: GameTable['price']
582
+ status: GameTable['status']
583
+ weekday: GameTable['weekday']
584
584
  city: {
585
- alias: City['alias']
586
- id: City['id']
587
- name: City['name']
588
- timezone: City['timezone']
589
- vk_group_id: City['vk_group_id']
585
+ alias: CityTable['alias']
586
+ id: CityTable['id']
587
+ name: CityTable['name']
588
+ timezone: CityTable['timezone']
589
+ vk_group_id: CityTable['vk_group_id']
590
590
  }
591
591
  venue: {
592
- house_number: Venue['house_number']
593
- id: Venue['id']
594
- location_info: Venue['location_info']
595
- name: Venue['name']
596
- street: Venue['street']
592
+ house_number: VenueTable['house_number']
593
+ id: VenueTable['id']
594
+ location_info: VenueTable['location_info']
595
+ name: VenueTable['name']
596
+ street: VenueTable['street']
597
597
  }
598
598
  theme: {
599
- description: Theme['description']
600
- id: Theme['id']
601
- name: Theme['name']
602
- short_description: Theme['short_description']
599
+ description: ThemeTable['description']
600
+ id: ThemeTable['id']
601
+ name: ThemeTable['name']
602
+ short_description: ThemeTable['short_description']
603
603
  }
604
604
  image: {
605
- id: ImageMedia['id']
605
+ id: ImageTable['id']
606
606
  }
607
607
  media: {
608
- id: Media['id']
609
- path: Media['path']
610
- title: Media['title']
608
+ id: MediaTable['id']
609
+ path: MediaTable['path']
610
+ title: MediaTable['title']
611
611
  }
612
612
  }
613
613
 
614
614
  organizer: {
615
- alias: Game['alias']
616
- currency: Game['currency']
617
- event_time: Game['event_time']
618
- id: Game['id']
619
- max_members_count: Game['max_members_count']
620
- min_members_count: Game['min_members_count']
621
- number: Game['number']
622
- price: Game['price']
623
- status: Game['status']
624
- weekday: Game['weekday']
615
+ alias: GameTable['alias']
616
+ currency: GameTable['currency']
617
+ event_time: GameTable['event_time']
618
+ id: GameTable['id']
619
+ max_members_count: GameTable['max_members_count']
620
+ min_members_count: GameTable['min_members_count']
621
+ number: GameTable['number']
622
+ price: GameTable['price']
623
+ status: GameTable['status']
624
+ weekday: GameTable['weekday']
625
625
  city: {
626
- alias: City['alias']
627
- id: City['id']
628
- name: City['name']
629
- timezone: City['timezone']
630
- vk_group_id: City['vk_group_id']
626
+ alias: CityTable['alias']
627
+ id: CityTable['id']
628
+ name: CityTable['name']
629
+ timezone: CityTable['timezone']
630
+ vk_group_id: CityTable['vk_group_id']
631
631
  }
632
632
  venue: {
633
- house_number: Venue['house_number']
634
- id: Venue['id']
635
- location_info: Venue['location_info']
636
- name: Venue['name']
637
- street: Venue['street']
633
+ house_number: VenueTable['house_number']
634
+ id: VenueTable['id']
635
+ location_info: VenueTable['location_info']
636
+ name: VenueTable['name']
637
+ street: VenueTable['street']
638
638
  }
639
639
  theme: {
640
- description: Theme['description']
641
- id: Theme['id']
642
- name: Theme['name']
643
- short_description: Theme['short_description']
640
+ description: ThemeTable['description']
641
+ id: ThemeTable['id']
642
+ name: ThemeTable['name']
643
+ short_description: ThemeTable['short_description']
644
644
  }
645
645
  image: {
646
- id: ImageMedia['id']
646
+ id: ImageTable['id']
647
647
  }
648
648
  media: {
649
- id: Media['id']
650
- path: Media['path']
651
- title: Media['title']
649
+ id: MediaTable['id']
650
+ path: MediaTable['path']
651
+ title: MediaTable['title']
652
652
  }
653
653
  }
654
654
  }
@@ -658,54 +658,54 @@ type ScopeRoleResponse = {
658
658
  can_cancel: boolean
659
659
  can_change_people_count: boolean
660
660
  can_confirm: boolean
661
- change_people_count: Registration['change_people_count']
662
- channel: Registration['channel']
663
- event_id: Registration['event_id']
661
+ change_people_count: RegistrationTable['change_people_count']
662
+ channel: RegistrationTable['channel']
663
+ event_id: RegistrationTable['event_id']
664
664
  event_time_utc: GameRow['event_time']
665
665
  event_timezone: GameRow['timezone']
666
- id: Registration['id']
667
- is_canceled: Registration['is_canceled']
668
- is_confirm: Registration['is_confirm']
669
- is_reserve: Registration['is_reserve']
666
+ id: RegistrationTable['id']
667
+ is_canceled: RegistrationTable['is_canceled']
668
+ is_confirm: RegistrationTable['is_confirm']
669
+ is_reserve: RegistrationTable['is_reserve']
670
670
  max_members_count: GameRow['max_members_count']
671
- people_count: Registration['people_count']
672
- team_name: Registration['team_name']
671
+ people_count: RegistrationTable['people_count']
672
+ team_name: RegistrationTable['team_name']
673
673
  }>
674
674
 
675
675
  default: Array<{
676
676
  can_cancel: boolean
677
677
  can_change_people_count: boolean
678
678
  can_confirm: boolean
679
- change_people_count: Registration['change_people_count']
680
- channel: Registration['channel']
681
- event_id: Registration['event_id']
679
+ change_people_count: RegistrationTable['change_people_count']
680
+ channel: RegistrationTable['channel']
681
+ event_id: RegistrationTable['event_id']
682
682
  event_time_utc: GameRow['event_time']
683
683
  event_timezone: GameRow['timezone']
684
- id: Registration['id']
685
- is_canceled: Registration['is_canceled']
686
- is_confirm: Registration['is_confirm']
687
- is_reserve: Registration['is_reserve']
684
+ id: RegistrationTable['id']
685
+ is_canceled: RegistrationTable['is_canceled']
686
+ is_confirm: RegistrationTable['is_confirm']
687
+ is_reserve: RegistrationTable['is_reserve']
688
688
  max_members_count: GameRow['max_members_count']
689
- people_count: Registration['people_count']
690
- team_name: Registration['team_name']
689
+ people_count: RegistrationTable['people_count']
690
+ team_name: RegistrationTable['team_name']
691
691
  }>
692
692
 
693
693
  organizer: Array<{
694
694
  can_cancel: boolean
695
695
  can_change_people_count: boolean
696
696
  can_confirm: boolean
697
- change_people_count: Registration['change_people_count']
698
- channel: Registration['channel']
699
- event_id: Registration['event_id']
697
+ change_people_count: RegistrationTable['change_people_count']
698
+ channel: RegistrationTable['channel']
699
+ event_id: RegistrationTable['event_id']
700
700
  event_time_utc: GameRow['event_time']
701
701
  event_timezone: GameRow['timezone']
702
- id: Registration['id']
703
- is_canceled: Registration['is_canceled']
704
- is_confirm: Registration['is_confirm']
705
- is_reserve: Registration['is_reserve']
702
+ id: RegistrationTable['id']
703
+ is_canceled: RegistrationTable['is_canceled']
704
+ is_confirm: RegistrationTable['is_confirm']
705
+ is_reserve: RegistrationTable['is_reserve']
706
706
  max_members_count: GameRow['max_members_count']
707
- people_count: Registration['people_count']
708
- team_name: Registration['team_name']
707
+ people_count: RegistrationTable['people_count']
708
+ team_name: RegistrationTable['team_name']
709
709
  }>
710
710
  }
711
711
 
@@ -714,85 +714,85 @@ type ScopeRoleResponse = {
714
714
  can_cancel: boolean
715
715
  can_change_people_count: boolean
716
716
  can_confirm: boolean
717
- change_people_count: Registration['change_people_count']
718
- channel: Registration['channel']
719
- event_id: Registration['event_id']
717
+ change_people_count: RegistrationTable['change_people_count']
718
+ channel: RegistrationTable['channel']
719
+ event_id: RegistrationTable['event_id']
720
720
  event_time_utc: GameRow['event_time']
721
721
  event_timezone: GameRow['timezone']
722
- id: Registration['id']
723
- is_canceled: Registration['is_canceled']
724
- is_confirm: Registration['is_confirm']
725
- is_reserve: Registration['is_reserve']
722
+ id: RegistrationTable['id']
723
+ is_canceled: RegistrationTable['is_canceled']
724
+ is_confirm: RegistrationTable['is_confirm']
725
+ is_reserve: RegistrationTable['is_reserve']
726
726
  max_members_count: GameRow['max_members_count']
727
- people_count: Registration['people_count']
728
- team_name: Registration['team_name']
727
+ people_count: RegistrationTable['people_count']
728
+ team_name: RegistrationTable['team_name']
729
729
  }
730
730
 
731
731
  default: {
732
732
  can_cancel: boolean
733
733
  can_change_people_count: boolean
734
734
  can_confirm: boolean
735
- change_people_count: Registration['change_people_count']
736
- channel: Registration['channel']
737
- event_id: Registration['event_id']
735
+ change_people_count: RegistrationTable['change_people_count']
736
+ channel: RegistrationTable['channel']
737
+ event_id: RegistrationTable['event_id']
738
738
  event_time_utc: GameRow['event_time']
739
739
  event_timezone: GameRow['timezone']
740
- id: Registration['id']
741
- is_canceled: Registration['is_canceled']
742
- is_confirm: Registration['is_confirm']
743
- is_reserve: Registration['is_reserve']
740
+ id: RegistrationTable['id']
741
+ is_canceled: RegistrationTable['is_canceled']
742
+ is_confirm: RegistrationTable['is_confirm']
743
+ is_reserve: RegistrationTable['is_reserve']
744
744
  max_members_count: GameRow['max_members_count']
745
- people_count: Registration['people_count']
746
- team_name: Registration['team_name']
745
+ people_count: RegistrationTable['people_count']
746
+ team_name: RegistrationTable['team_name']
747
747
  }
748
748
 
749
749
  organizer: {
750
750
  can_cancel: boolean
751
751
  can_change_people_count: boolean
752
752
  can_confirm: boolean
753
- change_people_count: Registration['change_people_count']
754
- channel: Registration['channel']
755
- event_id: Registration['event_id']
753
+ change_people_count: RegistrationTable['change_people_count']
754
+ channel: RegistrationTable['channel']
755
+ event_id: RegistrationTable['event_id']
756
756
  event_time_utc: GameRow['event_time']
757
757
  event_timezone: GameRow['timezone']
758
- id: Registration['id']
759
- is_canceled: Registration['is_canceled']
760
- is_confirm: Registration['is_confirm']
761
- is_reserve: Registration['is_reserve']
758
+ id: RegistrationTable['id']
759
+ is_canceled: RegistrationTable['is_canceled']
760
+ is_confirm: RegistrationTable['is_confirm']
761
+ is_reserve: RegistrationTable['is_reserve']
762
762
  max_members_count: GameRow['max_members_count']
763
- people_count: Registration['people_count']
764
- team_name: Registration['team_name']
763
+ people_count: RegistrationTable['people_count']
764
+ team_name: RegistrationTable['team_name']
765
765
  }
766
766
  }
767
767
 
768
768
  'GET/Game/Set': {
769
769
  admin: Array<{
770
- id: Game['id']
771
- alias: Game['alias']
772
- number: Game['number']
773
- event_time: Game['event_time']
774
- status: Game['status']
770
+ id: GameTable['id']
771
+ alias: GameTable['alias']
772
+ number: GameTable['number']
773
+ event_time: GameTable['event_time']
774
+ status: GameTable['status']
775
775
  city: {
776
- alias: City['alias']
777
- id: City['id']
778
- name: City['name']
779
- vk_group_id: City['vk_group_id']
776
+ alias: CityTable['alias']
777
+ id: CityTable['id']
778
+ name: CityTable['name']
779
+ vk_group_id: CityTable['vk_group_id']
780
780
  }
781
781
  venue: {
782
- id: Venue['id']
783
- name: Venue['name']
782
+ id: VenueTable['id']
783
+ name: VenueTable['name']
784
784
  }
785
785
  theme: {
786
- id: Theme['id']
787
- name: Theme['name']
786
+ id: ThemeTable['id']
787
+ name: ThemeTable['name']
788
788
  }
789
789
  image: {
790
- id: ImageMedia['id']
790
+ id: ImageTable['id']
791
791
  }
792
792
  media: {
793
- id: Media['id']
794
- path: Media['path']
795
- title: Media['title']
793
+ id: MediaTable['id']
794
+ path: MediaTable['path']
795
+ title: MediaTable['title']
796
796
  }
797
797
  amounts: {
798
798
  people: number
@@ -813,55 +813,55 @@ type ScopeRoleResponse = {
813
813
  price: GameRow['price']
814
814
  status: GameRow['status']
815
815
  city: {
816
- alias: City['alias']
817
- id: City['id']
816
+ alias: CityTable['alias']
817
+ id: CityTable['id']
818
818
  }
819
819
  location: {
820
- house_number: Venue['house_number']
821
- id: Venue['id']
822
- info: Venue['location_info']
823
- name: Venue['name']
824
- street: Venue['street']
820
+ house_number: VenueTable['house_number']
821
+ id: VenueTable['id']
822
+ info: VenueTable['location_info']
823
+ name: VenueTable['name']
824
+ street: VenueTable['street']
825
825
  }
826
826
  theme: {
827
- description: Theme['description']
828
- id: Theme['id']
829
- name: Theme['name']
830
- short_description: Theme['short_description']
827
+ description: ThemeTable['description']
828
+ id: ThemeTable['id']
829
+ name: ThemeTable['name']
830
+ short_description: ThemeTable['short_description']
831
831
  }
832
832
  media: {
833
- id: Media['id']
834
- path: Media['path']
833
+ id: MediaTable['id']
834
+ path: MediaTable['path']
835
835
  }
836
836
  }>
837
837
 
838
838
  organizer: Array<{
839
- id: Game['id']
840
- alias: Game['alias']
841
- number: Game['number']
842
- event_time: Game['event_time']
843
- status: Game['status']
839
+ id: GameTable['id']
840
+ alias: GameTable['alias']
841
+ number: GameTable['number']
842
+ event_time: GameTable['event_time']
843
+ status: GameTable['status']
844
844
  city: {
845
- alias: City['alias']
846
- id: City['id']
847
- name: City['name']
848
- vk_group_id: City['vk_group_id']
845
+ alias: CityTable['alias']
846
+ id: CityTable['id']
847
+ name: CityTable['name']
848
+ vk_group_id: CityTable['vk_group_id']
849
849
  }
850
850
  venue: {
851
- id: Venue['id']
852
- name: Venue['name']
851
+ id: VenueTable['id']
852
+ name: VenueTable['name']
853
853
  }
854
854
  theme: {
855
- id: Theme['id']
856
- name: Theme['name']
855
+ id: ThemeTable['id']
856
+ name: ThemeTable['name']
857
857
  }
858
858
  image: {
859
- id: ImageMedia['id']
859
+ id: ImageTable['id']
860
860
  }
861
861
  media: {
862
- id: Media['id']
863
- path: Media['path']
864
- title: Media['title']
862
+ id: MediaTable['id']
863
+ path: MediaTable['path']
864
+ title: MediaTable['title']
865
865
  }
866
866
  amounts: {
867
867
  people: number