@shakerquiz/utilities 4.0.39 → 4.0.40
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
|
@@ -7,6 +7,7 @@ export const RouteExcessiveCardinality = Object.freeze(
|
|
|
7
7
|
'user': '1',
|
|
8
8
|
'user/password': '1/1',
|
|
9
9
|
'user/role': '1/1',
|
|
10
|
+
'user/role/id': '1/1/1',
|
|
10
11
|
'user/city': '1/1',
|
|
11
12
|
'user/cities': '1/n',
|
|
12
13
|
'users': 'n',
|
|
@@ -101,6 +102,7 @@ export const RouteCardinality = Object.freeze(
|
|
|
101
102
|
'user': '1',
|
|
102
103
|
'user/password': '1/1',
|
|
103
104
|
'user/role': '1/1',
|
|
105
|
+
'user/role/id': '1/1',
|
|
104
106
|
'user/city': '1/1',
|
|
105
107
|
'user/cities': '1/n',
|
|
106
108
|
'users': 'n',
|
|
@@ -195,6 +197,7 @@ export const RoutePathname = Object.freeze(
|
|
|
195
197
|
'user': 'user/:user',
|
|
196
198
|
'user/password': 'user/:user/password',
|
|
197
199
|
'user/role': 'user/:user/role/:role',
|
|
200
|
+
'user/role/id': 'user/:user/role/:role/id',
|
|
198
201
|
'user/city': 'user/:user/city/:city',
|
|
199
202
|
'user/cities': 'user/:user/cities',
|
|
200
203
|
'users': 'users',
|
|
@@ -298,6 +301,10 @@ export const RouteParameters = Object.freeze(
|
|
|
298
301
|
':user',
|
|
299
302
|
':role',
|
|
300
303
|
],
|
|
304
|
+
'user/role/id': [
|
|
305
|
+
':user',
|
|
306
|
+
':role',
|
|
307
|
+
],
|
|
301
308
|
'user/city': [
|
|
302
309
|
':user',
|
|
303
310
|
':city',
|
|
@@ -544,6 +551,7 @@ export const PathnameRoute = Object.freeze(
|
|
|
544
551
|
'user/:user': 'user',
|
|
545
552
|
'user/:user/password': 'user/password',
|
|
546
553
|
'user/:user/role/:role': 'user/role',
|
|
554
|
+
'user/:user/role/:role/id': 'user/role/id',
|
|
547
555
|
'user/:user/city/:city': 'user/city',
|
|
548
556
|
'user/:user/cities': 'user/cities',
|
|
549
557
|
'users': 'users',
|
|
@@ -647,6 +655,10 @@ export const PathnameParameters = Object.freeze(
|
|
|
647
655
|
':user',
|
|
648
656
|
':role',
|
|
649
657
|
],
|
|
658
|
+
'user/:user/role/:role/id': [
|
|
659
|
+
':user',
|
|
660
|
+
':role',
|
|
661
|
+
],
|
|
650
662
|
'user/:user/city/:city': [
|
|
651
663
|
':user',
|
|
652
664
|
':city',
|
|
@@ -910,6 +922,7 @@ export const RouteBreakdown = Object.freeze(
|
|
|
910
922
|
'user': 'user',
|
|
911
923
|
'user/password': 'user/password',
|
|
912
924
|
'user/role': 'user/role',
|
|
925
|
+
'user/role/id': 'role/id',
|
|
913
926
|
'user/city': 'user/city',
|
|
914
927
|
'user/cities': 'user/city',
|
|
915
928
|
'users': 'user',
|
|
@@ -1004,6 +1017,7 @@ export const RouteService = Object.freeze(
|
|
|
1004
1017
|
'user': 'Users',
|
|
1005
1018
|
'user/password': 'Users',
|
|
1006
1019
|
'user/role': 'Users',
|
|
1020
|
+
'user/role/id': 'Users',
|
|
1007
1021
|
'user/city': 'Users',
|
|
1008
1022
|
'user/cities': 'Users',
|
|
1009
1023
|
'users': 'Users',
|
|
@@ -1101,6 +1115,7 @@ export const ServiceRoutes = Object.freeze(
|
|
|
1101
1115
|
'user',
|
|
1102
1116
|
'user/password',
|
|
1103
1117
|
'user/role',
|
|
1118
|
+
'user/role/id',
|
|
1104
1119
|
'user/city',
|
|
1105
1120
|
'user/cities',
|
|
1106
1121
|
'users',
|
package/source/entities/key.js
CHANGED
|
@@ -364,6 +364,15 @@ export const Segments = Object.freeze(
|
|
|
364
364
|
pattern: undefined,
|
|
365
365
|
}),
|
|
366
366
|
),
|
|
367
|
+
Object.freeze(
|
|
368
|
+
/** @type {const} */ ({
|
|
369
|
+
key: Key['id'],
|
|
370
|
+
cardinality: '1',
|
|
371
|
+
relation: undefined,
|
|
372
|
+
service: undefined,
|
|
373
|
+
pattern: undefined,
|
|
374
|
+
}),
|
|
375
|
+
),
|
|
367
376
|
]),
|
|
368
377
|
)
|
|
369
378
|
|