-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6eaa991
commit fde2024
Showing
2 changed files
with
20 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import CoreAdmin from './CoreAdmin'; | ||
import CoreAdminContext from './CoreAdminContext'; | ||
import CoreAdminRouter from './CoreAdminRouter'; | ||
import CoreAdminUI from './CoreAdminUI'; | ||
import createAdminStore from './createAdminStore'; | ||
import RoutesWithLayout from './RoutesWithLayout'; | ||
import Resource from './Resource'; | ||
|
||
export { | ||
CoreAdmin, | ||
CoreAdminContext, | ||
CoreAdminRouter, | ||
CoreAdminUI, | ||
createAdminStore, | ||
RoutesWithLayout, | ||
Resource, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,4 @@ | ||
import CoreAdmin from './CoreAdmin'; | ||
import CoreAdminContext from './CoreAdminContext'; | ||
import CoreAdminRouter from './CoreAdminRouter'; | ||
import CoreAdminUI from './CoreAdminUI'; | ||
import createAdminStore from './createAdminStore'; | ||
import RoutesWithLayout from './RoutesWithLayout'; | ||
import Resource from './Resource'; | ||
|
||
export { | ||
CoreAdmin, | ||
CoreAdminContext, | ||
CoreAdminRouter, | ||
CoreAdminUI, | ||
createAdminStore, | ||
RoutesWithLayout, | ||
Resource, | ||
}; | ||
export * from './dataFetchActions'; | ||
export * from './components'; | ||
// there seems to be a bug in TypeScript: this only works if the exports are in this order. | ||
// Swapping the two exports leads to the core module missing the dataFetchActions constants |