@shakerquiz/utilities 0.5.195 → 0.5.197
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 +1 -1
- package/source/enumerations/route.js +30 -0
package/package.json
CHANGED
|
@@ -38,9 +38,14 @@ export const Route = Object.freeze({
|
|
|
38
38
|
'registration/channel': 'registration/channel',
|
|
39
39
|
'registration/confirmation': 'registration/confirmation',
|
|
40
40
|
'registration/export': 'registration/export',
|
|
41
|
+
'registration/city': 'registration/city',
|
|
41
42
|
'registration/game': 'registration/game',
|
|
43
|
+
'registration/game/theme': 'registration/game/theme',
|
|
42
44
|
'registration/mailing': 'registration/mailing',
|
|
43
45
|
'registrations': 'registrations',
|
|
46
|
+
'registrations/city': 'registrations/city',
|
|
47
|
+
'registrations/game': 'registrations/game',
|
|
48
|
+
'registrations/game/theme': 'registrations/game/theme',
|
|
44
49
|
'registrations/export': 'registrations/export',
|
|
45
50
|
'role': 'role',
|
|
46
51
|
'roles': 'roles',
|
|
@@ -100,8 +105,13 @@ export const RouteCardinality = Object.freeze({
|
|
|
100
105
|
[Route['games/theme']]: Cardinality['N-1'],
|
|
101
106
|
[Route['games/venue']]: Cardinality['N-1'],
|
|
102
107
|
[Route['registration']]: Cardinality['1'],
|
|
108
|
+
[Route['registration/city']]: Cardinality['1-1'],
|
|
109
|
+
[Route['registration/game/theme']]: Cardinality['1-1'],
|
|
103
110
|
[Route['registration/export']]: Cardinality['1'],
|
|
104
111
|
[Route['registrations']]: Cardinality['N'],
|
|
112
|
+
[Route['registrations/city']]: Cardinality['N-1'],
|
|
113
|
+
[Route['registrations/game']]: Cardinality['N-1'],
|
|
114
|
+
[Route['registrations/game/theme']]: Cardinality['N-1'],
|
|
105
115
|
[Route['registrations/export']]: Cardinality['1'],
|
|
106
116
|
[Route['role']]: Cardinality['1'],
|
|
107
117
|
[Route['roles']]: Cardinality['N'],
|
|
@@ -142,6 +152,9 @@ export const RouteRelation = Object.freeze({
|
|
|
142
152
|
[Route['games/theme']]: Route['game/theme'],
|
|
143
153
|
[Route['games/venue']]: Route['game/venue'],
|
|
144
154
|
[Route['registrations']]: Route['registration'],
|
|
155
|
+
[Route['registrations/city']]: Route['registration/city'],
|
|
156
|
+
[Route['registrations/game']]: Route['registration/game'],
|
|
157
|
+
[Route['registrations/game/theme']]: Route['registration/game/theme'],
|
|
145
158
|
[Route['roles']]: Route['role'],
|
|
146
159
|
[Route['themes']]: Route['theme'],
|
|
147
160
|
[Route['themes/cover']]: Route['theme/cover'],
|
|
@@ -191,9 +204,14 @@ export const RoutePathname = Object.freeze({
|
|
|
191
204
|
[Route['registration/channel']]: 'registration/:registration/channel',
|
|
192
205
|
[Route['registration/confirmation']]: 'registration/:registration/confirmation',
|
|
193
206
|
[Route['registration/export']]: 'registration/:registration/export',
|
|
207
|
+
[Route['registration/city']]: 'registration/:registration/city',
|
|
194
208
|
[Route['registration/game']]: 'registration/:registration/game',
|
|
209
|
+
[Route['registration/game/theme']]: 'registration/:registration/game/theme',
|
|
195
210
|
[Route['registration/mailing']]: 'registration/:registration/mailing',
|
|
196
211
|
[Route['registrations']]: 'registrations',
|
|
212
|
+
[Route['registrations/city']]: 'registrations/city',
|
|
213
|
+
[Route['registrations/game']]: 'registrations/game',
|
|
214
|
+
[Route['registrations/game/theme']]: 'registrations/game/theme',
|
|
197
215
|
[Route['registrations/export']]: 'registrations/export',
|
|
198
216
|
[Route['role']]: 'role/:role',
|
|
199
217
|
[Route['roles']]: 'roles',
|
|
@@ -256,9 +274,14 @@ export const RouteParams = Object.freeze({
|
|
|
256
274
|
[Route['registration/channel']]: [':registration'],
|
|
257
275
|
[Route['registration/confirmation']]: [':registration'],
|
|
258
276
|
[Route['registration/export']]: [':registration'],
|
|
277
|
+
[Route['registration/city']]: [':registration'],
|
|
259
278
|
[Route['registration/game']]: [':registration'],
|
|
279
|
+
[Route['registration/game/theme']]: [':registration'],
|
|
260
280
|
[Route['registration/mailing']]: [':registration'],
|
|
261
281
|
[Route['registrations']]: [],
|
|
282
|
+
[Route['registrations/city']]: [],
|
|
283
|
+
[Route['registrations/game']]: [],
|
|
284
|
+
[Route['registrations/game/theme']]: [],
|
|
262
285
|
[Route['registrations/export']]: [],
|
|
263
286
|
[Route['role']]: [':role'],
|
|
264
287
|
[Route['roles']]: [],
|
|
@@ -317,9 +340,13 @@ export const RouteService = Object.freeze({
|
|
|
317
340
|
[Route['registration/cancellation']]: Service['Registrations'],
|
|
318
341
|
[Route['registration/channel']]: Service['Registrations'],
|
|
319
342
|
[Route['registration/confirmation']]: Service['Registrations'],
|
|
343
|
+
[Route['registration/city']]: Service['Registrations'],
|
|
320
344
|
[Route['registration/game']]: Service['Registrations'],
|
|
321
345
|
[Route['registration/mailing']]: Service['Registrations'],
|
|
322
346
|
[Route['registrations']]: Service['Registrations'],
|
|
347
|
+
[Route['registrations/city']]: Service['Registrations'],
|
|
348
|
+
[Route['registrations/game']]: Service['Registrations'],
|
|
349
|
+
[Route['registrations/game/theme']]: Service['Registrations'],
|
|
323
350
|
[Route['registrations/export']]: Service['Registrations'],
|
|
324
351
|
[Route['role']]: Service['Roles'],
|
|
325
352
|
[Route['roles']]: Service['Roles'],
|
|
@@ -423,6 +450,9 @@ export const ServiceRoutes = Object.freeze({
|
|
|
423
450
|
Route['registration/game'],
|
|
424
451
|
Route['registration/mailing'],
|
|
425
452
|
Route['registrations'],
|
|
453
|
+
Route['registrations/city'],
|
|
454
|
+
Route['registrations/game'],
|
|
455
|
+
Route['registrations/game/theme'],
|
|
426
456
|
Route['registrations/export'],
|
|
427
457
|
]),
|
|
428
458
|
|