ObjRefMapConfig
Home > @gooddata/sdk-ui-dashboard > ObjRefMapConfig
ObjRefMapConfig interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Configuration for the ObjRefMap.
Signature:
export interface ObjRefMapConfig<T>
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
idExtract | readonly | (obj: T) => Identifier | (ALPHA) Function that extracts id from object |
refExtract | readonly | (obj: T) => ObjRef | (ALPHA) Function that extracts ref from object |
strictTypeCheck | readonly | boolean | (ALPHA) Indicates whether strict idRef type-checking is desired. Some backends (e.g. tiger) have identifier refs use combination of On other backends, the |
type? | readonly | ObjectType | (ALPHA) (Optional) Type of object stored in the map. |
uriExtract | readonly | (obj: T) => string | (ALPHA) Function that extracts uri from object |