-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtype.ts
53 lines (47 loc) · 915 Bytes
/
type.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
export type PostDataProps = {
title: string;
summary: string;
imageLink: string;
category: string;
tags: string;
content: string;
date: string;
postNumber: number;
};
export type ThemeContextProps = {
theme: string;
toggleTheme: () => void;
};
export type ProjectDataProps = {
title: string;
summary: string;
imageLink: string;
category: string;
content: string;
date: string;
};
export type PostCountProps = {
count: number;
postCategory: string;
};
export type CommentProps = {
_id: string;
articleTitle: string;
date: string;
comment: string;
author: string;
password: string;
recomment: string;
recommentDate: string;
profileImageLink: string;
};
export type RecommentProps = {
recomment: string;
recommentDate: string;
};
export type InputVerificationState =
| "default"
| "success"
| "input-error"
| "password-error"
| "server-error";