← back to Beverlyhillsvideos App

types/index.ts

22 lines

export type LocationType = 'restaurant' | 'store' | 'doctor' | 'lawyer';

export interface MapLocation {
  name: string;
  type: LocationType;
  category: string;
  address: string;
  lat: number;
  lng: number;
  phone?: string;
  menu_url?: string;
  slug?: string;
}

export interface Film {
  name: string;
  slug: string;
  blurb: string;
  src: string;
  poster: string;
}