|
|
@@ -5,25 +5,8 @@
|
|
|
* hiding internal implementation details while exposing only the necessary hooks.
|
|
|
*/
|
|
|
|
|
|
-// Core page state hooks
|
|
|
-// export {
|
|
|
-// useCurrentPageData,
|
|
|
-// useCurrentPageId,
|
|
|
-// useCurrentPagePath,
|
|
|
-// useIsRevisionOutdated,
|
|
|
-// useIsTrashPage,
|
|
|
-// useLatestRevision,
|
|
|
-// usePageNotCreatable,
|
|
|
-// usePageNotFound,
|
|
|
-// useRemoteRevisionBody,
|
|
|
-// // Remote revision hooks (replacements for stores/remote-latest-page.ts)
|
|
|
-// useRemoteRevisionId,
|
|
|
-// useRemoteRevisionLastUpdatedAt,
|
|
|
-// useRemoteRevisionLastUpdateUser,
|
|
|
-// useTemplateBody,
|
|
|
-// useTemplateTags,
|
|
|
-// } from './hooks';
|
|
|
export * from './hooks';
|
|
|
export { useCurrentPageLoading } from './use-current-page-loading';
|
|
|
// Data fetching hooks
|
|
|
export { useFetchCurrentPage } from './use-fetch-current-page';
|
|
|
+export * from './use-set-remote-latest-page-data';
|