@gravitee/graphene-policy-studio 2.33.0 → 2.33.1
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/context/PolicyStudioProvider.d.ts +3 -3
- package/dist/context/PolicyStudioProvider.d.ts.map +1 -1
- package/dist/hooks/use-flow-state.d.ts +2 -2
- package/dist/hooks/use-flow-state.d.ts.map +1 -1
- package/dist/hooks/use-policy-docs.d.ts +8 -4
- package/dist/hooks/use-policy-docs.d.ts.map +1 -1
- package/dist/index.js +2849 -2821
- package/dist/lib/policy-fetch-cache.d.ts +1 -2
- package/dist/lib/policy-fetch-cache.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Policy } from '../types';
|
|
2
|
-
interface PolicyFetchCache<T> {
|
|
2
|
+
export interface PolicyFetchCache<T> {
|
|
3
3
|
readonly fetch: (policy: Policy) => Promise<T>;
|
|
4
4
|
readonly cache: Map<string, Promise<T>>;
|
|
5
5
|
}
|
|
@@ -11,5 +11,4 @@ interface PolicyFetchCache<T> {
|
|
|
11
11
|
* poison the cache — the next call for the same `policy.id` retries.
|
|
12
12
|
*/
|
|
13
13
|
export declare function createPolicyFetchCache<T>(fetcher: (policy: Policy) => Promise<T>): PolicyFetchCache<T>;
|
|
14
|
-
export {};
|
|
15
14
|
//# sourceMappingURL=policy-fetch-cache.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy-fetch-cache.d.ts","sourceRoot":"","sources":["../../src/lib/policy-fetch-cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,
|
|
1
|
+
{"version":3,"file":"policy-fetch-cache.d.ts","sourceRoot":"","sources":["../../src/lib/policy-fetch-cache.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;IAC/C,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;CACzC;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CActG"}
|