mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 15:28:28 -04:00
11 lines
260 B
TypeScript
11 lines
260 B
TypeScript
// a silly file, but this ensures that /api/count returns exactly what <HitCounter /> expects.
|
|
|
|
import type { hits as Hits } from "@prisma/client";
|
|
|
|
export type PageStats = Pick<Hits, "hits">;
|
|
|
|
export type SiteStats = {
|
|
total: PageStats;
|
|
pages: Hits[];
|
|
};
|