@nestia/sdk
Version:
Nestia SDK and Swagger generator
12 lines (11 loc) • 563 B
TypeScript
import { ITypedHttpRoute } from "../../structures/ITypedHttpRoute";
import { ITypedMcpRoute } from "../../structures/ITypedMcpRoute";
import { ITypedWebSocketRoute } from "../../structures/ITypedWebSocketRoute";
export declare class SdkRouteDirectory {
readonly parent: SdkRouteDirectory | null;
readonly name: string;
readonly module: string;
readonly children: Map<string, SdkRouteDirectory>;
readonly routes: Array<ITypedHttpRoute | ITypedWebSocketRoute | ITypedMcpRoute>;
constructor(parent: SdkRouteDirectory | null, name: string);
}