AuthorshipOptions interface

Everything authorship() needs to build its extension.

Signature:

export interface AuthorshipOptions 

Properties

Property

Modifiers

Type

Description

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

AuthorshipModels

Per-model authorship column config (the models to stamp).

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.