first commit
This commit is contained in:
41
types/index.ts
Normal file
41
types/index.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
export interface Article {
|
||||
id: string;
|
||||
title: string;
|
||||
description: string;
|
||||
cover_image: string;
|
||||
url: string;
|
||||
page_views_count: number;
|
||||
public_reactions_count: number;
|
||||
comments_count: number;
|
||||
}
|
||||
|
||||
export interface Project {
|
||||
date: String;
|
||||
status: String;
|
||||
skills: String;
|
||||
type: string;
|
||||
title: string;
|
||||
description: string;
|
||||
logo: string;
|
||||
link: string;
|
||||
slug: string;
|
||||
}
|
||||
|
||||
export interface Repo {
|
||||
id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
language: string;
|
||||
watchers: number;
|
||||
forks: number;
|
||||
stargazers_count: number;
|
||||
html_url: string;
|
||||
homepage: string;
|
||||
}
|
||||
|
||||
export interface User {
|
||||
login: string;
|
||||
avatar_url: string;
|
||||
public_repos: number;
|
||||
followers: number;
|
||||
}
|
||||
Reference in New Issue
Block a user