1.2.2 • Published 6 months ago

@payload-bites/audit-fields v1.2.2

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

Audit fields

Add createdBy and lastModifiedBy audit fields to collections and globals.

Quick start

  1. Install the plugin:
pnpm add @payload-bites/audit-fields
  1. Add the plugin to your payload.config.ts:
/// ....
import { auditFieldsPlugin } from "@payload-bites/audit-fields";

export default buildConfig({
  // ...
  plugins: [
    // ...
    auditFieldsPlugin({
      // ...
    }),
  ],
});

Defaults

For defaults, refer to defaults.ts.

Options

For options, refer to types.ts.

1.2.2

6 months ago

1.2.1

6 months ago

1.2.0

9 months ago

1.1.0

9 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago