meyi-insight-ui-dev 1.0.19 → 1.0.20
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/dist/hooks/useInsightUsers.d.ts +6 -1
- package/dist/index.js +68 -68
- package/dist/index.mjs +3595 -3491
- package/package.json +1 -1
|
@@ -4,7 +4,12 @@ export interface InsightUser {
|
|
|
4
4
|
full_name?: string;
|
|
5
5
|
role?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function
|
|
7
|
+
export declare function fetchInsightUsers(force?: boolean): Promise<InsightUser[]>;
|
|
8
|
+
export declare function invalidateInsightUsersCache(): void;
|
|
9
|
+
export declare function useInsightUsers(options?: {
|
|
10
|
+
refreshOnMount?: boolean;
|
|
11
|
+
}): {
|
|
8
12
|
users: InsightUser[];
|
|
9
13
|
loading: boolean;
|
|
14
|
+
refetch: () => Promise<InsightUser[]>;
|
|
10
15
|
};
|