Learn / Glossary
Server data (foldkit-remote)
| Term | Meaning | Guide |
|---|---|---|
Remote.Model | Submodel storing cached Entities, query pages, and request statuses in your Model. | Remote |
Data | Your domain bound to Remote.Model via Remote.make, exposing queries and writes. | Remote |
| Requirement | Specific fields and Entity id a read needs, used to avoid duplicate fetches. | Remote |
RemoteData | Six read states: Initial, Loading, Ready, Refreshing, Failed, NotFound. | RemoteData |
| Connection | Paginated list of query results stored as ordered Edges. | Remote |
| Edge | One entry in a Connection pairing a sort cursor with an Entity reference. | Remote |
| Segment | Contiguous run of fetched Edges; gaps between segments mean unfetched rows. | Remote |
| Boundary | What sits past a Segment's end: Terminal, Cursor, or Unknown. | Remote |
| Optimistic layer | Pending mutation changes shown over cached rows until the server answers. | State model |
| Operation id | Unique UUID on a mutation so retries do not apply the same write twice. | Declared writes |
| Outbox | Durable mutations saved locally so writes survive page reloads and offline gaps. | Outbox |
| Write ledger | Server table of landed Operation ids keeping retried updates idempotent. | Write ledger |
| Overlay | Temporary local patches drawn over the cache with no server request behind them. | Remote |
| Retention | Dropping cached rows no longer needed by any active Surface. | Remote |