-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathtypes.d.ts
More file actions
150 lines (141 loc) · 3.05 KB
/
Copy pathtypes.d.ts
File metadata and controls
150 lines (141 loc) · 3.05 KB
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
import { setLazyProp } from "next/dist/server/api-utils";
import { PHASE_DEVELOPMENT_SERVER } from "next/dist/shared/lib/constants";
export type Event = {
id: string;
name: string;
status: "Complete" | "Active" | "Upcoming";
description?: string;
location?: string;
startDate?: string;
endDate?: string;
logo?: string;
photos?: Array<string>;
photocreds?: string;
githubLink?: string;
website?: string;
};
interface AirtableEventRecord {
id: string;
fields: {
Name: string;
Status: "Complete" | "Active" | "Upcoming";
Description?: string; // Optional
Location?: string; // Optional
["Start Date"]?: string;
["End Date"]?: string;
Logo?: string; // Optional
Photos?: string; // Optional
["Photo Creds"]?: string; // Optional
["GitHub Link"]?: string; // Optional
Website?: string; // Optional
Ignored?: boolean;
};
_table?: {
_base: {
_airtable: Record<string, unknown>;
_id: string;
};
id: string | null;
name: string;
};
_rawJson?: {
id: string;
createdTime: string;
fields: Record<string, unknown>;
};
}
interface Project {
id: string;
githubUsername: string;
projectName: string;
description: string;
codeUrl?: string;
playableUrl?: string;
imageUrl?: string;
hoursSpent?: number;
status: string;
country: string;
stateOrProvince: string;
// Add more fields as needed
}
interface AirtableProjectRecord {
id: string;
fields: {
"Code URL"?: string;
Email: string;
"GitHub Username": string;
"Address (Line 1)"?: string;
"Address (Line 2)"?: string;
City?: string;
"State / Province"?: string;
Country?: string;
"ZIP / Postal Code"?: string;
"Code URL"?: string;
Birthday?: string;
"First Name": string;
"Last Name": string;
"Playable URL"?: string;
Screenshot: AirtableImage[] | [];
"Optional - Override Hours Spent"?: number;
Description: string;
"Automation - YSWS Record ID"?: string;
status: "rejected" | "approved" | "unreviewed" | "";
"Project Name"?: string;
created_at?: string;
screenshot_cdn_url?: string;
};
}
type AirtableImage = {
id: string;
width: number;
height: number;
url: string;
filename: string;
size: number;
type: string;
thumbnails: {
small: {
url: string;
width: number;
height: number;
};
large: {
url: string;
width: number;
height: number;
};
full: {
url: string;
width: number;
height: number;
};
};
};
interface Profile {
id: string;
email: string;
firstName: string;
lastName: string;
githubUsername: string;
state?: string;
country?: string;
twitterUrl?: string;
linkedinUrl?: string;
// Add more fields as needed
}
export interface WIPEvent {
name?: string;
location: string;
date: string;
upcoming: true;
}
export interface EventWithColors extends Event {
tagColor: string;
logoPreviewBackgroundColor: string;
}
export interface TeamMember {
name: string;
role: string;
bio: string;
image: string;
}