sanity-plugin-google-translate
4.0.154.0.16
~
Modified (3 files)
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "sanity-plugin-google-translate",
- "version": "4.0.15",
+ "version": "4.0.16",
"description": "Translate your content with Google Translate directly from your Sanity Studio",
"keywords": [
"sanity",
"sanity-plugin"
@@ -26,21 +26,21 @@
".": "./dist/index.js",
"./package.json": "./package.json"
},
"dependencies": {
- "@sanity/ui": "^4.4.0"
+ "@sanity/ui": "^4.4.4"
},
"devDependencies": {
"@sanity/tsconfig": "^2.2.1",
- "@sanity/tsdown-config": "^0.27.1",
+ "@sanity/tsdown-config": "^0.28.8",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"oxc-transform-react": "^0.153.0",
"react": "^19.3.0",
"react-dom": "^19.3.0",
- "sanity": "^6.16.0",
+ "sanity": "^6.18.0",
"styled-components": "^6.5.3",
- "tsdown": "^0.22.14"
+ "tsdown": "^0.23.1"
},
"peerDependencies": {
"react": "^19.2",
"react-dom": "^19.2", Index: package/dist/index.d.ts.map
===================================================================
--- package/dist/index.d.ts.map
+++ package/dist/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","names":[],"sources":["../src/googleTranslate.tsx","../src/types.ts"],"mappings":";cAKa,kCAAe;KCLhB;EACV;EACA;;KAGU;EACV;EACA;;KAGU;EACV;EACA;EACA"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","names":[],"sources":["../src/googleTranslate.tsx","../src/types.ts"],"mappings":";qBAKa,kCAAe;YCLhB;EACV;EACA;;YAGU;EACV;EACA;;YAGU;EACV;EACA;EACA"}
\ No newline at end of file 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