Update brewery/beer style to use tuples for ranges/coords. Seed updates.

This commit is contained in:
Aaron William Po
2023-09-22 02:17:05 -04:00
parent e95cb29189
commit 43220fe0e6
11 changed files with 37 additions and 17 deletions

View File

@@ -7,7 +7,7 @@ const BreweryPostQueryResult = z.object({
location: z.object({
city: z.string(),
address: z.string(),
coordinates: z.array(z.number()),
coordinates: z.tuple([z.number(), z.number()]),
country: z.string().nullable(),
stateOrProvince: z.string().nullable(),
}),