feat: implement initial fullstack portfolio application including dashboard, CMS, and analytics features.
This commit is contained in:
41
src/types/index.ts
Normal file
41
src/types/index.ts
Normal file
@@ -0,0 +1,41 @@
|
||||
export interface Project {
|
||||
id: string
|
||||
title: string
|
||||
description: string
|
||||
imageUrl?: string | null
|
||||
liveUrl?: string | null
|
||||
githubUrl?: string | null
|
||||
techStack: string[]
|
||||
featured: boolean
|
||||
order: number
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
}
|
||||
|
||||
export interface Experience {
|
||||
id: string
|
||||
company: string
|
||||
role: string
|
||||
startDate: Date
|
||||
endDate?: Date | null
|
||||
current: boolean
|
||||
description: string
|
||||
highlights: string[]
|
||||
techStack: string[]
|
||||
order: number
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
}
|
||||
|
||||
export interface ContactFormData {
|
||||
name: string
|
||||
email: string
|
||||
subject: string
|
||||
message: string
|
||||
}
|
||||
|
||||
export interface ContactFormState {
|
||||
success: boolean
|
||||
error?: string
|
||||
message?: string
|
||||
}
|
||||
Reference in New Issue
Block a user