Interface: ResourcefulRouterOptions
Configuration options for the resourceful router macro
Properties
| Property | Type |
|---|---|
additional | AdditionalResourcefulRoutesMap |
catchThrown | boolean |
domain | string | null | undefined |
except | ( | "update" | "delete" | "index" | "create" | "read" | "readRelated" | "bulkUpdate" | "syncRelated")[] |
externalDocs? | ExternalDocumentationObject |
headers | { [key: string]: string; } |
info | InfoObject |
middleware | OneOrMore< | MiddlewareFn | ParsedNamedMiddleware> |
mutators? | ResourcefulRouterMutatorOptions |
onAny? | (error: unknown) => void |
onError? | (error: Error) => void |
onException? | (error: Exception) => void |
onJoiValidationError? | (error: ValidationError) => void |
onUnknown? | (error: unknown) => void |
onVineValidationError? | (error: ValidationError) => void |
payloadRestrictors? | ResourcefulPayloadSchemaGetter[] |
policies? | ResourcefulPolicy[] |
prefix | string |
scopeRestrictors? | ResourcefulQueryScopeCallback[] |
security | ResourcefulSecuritySchemaDefinition[] |
tagMap | { additional: string; general: string; } |
tagMap.additional | string |
tagMap.general | string |