/ src / lib / types.ts
types.ts
 1  /**
 2   * Account cohort types
 3   */
 4  export type Cohort = 'following' | 'followers' | 'mutuals' | 'network';
 5  
 6  /**
 7   * Dashboard view types
 8   */
 9  export type DashboardView = Cohort | 'stats';
10  
11  /**
12   * Node data for emoji cloud visualization
13   */
14  export interface EmojiNode {
15  	id: string;
16  	label: string;
17  	search: string;
18  	count: number;
19  	char?: string;
20  	url?: string;
21  	r: number;
22  	x: number;
23  	y: number;
24  }
25  
26  /**
27   * Payload for emoji cloud simulation
28   */
29  export interface EmojiSimulationPayload {
30  	sourceData: { id: string; label: string; count: number; char?: string; url?: string }[];
31  	width: number;
32  	height: number;
33  }