Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

DepositKind

A kind of deposit, as defineDeposit declares it: its name, which is part of every deposit’s identity, and the schema of its payload.

Type Parameter Default type
Name extends string string
Schema extends SaveSchema SaveSchema
Property Modifier Type Description
name readonly Name Its name, kebab-case, which a hook is keyed by.
schema readonly Schema What its payload is checked against where it is sent and received.