Skip to content

Commit

Permalink
[chore] plugin name
Browse files Browse the repository at this point in the history
  • Loading branch information
ash committed Aug 17, 2024
1 parent a8c6b6c commit c98dbf3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
* without appropriate licensing is prohibited.
*/

export { payloadAI } from './plugin.js'
export { payloadAiPlugin } from './plugin.js'
4 changes: 2 additions & 2 deletions src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { InstructionsProvider } from './providers/InstructionsProvider/index.js'
import { translations } from './translations/index.js'
import { updateFieldsConfig } from './utilities/updateFieldsConfig.js'

const payloadAI =
const payloadAiPlugin =
(pluginConfig: PluginConfig) =>
(incomingConfig: Config): Config => {
const collections = [...(incomingConfig.collections ?? []), Instructions]
Expand Down Expand Up @@ -76,4 +76,4 @@ const payloadAI =
return updatedConfig
}

export { payloadAI }
export { payloadAiPlugin }

0 comments on commit c98dbf3

Please sign in to comment.