mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-08-20 16:25:39 -04:00
clean up type declarations
This commit is contained in:
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
type PageStats = {
|
||||
title?: string;
|
||||
url?: string;
|
||||
date?: string;
|
||||
slug: string;
|
||||
hits: number;
|
||||
pretty_hits: string;
|
||||
pretty_unit: string;
|
||||
};
|
||||
|
||||
type OverallStats = {
|
||||
total: {
|
||||
hits: number;
|
||||
pretty_hits?: string;
|
||||
pretty_unit?: string;
|
||||
};
|
||||
pages: PageStats[];
|
||||
};
|
||||
Reference in New Issue
Block a user