Skip to content

Commit

Permalink
fix: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
rtaieb committed Dec 27, 2024
1 parent 698b1c1 commit 0e8d6e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/prisma/prisma-analytics-queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ type GetNorthStarStatsProps = {
dateFrom: Date;
range: DateRange;
};
type NorthStarQueryRecord = {
periode: Date | null;
score: bigint | null;
};

export const getNorthStarStats = async (params: GetNorthStarStatsProps) => {
export const getNorthStarStats = async (params: GetNorthStarStatsProps): Promise<NorthStarQueryRecord[]> => {
return prismaClient.$queryRawTyped(northStarStatQuery(params.dateFrom, params.range));
};

0 comments on commit 0e8d6e0

Please sign in to comment.