SerializedStore
A serialized snapshot of the record store's values. This is a plain JavaScript object that can be saved to storage or transmitted over the network.
type SerializedStore<R extends UnknownRecord> = Record<IdOf<R>, R>;Example
const serialized: SerializedStore<Book> = {
"book:123": {
id: "book:123",
typeName: "book",
title: "The Lathe of Heaven",
},
"book:456": {
id: "book:456",
typeName: "book",
title: "The Left Hand of Darkness",
},
};Prev
SerializedSchemaNext
StoreAfterChangeHandler