import { ParamType } from '../../'; /** * Collectible params args interface. * Collectible params are class-based view params that may be represented by more than one variable and are injected * to the view object by their 'name'. */ export interface SettableParamArgs { /** * Target object to set param for. */ target: string; /** * Type of param. */ type: ParamType; /** * Name of the variable that will used for param injection. */ key: string; /** * Value of the param to inject. Param value is the option provided to settable param decorator. * @example @SetHeader({ name: 'Content-Type', value: 'application/json' }) */ value: any; }