mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 20:13:49 +00:00
Add github actions, refactor seed and beer p likes
This commit is contained in:
15
services/BeerPost/schema/BeerRecommendationQueryResult.ts
Normal file
15
services/BeerPost/schema/BeerRecommendationQueryResult.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { BeerPost } from '@prisma/client';
|
||||
|
||||
type BeerRecommendationQueryResult = BeerPost & {
|
||||
brewery: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
beerImages: {
|
||||
id: string;
|
||||
alt: string;
|
||||
url: string;
|
||||
}[];
|
||||
};
|
||||
|
||||
export default BeerRecommendationQueryResult;
|
||||
Reference in New Issue
Block a user