1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 02:58:28 -04:00
jarv.is/types/stats.d.ts

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[];
};