Skip to content

Workery / types / RouteParameter

Interface: RouteParameter<S>

types.RouteParameter

Type parameters

NameType
Sextends z.ZodType

Table of contents

Properties

Properties

location

location: RouteParameterLocation

Defined in

src/types.ts:45


schema

Optional schema: S

Defined in

src/types.ts:46


schemaOr

Optional schemaOr: any

Defined in

src/types.ts:47


dependency

Optional dependency: Dependency<any, RouteParameters, any>

Defined in

src/types.ts:48


options

options: RouteParameterOptions & { includeInSchema: boolean }

Defined in

src/types.ts:49