Format: format codebase to prettier schema

This commit is contained in:
Aaron William Po
2023-05-16 23:49:44 -04:00
parent 0b0c0e6821
commit 39c310f296
3 changed files with 11 additions and 4 deletions

View File

@@ -28,7 +28,12 @@ const getBreweryPosts = async (
await DBClient.instance.breweryPost.findMany({
select: {
location: {
select: { coordinates: true, city: true, country: true, stateOrProvince: true },
select: {
coordinates: true,
city: true,
country: true,
stateOrProvince: true,
},
},
id: true,
name: true,

View File

@@ -1,4 +1,4 @@
import { z } from "zod";
import { z } from 'zod';
const BreweryPostMapQueryResult = z.object({
location: z.object({