Docs
API Reference
Classes
ExtractField

Class: ExtractField<TContext>

wrap/src.ExtractField

Type parameters

NameType
TContextRecord<string, any>

Implements

  • Transform<ExtractFieldTransformationContext, TContext>

Table of contents

Constructors

Methods

Constructors

constructor

new ExtractField<TContext>(«destructured»)

Type parameters

NameType
TContextRecord<string, any>

Parameters

NameType
«destructured»Object
› fromstring[]
› tostring[]

Defined in

packages/wrap/src/transforms/ExtractField.ts:15 (opens in a new tab)

Methods

transformRequest

transformRequest(originalRequest, _delegationContext, _transformationContext): ExecutionRequest<Record<string, any>, any, any, Record<string, any>>

Parameters

NameType
originalRequestExecutionRequest<Record<string, any>, any, any, Record<string, any>>
_delegationContextDelegationContext<TContext>
_transformationContextExtractFieldTransformationContext

Returns

ExecutionRequest<Record<string, any>, any, any, Record<string, any>>

Implementation of

Transform.transformRequest

Defined in

packages/wrap/src/transforms/ExtractField.ts:20 (opens in a new tab)