@sentzunhat/zacatl
Version:
A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.
16 lines • 488 B
TypeScript
export interface StaticConfig {
root: string;
prefix?: string;
}
export interface PageServerConfig {
devServerUrl?: string;
staticDir?: string;
customRegister?: (server: unknown) => Promise<void> | void;
apiPrefix?: string;
}
export interface PageServerPort {
registerStaticFiles(config: StaticConfig): void;
registerSpaFallback(apiPrefix: string, staticDir: string): void;
register(server: unknown): Promise<void>;
}
//# sourceMappingURL=port.d.ts.map