-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
company.ts
73 lines (67 loc) · 1.33 KB
/
company.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
export interface ICompany {
id: number,
name: string,
owner_id: number,
owner_username: string,
slogan: string,
tag: string,
website?: string,
socials : {
twitter?: string,
facebook?: string,
twitch?: string,
discord?: string,
youtube?: string
},
games: {
ats: boolean
ets: boolean
}
members_count: number,
recruitment: string,
language: string,
verified: boolean,
validated: boolean,
created: Date
}
export interface ICompanyIndex {
response: {
recent: ICompany [],
featured: ICompany [],
featured_cover: ICompany []
}
}
export interface ICompanyNews {
id: number,
title: string,
content_summary: string,
author_id: number,
author: string,
pinned: boolean
}
export interface ICompanyNewsPost {
id: number,
title: string,
content_summary: string,
content: string,
author_id: number,
author: string,
pinned: boolean
}
export interface ICompanyRoleInformation {
id: number,
name: string,
order: number,
owner: boolean,
created_at: Date,
updated_at: Date
}
export interface ICompanyMember {
id: number,
user_id: number,
username: string,
steam_id: number,
role_id: number,
role: string,
joinDate: Date
}