# DeriveOptions interface · @imqueue/pg-prisma

Source: https://imqueue.org/api/pg-prisma/latest/pg-prisma.deriveoptions/
Published: 2026-08-28
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-prisma 2.0.0 — generated reference, not hand-written

Everything [deriveDataLayer()](https://imqueue.org/api/pg-prisma/latest/pg-prisma.derivedatalayer/) needs.

**Signature:**

```typescript
export interface DeriveOptions 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [auditExclude?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.deriveoptions.auditexclude/) |  | readonly string\[\] | _(Optional)_ Models to leave out of the audit trail, by MODEL name. |
| [contract](https://imqueue.org/api/pg-prisma/latest/pg-prisma.deriveoptions.contract/) |  | [ContractJson](https://imqueue.org/api/pg-prisma/latest/pg-prisma.contractjson/) | The emitted contract, imported from `contract.json`. |
| [fields?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.deriveoptions.fields/) |  | [DeriveFields](https://imqueue.org/api/pg-prisma/latest/pg-prisma.derivefields/) | _(Optional)_ Field names, where they differ from the defaults. |
| [scope?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.deriveoptions.scope/) |  | Record<string, Record<string, string\[\]>> | _(Optional)_ Access levels and the fields each is scoped by, keyed by MODEL name. |

