@plasmicapp/query
Advanced tools
Comparing version 0.1.46 to 0.1.48
import React, { PropsWithChildren } from 'react'; | ||
import { Key, SWRConfiguration } from 'swr'; | ||
import { Fetcher, Key, SWRConfiguration } from 'swr'; | ||
export declare const mutateAllKeys: () => void; | ||
@@ -14,3 +14,3 @@ /** | ||
*/ | ||
export declare function usePlasmicQueryData<T>(key: Key, fetcher: () => Promise<T>): { | ||
export declare function usePlasmicQueryData<T>(key: Key, fetcher: Fetcher<T>): { | ||
data?: T; | ||
@@ -30,3 +30,3 @@ error?: Error; | ||
*/ | ||
export declare function useMutablePlasmicQueryData<T>(key: Key, fetcher: () => Promise<T>, options?: SWRConfiguration): import("swr").SWRResponse<any, any>; | ||
export declare function useMutablePlasmicQueryData<T>(key: Key, fetcher: Fetcher, options?: SWRConfiguration): import("swr").SWRResponse<any, any>; | ||
export declare function PlasmicQueryDataProvider(props: { | ||
@@ -33,0 +33,0 @@ suspense?: boolean; |
{ | ||
"version": "0.1.46", | ||
"version": "0.1.48", | ||
"license": "MIT", | ||
@@ -64,3 +64,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "161e87c6adba9cc42fe793be93ce096e5b10c586" | ||
"gitHead": "bd649b245105111e590fe3ff09814c7df2a54ad1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38047