@common-stack/client-react
Advanced tools
Comparing version
@@ -8,5 +8,9 @@ import type { createStackNavigator } from '@react-navigation/stack'; | ||
export { IReactNavigationProps }; | ||
type OptionalPath<T extends { | ||
path: string; | ||
}> = Omit<T, 'path'> & Partial<Pick<T, 'path'>>; | ||
export interface IReactNavigationRoute extends IRouteMobileAdditions { | ||
container?: ReturnType<typeof createStackNavigator> | ReturnType<typeof createBottomTabNavigator> | ReturnType<typeof createDrawerNavigator>; | ||
} | ||
export type IComputedMobileRoutesArray = Array<IRouteMap<IRollupBuildGenerated & IReactNavigationRoute>>; | ||
export type IRouteMapWithMobile = IRouteMap<IRollupBuildGenerated & OptionalPath<IReactNavigationRoute>>; | ||
export type IComputedMobileRoutesArray = Array<IRouteMapWithMobile>; |
@@ -5,3 +5,3 @@ import { IRouteMap, IRouteModule } from '../interfaces'; | ||
export declare const getFilteredRoutes: (accountPageStore: IRouteModule[], selectedRoutes?: SelectedType) => IRouteMap[]; | ||
export declare const getFilteredTabs: (accountPageStore: IRouteModule[], selectedTabs?: SelectedType) => IRouteMap[]; | ||
export declare const getFilteredTabs: (accountPageStore: IRouteModule[], selectedTabs?: SelectedType) => Omit<IRouteModule, "component">[]; | ||
export {}; |
import { IRouteModule, IComputedRoutesArray } from '../interfaces'; | ||
export declare function sortKeys(routeData: IComputedRoutesArray): IComputedRoutesArray; | ||
export declare function sortByPaths(routes: IRouteModule[]): IRouteModule[]; | ||
export declare function sortByPaths(routes: IRouteModule[]): (Omit<IRouteModule, "path"> & Partial<Pick<IRouteModule, "path">>)[]; |
{ | ||
"name": "@common-stack/client-react", | ||
"version": "7.0.4-alpha.15", | ||
"version": "7.0.4-alpha.16", | ||
"description": "Client Module for react app", | ||
@@ -34,4 +34,4 @@ "homepage": "https://github.com/cdmbase/fullstack-pro#readme", | ||
"dependencies": { | ||
"@common-stack/client-core": "7.0.4-alpha.15", | ||
"@common-stack/core": "7.0.4-alpha.15", | ||
"@common-stack/client-core": "7.0.4-alpha.16", | ||
"@common-stack/core": "7.0.4-alpha.16", | ||
"@wordpress/hooks": "^3.53.0", | ||
@@ -61,3 +61,3 @@ "browser-bunyan": "^1.6.3", | ||
}, | ||
"gitHead": "0c8f5a8ce06bef454534cf37cddace6914c42292", | ||
"gitHead": "14332205d044adc07f2bd83da524634964fe2129", | ||
"typescript": { | ||
@@ -64,0 +64,0 @@ "definition": "lib/index.d.ts" |
Sorry, the diff of this file is not supported yet
103693
0.24%1845
0.22%+ Added
+ Added
- Removed
- Removed