import { User } from './user'; import { Emoji } from './emoji'; import { File } from './file'; import { Poll } from './poll'; export type Note = { id: string; createdAt: string; userId: string; user: User; text: string | null; cw?: string | null; visibility: NoteVisibility; renoteCount: number; repliesCount: number; reactions: { [key: string]: number; }; emojis?: Array | null; fileIds?: Array; files?: Array; replyId?: string | null; renoteId?: string | null; uri?: string; reply?: Note; renote?: Note; tags?: Array; poll?: Poll | null; mentions?: Array; myReaction?: string | null; }; export type NoteVisibility = 'public' | 'home' | 'followers' | 'specified' | 'hidden';