UNPKG

@pulzar/core

Version:

Next-generation Node.js framework for ultra-fast web applications with zero-reflection DI, GraphQL, WebSockets, events, and edge runtime support

70 lines 1.88 kB
import type { FastifyRequest, FastifyReply } from "fastify"; export interface PingResponse { message: string; timestamp: string; uptime: number; version: string; } export declare function pingHandler(request: FastifyRequest, reply: FastifyReply): Promise<PingResponse>; export declare const pingRouteSchema: { response: { 200: { type: string; properties: { message: { type: string; example: string; }; timestamp: { type: string; format: string; }; uptime: { type: string; example: number; }; version: { type: string; example: string; }; }; }; }; }; export declare const pingRoute: { method: "GET"; url: string; handler: typeof pingHandler; schema: { response: { 200: { type: string; properties: { message: { type: string; example: string; }; timestamp: { type: string; format: string; }; uptime: { type: string; example: number; }; version: { type: string; example: string; }; }; }; }; }; config: { summary: string; description: string; tags: string[]; }; }; export default pingRoute; //# sourceMappingURL=ping.get.d.ts.map