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:
9
api/types/projects.d.ts
vendored
9
api/types/projects.d.ts
vendored
@@ -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;
|
||||
|
Reference in New Issue
Block a user