use @octokit/graphql instead of plain graphql for /api/projects

This commit is contained in:
2021-07-14 07:26:07 -04:00
parent 38ba41ca0b
commit 9c26cd7bff
9 changed files with 270 additions and 227 deletions
+4 -4
View File
@@ -1,12 +1,12 @@
type PageStats = {
export type PageStats = {
slug: string;
hits: number;
title?: string;
url?: string;
date?: string;
slug: string;
hits: number;
};
type OverallStats = {
export type OverallStats = {
total: {
hits: number;
};