40 lines
655 B
TypeScript
40 lines
655 B
TypeScript
export interface Level {
|
|
id: string
|
|
imageUrl: string
|
|
answer: string
|
|
hint1: string | null
|
|
hint2: string | null
|
|
hint3: string | null
|
|
sortOrder: number
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}
|
|
|
|
export interface LevelFormData {
|
|
imageUrl: string
|
|
answer: string
|
|
hint1?: string
|
|
hint2?: string
|
|
hint3?: string
|
|
}
|
|
|
|
export interface ReorderRequest {
|
|
orders: { id: string; sortOrder: number }[]
|
|
}
|
|
|
|
export interface User {
|
|
id: string
|
|
email: string
|
|
emailVerified: boolean
|
|
name: string | null
|
|
image: string | null
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}
|
|
|
|
export interface UserFormData {
|
|
email: string
|
|
password: string
|
|
name?: string
|
|
}
|