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<any, any, any, Record<string, any>, any>

Parameters

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

Returns

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

Implementation of

Transform.transformRequest

Defined in

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