OptionalgenerateId: IdGenerator<T, K>Protected ReadonlygenerateAssigns the identity for newly created records.
Protected ReadonlykeyThe property holding each record's identity.
ProtecteddecorateEvery record matching the query, ignoring pagination.
Exists so export can cover the whole result set rather than the current
page. Optional: a source over an unbounded remote collection may have no
safe way to honour it, and callers must degrade to list when absent.
ProtectedreadCurrent contents of the backing collection.
Protectedwrite
A source persisting to
localStorageunder a fixed key.Reads go through storage on every call rather than through a cache, so a second tab writing the same key is picked up on the next query instead of being shadowed by stale in-memory state.
Storage is best-effort: a read that fails or returns malformed JSON falls back to the seed rather than throwing, since an unreadable cache should not take the table down. Writes that fail (quota, private mode) do throw - silently dropping a write the user believes succeeded is worse than an error.