import type { LocalizedString } from '@entities' type ReviewState = | 'unpublishable' | 'publishable' | 'non_published' | 'published' export type Review = { createdAt: string experienceComment: string houseComment: string | null id: string rating: number state: ReviewState stayId: string translatedHouseComment: LocalizedString type: 'review' updatedAt: string } export type ReviewPayload = { review: { state?: ReviewState translated_house_comment?: LocalizedString } }