-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.ts
54 lines (48 loc) · 1.08 KB
/
types.ts
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import { Emoji } from "emoji-type";
export type NavLinks = { href: string, title: string }[]
export type UserPost = {
id: string,
headline: string,
body?: string,
image?: string | null;
link?: string | null;
emoji?: Emoji
created_at: string,
author: string,
repost?: string
}
export const SortCategories = [
{ emoji: "⭐", title: "Everything" },
{ emoji: "🎵", title: "Music" },
{ emoji: "📽️", title: "Movies" },
{ emoji: "📚", title: "Books" },
{ emoji: "👕", title: "Clothes" },
{ emoji: "🍔", title: "Food & Drink" },
{ emoji: "📺", title: "Tv" },
{ emoji: "📹", title: "Videos" },
{ emoji: "🏛️", title: "Places" },
{ emoji: "🧠", title: "Random" }
];
export type Editorial = {
id: string,
guest: string,
created_at: string,
cover: string,
account: string
}
export type ProfileTheme = {
background?: string,
text?: string,
primary?: string,
secondary?: string,
tertiary?: string
}
export type UserProfile = {
id: string,
username: string,
display_name: string,
following: string[],
blocked: string[],
created_at: string,
avatar?: string
}