mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-10 20:35:14 -05:00
32 lines
1.5 KiB
TypeScript
32 lines
1.5 KiB
TypeScript
import { resetCategoryStore } from "./use-category-store";
|
|
import { resetFoodStore } from "./use-food-store";
|
|
import { resetHouseholdStore } from "./use-household-store";
|
|
import { resetLabelStore } from "./use-label-store";
|
|
import { resetTagStore } from "./use-tag-store";
|
|
import { resetToolStore } from "./use-tool-store";
|
|
import { resetUnitStore } from "./use-unit-store";
|
|
import { resetCookbookStore } from "./use-cookbook-store";
|
|
import { resetUserStore } from "./use-user-store";
|
|
|
|
export { useCategoryStore, usePublicCategoryStore, useCategoryData, resetCategoryStore } from "./use-category-store";
|
|
export { useFoodStore, usePublicFoodStore, useFoodData, resetFoodStore } from "./use-food-store";
|
|
export { useHouseholdStore, usePublicHouseholdStore, resetHouseholdStore } from "./use-household-store";
|
|
export { useLabelStore, useLabelData, resetLabelStore } from "./use-label-store";
|
|
export { useTagStore, usePublicTagStore, useTagData, resetTagStore } from "./use-tag-store";
|
|
export { useToolStore, usePublicToolStore, useToolData, resetToolStore } from "./use-tool-store";
|
|
export { useUnitStore, useUnitData, resetUnitStore } from "./use-unit-store";
|
|
export { useCookbookStore, usePublicCookbookStore, resetCookbookStore } from "./use-cookbook-store";
|
|
export { useUserStore, resetUserStore } from "./use-user-store";
|
|
|
|
export function clearAllStores() {
|
|
resetCategoryStore();
|
|
resetFoodStore();
|
|
resetHouseholdStore();
|
|
resetLabelStore();
|
|
resetTagStore();
|
|
resetToolStore();
|
|
resetUnitStore();
|
|
resetCookbookStore();
|
|
resetUserStore();
|
|
}
|