PrepareSession
PrepareSession =
object
Defined in: packages/schema/src/prepare.ts:5
The caller of a write .prepare() runs for, as the server resolved it.
Properties
Section titled “Properties”anonymous?
Section titled “anonymous?”
optionalanonymous?:true
Defined in: packages/schema/src/prepare.ts:11
A visitor without a token, through a public form.
tenant?
Section titled “tenant?”
optionaltenant?: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.