@metaboliccode-dev/widget 0.2.86 → 0.2.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,8 +11,9 @@ export type DashboardTabContentCacheContextValue = {
|
|
|
11
11
|
};
|
|
12
12
|
export declare function useDashboardTabContentCache(): DashboardTabContentCacheContextValue | null;
|
|
13
13
|
export declare function useInvalidateDashboardTabContentCache(): () => void;
|
|
14
|
-
export declare function DashboardTabContentCacheProvider({ children, fetchers, ttlMs, }: {
|
|
14
|
+
export declare function DashboardTabContentCacheProvider({ children, fetchers, ttlMs, cacheKey, }: {
|
|
15
15
|
children: ReactNode;
|
|
16
16
|
fetchers: DashboardContentFetchers;
|
|
17
17
|
ttlMs: number;
|
|
18
|
+
cacheKey?: string;
|
|
18
19
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,6 +4,7 @@ export type MetabolicDashboardShellProps = {
|
|
|
4
4
|
wrapTabContentCache: boolean;
|
|
5
5
|
fetchers: DashboardContentFetchers;
|
|
6
6
|
cacheTtlMs: number;
|
|
7
|
+
cacheKey: string;
|
|
7
8
|
viewProps: MetabolicDashboardViewProps;
|
|
8
9
|
};
|
|
9
|
-
export declare function MetabolicDashboardShell({ wrapTabContentCache, fetchers, cacheTtlMs, viewProps, }: MetabolicDashboardShellProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function MetabolicDashboardShell({ wrapTabContentCache, fetchers, cacheTtlMs, cacheKey, viewProps, }: MetabolicDashboardShellProps): import("react/jsx-runtime").JSX.Element;
|