Add leaflet-powered brewery map

This commit is contained in:
Aaron Po
2026-08-26 03:40:11 -04:00
parent 4ca35de7ef
commit d6306cbcba
11 changed files with 306 additions and 20 deletions

View File

@@ -7,13 +7,24 @@ interface ApiResponse<T> {
payload: T;
}
export interface BreweryCoordinates {
latitude: number;
longitude: number;
}
export interface BreweryLocation {
breweryPostLocationId: string;
breweryPostId: string;
cityId: string;
cityName: string;
stateProvinceName: string;
stateProvinceCode: string;
countryName: string;
countryCode: string;
addressLine1: string;
addressLine2: string | null;
postalCode: string;
coordinates: BreweryCoordinates | null;
}
export interface Brewery {