nooschain / snapshots/snapshot-types / SnapshotImportOptions
Interface: SnapshotImportOptions
Defined in: snapshots/snapshot-types.ts:64
Options for importing a snapshot into a database.
Properties
allowOverwrite?
optionalallowOverwrite?:boolean
Defined in: snapshots/snapshot-types.ts:68
Required for operator restore because it clears existing snapshot state.
expectedChainId?
optionalexpectedChainId?: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.