liinnjohansson / todays-lunch

0 stars 1 forks source link

Create bistroContext #19

Closed eminamuratspahic closed 3 years ago

eminamuratspahic commented 3 years ago

bistroContext

interface bistro { title: string, location: Location, defaultPicture: string, lunchOfTheWeek: LunchOfTheWeek, likedBistro: bool }

interface Location { id: string, address: string, city: string, zipCode: number, phone: number[], }

interface LunchOfTheWeek { id: string, weekNumber: number, (borde ta år också ? Format: 202139, 202140 - eller fungernade datum format ?) monday?: TodaysLunch, tuseday?: TodaysLunch, wensday?: TodaysLunch, thursday?: TodaysLunch, friday?: TodaysLunch, }

interface TodaysLunch { dishes: string[], tags: Tags, urlPicture?: string, lunchStart: number, lunchEnd: number }

interface Tags { uteservering: bool, kaffeingår: bool, toalettfinns: bool, }