1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-02 10:46:39 -04:00
Files
jarv.is/types/stats.d.ts
2022-06-30 09:17:12 -04:00

16 lines
242 B
TypeScript

export type PageStats = {
hits: number;
};
export type DetailedPageStats = PageStats & {
slug: string;
title?: string;
url?: string;
date?: string;
};
export type SiteStats = {
total: PageStats;
pages: DetailedPageStats[];
};