mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 15:48:31 -04:00
16 lines
295 B
TypeScript
16 lines
295 B
TypeScript
import type { NoteFrontMatter } from "./note";
|
|
|
|
export type PageStats = {
|
|
hits: number;
|
|
};
|
|
|
|
export type DetailedPageStats = PageStats &
|
|
Pick<NoteFrontMatter, "slug" | "title" | "date"> & {
|
|
url: string;
|
|
};
|
|
|
|
export type SiteStats = {
|
|
total: PageStats;
|
|
pages: DetailedPageStats[];
|
|
};
|