Module: _internals/data/selectData
Functions
selectData
▸ selectData(sourceData
, selectors?
, messageType?
, origin?
): unknown
Selects data from a source object using a list of selectors.
Parameters
Name | Type | Default value |
---|---|---|
sourceData | Record <string | number , unknown > | undefined |
selectors? | string [] | undefined |
messageType | keyof ShopwareMessageTypes | 'datasetSubscribe' |
origin | string | '' |
Returns
unknown
Defined in
packages/admin-sdk/src/_internals/data/selectData.ts:9