Interface: NormalizedResourcefulRouterOptions
Normalized configuration options for internal processing
Properties
| Property | Type | Description |
|---|---|---|
additional | NormalizedAdditionalResourcefulRoutes | The 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 |
prefix | string | null | The prefix of all CRUD and additional routes (Example: "/api/v1/") |