@sanity/studio-secrets
4.0.214.0.22
dist/index.d.ts~
dist/index.d.tsModified+3−3
Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -10,13 +10,13 @@
namespace: string;
keys: SettingsKey[];
onClose: () => void;
};
-declare const SettingsView: ({ namespace, keys, onClose, title }: SettingsViewProps) => ReactElement;
+export declare const SettingsView: ({ namespace, keys, onClose, title }: SettingsViewProps) => ReactElement;
interface Secrets<T> {
loading: boolean;
secrets?: T;
storeSecrets: (secrets: T) => void;
}
-declare function useSecrets<T>(namespace: string): Secrets<T>;
-export { type Secrets, type SettingsKey, SettingsView, type SettingsViewProps, useSecrets };
+export declare function useSecrets<T>(namespace: string): Secrets<T>;
+export type { Secrets, SettingsKey, SettingsViewProps };
//# sourceMappingURL=index.d.ts.map
\ No newline at end of file