# AuthorshipOptions interface · @imqueue/pg-prisma

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

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

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [getActorId](https://imqueue.org/api/pg-prisma/latest/pg-prisma.authorshipoptions.getactorid/) |  | () => string \| null | Resolves the id of the actor performing the current write, or null when there is none (system/unauthenticated). The extension is deliberately ignorant of \*where\* the id comes from — the caller supplies it (e.g. from the request context). |
| [models](https://imqueue.org/api/pg-prisma/latest/pg-prisma.authorshipoptions.models/) |  | [AuthorshipModels](https://imqueue.org/api/pg-prisma/latest/pg-prisma.authorshipmodels/) | Per-model authorship column config (the models to stamp). |

