Template base para proyectos SaaS multi-tenant. Estructura inicial: - apps/backend (NestJS API) - apps/frontend (React/Vite) - apps/database (PostgreSQL DDL) - docs/ (Documentación) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
520 B
TypeScript
13 lines
520 B
TypeScript
export interface StreamableHandlerResponse {
|
|
/** `true` if the connection is destroyed, `false` otherwise. */
|
|
destroyed: boolean;
|
|
/** `true` if headers were sent, `false` otherwise. */
|
|
headersSent: boolean;
|
|
/** The status code that will be sent to the client when the headers get flushed. */
|
|
statusCode: number;
|
|
/** Sends the HTTP response. */
|
|
send: (body: string) => void;
|
|
/** Signals to the server that all of the response headers and body have been sent. */
|
|
end: () => void;
|
|
}
|