Interface IParameterOptionsWithUrlsSource

Options for Parameter decorator, which defines the source of the paremeter as from one or more url parameter.

interface IParameterOptionsWithUrlsSource {
    names?: Nilable<string[]>;
    source: Nilable<"urls">;
    transformTo?: Nilable<ParameterDataTransformTo>;
}

Hierarchy

Properties

names?: Nilable<string[]>

One or more url parameter names. If not defined, all parameters are taken.

source: Nilable<"urls">

The name of the source.

transformTo?: Nilable<ParameterDataTransformTo>

A custom function, which transforms input data to a new format / type.

Generated using TypeDoc