ipv4.army/types/lanyard.d.ts
seth 5d7220f5a8
Some checks failed
Code quality checks / biome (push) Has been cancelled
feat: enhance Lanyard component with tooltip support and improve styling
2025-05-19 01:13:14 -04:00

31 lines
502 B
TypeScript

type LanyardActivity = {
id: string;
name: string;
type: number;
state?: string;
session_id: string;
details?: string;
application_id: string;
timestamps?: {
start?: number;
end?: number;
};
assets?: {
large_image?: string;
large_text?: string;
small_image?: string;
small_text?: string;
};
created_at?: number;
buttons?: string[];
};
type LanyardData = {
discord_status: "online" | "idle" | "dnd" | "offline";
activities: LanyardActivity[];
[key: string]: unknown;
};