Learn / Glossary

foldkit-remote: server data

TermWhat it is
Remote.ModelRemote's Submodel inside your Model: the normalized entity cache, connections, and what is loading or failed. The package
DataThe domain bound to its place in your Model (Remote.make); every application-facing operation hangs off it.
RequirementWhat a read needs: an entity, an id, some fields. It rides on a Projection; the planner compares it with the cache.
RemoteDataWhat the cache knows about one read right now: Initial, Loading, Ready, Refreshing, Failed or NotFound. RemoteData
ConnectionAn ordered list of results from one query and input, as edges. What Data.query reads.
EdgeOne entry in a connection: a key and a reference to an entity.
SegmentA run of adjacent edges. The gap between two segments is rows nobody has fetched.
BoundaryWhat is known past a segment's end: Terminal (nothing more), Cursor (where to page from), or Unknown.
Optimistic layerA mutation's patches shown over the cache while it is in flight, removed when it settles.
OverlayOperations shown over the cache with no request behind them, until lifted: a preview.
RetentionKeeping only what active Surfaces reach; the rest is collected when they change.