@shakerquiz/utilities 0.5.169 → 0.5.170
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
|
@@ -558,29 +558,29 @@ export const ServiceRoutes = Object.freeze({
|
|
|
558
558
|
[Service['Vkma']]: Object.freeze([]),
|
|
559
559
|
})
|
|
560
560
|
|
|
561
|
-
/** @returns {keyof typeof Route | 'Unknown'} */
|
|
561
|
+
/** @returns {typeof Route[keyof typeof Route] | 'Unknown'} */
|
|
562
562
|
export const inferRoute = x => Route[x] ?? 'Unknown'
|
|
563
563
|
|
|
564
|
-
/** @returns {keyof typeof RouteNumerosity | 'Unknown'} */
|
|
564
|
+
/** @returns {typeof RouteNumerosity[keyof typeof RouteNumerosity] | 'Unknown'} */
|
|
565
565
|
export const inferRouteNumerosity = x => RouteNumerosity[x] ?? 'Unknown'
|
|
566
566
|
|
|
567
|
-
/** @returns {keyof typeof RouteRelation | 'Unknown'} */
|
|
567
|
+
/** @returns {typeof RouteRelation[keyof typeof RouteRelation] | 'Unknown'} */
|
|
568
568
|
export const inferRouteRelation = x => RouteRelation[x] ?? 'Unknown'
|
|
569
569
|
|
|
570
|
-
/** @returns {keyof typeof RoutePathname | 'Unknown'} */
|
|
570
|
+
/** @returns {typeof RoutePathname[keyof typeof RoutePathname] | 'Unknown'} */
|
|
571
571
|
export const inferRoutePathname = x => RoutePathname[x] ?? 'Unknown'
|
|
572
572
|
|
|
573
|
-
/** @returns {keyof typeof RouteKind | 'Unknown'} */
|
|
573
|
+
/** @returns {typeof RouteKind[keyof typeof RouteKind] | 'Unknown'} */
|
|
574
574
|
export const inferRouteKind = x => RouteKind[x] ?? 'Unknown'
|
|
575
575
|
|
|
576
|
-
/** @returns {keyof typeof CompositeRouteField | 'Unknown'} */
|
|
576
|
+
/** @returns {typeof CompositeRouteField[keyof typeof CompositeRouteField] | 'Unknown'} */
|
|
577
577
|
export const inferCompositeRouteField = x => CompositeRouteField[x] ?? 'Unknown'
|
|
578
578
|
|
|
579
|
-
/** @returns {keyof typeof RouteParams | 'Unknown'} */
|
|
579
|
+
/** @returns {typeof RouteParams[keyof typeof RouteParams] | 'Unknown'} */
|
|
580
580
|
export const inferRouteParams = x => RouteParams[x] ?? 'Unknown'
|
|
581
581
|
|
|
582
|
-
/** @returns {keyof typeof RouteService | 'Unknown'} */
|
|
582
|
+
/** @returns {typeof RouteService[keyof typeof RouteService] | 'Unknown'} */
|
|
583
583
|
export const inferRouteService = x => RouteService[x] ?? 'Unknown'
|
|
584
584
|
|
|
585
|
-
/** @returns {keyof typeof ServiceRoutes | 'Unknown'} */
|
|
585
|
+
/** @returns {typeof ServiceRoutes[keyof typeof ServiceRoutes] | 'Unknown'} */
|
|
586
586
|
export const inferServiceRoutes = x => ServiceRoutes[x] ?? 'Unknown'
|