import type { GameModeHrid } from '../game-mode/types.ts'; import type { NameColorHrid } from '../name/types.ts'; import type { CHAT_CHANNEL_TYPES_HRIDS, CHAT_ICONS_HRIDS } from './constants.ts'; export type ChatChannelTypeHrid = (typeof CHAT_CHANNEL_TYPES_HRIDS)[number]; export interface ChatChannelType { hrid: ChatChannelTypeHrid; name: string; isPrivate: boolean; sortIndex: number; } export type ChatIconHrid = (typeof CHAT_ICONS_HRIDS)[number]; export interface ChatIcon { hrid: ChatIconHrid; name: string; isSpecial: boolean; isSeasonal: boolean; seasonStartMonth: number; seasonStartDay: number; seasonEndMonth: number; seasonEndDay: number; cowbellCost: number; supporterPointCost: number; requiredChatIconHrid: ChatIconHrid | ''; sortIndex: number; } export interface ChatMessage { id: number; chan: ChatChannelTypeHrid; t: string; cId: number; icon: ChatIconHrid; color: NameColorHrid; sName: string; gm: GameModeHrid; m: string; linksMetadata?: string; rId?: number; rName?: string; isSystemMessage?: boolean; } //# sourceMappingURL=types.d.ts.map