1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-26 15:01:17 -04:00

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

View File

@@ -1,11 +1,10 @@
type Repository = {
import type { Language } from "@octokit/graphql-schema";
export type Repository = {
name: string;
url: string;
description: string;
primaryLanguage?: {
color: string;
name: string;
};
primaryLanguage?: Language;
stargazerCount: number;
forkCount: number;
pushedAt: string;