Skip to main content

Interface: RouteOptions

api/src.RouteOptions

Hierarchy

  • Options

    RouteOptions

Properties

acceptedContentMimeTypes

Optional acceptedContentMimeTypes: null | (`message/${string}` | `application/${string}` | `text/${string}` | `multipart/${string}` | `image/${string}` | `audio/${string}` | `video/${string}` | `X-${string}/${string}`)[]

Defined in

projects/plugins/packages/api/src/lib/structures/Route.ts:107


enabled

Optional Readonly enabled: boolean

Inherited from

Piece.Options.enabled

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:417


maximumBodyLength

Optional maximumBodyLength: number

Defined in

projects/plugins/packages/api/src/lib/structures/Route.ts:100


name

Optional Readonly name: string

Inherited from

Piece.Options.name

Defined in

node_modules/@sapphire/pieces/dist/index.d.ts:412


route

Optional route: string

Defined in

projects/plugins/packages/api/src/lib/structures/Route.ts:93