@justanarthur/payload-plugin-translator 3.0.3 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -2
- package/dist/client.d.ts +12 -2
- package/dist/client.js +93 -11
- package/dist/index.d.ts +13 -1
- package/dist/index.js +171 -42
- package/dist/jobs.d.ts +1 -1
- package/dist/jobs.js +21 -20
- package/dist/resolvers/copy.d.ts +1 -1
- package/dist/resolvers/copy.js +5 -5
- package/dist/resolvers/google.d.ts +1 -1
- package/dist/resolvers/google.js +5 -6
- package/dist/resolvers/libreTranslate.d.ts +1 -1
- package/dist/resolvers/libreTranslate.js +5 -6
- package/dist/resolvers/openAI.d.ts +4 -2
- package/dist/resolvers/openAI.js +5 -6
- package/dist/resolvers/types.d.ts +1 -1
- package/dist/rsc.d.ts +5 -0
- package/dist/rsc.js +703 -0
- package/dist/shared/chunk-15n5q7wd.js +253 -0
- package/dist/shared/chunk-31qgv1zk.js +5 -0
- package/dist/shared/chunk-9d433kmv.js +359 -0
- package/dist/shared/{chunk-zhrw0jnz.js → chunk-mvqymw6n.js} +3 -3
- package/dist/shared/chunk-nxddacte.js +243 -0
- package/dist/shared/{chunk-q51q8rd2.js → chunk-p03jz82h.js} +280 -512
- package/dist/shared/{chunk-97ktc51q.js → chunk-zenq7s47.js} +2 -2
- package/dist/shared/{chunk-fsveh29m.js → chunk-zs19h344.js} +3 -3
- package/dist/types.d.ts +8 -0
- package/package.json +18 -9
- package/dist/shared/chunk-ecnph6hw.js +0 -205
- /package/dist/shared/{chunk-frnemj69.js → chunk-e6c0qzkt.js} +0 -0
package/dist/resolvers/openAI.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../shared/chunk-
|
|
4
|
-
import"../shared/chunk-frnemj69.js";
|
|
2
|
+
openAIResolver2
|
|
3
|
+
} from "../shared/chunk-nxddacte.js";
|
|
5
4
|
|
|
6
5
|
// src/exports/resolvers/openAI.ts
|
|
7
|
-
var openAI_default =
|
|
6
|
+
var openAI_default = openAIResolver2;
|
|
8
7
|
export {
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
openAI_default as default,
|
|
9
|
+
openAIResolver2 as openAIResolver
|
|
11
10
|
};
|
|
@@ -15,4 +15,4 @@ type TranslateResolver = {
|
|
|
15
15
|
key: string;
|
|
16
16
|
resolve: (args: TranslateResolverArgs) => Promise<TranslateResolverResponse> | TranslateResolverResponse;
|
|
17
17
|
};
|
|
18
|
-
export {
|
|
18
|
+
export { TranslateResolver, TranslateResolverArgs, TranslateResolverResponse };
|
package/dist/rsc.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AdminViewServerProps } from "payload";
|
|
2
|
+
import { JSX as JSX_1kxb } from "react";
|
|
3
|
+
type Element_12xgc = JSX_1kxb["Element"];
|
|
4
|
+
declare const TranslationsView: ({ initPageResult, params, searchParams }: AdminViewServerProps) => Promise<Element_12xgc>;
|
|
5
|
+
export { TranslationsView, TranslationsView as default };
|