import { DatabaseModel } from '..'; import { ChatMessageId } from '../chat'; import { RecipeId } from '../recipe'; import { UserId } from '../user'; export interface Flag extends DatabaseModel { /** The flag's ID */ id: FlagId; /** The user whom this flag is targeting */ user?: UserId; /** The recipe whom this flag is targeting */ recipe?: RecipeId; /** The message whom this flag is targeting */ message?: ChatMessageId; /** The user who flagged this data */ flagger: UserId; /** The explanation for the flag */ description?: string; } export declare type FlagId = string;