Interface IParameterOptionsWithQueriesSource

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

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

Hierarchy

Properties

names?: Nilable<string[]>

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

source: Nilable<"queries">

The name of the source.

transformTo?: Nilable<ParameterDataTransformTo>

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

Generated using TypeDoc