Skip to content

Interface: NormalizedResourcefulRouterOptions

Normalized configuration options for internal processing

Properties

PropertyTypeDescription
additionalNormalizedAdditionalResourcefulRoutesThe additional routes to be generated (Example: { index: new Map([["/:id", (ctx) => ...)]]) )
except( | "update" | "delete" | "index" | "create" | "read" | "readRelated" | "bulkUpdate" | "syncRelated")[]The array of operations to exclude from the CRUD generated routes (Example: ["index", "create"])
middleware( | MiddlewareFn | ParsedNamedMiddleware)[]The middleware to be applied to all routes, including CRUD and additional routes
prefixstring | nullThe prefix of all CRUD and additional routes (Example: "/api/v1/")