Skip to content

PrepareSession

PrepareSession = object

Defined in: packages/schema/src/prepare.ts:5

The caller of a write .prepare() runs for, as the server resolved it.

optional anonymous?: true

Defined in: packages/schema/src/prepare.ts:11

A visitor without a token, through a public form.


optional tenant?: string | number

Defined in: packages/schema/src/prepare.ts:9

The tenant the write works in, for a resource with .tenant().


user: AccessUser

Defined in: packages/schema/src/prepare.ts:7

The user, with the roles they act with.