add homepage information type

This commit is contained in:
Darius
2026-02-05 00:26:47 +01:00
parent 3b7ef0f3ee
commit 12fc98c925
11 changed files with 29 additions and 8 deletions

8
dist/sse.d.ts vendored
View File

@@ -1,12 +1,12 @@
export interface SseClient {
export type SseClient = {
id: number;
send: (data: SseEvent) => void;
}
export interface SseEvent {
};
export type SseEvent = {
type: string;
data?: unknown;
message?: string;
}
};
export declare class SseService {
private clients;
addClient(client: SseClient): void;