Options
All
  • Public
  • Public/Protected
  • All
Menu

Module validators/dumpsters

Index

Variables

Const dumpsterIDParam

dumpsterIDParam: ObjectSchema<any> = ...

Const getDumpster

getDumpster: { params: ObjectSchema<any>; query: ObjectSchema<any> } = ...

Validator for a specific dumpster request

Type declaration

  • params: ObjectSchema<any>
  • query: ObjectSchema<any>

Const getRevisions

getRevisions: { params: ObjectSchema<any> } = ...

Validator for a request to get all revisions

Type declaration

  • params: ObjectSchema<any>

Const locationParams

locationParams: { query: ObjectSchema<any> } = ...

Validator for the params in a GET /dumpsters request

Type declaration

  • query: ObjectSchema<any>

Const patchRevision

patchRevision: { body: ObjectSchema<any>; params: ObjectSchema<any> } = ...

Type declaration

  • body: ObjectSchema<any>
  • params: ObjectSchema<any>

Const postDumpster

postDumpster: { body: ObjectSchema<any> } = ...

Validator for a POSTed dumpster

Type declaration

  • body: ObjectSchema<any>

Const putDumpster

putDumpster: { body: ObjectSchema<any>; params: ObjectSchema<any> } = ...

Validator for an updated dumpster (which already has an ID)

Type declaration

  • body: ObjectSchema<any>
  • params: ObjectSchema<any>

Generated using TypeDoc