Skip to content

Commit

Permalink
chore: update docs with new import
Browse files Browse the repository at this point in the history
  • Loading branch information
r1tsuu committed Nov 24, 2024
1 parent 9203013 commit ba0f8ae
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/translator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ https://github.com/r1tsuu/payload-plugin-translator/assets/64744993/d39aeba4-baf

```ts
import { buildConfig } from 'payload/config';
import { translator } from '@payload-enchants/translator';
import { copyResolver } from '@payload-enchants/translator/resolvers/copy';
import { googleResolver } from '@payload-enchants/translator/resolvers/google';
import { openAIResolver } from '@payload-enchants/translator/resolvers/openAI';
import { libreResolver } from '@payload-enchants/translator/resolvers/libreTranslate';
import {
translator,
copyResolver,
googleResolver,
openAIResolver,
libreResolver,
} from '@payload-enchants/translator';

export default buildConfig({
plugins: [
Expand Down

0 comments on commit ba0f8ae

Please sign in to comment.