chore: separate frontend from backend
This commit is contained in:
11
app/types/api/contact.ts
Normal file
11
app/types/api/contact.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export interface ContactRequest {
|
||||
name: string;
|
||||
email: string;
|
||||
message: string;
|
||||
website?: string | null;
|
||||
}
|
||||
|
||||
export interface ContactResponse {
|
||||
success: boolean;
|
||||
message: string;
|
||||
}
|
||||
4
app/types/api/error.ts
Normal file
4
app/types/api/error.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface ApiError {
|
||||
message: string;
|
||||
success: boolean;
|
||||
}
|
||||
4
app/types/api/meta.ts
Normal file
4
app/types/api/meta.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface MetaResponse {
|
||||
version: string;
|
||||
name: string;
|
||||
}
|
||||
3
app/types/dictionary.ts
Normal file
3
app/types/dictionary.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export interface Dictionary<K, T> {
|
||||
[key: K]: T;
|
||||
}
|
||||
13
app/types/resume.ts
Normal file
13
app/types/resume.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export interface ResumeExperience extends TimelineItem {
|
||||
tools: string[];
|
||||
}
|
||||
|
||||
export interface ResumeContent {
|
||||
experience: ResumeExperience[];
|
||||
education: TimelineItem[];
|
||||
otherTools: string[];
|
||||
devops: string[];
|
||||
os: string[];
|
||||
programmingLanguages: string[];
|
||||
frameworks: string[];
|
||||
}
|
||||
0
app/types/tool.ts
Normal file
0
app/types/tool.ts
Normal file
Reference in New Issue
Block a user