Skip to content

Type Alias: TypeConfig ​

TypeConfig = object

Defined in: fate/src/types.ts:130

Configuration for a server entity type used by the client cache.

Properties ​

fields? ​

optional fields?: Record<string, RelationDescriptor>

Defined in: fate/src/types.ts:131


getId ​

getId: (record) => string | number

Defined in: fate/src/types.ts:132

Parameters ​

record ​

unknown

Returns ​

string | number


possibleTypes? ​

optional possibleTypes?: ReadonlyArray<string>

Defined in: fate/src/types.ts:133


refetch? ​

optional refetch?: RefetchConfig

Defined in: fate/src/types.ts:134


type ​

type: string

Defined in: fate/src/types.ts:135

Released under the MIT License