Skip to content

Commit

Permalink
Replace local Store interface with import from @carrismetropolitana/a…
Browse files Browse the repository at this point in the history
…pi-types/facilities
  • Loading branch information
joao-vasconcelos committed Jan 6, 2025
1 parent 184a82d commit 5f2bc57
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions frontend/types/stores.types.ts
Original file line number Diff line number Diff line change
@@ -1,36 +1,6 @@
/* * */

export interface Store {
active_counters: number
address: string
brand_name: string
current_status: 'busy' | 'closed' | 'open' | 'unknown'
currently_waiting: number
expected_wait_time: number
google_place_id: string
hours_friday: string[]
hours_monday: string[]
hours_saturday: string[]
hours_special: string
hours_sunday: string[]
hours_thursday: string[]
hours_tuesday: string[]
hours_wednesday: string[]
id: string
lat: number
locality: string
lon: number
municipality_id: string
municipality_name: string
name: string
parish_id: string
parish_name: string
phone: string
postal_code: string
region_id: string
region_name: string
short_name: string
}
import { Store } from '@carrismetropolitana/api-types/facilities';

/* * */

Expand Down

0 comments on commit 5f2bc57

Please sign in to comment.