Files
the-biergarten-app/services/BeerPost/schema/BeerPostQueryResult.ts
Aaron William Po 5cf2087cd1 Refactored api services into sep files. Client fix
Fixed hydration errors in beers/[id] by implementing timeDistanceState
2023-01-31 23:16:43 -05:00

28 lines
384 B
TypeScript

export default interface BeerPostQueryResult {
id: string;
name: string;
brewery: {
id: string;
name: string;
};
description: string;
beerImages: {
url: string;
id: string;
alt: string;
}[];
ibu: number;
abv: number;
type: {
id: string;
name: string;
};
postedBy: {
id: string;
username: string;
};
createdAt: Date;
}