@cfxlabsinc/b2b-services
    Preparing search index...
    RouteConfigs: {
        [path in keyof T]: {
            [method in keyof T[path]]: T[path][method] extends RouteSchema
                ? RouteConfig<T[path][method]>
                : never
        }
    }

    The Fastify rotue configurations for this API, including the handler and additional options

    Example:

    const myApi = { ... } as const satisfies FastifyApi;
    const myApiHandlers: RouteHandlers<typeof myApi> = {
    "/v1/somethings": {
    post: {
    handler: async ({ body }, reply) => { ... },
    options: { ... }
    },
    },
    };

    Type Parameters