Work in progress. These docs describe Spawnite at launch, and some parts are still being built.
What defineSaveCodec takes.
| Type Parameter |
Schema extends RecordSchema |
| Property |
Type |
Description |
form |
number |
The form this release writes, raised with a step when it changes. |
name |
string |
What the value is, as an error names it: “item stack”. |
schema |
Schema |
The value as this form holds it. |
steps? |
Readonly<Record<number, (saved) => unknown>> |
One step per form: step 2 turns form 1 into form 2. |