@appcorp/fusion-storybook 0.1.4 → 0.1.7
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.
- package/base-modules/discount-code/cache.d.ts +1 -1
- package/base-modules/discount-code/cache.js +1 -1
- package/base-modules/family/cache.d.ts +1 -1
- package/base-modules/family/cache.js +1 -1
- package/base-modules/family-member/cache.d.ts +1 -1
- package/base-modules/family-member/cache.js +1 -1
- package/base-modules/student-profile/cache.d.ts +1 -1
- package/base-modules/student-profile/cache.js +1 -1
- package/base-modules/workspace/cache.d.ts +1 -1
- package/base-modules/workspace/cache.js +1 -1
- package/package.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* - `await getCachedDiscountCodes({ params: { page: 1 } })`
|
|
11
11
|
* - `invalidateDiscountCodeCache()` after a successful create/update/delete
|
|
12
12
|
*/
|
|
13
|
-
import { DiscountCodeBE } from "
|
|
13
|
+
import { DiscountCodeBE } from "../../type";
|
|
14
14
|
/** Synchronous access to cached discount codes (localStorage) */
|
|
15
15
|
export declare const getCachedDiscountCodesSync: () => import("@react-pakistan/util-functions").ListResponse<DiscountCodeBE>;
|
|
16
16
|
/** Fetch cached list (may call network if cache miss or stale) */
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* - `await getCachedDiscountCodes({ params: { page: 1 } })`
|
|
11
11
|
* - `invalidateDiscountCodeCache()` after a successful create/update/delete
|
|
12
12
|
*/
|
|
13
|
-
import { LS_KEYS } from "
|
|
13
|
+
import { LS_KEYS } from "../../constants";
|
|
14
14
|
import { DISCOUNT_CODE_API_ROUTES } from "./constants";
|
|
15
15
|
import { getCachedData, getCachedDataSync, getCachedItemById, invalidateCache, isCacheStale, preloadCache, } from "@react-pakistan/util-functions";
|
|
16
16
|
// ============================================================================
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Provides localStorage-based caching for families using generic cache system.
|
|
5
5
|
*/
|
|
6
|
-
import { FamilyBE } from "
|
|
6
|
+
import { FamilyBE } from "../../type";
|
|
7
7
|
export declare const getCachedFamiliesSync: () => import("@react-pakistan/util-functions").ListResponse<FamilyBE>;
|
|
8
8
|
export declare const getCachedFamilies: ({ params, }: {
|
|
9
9
|
params?: Record<string, unknown>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Provides localStorage-based caching for families using generic cache system.
|
|
5
5
|
*/
|
|
6
|
-
import { LS_KEYS } from "
|
|
6
|
+
import { LS_KEYS } from "../../constants";
|
|
7
7
|
import { FAMILY_API_ROUTES } from "./constants";
|
|
8
8
|
import { getCachedData, getCachedDataSync, getCachedItemById, invalidateCache, isCacheStale, preloadCache, } from "@react-pakistan/util-functions";
|
|
9
9
|
// ============================================================================
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Provides localStorage-based caching for family members using generic cache system.
|
|
5
5
|
*/
|
|
6
|
-
import { FamilyMemberBE } from "
|
|
6
|
+
import { FamilyMemberBE } from "../../type";
|
|
7
7
|
export declare const getCachedFamilyMembersSync: () => import("@react-pakistan/util-functions").ListResponse<FamilyMemberBE>;
|
|
8
8
|
export declare const getCachedFamilyMembers: ({ params, }: {
|
|
9
9
|
params?: Record<string, unknown>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Provides localStorage-based caching for family members using generic cache system.
|
|
5
5
|
*/
|
|
6
|
-
import { LS_KEYS } from "
|
|
6
|
+
import { LS_KEYS } from "../../constants";
|
|
7
7
|
import { FAMILY_MEMBER_API_ROUTES } from "./constants";
|
|
8
8
|
import { getCachedData, getCachedDataSync, getCachedItemById, invalidateCache, isCacheStale, preloadCache, } from "@react-pakistan/util-functions";
|
|
9
9
|
// ============================================================================
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Provides localStorage-based caching for student profiles using generic cache system.
|
|
5
5
|
*/
|
|
6
|
-
import { StudentProfileBE } from "
|
|
6
|
+
import { StudentProfileBE } from "../../type";
|
|
7
7
|
export declare const getCachedStudentProfilesSync: () => import("@react-pakistan/util-functions").ListResponse<StudentProfileBE>;
|
|
8
8
|
export declare const getCachedStudentProfiles: ({ params, }: {
|
|
9
9
|
params?: Record<string, unknown>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Provides localStorage-based caching for student profiles using generic cache system.
|
|
5
5
|
*/
|
|
6
|
-
import { LS_KEYS } from "
|
|
6
|
+
import { LS_KEYS } from "../../constants";
|
|
7
7
|
import { STUDENT_PROFILE_API_ROUTES } from "./constants";
|
|
8
8
|
import { getCachedData, getCachedDataSync, getCachedItemById, invalidateCache, isCacheStale, preloadCache, } from "@react-pakistan/util-functions";
|
|
9
9
|
// ============================================================================
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Cache utilities for workspace data using generic cache system.
|
|
5
5
|
*/
|
|
6
|
-
import { WorkspaceBE } from "
|
|
6
|
+
import { WorkspaceBE } from "../../type";
|
|
7
7
|
export declare const getCachedWorkspace: (id: string) => Promise<WorkspaceBE | null>;
|
|
8
8
|
export declare const getCachedWorkspaceSync: () => WorkspaceBE | null;
|
|
9
9
|
export declare const invalidateWorkspaceCache: () => void;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { getCachedSingleItem, getCachedSingleItemSync, invalidateCache, } from "@react-pakistan/util-functions";
|
|
7
7
|
import { WORKSPACE_API_ROUTES } from "./constants";
|
|
8
|
-
import { LS_KEYS } from "
|
|
8
|
+
import { LS_KEYS } from "../../constants";
|
|
9
9
|
// ============================================================================
|
|
10
10
|
// CACHE CONFIGURATION
|
|
11
11
|
// ============================================================================
|