identity-admin-ui 1.8.13 → 1.8.14
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/lib/cjs/index.js +2 -2
- package/lib/cjs/types/context/ResourcesContext.d.ts +1 -0
- package/lib/cjs/types/hooks/useApi.d.ts +1 -0
- package/lib/cjs/types/hooks/useResources.d.ts +1 -0
- package/lib/esm/index.js +9 -9
- package/lib/esm/types/context/ResourcesContext.d.ts +1 -0
- package/lib/esm/types/hooks/useApi.d.ts +1 -0
- package/lib/esm/types/hooks/useResources.d.ts +1 -0
- package/lib/index.d.ts +3 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -261,6 +261,7 @@ declare const ResourcesContext: react.Context<{
|
|
|
261
261
|
resources: ResourceResponse;
|
|
262
262
|
getResources: () => void;
|
|
263
263
|
state: RequestState;
|
|
264
|
+
clearResources: () => void;
|
|
264
265
|
}>;
|
|
265
266
|
interface ResourcesContextConfig {
|
|
266
267
|
resourcesUrl: string;
|
|
@@ -501,6 +502,7 @@ declare function useApi<T>(): {
|
|
|
501
502
|
post: (requstConfig: RequestConfig) => void;
|
|
502
503
|
patch: (requstConfig: RequestConfig) => void;
|
|
503
504
|
remove: (requstConfig: RequestConfig) => void;
|
|
505
|
+
revertToIdle: () => void;
|
|
504
506
|
};
|
|
505
507
|
|
|
506
508
|
declare function useNavData(): {
|
|
@@ -523,6 +525,7 @@ declare const useResources: () => {
|
|
|
523
525
|
resources: ResourceResponse;
|
|
524
526
|
getResources: () => void;
|
|
525
527
|
state: RequestState;
|
|
528
|
+
clearResources: () => void;
|
|
526
529
|
};
|
|
527
530
|
|
|
528
531
|
declare const useCredentials: () => CredentialKeys;
|