-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.d.ts
120 lines (111 loc) · 2.37 KB
/
types.d.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
export interface Project {
id: string;
title: string;
image: string;
github: ?string;
link: string;
rank: number;
type: string?;
description: string;
longDescription: string;
tags: ?string[];
topics: ?string[];
}
export interface ProjectMeta {
title: string;
excerpt: string;
slug: string;
type: string?;
date: string;
tags: string[];
link: string;
githubUrl: string;
image: string;
rank: number;
}
export type ProjectContextType = {
projects: Project[];
saveProjects: (projects: Project[]) => void;
};
export type AppStore = {
projects: Project[] | null;
};
export type AppStoreContext = [
state: AppStore,
setState: (state: AppStore) => void,
];
export type ISkillCard = { id: number; title: string; description: string };
export interface ITagColors {
tag: string;
class: string;
}
export interface IZoomPayload {
agenda: string;
default_password: boolean;
duration: string | number;
password: string;
pre_schedule: boolean;
schedule_for: string;
settings: Settings;
start_time: string;
template_id: string;
timezone: string;
topic: string;
}
export interface Settings {
allow_multiple_devices: boolean;
alternative_hosts_email_notification: boolean;
close_registration: boolean;
contact_email: string;
contact_name: string;
email_notification: boolean;
encryption_type: string;
host_video: boolean;
join_before_host: boolean;
meeting_authentication: boolean;
meeting_invitees?: MeetingInviteesEntity[] | null;
mute_upon_entry: boolean;
participant_video: boolean;
private_meeting: boolean;
registrants_confirmation_email: boolean;
registrants_email_notification: boolean;
registration_type: number;
show_share_button: boolean;
use_pmi: boolean;
waiting_room: boolean;
watermark: boolean;
host_save_video_order: boolean;
alternative_host_update_polls: boolean;
}
export interface MeetingInviteesEntity {
email: string;
}
export type TUser = {
id: string;
first_name: string;
last_name: string;
email: string;
type: number;
pmi: number;
timezone: string;
verified: number;
created_at: string;
last_login_time: string;
pic_url: string;
language: string;
phone_number: string;
status: string;
role_id: string;
};
export type TMeetingForm = {
password: string;
showPassword: boolean;
topic: string;
};
export interface Post {
content: string;
meta: ProjectMeta;
}
export interface IProjectApiResponse {
projects: ProjectMeta[];
}