Skip to main content

ts-transforms / operations/lib/transforms/selector / default

Class: default

Defined in: operations/lib/transforms/selector.ts:5

Constructors

new default()

new default(config, matcherConfig): default

Defined in: operations/lib/transforms/selector.ts:12

Parameters

ParameterType
configSelectorConfig
matcherConfigMatcherConfig

Returns

default

Properties

PropertyModifierTypeDefault valueDefined in
selectorpublicstringundefinedoperations/lib/transforms/selector.ts:7
cardinalitystaticInputOutputCardinality'one-to-one'operations/lib/transforms/selector.ts:10

Methods

addMetaData()

addMetaData(doc, selector): void

Defined in: operations/lib/transforms/selector.ts:22

Parameters

ParameterType
docDataEntity
selectorstring

Returns

void


run()

run(doc): null | DataEntity<Record<string, any>, _DataEntityMetadata<Record<string, any>>>

Defined in: operations/lib/transforms/selector.ts:31

Parameters

ParameterType
docDataEntity

Returns

null | DataEntity<Record<string, any>, _DataEntityMetadata<Record<string, any>>>