-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
30 lines (28 loc) · 701 Bytes
/
types.ts
File metadata and controls
30 lines (28 loc) · 701 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
export type UserArticlesType = {
type_of: string;
id: number;
title: string;
description: string;
cover_image: string;
published: boolean;
published_at: string;
tag_list: string[];
slug: string;
path: string;
url: string;
canonical_url: string;
positive_reactions_count: number;
comments_count: number;
public_reactions_count: number;
page_views_count: number;
published_timestamp: string;
body_markdown: string;
user: object;
reading_time_minutes: number;
organization: object;
flare_tag: object;
}
export type ArticleType = {
readable_publish_date: string;
tags: string[];
} & UserArticlesType;