Class: ExtractField<TContext>
wrap/src.ExtractField
Type parameters
| Name | Type |
|---|---|
TContext | Record<string, any> |
Implements
Transform<ExtractFieldTransformationContext,TContext>
Table of contents
Constructors
Methods
Constructors
constructor
• new ExtractField<TContext>(«destructured»)
Type parameters
| Name | Type |
|---|---|
TContext | Record<string, any> |
Parameters
| Name | Type |
|---|---|
«destructured» | Object |
› from | string[] |
› to | string[] |
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
| Name | Type |
|---|---|
originalRequest | ExecutionRequest<any, any, any, Record<string, any>, any> |
_delegationContext | DelegationContext<TContext> |
_transformationContext | ExtractFieldTransformationContext |
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)