Skip to content

nooschain v0.1.0


nooschain / snapshots/snapshot-types / SnapshotImportOptions

Interface: SnapshotImportOptions

Defined in: snapshots/snapshot-types.ts:64

Options for importing a snapshot into a database.

Properties

allowOverwrite?

optional allowOverwrite?: boolean

Defined in: snapshots/snapshot-types.ts:68

Required for operator restore because it clears existing snapshot state.


expectedChainId?

optional expectedChainId?: string

Defined in: snapshots/snapshot-types.ts:70

Optional chain id guard for operator workflows.


mode

mode: "empty_database_only" | "operator_restore"

Defined in: snapshots/snapshot-types.ts:66

Import into an empty DB, or explicitly restore over existing state.

Audience-first NOOSChain documentation.