@shakerquiz/utilities 4.0.47 → 4.0.48

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/utilities",
4
- "version": "4.0.47",
4
+ "version": "4.0.48",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -2,8 +2,6 @@
2
2
 
3
3
  export const RouteExcessiveCardinality = Object.freeze(
4
4
  /** @type {const} */ ({
5
- 'role': '1',
6
- 'roles': 'n',
7
5
  'user': '1',
8
6
  'user/password': '1/1',
9
7
  'user/role': '1/1',
@@ -13,7 +11,15 @@ export const RouteExcessiveCardinality = Object.freeze(
13
11
  'users/password': 'n/1',
14
12
  'users/role': 'n/1',
15
13
  'users/cities': 'n/n',
14
+ 'role': '1',
15
+ 'roles': 'n',
16
16
  'checkin': '1',
17
+ 'country': '1',
18
+ 'countries': 'n',
19
+ 'currency': '1',
20
+ 'currencies': 'n',
21
+ 'timezone': '1',
22
+ 'timezones': 'n',
17
23
  'cities': 'n',
18
24
  'cities/country': 'n/1',
19
25
  'cities/currency': 'n/1',
@@ -26,15 +32,8 @@ export const RouteExcessiveCardinality = Object.freeze(
26
32
  'city/timezone': '1/1',
27
33
  'city/venue': '1/1',
28
34
  'city/venues': '1/n',
29
- 'country': '1',
30
- 'countries': 'n',
31
- 'currency': '1',
32
- 'currencies': 'n',
33
- 'timezone': '1',
34
- 'timezones': 'n',
35
35
  'venue': '1',
36
36
  'venue/city': '1/1',
37
- 'venues': 'n',
38
37
  'venues/search': 'n/1',
39
38
  'venues/city/search': 'n/1/1',
40
39
  'cover': '1',
@@ -56,16 +55,11 @@ export const RouteExcessiveCardinality = Object.freeze(
56
55
  'game/theme/cover': '1/1/1',
57
56
  'game/venue': '1/1',
58
57
  'games/search': 'n/1',
59
- 'games/status': 'n/1',
60
58
  'games/status/search': 'n/1/1',
61
- 'games/city': 'n/1',
62
59
  'games/city/search': 'n/1/1',
63
- 'games/summary': 'n/1',
64
60
  'games/summary/search': 'n/1/1',
65
- 'games/theme': 'n/1',
66
61
  'games/theme/search': 'n/1/1',
67
- 'games/theme/cover': 'n/1/1',
68
- 'games/venue': 'n/1',
62
+ 'games/theme/cover/search': 'n/1/1/1',
69
63
  'games/venue/search': 'n/1/1',
70
64
  'registration': '1',
71
65
  'registration/status': '1/1',
@@ -80,19 +74,12 @@ export const RouteExcessiveCardinality = Object.freeze(
80
74
  'registration/game/theme': '1/1/1',
81
75
  'registration/game/theme/cover': '1/1/1/1',
82
76
  'registration/game/venue': '1/1/1',
83
- 'registrations': 'n',
84
77
  'registrations/search': 'n/1',
85
- 'registrations/status': 'n/1',
86
78
  'registrations/status/search': 'n/1/1',
87
- 'registrations/lineup': 'n/1',
88
79
  'registrations/lineup/search': 'n/1/1',
89
- 'registrations/city': 'n/1',
90
80
  'registrations/city/search': 'n/1/1',
91
- 'registrations/game': 'n/1',
92
81
  'registrations/game/search': 'n/1/1',
93
- 'registrations/game/status': 'n/1/1',
94
82
  'registrations/game/status/search': 'n/1/1/1',
95
- 'registrations/game/theme': 'n/1/1',
96
83
  'registrations/game/theme/search': 'n/1/1/1',
97
84
  'telegram/webhook': '1/1',
98
85
  'telegram/registration/mailing': '1/1/1',
@@ -106,8 +93,6 @@ export const RouteExcessiveCardinality = Object.freeze(
106
93
 
107
94
  export const RouteCardinality = Object.freeze(
108
95
  /** @type {const} */ ({
109
- 'role': '1',
110
- 'roles': 'n',
111
96
  'user': '1',
112
97
  'user/password': '1/1',
113
98
  'user/role': '1/1',
@@ -117,7 +102,15 @@ export const RouteCardinality = Object.freeze(
117
102
  'users/password': 'n/1',
118
103
  'users/role': 'n/1',
119
104
  'users/cities': 'n/n',
105
+ 'role': '1',
106
+ 'roles': 'n',
120
107
  'checkin': '1',
108
+ 'country': '1',
109
+ 'countries': 'n',
110
+ 'currency': '1',
111
+ 'currencies': 'n',
112
+ 'timezone': '1',
113
+ 'timezones': 'n',
121
114
  'cities': 'n',
122
115
  'cities/country': 'n/1',
123
116
  'cities/currency': 'n/1',
@@ -130,15 +123,8 @@ export const RouteCardinality = Object.freeze(
130
123
  'city/timezone': '1/1',
131
124
  'city/venue': '1/1',
132
125
  'city/venues': '1/n',
133
- 'country': '1',
134
- 'countries': 'n',
135
- 'currency': '1',
136
- 'currencies': 'n',
137
- 'timezone': '1',
138
- 'timezones': 'n',
139
126
  'venue': '1',
140
127
  'venue/city': '1/1',
141
- 'venues': 'n',
142
128
  'venues/search': 'n/1',
143
129
  'venues/city/search': 'n/1',
144
130
  'cover': '1',
@@ -160,16 +146,11 @@ export const RouteCardinality = Object.freeze(
160
146
  'game/theme/cover': '1/1',
161
147
  'game/venue': '1/1',
162
148
  'games/search': 'n/1',
163
- 'games/status': 'n/1',
164
149
  'games/status/search': 'n/1',
165
- 'games/city': 'n/1',
166
150
  'games/city/search': 'n/1',
167
- 'games/summary': 'n/1',
168
151
  'games/summary/search': 'n/1',
169
- 'games/theme': 'n/1',
170
152
  'games/theme/search': 'n/1',
171
- 'games/theme/cover': 'n/1',
172
- 'games/venue': 'n/1',
153
+ 'games/theme/cover/search': 'n/1',
173
154
  'games/venue/search': 'n/1',
174
155
  'registration': '1',
175
156
  'registration/status': '1/1',
@@ -184,19 +165,12 @@ export const RouteCardinality = Object.freeze(
184
165
  'registration/game/theme': '1/1',
185
166
  'registration/game/theme/cover': '1/1',
186
167
  'registration/game/venue': '1/1',
187
- 'registrations': 'n',
188
168
  'registrations/search': 'n/1',
189
- 'registrations/status': 'n/1',
190
169
  'registrations/status/search': 'n/1',
191
- 'registrations/lineup': 'n/1',
192
170
  'registrations/lineup/search': 'n/1',
193
- 'registrations/city': 'n/1',
194
171
  'registrations/city/search': 'n/1',
195
- 'registrations/game': 'n/1',
196
172
  'registrations/game/search': 'n/1',
197
- 'registrations/game/status': 'n/1',
198
173
  'registrations/game/status/search': 'n/1',
199
- 'registrations/game/theme': 'n/1',
200
174
  'registrations/game/theme/search': 'n/1',
201
175
  'telegram/webhook': '1/1',
202
176
  'telegram/registration/mailing': '1/1',
@@ -210,8 +184,6 @@ export const RouteCardinality = Object.freeze(
210
184
 
211
185
  export const RoutePathname = Object.freeze(
212
186
  /** @type {const} */ ({
213
- 'role': 'role/:role',
214
- 'roles': 'roles',
215
187
  'user': 'user/:user',
216
188
  'user/password': 'user/:user/password',
217
189
  'user/role': 'user/:user/role/:role',
@@ -221,7 +193,15 @@ export const RoutePathname = Object.freeze(
221
193
  'users/password': 'users/password',
222
194
  'users/role': 'users/role/:role',
223
195
  'users/cities': 'users/cities',
196
+ 'role': 'role/:role',
197
+ 'roles': 'roles',
224
198
  'checkin': 'checkin',
199
+ 'country': 'country/:country',
200
+ 'countries': 'countries',
201
+ 'currency': 'currency/:currency',
202
+ 'currencies': 'currencies',
203
+ 'timezone': 'timezone/:timezone',
204
+ 'timezones': 'timezones',
225
205
  'cities': 'cities',
226
206
  'cities/country': 'cities/country/:country',
227
207
  'cities/currency': 'cities/currency/:currency',
@@ -234,15 +214,8 @@ export const RoutePathname = Object.freeze(
234
214
  'city/timezone': 'city/:city/timezone/:timezone',
235
215
  'city/venue': 'city/:city/venue/:venue',
236
216
  'city/venues': 'city/:city/venues',
237
- 'country': 'country/:country',
238
- 'countries': 'countries',
239
- 'currency': 'currency/:currency',
240
- 'currencies': 'currencies',
241
- 'timezone': 'timezone/:timezone',
242
- 'timezones': 'timezones',
243
217
  'venue': 'venue/:venue',
244
218
  'venue/city': 'venue/:venue/city/:city',
245
- 'venues': 'venues',
246
219
  'venues/search': 'venues/search',
247
220
  'venues/city/search': 'venues/city/:city/search',
248
221
  'cover': 'cover/:cover',
@@ -264,16 +237,11 @@ export const RoutePathname = Object.freeze(
264
237
  'game/theme/cover': 'game/:game/theme/:theme/cover/:cover',
265
238
  'game/venue': 'game/:game/venue/:venue',
266
239
  'games/search': 'games/search',
267
- 'games/status': 'games/status/:status',
268
240
  'games/status/search': 'games/status/:status/search',
269
- 'games/city': 'games/city/:city',
270
241
  'games/city/search': 'games/city/:city/search',
271
- 'games/summary': 'games/summary',
272
242
  'games/summary/search': 'games/summary/search',
273
- 'games/theme': 'games/theme/:theme',
274
243
  'games/theme/search': 'games/theme/:theme/search',
275
- 'games/theme/cover': 'games/theme/:theme/cover/:cover',
276
- 'games/venue': 'games/venue/:venue',
244
+ 'games/theme/cover/search': 'games/theme/:theme/cover/:cover/search',
277
245
  'games/venue/search': 'games/venue/:venue/search',
278
246
  'registration': 'registration/:registration',
279
247
  'registration/status': 'registration/:registration/status/:status',
@@ -288,19 +256,12 @@ export const RoutePathname = Object.freeze(
288
256
  'registration/game/theme': 'registration/:registration/game/:game/theme/:theme',
289
257
  'registration/game/theme/cover': 'registration/:registration/game/:game/theme/:theme/cover/:cover',
290
258
  'registration/game/venue': 'registration/:registration/game/:game/venue/:venue',
291
- 'registrations': 'registrations',
292
259
  'registrations/search': 'registrations/search',
293
- 'registrations/status': 'registrations/status/:status',
294
260
  'registrations/status/search': 'registrations/status/:status/search',
295
- 'registrations/lineup': 'registrations/lineup',
296
261
  'registrations/lineup/search': 'registrations/lineup/search',
297
- 'registrations/city': 'registrations/city/:city',
298
262
  'registrations/city/search': 'registrations/city/:city/search',
299
- 'registrations/game': 'registrations/game/:game',
300
263
  'registrations/game/search': 'registrations/game/:game/search',
301
- 'registrations/game/status': 'registrations/game/:game/status/:status',
302
264
  'registrations/game/status/search': 'registrations/game/:game/status/:status/search',
303
- 'registrations/game/theme': 'registrations/game/:game/theme/:theme',
304
265
  'registrations/game/theme/search': 'registrations/game/:game/theme/:theme/search',
305
266
  'telegram/webhook': 'telegram/webhook',
306
267
  'telegram/registration/mailing': 'telegram/registration/:registration/mailing',
@@ -314,10 +275,6 @@ export const RoutePathname = Object.freeze(
314
275
 
315
276
  export const RouteParameters = Object.freeze(
316
277
  /** @type {const} */ ({
317
- 'role': [
318
- ':role',
319
- ],
320
- 'roles': [],
321
278
  'user': [
322
279
  ':user',
323
280
  ],
@@ -341,7 +298,23 @@ export const RouteParameters = Object.freeze(
341
298
  ':role',
342
299
  ],
343
300
  'users/cities': [],
301
+ 'role': [
302
+ ':role',
303
+ ],
304
+ 'roles': [],
344
305
  'checkin': [],
306
+ 'country': [
307
+ ':country',
308
+ ],
309
+ 'countries': [],
310
+ 'currency': [
311
+ ':currency',
312
+ ],
313
+ 'currencies': [],
314
+ 'timezone': [
315
+ ':timezone',
316
+ ],
317
+ 'timezones': [],
345
318
  'cities': [],
346
319
  'cities/country': [
347
320
  ':country',
@@ -378,18 +351,6 @@ export const RouteParameters = Object.freeze(
378
351
  'city/venues': [
379
352
  ':city',
380
353
  ],
381
- 'country': [
382
- ':country',
383
- ],
384
- 'countries': [],
385
- 'currency': [
386
- ':currency',
387
- ],
388
- 'currencies': [],
389
- 'timezone': [
390
- ':timezone',
391
- ],
392
- 'timezones': [],
393
354
  'venue': [
394
355
  ':venue',
395
356
  ],
@@ -397,7 +358,6 @@ export const RouteParameters = Object.freeze(
397
358
  ':venue',
398
359
  ':city',
399
360
  ],
400
- 'venues': [],
401
361
  'venues/search': [],
402
362
  'venues/city/search': [
403
363
  ':city',
@@ -467,33 +427,20 @@ export const RouteParameters = Object.freeze(
467
427
  ':venue',
468
428
  ],
469
429
  'games/search': [],
470
- 'games/status': [
471
- ':status',
472
- ],
473
430
  'games/status/search': [
474
431
  ':status',
475
432
  ],
476
- 'games/city': [
477
- ':city',
478
- ],
479
433
  'games/city/search': [
480
434
  ':city',
481
435
  ],
482
- 'games/summary': [],
483
436
  'games/summary/search': [],
484
- 'games/theme': [
485
- ':theme',
486
- ],
487
437
  'games/theme/search': [
488
438
  ':theme',
489
439
  ],
490
- 'games/theme/cover': [
440
+ 'games/theme/cover/search': [
491
441
  ':theme',
492
442
  ':cover',
493
443
  ],
494
- 'games/venue': [
495
- ':venue',
496
- ],
497
444
  'games/venue/search': [
498
445
  ':venue',
499
446
  ],
@@ -546,40 +493,21 @@ export const RouteParameters = Object.freeze(
546
493
  ':game',
547
494
  ':venue',
548
495
  ],
549
- 'registrations': [],
550
496
  'registrations/search': [],
551
- 'registrations/status': [
552
- ':status',
553
- ],
554
497
  'registrations/status/search': [
555
498
  ':status',
556
499
  ],
557
- 'registrations/lineup': [],
558
500
  'registrations/lineup/search': [],
559
- 'registrations/city': [
560
- ':city',
561
- ],
562
501
  'registrations/city/search': [
563
502
  ':city',
564
503
  ],
565
- 'registrations/game': [
566
- ':game',
567
- ],
568
504
  'registrations/game/search': [
569
505
  ':game',
570
506
  ],
571
- 'registrations/game/status': [
572
- ':game',
573
- ':status',
574
- ],
575
507
  'registrations/game/status/search': [
576
508
  ':game',
577
509
  ':status',
578
510
  ],
579
- 'registrations/game/theme': [
580
- ':game',
581
- ':theme',
582
- ],
583
511
  'registrations/game/theme/search': [
584
512
  ':game',
585
513
  ':theme',
@@ -604,8 +532,6 @@ export const RouteParameters = Object.freeze(
604
532
 
605
533
  export const PathnameRoute = Object.freeze(
606
534
  /** @type {const} */ ({
607
- 'role/:role': 'role',
608
- 'roles': 'roles',
609
535
  'user/:user': 'user',
610
536
  'user/:user/password': 'user/password',
611
537
  'user/:user/role/:role': 'user/role',
@@ -615,7 +541,15 @@ export const PathnameRoute = Object.freeze(
615
541
  'users/password': 'users/password',
616
542
  'users/role/:role': 'users/role',
617
543
  'users/cities': 'users/cities',
544
+ 'role/:role': 'role',
545
+ 'roles': 'roles',
618
546
  'checkin': 'checkin',
547
+ 'country/:country': 'country',
548
+ 'countries': 'countries',
549
+ 'currency/:currency': 'currency',
550
+ 'currencies': 'currencies',
551
+ 'timezone/:timezone': 'timezone',
552
+ 'timezones': 'timezones',
619
553
  'cities': 'cities',
620
554
  'cities/country/:country': 'cities/country',
621
555
  'cities/currency/:currency': 'cities/currency',
@@ -628,15 +562,8 @@ export const PathnameRoute = Object.freeze(
628
562
  'city/:city/timezone/:timezone': 'city/timezone',
629
563
  'city/:city/venue/:venue': 'city/venue',
630
564
  'city/:city/venues': 'city/venues',
631
- 'country/:country': 'country',
632
- 'countries': 'countries',
633
- 'currency/:currency': 'currency',
634
- 'currencies': 'currencies',
635
- 'timezone/:timezone': 'timezone',
636
- 'timezones': 'timezones',
637
565
  'venue/:venue': 'venue',
638
566
  'venue/:venue/city/:city': 'venue/city',
639
- 'venues': 'venues',
640
567
  'venues/search': 'venues/search',
641
568
  'venues/city/:city/search': 'venues/city/search',
642
569
  'cover/:cover': 'cover',
@@ -658,16 +585,11 @@ export const PathnameRoute = Object.freeze(
658
585
  'game/:game/theme/:theme/cover/:cover': 'game/theme/cover',
659
586
  'game/:game/venue/:venue': 'game/venue',
660
587
  'games/search': 'games/search',
661
- 'games/status/:status': 'games/status',
662
588
  'games/status/:status/search': 'games/status/search',
663
- 'games/city/:city': 'games/city',
664
589
  'games/city/:city/search': 'games/city/search',
665
- 'games/summary': 'games/summary',
666
590
  'games/summary/search': 'games/summary/search',
667
- 'games/theme/:theme': 'games/theme',
668
591
  'games/theme/:theme/search': 'games/theme/search',
669
- 'games/theme/:theme/cover/:cover': 'games/theme/cover',
670
- 'games/venue/:venue': 'games/venue',
592
+ 'games/theme/:theme/cover/:cover/search': 'games/theme/cover/search',
671
593
  'games/venue/:venue/search': 'games/venue/search',
672
594
  'registration/:registration': 'registration',
673
595
  'registration/:registration/status/:status': 'registration/status',
@@ -682,19 +604,12 @@ export const PathnameRoute = Object.freeze(
682
604
  'registration/:registration/game/:game/theme/:theme': 'registration/game/theme',
683
605
  'registration/:registration/game/:game/theme/:theme/cover/:cover': 'registration/game/theme/cover',
684
606
  'registration/:registration/game/:game/venue/:venue': 'registration/game/venue',
685
- 'registrations': 'registrations',
686
607
  'registrations/search': 'registrations/search',
687
- 'registrations/status/:status': 'registrations/status',
688
608
  'registrations/status/:status/search': 'registrations/status/search',
689
- 'registrations/lineup': 'registrations/lineup',
690
609
  'registrations/lineup/search': 'registrations/lineup/search',
691
- 'registrations/city/:city': 'registrations/city',
692
610
  'registrations/city/:city/search': 'registrations/city/search',
693
- 'registrations/game/:game': 'registrations/game',
694
611
  'registrations/game/:game/search': 'registrations/game/search',
695
- 'registrations/game/:game/status/:status': 'registrations/game/status',
696
612
  'registrations/game/:game/status/:status/search': 'registrations/game/status/search',
697
- 'registrations/game/:game/theme/:theme': 'registrations/game/theme',
698
613
  'registrations/game/:game/theme/:theme/search': 'registrations/game/theme/search',
699
614
  'telegram/webhook': 'telegram/webhook',
700
615
  'telegram/registration/:registration/mailing': 'telegram/registration/mailing',
@@ -708,10 +623,6 @@ export const PathnameRoute = Object.freeze(
708
623
 
709
624
  export const PathnameParameters = Object.freeze(
710
625
  /** @type {const} */ ({
711
- 'role/:role': [
712
- ':role',
713
- ],
714
- 'roles': [],
715
626
  'user/:user': [
716
627
  ':user',
717
628
  ],
@@ -735,7 +646,23 @@ export const PathnameParameters = Object.freeze(
735
646
  ':role',
736
647
  ],
737
648
  'users/cities': [],
649
+ 'role/:role': [
650
+ ':role',
651
+ ],
652
+ 'roles': [],
738
653
  'checkin': [],
654
+ 'country/:country': [
655
+ ':country',
656
+ ],
657
+ 'countries': [],
658
+ 'currency/:currency': [
659
+ ':currency',
660
+ ],
661
+ 'currencies': [],
662
+ 'timezone/:timezone': [
663
+ ':timezone',
664
+ ],
665
+ 'timezones': [],
739
666
  'cities': [],
740
667
  'cities/country/:country': [
741
668
  ':country',
@@ -772,18 +699,6 @@ export const PathnameParameters = Object.freeze(
772
699
  'city/:city/venues': [
773
700
  ':city',
774
701
  ],
775
- 'country/:country': [
776
- ':country',
777
- ],
778
- 'countries': [],
779
- 'currency/:currency': [
780
- ':currency',
781
- ],
782
- 'currencies': [],
783
- 'timezone/:timezone': [
784
- ':timezone',
785
- ],
786
- 'timezones': [],
787
702
  'venue/:venue': [
788
703
  ':venue',
789
704
  ],
@@ -791,7 +706,6 @@ export const PathnameParameters = Object.freeze(
791
706
  ':venue',
792
707
  ':city',
793
708
  ],
794
- 'venues': [],
795
709
  'venues/search': [],
796
710
  'venues/city/:city/search': [
797
711
  ':city',
@@ -861,33 +775,20 @@ export const PathnameParameters = Object.freeze(
861
775
  ':venue',
862
776
  ],
863
777
  'games/search': [],
864
- 'games/status/:status': [
865
- ':status',
866
- ],
867
778
  'games/status/:status/search': [
868
779
  ':status',
869
780
  ],
870
- 'games/city/:city': [
871
- ':city',
872
- ],
873
781
  'games/city/:city/search': [
874
782
  ':city',
875
783
  ],
876
- 'games/summary': [],
877
784
  'games/summary/search': [],
878
- 'games/theme/:theme': [
879
- ':theme',
880
- ],
881
785
  'games/theme/:theme/search': [
882
786
  ':theme',
883
787
  ],
884
- 'games/theme/:theme/cover/:cover': [
788
+ 'games/theme/:theme/cover/:cover/search': [
885
789
  ':theme',
886
790
  ':cover',
887
791
  ],
888
- 'games/venue/:venue': [
889
- ':venue',
890
- ],
891
792
  'games/venue/:venue/search': [
892
793
  ':venue',
893
794
  ],
@@ -940,40 +841,21 @@ export const PathnameParameters = Object.freeze(
940
841
  ':game',
941
842
  ':venue',
942
843
  ],
943
- 'registrations': [],
944
844
  'registrations/search': [],
945
- 'registrations/status/:status': [
946
- ':status',
947
- ],
948
845
  'registrations/status/:status/search': [
949
846
  ':status',
950
847
  ],
951
- 'registrations/lineup': [],
952
848
  'registrations/lineup/search': [],
953
- 'registrations/city/:city': [
954
- ':city',
955
- ],
956
849
  'registrations/city/:city/search': [
957
850
  ':city',
958
851
  ],
959
- 'registrations/game/:game': [
960
- ':game',
961
- ],
962
852
  'registrations/game/:game/search': [
963
853
  ':game',
964
854
  ],
965
- 'registrations/game/:game/status/:status': [
966
- ':game',
967
- ':status',
968
- ],
969
855
  'registrations/game/:game/status/:status/search': [
970
856
  ':game',
971
857
  ':status',
972
858
  ],
973
- 'registrations/game/:game/theme/:theme': [
974
- ':game',
975
- ':theme',
976
- ],
977
859
  'registrations/game/:game/theme/:theme/search': [
978
860
  ':game',
979
861
  ':theme',
@@ -1015,8 +897,6 @@ export const ParameterPattern = Object.freeze(
1015
897
 
1016
898
  export const RouteBreakdown = Object.freeze(
1017
899
  /** @type {const} */ ({
1018
- 'role': 'role',
1019
- 'roles': 'role',
1020
900
  'user': 'user',
1021
901
  'user/password': 'user/password',
1022
902
  'user/role': 'user/role',
@@ -1026,7 +906,15 @@ export const RouteBreakdown = Object.freeze(
1026
906
  'users/password': 'user/password',
1027
907
  'users/role': 'user/role',
1028
908
  'users/cities': 'user/cities',
909
+ 'role': 'role',
910
+ 'roles': 'role',
1029
911
  'checkin': 'checkin',
912
+ 'country': 'country',
913
+ 'countries': 'country',
914
+ 'currency': 'currency',
915
+ 'currencies': 'currency',
916
+ 'timezone': 'timezone',
917
+ 'timezones': 'timezone',
1030
918
  'cities': 'city',
1031
919
  'cities/country': 'city/country',
1032
920
  'cities/currency': 'city/currency',
@@ -1039,15 +927,8 @@ export const RouteBreakdown = Object.freeze(
1039
927
  'city/timezone': 'city/timezone',
1040
928
  'city/venue': 'city/venue',
1041
929
  'city/venues': 'city/venues',
1042
- 'country': 'country',
1043
- 'countries': 'country',
1044
- 'currency': 'currency',
1045
- 'currencies': 'currency',
1046
- 'timezone': 'timezone',
1047
- 'timezones': 'timezone',
1048
930
  'venue': 'venue',
1049
931
  'venue/city': 'venue/city',
1050
- 'venues': 'venue',
1051
932
  'venues/search': 'venue/search',
1052
933
  'venues/city/search': 'venue/city/search',
1053
934
  'cover': 'cover',
@@ -1069,16 +950,11 @@ export const RouteBreakdown = Object.freeze(
1069
950
  'game/theme/cover': 'game/theme/cover',
1070
951
  'game/venue': 'game/venue',
1071
952
  'games/search': 'game/search',
1072
- 'games/status': 'game/status',
1073
953
  'games/status/search': 'game/status/search',
1074
- 'games/city': 'game/city',
1075
954
  'games/city/search': 'game/city/search',
1076
- 'games/summary': 'game/summary',
1077
955
  'games/summary/search': 'game/summary/search',
1078
- 'games/theme': 'game/theme',
1079
956
  'games/theme/search': 'game/theme/search',
1080
- 'games/theme/cover': 'game/theme/cover',
1081
- 'games/venue': 'game/venue',
957
+ 'games/theme/cover/search': 'game/theme/cover/search',
1082
958
  'games/venue/search': 'game/venue/search',
1083
959
  'registration': 'registration',
1084
960
  'registration/status': 'registration/status',
@@ -1093,19 +969,12 @@ export const RouteBreakdown = Object.freeze(
1093
969
  'registration/game/theme': 'registration/game/theme',
1094
970
  'registration/game/theme/cover': 'registration/game/theme/cover',
1095
971
  'registration/game/venue': 'registration/game/venue',
1096
- 'registrations': 'registration',
1097
972
  'registrations/search': 'registration/search',
1098
- 'registrations/status': 'registration/status',
1099
973
  'registrations/status/search': 'registration/status/search',
1100
- 'registrations/lineup': 'registration/lineup',
1101
974
  'registrations/lineup/search': 'registration/lineup/search',
1102
- 'registrations/city': 'registration/city',
1103
975
  'registrations/city/search': 'registration/city/search',
1104
- 'registrations/game': 'registration/game',
1105
976
  'registrations/game/search': 'registration/game/search',
1106
- 'registrations/game/status': 'registration/game/status',
1107
977
  'registrations/game/status/search': 'registration/game/status/search',
1108
- 'registrations/game/theme': 'registration/game/theme',
1109
978
  'registrations/game/theme/search': 'registration/game/theme/search',
1110
979
  'telegram/webhook': 'telegram/webhook',
1111
980
  'telegram/registration/mailing': 'telegram/registration/mailing',
@@ -1119,8 +988,6 @@ export const RouteBreakdown = Object.freeze(
1119
988
 
1120
989
  export const RouteRelation = Object.freeze(
1121
990
  /** @type {const} */ ({
1122
- 'role': 'role',
1123
- 'roles': 'role',
1124
991
  'user': 'user',
1125
992
  'user/password': 'user/password',
1126
993
  'user/role': 'user/role',
@@ -1130,7 +997,15 @@ export const RouteRelation = Object.freeze(
1130
997
  'users/password': 'user/password',
1131
998
  'users/role': 'user/role',
1132
999
  'users/cities': 'user/city',
1000
+ 'role': 'role',
1001
+ 'roles': 'role',
1133
1002
  'checkin': 'checkin',
1003
+ 'country': 'country',
1004
+ 'countries': 'country',
1005
+ 'currency': 'currency',
1006
+ 'currencies': 'currency',
1007
+ 'timezone': 'timezone',
1008
+ 'timezones': 'timezone',
1134
1009
  'cities': 'city',
1135
1010
  'cities/country': 'city/country',
1136
1011
  'cities/currency': 'city/currency',
@@ -1143,15 +1018,8 @@ export const RouteRelation = Object.freeze(
1143
1018
  'city/timezone': 'city/timezone',
1144
1019
  'city/venue': 'city/venue',
1145
1020
  'city/venues': 'city/venue',
1146
- 'country': 'country',
1147
- 'countries': 'country',
1148
- 'currency': 'currency',
1149
- 'currencies': 'currency',
1150
- 'timezone': 'timezone',
1151
- 'timezones': 'timezone',
1152
1021
  'venue': 'venue',
1153
1022
  'venue/city': 'venue/city',
1154
- 'venues': 'venue',
1155
1023
  'venues/search': 'venue/search',
1156
1024
  'venues/city/search': 'city/search',
1157
1025
  'cover': 'cover',
@@ -1173,16 +1041,11 @@ export const RouteRelation = Object.freeze(
1173
1041
  'game/theme/cover': 'theme/cover',
1174
1042
  'game/venue': 'game/venue',
1175
1043
  'games/search': 'game/search',
1176
- 'games/status': 'game/status',
1177
1044
  'games/status/search': 'status/search',
1178
- 'games/city': 'game/city',
1179
1045
  'games/city/search': 'city/search',
1180
- 'games/summary': 'game/summary',
1181
1046
  'games/summary/search': 'summary/search',
1182
- 'games/theme': 'game/theme',
1183
1047
  'games/theme/search': 'theme/search',
1184
- 'games/theme/cover': 'theme/cover',
1185
- 'games/venue': 'game/venue',
1048
+ 'games/theme/cover/search': 'cover/search',
1186
1049
  'games/venue/search': 'venue/search',
1187
1050
  'registration': 'registration',
1188
1051
  'registration/status': 'registration/status',
@@ -1197,19 +1060,12 @@ export const RouteRelation = Object.freeze(
1197
1060
  'registration/game/theme': 'game/theme',
1198
1061
  'registration/game/theme/cover': 'theme/cover',
1199
1062
  'registration/game/venue': 'game/venue',
1200
- 'registrations': 'registration',
1201
1063
  'registrations/search': 'registration/search',
1202
- 'registrations/status': 'registration/status',
1203
1064
  'registrations/status/search': 'status/search',
1204
- 'registrations/lineup': 'registration/lineup',
1205
1065
  'registrations/lineup/search': 'lineup/search',
1206
- 'registrations/city': 'registration/city',
1207
1066
  'registrations/city/search': 'city/search',
1208
- 'registrations/game': 'registration/game',
1209
1067
  'registrations/game/search': 'game/search',
1210
- 'registrations/game/status': 'game/status',
1211
1068
  'registrations/game/status/search': 'status/search',
1212
- 'registrations/game/theme': 'game/theme',
1213
1069
  'registrations/game/theme/search': 'theme/search',
1214
1070
  'telegram/webhook': 'telegram/webhook',
1215
1071
  'telegram/registration/mailing': 'registration/mailing',
@@ -1223,8 +1079,6 @@ export const RouteRelation = Object.freeze(
1223
1079
 
1224
1080
  export const RouteService = Object.freeze(
1225
1081
  /** @type {const} */ ({
1226
- 'role': 'Roles',
1227
- 'roles': 'Roles',
1228
1082
  'user': 'Users',
1229
1083
  'user/password': 'Users',
1230
1084
  'user/role': 'Users',
@@ -1234,7 +1088,15 @@ export const RouteService = Object.freeze(
1234
1088
  'users/password': 'Users',
1235
1089
  'users/role': 'Users',
1236
1090
  'users/cities': 'Users',
1091
+ 'role': 'Roles',
1092
+ 'roles': 'Roles',
1237
1093
  'checkin': 'Checkin',
1094
+ 'country': 'Locations',
1095
+ 'countries': 'Locations',
1096
+ 'currency': 'Locations',
1097
+ 'currencies': 'Locations',
1098
+ 'timezone': 'Locations',
1099
+ 'timezones': 'Locations',
1238
1100
  'cities': 'Cities',
1239
1101
  'cities/country': 'Cities',
1240
1102
  'cities/currency': 'Cities',
@@ -1247,15 +1109,8 @@ export const RouteService = Object.freeze(
1247
1109
  'city/timezone': 'Cities',
1248
1110
  'city/venue': 'Cities',
1249
1111
  'city/venues': 'Cities',
1250
- 'country': 'Locations',
1251
- 'countries': 'Locations',
1252
- 'currency': 'Locations',
1253
- 'currencies': 'Locations',
1254
- 'timezone': 'Locations',
1255
- 'timezones': 'Locations',
1256
1112
  'venue': 'Venues',
1257
1113
  'venue/city': 'Venues',
1258
- 'venues': 'Venues',
1259
1114
  'venues/search': 'Venues',
1260
1115
  'venues/city/search': 'Venues',
1261
1116
  'cover': 'Minio',
@@ -1277,16 +1132,11 @@ export const RouteService = Object.freeze(
1277
1132
  'game/theme/cover': 'Games',
1278
1133
  'game/venue': 'Games',
1279
1134
  'games/search': 'Games',
1280
- 'games/status': 'Games',
1281
1135
  'games/status/search': 'Games',
1282
- 'games/city': 'Games',
1283
1136
  'games/city/search': 'Games',
1284
- 'games/summary': 'Games',
1285
1137
  'games/summary/search': 'Games',
1286
- 'games/theme': 'Games',
1287
1138
  'games/theme/search': 'Games',
1288
- 'games/theme/cover': 'Games',
1289
- 'games/venue': 'Games',
1139
+ 'games/theme/cover/search': 'Games',
1290
1140
  'games/venue/search': 'Games',
1291
1141
  'registration': 'Registrations',
1292
1142
  'registration/status': 'Registrations',
@@ -1301,19 +1151,12 @@ export const RouteService = Object.freeze(
1301
1151
  'registration/game/theme': 'Registrations',
1302
1152
  'registration/game/theme/cover': 'Registrations',
1303
1153
  'registration/game/venue': 'Registrations',
1304
- 'registrations': 'Registrations',
1305
1154
  'registrations/search': 'Registrations',
1306
- 'registrations/status': 'Registrations',
1307
1155
  'registrations/status/search': 'Registrations',
1308
- 'registrations/lineup': 'Registrations',
1309
1156
  'registrations/lineup/search': 'Registrations',
1310
- 'registrations/city': 'Registrations',
1311
1157
  'registrations/city/search': 'Registrations',
1312
- 'registrations/game': 'Registrations',
1313
1158
  'registrations/game/search': 'Registrations',
1314
- 'registrations/game/status': 'Registrations',
1315
1159
  'registrations/game/status/search': 'Registrations',
1316
- 'registrations/game/theme': 'Registrations',
1317
1160
  'registrations/game/theme/search': 'Registrations',
1318
1161
  'telegram/webhook': 'Telegram',
1319
1162
  'telegram/registration/mailing': 'Telegram',
@@ -1327,10 +1170,6 @@ export const RouteService = Object.freeze(
1327
1170
 
1328
1171
  export const ServiceRoutes = Object.freeze(
1329
1172
  /** @type {const} */ ({
1330
- 'Roles': [
1331
- 'role',
1332
- 'roles',
1333
- ],
1334
1173
  'Users': [
1335
1174
  'user',
1336
1175
  'user/password',
@@ -1342,9 +1181,21 @@ export const ServiceRoutes = Object.freeze(
1342
1181
  'users/role',
1343
1182
  'users/cities',
1344
1183
  ],
1184
+ 'Roles': [
1185
+ 'role',
1186
+ 'roles',
1187
+ ],
1345
1188
  'Checkin': [
1346
1189
  'checkin',
1347
1190
  ],
1191
+ 'Locations': [
1192
+ 'country',
1193
+ 'countries',
1194
+ 'currency',
1195
+ 'currencies',
1196
+ 'timezone',
1197
+ 'timezones',
1198
+ ],
1348
1199
  'Cities': [
1349
1200
  'cities',
1350
1201
  'cities/country',
@@ -1359,18 +1210,9 @@ export const ServiceRoutes = Object.freeze(
1359
1210
  'city/venue',
1360
1211
  'city/venues',
1361
1212
  ],
1362
- 'Locations': [
1363
- 'country',
1364
- 'countries',
1365
- 'currency',
1366
- 'currencies',
1367
- 'timezone',
1368
- 'timezones',
1369
- ],
1370
1213
  'Venues': [
1371
1214
  'venue',
1372
1215
  'venue/city',
1373
- 'venues',
1374
1216
  'venues/search',
1375
1217
  'venues/city/search',
1376
1218
  ],
@@ -1398,16 +1240,11 @@ export const ServiceRoutes = Object.freeze(
1398
1240
  'game/theme/cover',
1399
1241
  'game/venue',
1400
1242
  'games/search',
1401
- 'games/status',
1402
1243
  'games/status/search',
1403
- 'games/city',
1404
1244
  'games/city/search',
1405
- 'games/summary',
1406
1245
  'games/summary/search',
1407
- 'games/theme',
1408
1246
  'games/theme/search',
1409
- 'games/theme/cover',
1410
- 'games/venue',
1247
+ 'games/theme/cover/search',
1411
1248
  'games/venue/search',
1412
1249
  ],
1413
1250
  'Registrations': [
@@ -1424,19 +1261,12 @@ export const ServiceRoutes = Object.freeze(
1424
1261
  'registration/game/theme',
1425
1262
  'registration/game/theme/cover',
1426
1263
  'registration/game/venue',
1427
- 'registrations',
1428
1264
  'registrations/search',
1429
- 'registrations/status',
1430
1265
  'registrations/status/search',
1431
- 'registrations/lineup',
1432
1266
  'registrations/lineup/search',
1433
- 'registrations/city',
1434
1267
  'registrations/city/search',
1435
- 'registrations/game',
1436
1268
  'registrations/game/search',
1437
- 'registrations/game/status',
1438
1269
  'registrations/game/status/search',
1439
- 'registrations/game/theme',
1440
1270
  'registrations/game/theme/search',
1441
1271
  ],
1442
1272
  'Telegram': [
@@ -1,7 +1,5 @@
1
1
  export const Routes = Object.freeze(
2
2
  /** @type {const} */ ([
3
- 'role',
4
- 'roles',
5
3
  'user',
6
4
  'user/password',
7
5
  'user/role',
@@ -11,7 +9,15 @@ export const Routes = Object.freeze(
11
9
  'users/password',
12
10
  'users/role',
13
11
  'users/cities',
12
+ 'role',
13
+ 'roles',
14
14
  'checkin',
15
+ 'country',
16
+ 'countries',
17
+ 'currency',
18
+ 'currencies',
19
+ 'timezone',
20
+ 'timezones',
15
21
  'cities',
16
22
  'cities/country',
17
23
  'cities/currency',
@@ -24,15 +30,8 @@ export const Routes = Object.freeze(
24
30
  'city/timezone',
25
31
  'city/venue',
26
32
  'city/venues',
27
- 'country',
28
- 'countries',
29
- 'currency',
30
- 'currencies',
31
- 'timezone',
32
- 'timezones',
33
33
  'venue',
34
34
  'venue/city',
35
- 'venues',
36
35
  'venues/search',
37
36
  'venues/city/search',
38
37
  'cover',
@@ -54,16 +53,11 @@ export const Routes = Object.freeze(
54
53
  'game/theme/cover',
55
54
  'game/venue',
56
55
  'games/search',
57
- 'games/status',
58
56
  'games/status/search',
59
- 'games/city',
60
57
  'games/city/search',
61
- 'games/summary',
62
58
  'games/summary/search',
63
- 'games/theme',
64
59
  'games/theme/search',
65
- 'games/theme/cover',
66
- 'games/venue',
60
+ 'games/theme/cover/search',
67
61
  'games/venue/search',
68
62
  'registration',
69
63
  'registration/status',
@@ -78,19 +72,12 @@ export const Routes = Object.freeze(
78
72
  'registration/game/theme',
79
73
  'registration/game/theme/cover',
80
74
  'registration/game/venue',
81
- 'registrations',
82
75
  'registrations/search',
83
- 'registrations/status',
84
76
  'registrations/status/search',
85
- 'registrations/lineup',
86
77
  'registrations/lineup/search',
87
- 'registrations/city',
88
78
  'registrations/city/search',
89
- 'registrations/game',
90
79
  'registrations/game/search',
91
- 'registrations/game/status',
92
80
  'registrations/game/status/search',
93
- 'registrations/game/theme',
94
81
  'registrations/game/theme/search',
95
82
  'telegram/webhook',
96
83
  'telegram/registration/mailing',
@@ -98,7 +85,7 @@ export const Routes = Object.freeze(
98
85
  'chatapp/registration',
99
86
  'chatapp/registration/mailing',
100
87
  'bitrix/registration',
101
- 'source'
88
+ 'source',
102
89
  ]),
103
90
  )
104
91