Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ModelDefinition<Key, Properties, Collection>

Type parameters

Hierarchy

  • ModelDefinition

Index

Properties

collection

collection: Collection

Optional create

create: { parameters?: RouteParamsInterface; request?: Properties; response?: Properties }

Type declaration

  • Optional parameters?: RouteParamsInterface
  • Optional request?: Properties
  • Optional response?: Properties

Optional delete

delete: { parameters: RouteParamsInterface; response: Properties }

Type declaration

key

key: Key

Optional patch

patch: { parameters: RouteParamsInterface; request?: Partial<Properties>; response?: Properties }

Type declaration

  • parameters: RouteParamsInterface
  • Optional request?: Partial<Properties>
  • Optional response?: Properties

properties

properties: Properties

Generated using TypeDoc