@shakerquiz/utilities 3.0.0 → 4.0.1
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/.github/workflows/publish.yml +32 -0
- package/package.json +5 -5
- package/scripts/route-cardinality.js +23 -0
- package/scripts/route-parameter.js +29 -0
- package/scripts/route-pathname.js +37 -0
- package/scripts/route-relation.js +26 -0
- package/scripts/route-service.js +25 -0
- package/scripts/templates/route-cardinality.js +5 -0
- package/scripts/templates/route-parameter.js +5 -0
- package/scripts/templates/route-pathname.js +7 -0
- package/scripts/templates/route-relation.js +5 -0
- package/scripts/templates/route-service.js +7 -0
- package/source/entities/blend.js +5 -0
- package/source/entities/cardinality.js +4 -0
- package/source/entities/category.js +4 -0
- package/source/entities/city-affilation.js +10 -0
- package/source/entities/city-chatapp-version.js +9 -0
- package/source/{enumerations/misc → entities}/constants.js +1 -1
- package/source/entities/display.js +4 -0
- package/source/entities/game-status.js +98 -0
- package/source/entities/gender.js +13 -0
- package/source/entities/icon.js +654 -0
- package/source/entities/key.js +41 -0
- package/source/{enumerations/core/methods.js → entities/method.js} +10 -4
- package/source/entities/mode.js +9 -0
- package/source/entities/network.js +9 -0
- package/source/entities/numerosity.js +5 -0
- package/source/entities/pattern.js +7 -0
- package/source/entities/phase.js +15 -0
- package/source/entities/quantifier.js +41 -0
- package/source/entities/registration-attribute.js +61 -0
- package/source/entities/registration-channel.js +11 -0
- package/source/entities/registration-lineup.js +14 -0
- package/source/entities/registration-mailing.js +20 -0
- package/source/entities/registration-status.js +19 -0
- package/source/entities/role.js +16 -0
- package/source/entities/route-cardinality.js +151 -0
- package/source/entities/route-parameter.js +151 -0
- package/source/entities/route-pathname.js +226 -0
- package/source/entities/route-relation.js +151 -0
- package/source/entities/route-service.js +181 -0
- package/source/entities/route.js +83 -0
- package/source/entities/runtime.js +6 -0
- package/source/entities/segment.js +255 -0
- package/source/entities/service-runtime.js +22 -0
- package/source/entities/service.js +22 -0
- package/source/entities/theme-status.js +9 -0
- package/source/entities/venue-audience.js +9 -0
- package/source/entities/venue-status.js +9 -0
- package/source/helpers/access.js +161 -0
- package/source/helpers/hydrate-route-pathname.js +29 -0
- package/source/helpers/tag.js +35 -0
- package/source/index.js +40 -34
- package/source/enumerations/core/features.js +0 -56
- package/source/enumerations/core/networks.js +0 -6
- package/source/enumerations/core/runtimes.js +0 -6
- package/source/enumerations/entities/affilation.js +0 -91
- package/source/enumerations/entities/cities-mode.js +0 -49
- package/source/enumerations/entities/city/timezone-mode.js +0 -44
- package/source/enumerations/entities/city/venues-mode.js +0 -60
- package/source/enumerations/entities/game-status.js +0 -130
- package/source/enumerations/entities/password-mode.js +0 -40
- package/source/enumerations/entities/registration-attribute.js +0 -83
- package/source/enumerations/entities/registration-channel.js +0 -26
- package/source/enumerations/entities/registration-lineup.js +0 -75
- package/source/enumerations/entities/registration-mailing.js +0 -24
- package/source/enumerations/entities/registration-status.js +0 -89
- package/source/enumerations/entities/role-mode.js +0 -40
- package/source/enumerations/entities/role.js +0 -82
- package/source/enumerations/entities/venue/audience.js +0 -100
- package/source/enumerations/entities/venue/city-mode.js +0 -44
- package/source/enumerations/entities/venue/status.js +0 -53
- package/source/enumerations/entities/version.js +0 -76
- package/source/enumerations/misc/icons.js +0 -655
- package/source/enumerations/misc/keys.js +0 -15
- package/source/enumerations/misc/phases.js +0 -42
- package/source/enumerations/misc/regexps.js +0 -5
- package/source/enumerations/misc/routes.js +0 -610
- package/source/functions/tag.d.ts +0 -1
- package/source/functions/tag.js +0 -5
- package/source/schemas/PATCH/city/admin.json +0 -126
- package/source/schemas/PATCH/city/currency/admin.json +0 -173
- package/source/schemas/PATCH/city/timezone/admin.json +0 -501
- package/source/schemas/PATCH/game/admin.json +0 -30
- package/source/schemas/PATCH/game/organizer.json +0 -30
- package/source/schemas/PATCH/registration/admin.json +0 -43
- package/source/schemas/PATCH/registration/cancellation/default.json +0 -12
- package/source/schemas/PATCH/registration/channel/default.json +0 -22
- package/source/schemas/PATCH/registration/confirmation/default.json +0 -12
- package/source/schemas/PATCH/registration/default.json +0 -10
- package/source/schemas/PATCH/registration/organizer.json +0 -43
- package/source/schemas/PATCH/theme/admin.json +0 -19
- package/source/schemas/PATCH/user/admin.json +0 -30
- package/source/schemas/PATCH/user/cities/admin.json +0 -17
- package/source/schemas/PATCH/user/password/admin.json +0 -12
- package/source/schemas/PATCH/user/role/admin.json +0 -13
- package/source/schemas/PATCH/venue/admin.json +0 -44
- package/source/schemas/PATCH/venue/organizer.json +0 -44
- package/source/schemas/POST/checkin/default.json +0 -16
- package/source/schemas/POST/city/admin.json +0 -696
- package/source/schemas/POST/game/admin.json +0 -27
- package/source/schemas/POST/game/organizer.json +0 -27
- package/source/schemas/POST/game/registrations/export/admin.json +0 -17
- package/source/schemas/POST/game/registrations/export/organizer.json +0 -17
- package/source/schemas/POST/registration/default.json +0 -125
- package/source/schemas/POST/registration/mailing/admin.json +0 -16
- package/source/schemas/POST/registration/mailing/organizer.json +0 -16
- package/source/schemas/POST/registrations/export/admin.json +0 -17
- package/source/schemas/POST/registrations/export/organizer.json +0 -17
- package/source/schemas/POST/theme/admin.json +0 -24
- package/source/schemas/POST/user/admin.json +0 -12
- package/source/schemas/POST/user/cities/admin.json +0 -17
- package/source/schemas/POST/user/password/admin.json +0 -12
- package/source/schemas/POST/user/role/admin.json +0 -13
- package/source/schemas/POST/venue/admin.json +0 -38
- package/source/schemas/POST/venue/organizer.json +0 -38
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
/* --- AUTOGENERATED --- */
|
|
2
|
+
|
|
3
|
+
export const RoutePathnames = Object.freeze( /** @type {const} */ ([
|
|
4
|
+
"role/:role",
|
|
5
|
+
"roles",
|
|
6
|
+
"user/:user",
|
|
7
|
+
"user/:user/password/:password",
|
|
8
|
+
"user/:user/role/:role",
|
|
9
|
+
"user/:user/city/:city",
|
|
10
|
+
"user/:user/cities",
|
|
11
|
+
"users",
|
|
12
|
+
"users/password/:password",
|
|
13
|
+
"users/role/:role",
|
|
14
|
+
"users/cities",
|
|
15
|
+
"checkin/:checkin",
|
|
16
|
+
"cities",
|
|
17
|
+
"cities/country/:country",
|
|
18
|
+
"cities/currency/:currency",
|
|
19
|
+
"cities/timezone/:timezone",
|
|
20
|
+
"cities/venues",
|
|
21
|
+
"city/:city",
|
|
22
|
+
"city/:city/vk_group_token/:vk_group_token",
|
|
23
|
+
"city/:city/country/:country",
|
|
24
|
+
"city/:city/currency/:currency",
|
|
25
|
+
"city/:city/timezone/:timezone",
|
|
26
|
+
"city/:city/venue/:venue",
|
|
27
|
+
"city/:city/venues",
|
|
28
|
+
"country/:country",
|
|
29
|
+
"countries",
|
|
30
|
+
"currency/:currency",
|
|
31
|
+
"currencies",
|
|
32
|
+
"timezone/:timezone",
|
|
33
|
+
"timezones",
|
|
34
|
+
"venue/:venue",
|
|
35
|
+
"venue/:venue/city/:city",
|
|
36
|
+
"venues",
|
|
37
|
+
"venues/city/:city",
|
|
38
|
+
"theme/:theme",
|
|
39
|
+
"theme/:theme/cover/:cover",
|
|
40
|
+
"themes",
|
|
41
|
+
"themes/cover/:cover",
|
|
42
|
+
"themes/games",
|
|
43
|
+
"game/:game",
|
|
44
|
+
"game/:game/city/:city",
|
|
45
|
+
"game/:game/registration/:registration",
|
|
46
|
+
"game/:game/registrations",
|
|
47
|
+
"game/:game/registrations/export/:export",
|
|
48
|
+
"game/:game/summary/:summary",
|
|
49
|
+
"game/:game/theme/:theme",
|
|
50
|
+
"game/:game/theme/:theme/cover/:cover",
|
|
51
|
+
"game/:game/venue/:venue",
|
|
52
|
+
"games",
|
|
53
|
+
"games/city/:city",
|
|
54
|
+
"games/registrations",
|
|
55
|
+
"games/registrations/export/:export",
|
|
56
|
+
"games/summary/:summary",
|
|
57
|
+
"games/theme/:theme",
|
|
58
|
+
"games/theme/:theme/cover/:cover",
|
|
59
|
+
"games/venue/:venue",
|
|
60
|
+
"registration/:registration",
|
|
61
|
+
"registration/:registration/cancellation/:cancellation",
|
|
62
|
+
"registration/:registration/channel/:channel",
|
|
63
|
+
"registration/:registration/confirmation/:confirmation",
|
|
64
|
+
"registration/:registration/export/:export",
|
|
65
|
+
"registration/:registration/city/:city",
|
|
66
|
+
"registration/:registration/game/:game",
|
|
67
|
+
"registration/:registration/game/:game/theme/:theme",
|
|
68
|
+
"registration/:registration/game/:game/theme/:theme/cover/:cover",
|
|
69
|
+
"registration/:registration/game/:game/venue/:venue",
|
|
70
|
+
"registration/:registration/mailing/:mailing",
|
|
71
|
+
"registrations",
|
|
72
|
+
"registrations/city/:city",
|
|
73
|
+
"registrations/game/:game",
|
|
74
|
+
"registrations/game/:game/theme/:theme",
|
|
75
|
+
"registrations/export/:export"
|
|
76
|
+
]))
|
|
77
|
+
|
|
78
|
+
export const RoutePathname = Object.freeze(/** @type {const} */ ({
|
|
79
|
+
"role": "role/:role",
|
|
80
|
+
"roles": "roles",
|
|
81
|
+
"user": "user/:user",
|
|
82
|
+
"user/password": "user/:user/password/:password",
|
|
83
|
+
"user/role": "user/:user/role/:role",
|
|
84
|
+
"user/city": "user/:user/city/:city",
|
|
85
|
+
"user/cities": "user/:user/cities",
|
|
86
|
+
"users": "users",
|
|
87
|
+
"users/password": "users/password/:password",
|
|
88
|
+
"users/role": "users/role/:role",
|
|
89
|
+
"users/cities": "users/cities",
|
|
90
|
+
"checkin": "checkin/:checkin",
|
|
91
|
+
"cities": "cities",
|
|
92
|
+
"cities/country": "cities/country/:country",
|
|
93
|
+
"cities/currency": "cities/currency/:currency",
|
|
94
|
+
"cities/timezone": "cities/timezone/:timezone",
|
|
95
|
+
"cities/venues": "cities/venues",
|
|
96
|
+
"city": "city/:city",
|
|
97
|
+
"city/vk_group_token": "city/:city/vk_group_token/:vk_group_token",
|
|
98
|
+
"city/country": "city/:city/country/:country",
|
|
99
|
+
"city/currency": "city/:city/currency/:currency",
|
|
100
|
+
"city/timezone": "city/:city/timezone/:timezone",
|
|
101
|
+
"city/venue": "city/:city/venue/:venue",
|
|
102
|
+
"city/venues": "city/:city/venues",
|
|
103
|
+
"country": "country/:country",
|
|
104
|
+
"countries": "countries",
|
|
105
|
+
"currency": "currency/:currency",
|
|
106
|
+
"currencies": "currencies",
|
|
107
|
+
"timezone": "timezone/:timezone",
|
|
108
|
+
"timezones": "timezones",
|
|
109
|
+
"venue": "venue/:venue",
|
|
110
|
+
"venue/city": "venue/:venue/city/:city",
|
|
111
|
+
"venues": "venues",
|
|
112
|
+
"venues/city": "venues/city/:city",
|
|
113
|
+
"theme": "theme/:theme",
|
|
114
|
+
"theme/cover": "theme/:theme/cover/:cover",
|
|
115
|
+
"themes": "themes",
|
|
116
|
+
"themes/cover": "themes/cover/:cover",
|
|
117
|
+
"themes/games": "themes/games",
|
|
118
|
+
"game": "game/:game",
|
|
119
|
+
"game/city": "game/:game/city/:city",
|
|
120
|
+
"game/registration": "game/:game/registration/:registration",
|
|
121
|
+
"game/registrations": "game/:game/registrations",
|
|
122
|
+
"game/registrations/export": "game/:game/registrations/export/:export",
|
|
123
|
+
"game/summary": "game/:game/summary/:summary",
|
|
124
|
+
"game/theme": "game/:game/theme/:theme",
|
|
125
|
+
"game/theme/cover": "game/:game/theme/:theme/cover/:cover",
|
|
126
|
+
"game/venue": "game/:game/venue/:venue",
|
|
127
|
+
"games": "games",
|
|
128
|
+
"games/city": "games/city/:city",
|
|
129
|
+
"games/registrations": "games/registrations",
|
|
130
|
+
"games/registrations/export": "games/registrations/export/:export",
|
|
131
|
+
"games/summary": "games/summary/:summary",
|
|
132
|
+
"games/theme": "games/theme/:theme",
|
|
133
|
+
"games/theme/cover": "games/theme/:theme/cover/:cover",
|
|
134
|
+
"games/venue": "games/venue/:venue",
|
|
135
|
+
"registration": "registration/:registration",
|
|
136
|
+
"registration/cancellation": "registration/:registration/cancellation/:cancellation",
|
|
137
|
+
"registration/channel": "registration/:registration/channel/:channel",
|
|
138
|
+
"registration/confirmation": "registration/:registration/confirmation/:confirmation",
|
|
139
|
+
"registration/export": "registration/:registration/export/:export",
|
|
140
|
+
"registration/city": "registration/:registration/city/:city",
|
|
141
|
+
"registration/game": "registration/:registration/game/:game",
|
|
142
|
+
"registration/game/theme": "registration/:registration/game/:game/theme/:theme",
|
|
143
|
+
"registration/game/theme/cover": "registration/:registration/game/:game/theme/:theme/cover/:cover",
|
|
144
|
+
"registration/game/venue": "registration/:registration/game/:game/venue/:venue",
|
|
145
|
+
"registration/mailing": "registration/:registration/mailing/:mailing",
|
|
146
|
+
"registrations": "registrations",
|
|
147
|
+
"registrations/city": "registrations/city/:city",
|
|
148
|
+
"registrations/game": "registrations/game/:game",
|
|
149
|
+
"registrations/game/theme": "registrations/game/:game/theme/:theme",
|
|
150
|
+
"registrations/export": "registrations/export/:export"
|
|
151
|
+
}))
|
|
152
|
+
|
|
153
|
+
export const PathnameRoute = Object.freeze(/** @type {const} */ ({
|
|
154
|
+
"role/:role": "role",
|
|
155
|
+
"roles": "roles",
|
|
156
|
+
"user/:user": "user",
|
|
157
|
+
"user/:user/password/:password": "user/password",
|
|
158
|
+
"user/:user/role/:role": "user/role",
|
|
159
|
+
"user/:user/city/:city": "user/city",
|
|
160
|
+
"user/:user/cities": "user/cities",
|
|
161
|
+
"users": "users",
|
|
162
|
+
"users/password/:password": "users/password",
|
|
163
|
+
"users/role/:role": "users/role",
|
|
164
|
+
"users/cities": "users/cities",
|
|
165
|
+
"checkin/:checkin": "checkin",
|
|
166
|
+
"cities": "cities",
|
|
167
|
+
"cities/country/:country": "cities/country",
|
|
168
|
+
"cities/currency/:currency": "cities/currency",
|
|
169
|
+
"cities/timezone/:timezone": "cities/timezone",
|
|
170
|
+
"cities/venues": "cities/venues",
|
|
171
|
+
"city/:city": "city",
|
|
172
|
+
"city/:city/vk_group_token/:vk_group_token": "city/vk_group_token",
|
|
173
|
+
"city/:city/country/:country": "city/country",
|
|
174
|
+
"city/:city/currency/:currency": "city/currency",
|
|
175
|
+
"city/:city/timezone/:timezone": "city/timezone",
|
|
176
|
+
"city/:city/venue/:venue": "city/venue",
|
|
177
|
+
"city/:city/venues": "city/venues",
|
|
178
|
+
"country/:country": "country",
|
|
179
|
+
"countries": "countries",
|
|
180
|
+
"currency/:currency": "currency",
|
|
181
|
+
"currencies": "currencies",
|
|
182
|
+
"timezone/:timezone": "timezone",
|
|
183
|
+
"timezones": "timezones",
|
|
184
|
+
"venue/:venue": "venue",
|
|
185
|
+
"venue/:venue/city/:city": "venue/city",
|
|
186
|
+
"venues": "venues",
|
|
187
|
+
"venues/city/:city": "venues/city",
|
|
188
|
+
"theme/:theme": "theme",
|
|
189
|
+
"theme/:theme/cover/:cover": "theme/cover",
|
|
190
|
+
"themes": "themes",
|
|
191
|
+
"themes/cover/:cover": "themes/cover",
|
|
192
|
+
"themes/games": "themes/games",
|
|
193
|
+
"game/:game": "game",
|
|
194
|
+
"game/:game/city/:city": "game/city",
|
|
195
|
+
"game/:game/registration/:registration": "game/registration",
|
|
196
|
+
"game/:game/registrations": "game/registrations",
|
|
197
|
+
"game/:game/registrations/export/:export": "game/registrations/export",
|
|
198
|
+
"game/:game/summary/:summary": "game/summary",
|
|
199
|
+
"game/:game/theme/:theme": "game/theme",
|
|
200
|
+
"game/:game/theme/:theme/cover/:cover": "game/theme/cover",
|
|
201
|
+
"game/:game/venue/:venue": "game/venue",
|
|
202
|
+
"games": "games",
|
|
203
|
+
"games/city/:city": "games/city",
|
|
204
|
+
"games/registrations": "games/registrations",
|
|
205
|
+
"games/registrations/export/:export": "games/registrations/export",
|
|
206
|
+
"games/summary/:summary": "games/summary",
|
|
207
|
+
"games/theme/:theme": "games/theme",
|
|
208
|
+
"games/theme/:theme/cover/:cover": "games/theme/cover",
|
|
209
|
+
"games/venue/:venue": "games/venue",
|
|
210
|
+
"registration/:registration": "registration",
|
|
211
|
+
"registration/:registration/cancellation/:cancellation": "registration/cancellation",
|
|
212
|
+
"registration/:registration/channel/:channel": "registration/channel",
|
|
213
|
+
"registration/:registration/confirmation/:confirmation": "registration/confirmation",
|
|
214
|
+
"registration/:registration/export/:export": "registration/export",
|
|
215
|
+
"registration/:registration/city/:city": "registration/city",
|
|
216
|
+
"registration/:registration/game/:game": "registration/game",
|
|
217
|
+
"registration/:registration/game/:game/theme/:theme": "registration/game/theme",
|
|
218
|
+
"registration/:registration/game/:game/theme/:theme/cover/:cover": "registration/game/theme/cover",
|
|
219
|
+
"registration/:registration/game/:game/venue/:venue": "registration/game/venue",
|
|
220
|
+
"registration/:registration/mailing/:mailing": "registration/mailing",
|
|
221
|
+
"registrations": "registrations",
|
|
222
|
+
"registrations/city/:city": "registrations/city",
|
|
223
|
+
"registrations/game/:game": "registrations/game",
|
|
224
|
+
"registrations/game/:game/theme/:theme": "registrations/game/theme",
|
|
225
|
+
"registrations/export/:export": "registrations/export"
|
|
226
|
+
}))
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/* --- AUTOGENERATED --- */
|
|
2
|
+
|
|
3
|
+
export const RouteRelations = Object.freeze( /** @type {const} */ ([
|
|
4
|
+
"role",
|
|
5
|
+
"role",
|
|
6
|
+
"user",
|
|
7
|
+
"user/password",
|
|
8
|
+
"user/role",
|
|
9
|
+
"user/city",
|
|
10
|
+
"user/cities",
|
|
11
|
+
"user",
|
|
12
|
+
"user/password",
|
|
13
|
+
"user/role",
|
|
14
|
+
"user/cities",
|
|
15
|
+
"checkin",
|
|
16
|
+
"city",
|
|
17
|
+
"city/country",
|
|
18
|
+
"city/currency",
|
|
19
|
+
"city/timezone",
|
|
20
|
+
"city/venues",
|
|
21
|
+
"city",
|
|
22
|
+
"city/vk_group_token",
|
|
23
|
+
"city/country",
|
|
24
|
+
"city/currency",
|
|
25
|
+
"city/timezone",
|
|
26
|
+
"city/venue",
|
|
27
|
+
"city/venues",
|
|
28
|
+
"country",
|
|
29
|
+
"country",
|
|
30
|
+
"currency",
|
|
31
|
+
"currency",
|
|
32
|
+
"timezone",
|
|
33
|
+
"timezone",
|
|
34
|
+
"venue",
|
|
35
|
+
"venue/city",
|
|
36
|
+
"venue",
|
|
37
|
+
"venue/city",
|
|
38
|
+
"theme",
|
|
39
|
+
"theme/cover",
|
|
40
|
+
"theme",
|
|
41
|
+
"theme/cover",
|
|
42
|
+
"theme/games",
|
|
43
|
+
"game",
|
|
44
|
+
"game/city",
|
|
45
|
+
"game/registration",
|
|
46
|
+
"game/registrations",
|
|
47
|
+
"game/registrations/export",
|
|
48
|
+
"game/summary",
|
|
49
|
+
"game/theme",
|
|
50
|
+
"game/theme/cover",
|
|
51
|
+
"game/venue",
|
|
52
|
+
"game",
|
|
53
|
+
"game/city",
|
|
54
|
+
"game/registrations",
|
|
55
|
+
"game/registrations/export",
|
|
56
|
+
"game/summary",
|
|
57
|
+
"game/theme",
|
|
58
|
+
"game/theme/cover",
|
|
59
|
+
"game/venue",
|
|
60
|
+
"registration",
|
|
61
|
+
"registration/cancellation",
|
|
62
|
+
"registration/channel",
|
|
63
|
+
"registration/confirmation",
|
|
64
|
+
"registration/export",
|
|
65
|
+
"registration/city",
|
|
66
|
+
"registration/game",
|
|
67
|
+
"registration/game/theme",
|
|
68
|
+
"registration/game/theme/cover",
|
|
69
|
+
"registration/game/venue",
|
|
70
|
+
"registration/mailing",
|
|
71
|
+
"registration",
|
|
72
|
+
"registration/city",
|
|
73
|
+
"registration/game",
|
|
74
|
+
"registration/game/theme",
|
|
75
|
+
"registration/export"
|
|
76
|
+
]))
|
|
77
|
+
|
|
78
|
+
export const RouteRelation = Object.freeze(/** @type {const} */ ({
|
|
79
|
+
"role": "role",
|
|
80
|
+
"roles": "role",
|
|
81
|
+
"user": "user",
|
|
82
|
+
"user/password": "user/password",
|
|
83
|
+
"user/role": "user/role",
|
|
84
|
+
"user/city": "user/city",
|
|
85
|
+
"user/cities": "user/cities",
|
|
86
|
+
"users": "user",
|
|
87
|
+
"users/password": "user/password",
|
|
88
|
+
"users/role": "user/role",
|
|
89
|
+
"users/cities": "user/cities",
|
|
90
|
+
"checkin": "checkin",
|
|
91
|
+
"cities": "city",
|
|
92
|
+
"cities/country": "city/country",
|
|
93
|
+
"cities/currency": "city/currency",
|
|
94
|
+
"cities/timezone": "city/timezone",
|
|
95
|
+
"cities/venues": "city/venues",
|
|
96
|
+
"city": "city",
|
|
97
|
+
"city/vk_group_token": "city/vk_group_token",
|
|
98
|
+
"city/country": "city/country",
|
|
99
|
+
"city/currency": "city/currency",
|
|
100
|
+
"city/timezone": "city/timezone",
|
|
101
|
+
"city/venue": "city/venue",
|
|
102
|
+
"city/venues": "city/venues",
|
|
103
|
+
"country": "country",
|
|
104
|
+
"countries": "country",
|
|
105
|
+
"currency": "currency",
|
|
106
|
+
"currencies": "currency",
|
|
107
|
+
"timezone": "timezone",
|
|
108
|
+
"timezones": "timezone",
|
|
109
|
+
"venue": "venue",
|
|
110
|
+
"venue/city": "venue/city",
|
|
111
|
+
"venues": "venue",
|
|
112
|
+
"venues/city": "venue/city",
|
|
113
|
+
"theme": "theme",
|
|
114
|
+
"theme/cover": "theme/cover",
|
|
115
|
+
"themes": "theme",
|
|
116
|
+
"themes/cover": "theme/cover",
|
|
117
|
+
"themes/games": "theme/games",
|
|
118
|
+
"game": "game",
|
|
119
|
+
"game/city": "game/city",
|
|
120
|
+
"game/registration": "game/registration",
|
|
121
|
+
"game/registrations": "game/registrations",
|
|
122
|
+
"game/registrations/export": "game/registrations/export",
|
|
123
|
+
"game/summary": "game/summary",
|
|
124
|
+
"game/theme": "game/theme",
|
|
125
|
+
"game/theme/cover": "game/theme/cover",
|
|
126
|
+
"game/venue": "game/venue",
|
|
127
|
+
"games": "game",
|
|
128
|
+
"games/city": "game/city",
|
|
129
|
+
"games/registrations": "game/registrations",
|
|
130
|
+
"games/registrations/export": "game/registrations/export",
|
|
131
|
+
"games/summary": "game/summary",
|
|
132
|
+
"games/theme": "game/theme",
|
|
133
|
+
"games/theme/cover": "game/theme/cover",
|
|
134
|
+
"games/venue": "game/venue",
|
|
135
|
+
"registration": "registration",
|
|
136
|
+
"registration/cancellation": "registration/cancellation",
|
|
137
|
+
"registration/channel": "registration/channel",
|
|
138
|
+
"registration/confirmation": "registration/confirmation",
|
|
139
|
+
"registration/export": "registration/export",
|
|
140
|
+
"registration/city": "registration/city",
|
|
141
|
+
"registration/game": "registration/game",
|
|
142
|
+
"registration/game/theme": "registration/game/theme",
|
|
143
|
+
"registration/game/theme/cover": "registration/game/theme/cover",
|
|
144
|
+
"registration/game/venue": "registration/game/venue",
|
|
145
|
+
"registration/mailing": "registration/mailing",
|
|
146
|
+
"registrations": "registration",
|
|
147
|
+
"registrations/city": "registration/city",
|
|
148
|
+
"registrations/game": "registration/game",
|
|
149
|
+
"registrations/game/theme": "registration/game/theme",
|
|
150
|
+
"registrations/export": "registration/export"
|
|
151
|
+
}))
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
/* --- AUTOGENERATED --- */
|
|
2
|
+
|
|
3
|
+
export const RouteServices = Object.freeze( /** @type {const} */ ([
|
|
4
|
+
"Roles",
|
|
5
|
+
"Users",
|
|
6
|
+
"Checkin",
|
|
7
|
+
"Cities",
|
|
8
|
+
"Locations",
|
|
9
|
+
"Venues",
|
|
10
|
+
"Themes",
|
|
11
|
+
"Games",
|
|
12
|
+
"Registrations"
|
|
13
|
+
]))
|
|
14
|
+
|
|
15
|
+
export const RouteService = Object.freeze(/** @type {const} */ ({
|
|
16
|
+
"role": "Roles",
|
|
17
|
+
"roles": "Roles",
|
|
18
|
+
"user": "Users",
|
|
19
|
+
"user/password": "Users",
|
|
20
|
+
"user/role": "Users",
|
|
21
|
+
"user/city": "Users",
|
|
22
|
+
"user/cities": "Users",
|
|
23
|
+
"users": "Users",
|
|
24
|
+
"users/password": "Users",
|
|
25
|
+
"users/role": "Users",
|
|
26
|
+
"users/cities": "Users",
|
|
27
|
+
"checkin": "Checkin",
|
|
28
|
+
"cities": "Cities",
|
|
29
|
+
"cities/country": "Cities",
|
|
30
|
+
"cities/currency": "Cities",
|
|
31
|
+
"cities/timezone": "Cities",
|
|
32
|
+
"cities/venues": "Cities",
|
|
33
|
+
"city": "Cities",
|
|
34
|
+
"city/vk_group_token": "Cities",
|
|
35
|
+
"city/country": "Cities",
|
|
36
|
+
"city/currency": "Cities",
|
|
37
|
+
"city/timezone": "Cities",
|
|
38
|
+
"city/venue": "Cities",
|
|
39
|
+
"city/venues": "Cities",
|
|
40
|
+
"country": "Locations",
|
|
41
|
+
"countries": "Locations",
|
|
42
|
+
"currency": "Locations",
|
|
43
|
+
"currencies": "Locations",
|
|
44
|
+
"timezone": "Locations",
|
|
45
|
+
"timezones": "Locations",
|
|
46
|
+
"venue": "Venues",
|
|
47
|
+
"venue/city": "Venues",
|
|
48
|
+
"venues": "Venues",
|
|
49
|
+
"venues/city": "Venues",
|
|
50
|
+
"theme": "Themes",
|
|
51
|
+
"theme/cover": "Themes",
|
|
52
|
+
"themes": "Themes",
|
|
53
|
+
"themes/cover": "Themes",
|
|
54
|
+
"themes/games": "Themes",
|
|
55
|
+
"game": "Games",
|
|
56
|
+
"game/city": "Games",
|
|
57
|
+
"game/registration": "Games",
|
|
58
|
+
"game/registrations": "Games",
|
|
59
|
+
"game/registrations/export": "Games",
|
|
60
|
+
"game/summary": "Games",
|
|
61
|
+
"game/theme": "Games",
|
|
62
|
+
"game/theme/cover": "Games",
|
|
63
|
+
"game/venue": "Games",
|
|
64
|
+
"games": "Games",
|
|
65
|
+
"games/city": "Games",
|
|
66
|
+
"games/registrations": "Games",
|
|
67
|
+
"games/registrations/export": "Games",
|
|
68
|
+
"games/summary": "Games",
|
|
69
|
+
"games/theme": "Games",
|
|
70
|
+
"games/theme/cover": "Games",
|
|
71
|
+
"games/venue": "Games",
|
|
72
|
+
"registration": "Registrations",
|
|
73
|
+
"registration/cancellation": "Registrations",
|
|
74
|
+
"registration/channel": "Registrations",
|
|
75
|
+
"registration/confirmation": "Registrations",
|
|
76
|
+
"registration/export": "Registrations",
|
|
77
|
+
"registration/city": "Registrations",
|
|
78
|
+
"registration/game": "Registrations",
|
|
79
|
+
"registration/game/theme": "Registrations",
|
|
80
|
+
"registration/game/theme/cover": "Registrations",
|
|
81
|
+
"registration/game/venue": "Registrations",
|
|
82
|
+
"registration/mailing": "Registrations",
|
|
83
|
+
"registrations": "Registrations",
|
|
84
|
+
"registrations/city": "Registrations",
|
|
85
|
+
"registrations/game": "Registrations",
|
|
86
|
+
"registrations/game/theme": "Registrations",
|
|
87
|
+
"registrations/export": "Registrations"
|
|
88
|
+
}))
|
|
89
|
+
|
|
90
|
+
export const ServiceRoutes = Object.freeze(/** @type {const} */ ({
|
|
91
|
+
"Roles": [
|
|
92
|
+
"role",
|
|
93
|
+
"roles"
|
|
94
|
+
],
|
|
95
|
+
"Users": [
|
|
96
|
+
"user",
|
|
97
|
+
"user/password",
|
|
98
|
+
"user/role",
|
|
99
|
+
"user/city",
|
|
100
|
+
"user/cities",
|
|
101
|
+
"users",
|
|
102
|
+
"users/password",
|
|
103
|
+
"users/role",
|
|
104
|
+
"users/cities"
|
|
105
|
+
],
|
|
106
|
+
"Checkin": [
|
|
107
|
+
"checkin"
|
|
108
|
+
],
|
|
109
|
+
"Cities": [
|
|
110
|
+
"cities",
|
|
111
|
+
"cities/country",
|
|
112
|
+
"cities/currency",
|
|
113
|
+
"cities/timezone",
|
|
114
|
+
"cities/venues",
|
|
115
|
+
"city",
|
|
116
|
+
"city/vk_group_token",
|
|
117
|
+
"city/country",
|
|
118
|
+
"city/currency",
|
|
119
|
+
"city/timezone",
|
|
120
|
+
"city/venue",
|
|
121
|
+
"city/venues"
|
|
122
|
+
],
|
|
123
|
+
"Locations": [
|
|
124
|
+
"country",
|
|
125
|
+
"countries",
|
|
126
|
+
"currency",
|
|
127
|
+
"currencies",
|
|
128
|
+
"timezone",
|
|
129
|
+
"timezones"
|
|
130
|
+
],
|
|
131
|
+
"Venues": [
|
|
132
|
+
"venue",
|
|
133
|
+
"venue/city",
|
|
134
|
+
"venues",
|
|
135
|
+
"venues/city"
|
|
136
|
+
],
|
|
137
|
+
"Themes": [
|
|
138
|
+
"theme",
|
|
139
|
+
"theme/cover",
|
|
140
|
+
"themes",
|
|
141
|
+
"themes/cover",
|
|
142
|
+
"themes/games"
|
|
143
|
+
],
|
|
144
|
+
"Games": [
|
|
145
|
+
"game",
|
|
146
|
+
"game/city",
|
|
147
|
+
"game/registration",
|
|
148
|
+
"game/registrations",
|
|
149
|
+
"game/registrations/export",
|
|
150
|
+
"game/summary",
|
|
151
|
+
"game/theme",
|
|
152
|
+
"game/theme/cover",
|
|
153
|
+
"game/venue",
|
|
154
|
+
"games",
|
|
155
|
+
"games/city",
|
|
156
|
+
"games/registrations",
|
|
157
|
+
"games/registrations/export",
|
|
158
|
+
"games/summary",
|
|
159
|
+
"games/theme",
|
|
160
|
+
"games/theme/cover",
|
|
161
|
+
"games/venue"
|
|
162
|
+
],
|
|
163
|
+
"Registrations": [
|
|
164
|
+
"registration",
|
|
165
|
+
"registration/cancellation",
|
|
166
|
+
"registration/channel",
|
|
167
|
+
"registration/confirmation",
|
|
168
|
+
"registration/export",
|
|
169
|
+
"registration/city",
|
|
170
|
+
"registration/game",
|
|
171
|
+
"registration/game/theme",
|
|
172
|
+
"registration/game/theme/cover",
|
|
173
|
+
"registration/game/venue",
|
|
174
|
+
"registration/mailing",
|
|
175
|
+
"registrations",
|
|
176
|
+
"registrations/city",
|
|
177
|
+
"registrations/game",
|
|
178
|
+
"registrations/game/theme",
|
|
179
|
+
"registrations/export"
|
|
180
|
+
]
|
|
181
|
+
}))
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
export const Routes = Object.freeze(
|
|
2
|
+
/** @type {const} */ ([
|
|
3
|
+
'role',
|
|
4
|
+
'roles',
|
|
5
|
+
'user',
|
|
6
|
+
'user/password',
|
|
7
|
+
'user/role',
|
|
8
|
+
'user/city',
|
|
9
|
+
'user/cities',
|
|
10
|
+
'users',
|
|
11
|
+
'users/password',
|
|
12
|
+
'users/role',
|
|
13
|
+
'users/cities',
|
|
14
|
+
'checkin',
|
|
15
|
+
'cities',
|
|
16
|
+
'cities/country',
|
|
17
|
+
'cities/currency',
|
|
18
|
+
'cities/timezone',
|
|
19
|
+
'cities/venues',
|
|
20
|
+
'city',
|
|
21
|
+
'city/vk_group_token',
|
|
22
|
+
'city/country',
|
|
23
|
+
'city/currency',
|
|
24
|
+
'city/timezone',
|
|
25
|
+
'city/venue',
|
|
26
|
+
'city/venues',
|
|
27
|
+
'country',
|
|
28
|
+
'countries',
|
|
29
|
+
'currency',
|
|
30
|
+
'currencies',
|
|
31
|
+
'timezone',
|
|
32
|
+
'timezones',
|
|
33
|
+
'venue',
|
|
34
|
+
'venue/city',
|
|
35
|
+
'venues',
|
|
36
|
+
'venues/city',
|
|
37
|
+
'theme',
|
|
38
|
+
'theme/cover',
|
|
39
|
+
'themes',
|
|
40
|
+
'themes/cover',
|
|
41
|
+
'themes/games',
|
|
42
|
+
'game',
|
|
43
|
+
'game/city',
|
|
44
|
+
'game/registration',
|
|
45
|
+
'game/registrations',
|
|
46
|
+
'game/registrations/export',
|
|
47
|
+
'game/summary',
|
|
48
|
+
'game/theme',
|
|
49
|
+
'game/theme/cover',
|
|
50
|
+
'game/venue',
|
|
51
|
+
'games',
|
|
52
|
+
'games/city',
|
|
53
|
+
'games/registrations',
|
|
54
|
+
'games/registrations/export',
|
|
55
|
+
'games/summary',
|
|
56
|
+
'games/theme',
|
|
57
|
+
'games/theme/cover',
|
|
58
|
+
'games/venue',
|
|
59
|
+
'registration',
|
|
60
|
+
'registration/cancellation',
|
|
61
|
+
'registration/channel',
|
|
62
|
+
'registration/confirmation',
|
|
63
|
+
'registration/export',
|
|
64
|
+
'registration/city',
|
|
65
|
+
'registration/game',
|
|
66
|
+
'registration/game/theme',
|
|
67
|
+
'registration/game/theme/cover',
|
|
68
|
+
'registration/game/venue',
|
|
69
|
+
'registration/mailing',
|
|
70
|
+
'registrations',
|
|
71
|
+
'registrations/city',
|
|
72
|
+
'registrations/game',
|
|
73
|
+
'registrations/game/theme',
|
|
74
|
+
'registrations/export',
|
|
75
|
+
]),
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
export const Route = Object.freeze(
|
|
79
|
+
/** @type {{ [x in typeof Routes[number]]: x }} */ (Routes.reduce(
|
|
80
|
+
(o, x) => (o[x] = x, o),
|
|
81
|
+
{},
|
|
82
|
+
)),
|
|
83
|
+
)
|