Skip to main content

Module: _internals/data/selectData

Functions

selectData

selectData(sourceData, selectors?, messageType?, origin?): unknown

Selects data from a source object using a list of selectors.

Parameters

NameTypeDefault value
sourceDataRecord<string | number, unknown>undefined
selectors?string[]undefined
messageTypekeyof ShopwareMessageTypes'datasetSubscribe'
originstring''

Returns

unknown

Defined in

packages/admin-sdk/src/_internals/data/selectData.ts:9