mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
patFix schema so beer image and brewery image have createdBy column. Rename 'url' to 'path' in schema, add 'caption' column.
29 lines
406 B
TypeScript
29 lines
406 B
TypeScript
export default interface BeerPostQueryResult {
|
|
id: string;
|
|
name: string;
|
|
brewery: {
|
|
id: string;
|
|
name: string;
|
|
};
|
|
description: string;
|
|
beerImages: {
|
|
path: string;
|
|
caption: string;
|
|
id: string;
|
|
alt: string;
|
|
}[];
|
|
|
|
ibu: number;
|
|
abv: number;
|
|
type: {
|
|
id: string;
|
|
name: string;
|
|
};
|
|
postedBy: {
|
|
id: string;
|
|
username: string;
|
|
};
|
|
|
|
createdAt: Date;
|
|
}
|