forked from marmelab/react-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request marmelab#3927 from marmelab/fix-missing-core-const…
…ants [RFR] Fix missing core constants
- Loading branch information
Showing
3 changed files
with
26 additions
and
21 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 |
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