import { DatabaseModel } from '..'; import { FlagId } from '../flag'; import { PublicRecipe } from './PublicRecipe'; export interface Recipe extends PublicRecipe, DatabaseModel { /** The list of flags associated with the recipe */ flags: FlagId[]; /** Is the recipe hidden (banned, but for recipes)? */ isHidden: boolean; /** Is the recipe deleted? */ isDeleted: boolean; /** Keywords related to the recipe, for searching. */ keywords: string; /** Number of users who saved this recipe. */ _saveCount?: number; }