Documentation
    Preparing search index...

    Type Alias Route

    Route: RequiredProperties<RouteArgument, "middlewares" | "pathOptions"> & {
        _route: string;
        attributes: Record<string, string>;
    }
    import type { Route } from '@chubbyts/chubbyts-framework/dist/router/route';

    const route: Route = {
    method: 'POST'
    path: '/api/users',
    handler: userCreateHandler,
    middlewares: [],
    pathOptions: {},
    attributes: {},
    _route: 'Route',
    }