ConnectionRoot.identity
property · packages/remote/src/retain.ts:17
readonly identity: stringRemote / foldkit-remote
interface · packages/remote/src/retain.ts:16
interface ConnectionRoot {
readonly identity: string
readonly select?: RelationRequirement | undefined
readonly ages?: boolean | undefined
readonly persist?: Persist | undefined
}A connection to keep: its identity, and what a page of it selects of each item, if a projection reads it.
ConnectionRoot.identityproperty · packages/remote/src/retain.ts:17
readonly identity: stringConnectionRoot.selectproperty · packages/remote/src/retain.ts:18
readonly select?: RelationRequirement | undefinedConnectionRoot.agesproperty · packages/remote/src/retain.ts:24
readonly ages?: boolean | undefinedEvery call reading it ages it (staleWhileRevalidate), so once left it
is held as it is and its age says when it is due. Otherwise a list left
is held stale, and going back refetches it.
ConnectionRoot.persistproperty · packages/remote/src/retain.ts:26
readonly persist?: Persist | undefinedWhat the calls reading it say of saving it (persist); none when no call says.