sanity-plugin-utils
2.0.62.0.7
dist/index.d.ts~
dist/index.d.tsModified+2−8
Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -48,11 +48,9 @@
};
type HookConfig = {
apiVersion?: string;
};
-declare function useProjectUsers({
- apiVersion
-}: HookConfig): UserExtended[];
+declare function useProjectUsers({ apiVersion }: HookConfig): UserExtended[];
type Labels = {
addMe?: string;
removeMe?: string;
clear?: string;
@@ -83,12 +81,8 @@
}
declare function useListeningQuery<V>(query: string | {
fetch: string;
listen: string;
-}, {
- params,
- options,
- initialValue
-}: Config<V>): Return<V>;
+}, { params, options, initialValue }: Config<V>): Return<V>;
declare function useOpenInNewPane(id?: string, type?: string): () => void;
export { Cell, Feedback, Row, Table, type UserExtended, UserSelectMenu, useImageUrlBuilder, useImageUrlBuilderImage, useListeningQuery, useOpenInNewPane, useProjectUsers };
//# sourceMappingURL=index.d.ts.map
\ No newline at end of file