0.0.4 • Published 5 months ago

payload-exportcollections-plugin v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

payload-exportcollections-plugin

Extends payloadcms with the ability to export all collection's data to CSV or JSON

Current status

codeql

test

publish

GitHub Super-Linter

Codacy Badge

Install

yarn add payload-exportcollections-plugin

Get Started

payload.config.ts

import exportCollectionsPlugin from "payload-exportcollections-plugin/dist/plugins";

export default buildConfig({
    ....
    plugins: [exportCollectionsPlugin(config?)]
    ....
})

The plugin may expects a config object defined like this:

export type ExportCollectionsPluginConfig = {
  disabledCollections?: string[];
};

where disabledCollections is a list of collections' slugs that you want to exclude from the plugin's enrichment.

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago