Skip to main content

ts-transforms / operations/lib/base / default

Class: default

Defined in: operations/lib/base.ts:6

Extended by

Constructors

new default()

new default(config): default

Defined in: operations/lib/base.ts:15

Parameters

ParameterType
configOperationConfig

Returns

default

Properties

PropertyModifierTypeDefault valueDefined in
configreadonlyOperationConfigundefinedoperations/lib/base.ts:9
destinationprotectedstring | string[]undefinedoperations/lib/base.ts:10
hasTargetprotectedbooleanundefinedoperations/lib/base.ts:11
sourceprotectedstring | string[]undefinedoperations/lib/base.ts:7
targetprotectedstring | string[]undefinedoperations/lib/base.ts:8
cardinalitystaticInputOutputCardinality'one-to-one'operations/lib/base.ts:13

Methods

removeField()

removeField(doc, field): void

Defined in: operations/lib/base.ts:50

Parameters

ParameterType
docDataEntity
fieldstring

Returns

void


removeSource()

removeSource(doc): void

Defined in: operations/lib/base.ts:46

Parameters

ParameterType
docDataEntity

Returns

void


set()

set(doc, data): void

Defined in: operations/lib/base.ts:38

Parameters

ParameterType
docDataEntity
dataany

Returns

void


setField()

setField(doc, field, data): void

Defined in: operations/lib/base.ts:42

Parameters

ParameterType
docDataEntity
fieldstring
dataany

Returns

void


validateConfig()

protected validateConfig(config): void

Defined in: operations/lib/base.ts:22

Parameters

ParameterType
configOperationConfig

Returns

void