mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-07-20 18:26:01 -04:00
add page stats typings
This commit is contained in:
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
export type PageStats = {
|
||||
hits: number;
|
||||
};
|
||||
|
||||
export type DetailedPageStats = PageStats & {
|
||||
slug: string;
|
||||
title?: string;
|
||||
url?: string;
|
||||
date?: string;
|
||||
};
|
||||
|
||||
export type SiteStats = {
|
||||
total: PageStats;
|
||||
pages: DetailedPageStats[];
|
||||
};
|
||||
Reference in New Issue
Block a user