sanity-plugin-google-translate
4.0.154.0.16
dist/index.d.ts~
dist/index.d.tsModified+4−5
Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -1,17 +1,16 @@
import "@sanity/ui/styles.css";
-declare const googleTranslate: import("sanity").Plugin<void>;
-type GoogleTranslateSchemaOptions = {
+export declare const googleTranslate: import("sanity").Plugin<void>;
+export type GoogleTranslateSchemaOptions = {
translate?: boolean;
apiKey?: string;
};
-type FieldNameLangPair = {
+export type FieldNameLangPair = {
fieldName: string;
fieldLang: string;
};
-type TranslationConfig = {
+export type TranslationConfig = {
language: string;
baseLanguage: string;
content: string;
};
-export { FieldNameLangPair, GoogleTranslateSchemaOptions, TranslationConfig, googleTranslate };
//# sourceMappingURL=index.d.ts.map
\ No newline at end of file