diff --git a/src/config/keys.ts b/src/config/keys.ts index 6de3fd63..254d71e2 100644 --- a/src/config/keys.ts +++ b/src/config/keys.ts @@ -113,6 +113,10 @@ export const buildItemValidationAndReviewsKey = (id: UUID) => [ 'itemValidationAndReviews', ]; +export const HOOK_KEYS = { + buildItemValidationAndReviewsKey, +} + export const MUTATION_KEYS = { POST_ITEM: 'postItem', EDIT_ITEM: 'editItem', diff --git a/src/index.ts b/src/index.ts index c86b6c17..441ec399 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,4 +2,5 @@ export { default as configureQueryClient } from './queryClient'; export * as Api from './api'; export * as routines from './routines'; export { MUTATION_KEYS } from './config/keys'; -export { API_ROUTES } from './api/routes'; +export { HOOK_KEYS } from './config/keys'; +export { API_ROUTES } from './api/routes'; \ No newline at end of file