history
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
import history from './history';
|
||||
|
||||
const createVirtualModule = ({ config, navigations, features }) => ({
|
||||
getConfig: () => config,
|
||||
getConfigValue: (pkg: string) => config[pkg],
|
||||
getNavigations: () => navigations,
|
||||
getNavigationsValue: (pkg: string) => navigations[pkg],
|
||||
getAllFeatures: () => features,
|
||||
getFeatures: (pkg: string) => features[pkg]
|
||||
getFeatures: (pkg: string) => features[pkg],
|
||||
getHistory: () => history,
|
||||
})
|
||||
|
||||
export const defineVirtualModule = (params) => {
|
||||
|
||||
Reference in New Issue
Block a user