# AuditOptions interface · @imqueue/pg-prisma

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

Everything [audit()](https://imqueue.org/api/pg-prisma/latest/pg-prisma.audit/) needs to build its extension.

**Signature:**

```typescript
export interface AuditOptions 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [client](https://imqueue.org/api/pg-prisma/latest/pg-prisma.auditoptions.client/) |  | PrismaClient | The UNEXTENDED Prisma client, used to write the audit rows. |
| [config](https://imqueue.org/api/pg-prisma/latest/pg-prisma.auditoptions.config/) |  | [AuditConfig](https://imqueue.org/api/pg-prisma/latest/pg-prisma.auditconfig/) | Where the trail goes and what its columns are called. |
| [getPrincipal](https://imqueue.org/api/pg-prisma/latest/pg-prisma.auditoptions.getprincipal/) |  | () => unknown | Resolves the actor to record, or a falsy value to record none. |
| [models](https://imqueue.org/api/pg-prisma/latest/pg-prisma.auditoptions.models/) |  | ReadonlySet<string> | Models whose writes are recorded to the audit log. |

