Skip to content

PackOptions

Defined in: packages/store-kit/src/objects/state.ts:22

Options passed through pack/unpack/assemble pipelines to enable optional schema-driven ARC4 packing. When schema is omitted, the legacy JSON-string-per-box behavior is used unchanged.

path is the dotted state path the value lives at — required for the schema to look up the matching ARC4 type. For whole subtrees the caller is expected to pass the box-root path and the value at that root (see Store._doSave); for leaves subtrees the leaf path is used.

Properties

path?

optional path: string

Defined in: packages/store-kit/src/objects/state.ts:24


schema?

optional schema: null | CompiledSchema

Defined in: packages/store-kit/src/objects/state.ts:23