-
Notifications
You must be signed in to change notification settings - Fork 0
/
type.d.ts
93 lines (89 loc) · 2.45 KB
/
type.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
declare namespace Solar {
interface Profile {
id?:number
handle: string | null,
address: string | null,
email: string | null,
phone: string | null,
zupass: string | null,
status: 'active' | 'freezed'
image_url: string | null,
nickname: string | null,
about: string | null,
location: string | null,
sol_address: string | null,
farcaster_fid: string | null,
farcaster_address: string | null,
extras: string,
permissions: string
}
export interface ProfileSample {
id: number
handle: string
nickname: string
image_url: string
}
export interface Event {
id: number,
title: string,
event_type: string,
start_time: string,
end_time: string,
timezone: string,
meeting_url: string | null,
location: string | null,
formatted_address: string | null,
geo_lat: string | null,
geo_lng: string | null,
cover_url: string | null,
content: string | null,
tags: string[] | null,
max_participants: number | null,
min_participants: number | null,
participants_count: number,
badge_class_id: number | null,
external_url: string | null,
notes: string | null,
host_info: {
speaker?: ProfileSample[]
co_host?: ProfileSample[]
group_host?: ProfileSample[]
} | null
venue: string | null,
group: ProfileSample,
tickets: string[] | null
event_roles: string[] | null,
owner: ProfileSample
}
export interface Venue {
id: number
title: string
location: string
about: string
group_id: number
owner_id: number
formatted_address: string
geo_lat: string
geo_lng: string
created_at: string
start_date: string
end_date: string
timeslots: string[] | null
link: string
capacity: number
overrides: string[] | null
require_approval: boolean | null
tags: string[] | null
removed: boolean | null
visibility: string | null
}
export interface Track {
tag: string
id: number
title: string
about: string | null
start_date: string | null
end_date: string | null
icon_url: string | null
}
}