Files
axiom/src/types/types.ts
T
2025-10-18 14:10:06 +02:00

21 lines
310 B
TypeScript

export interface Channel {
id: string;
name: string;
kind: "text" | "voice";
}
export interface Message {
id: number;
channel_id: string;
from: string;
contents: string;
timestamp: number;
}
export interface Server {
id: string;
name: string;
icon_url: string;
channels: Channel[];
}