first commit
This commit is contained in:
29
frontend/types/hero.ts
Normal file
29
frontend/types/hero.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
export interface Hero {
|
||||
ID: number
|
||||
CreatedAt: string
|
||||
UpdatedAt: string
|
||||
DeletedAt: string | null
|
||||
title: string
|
||||
text1: string
|
||||
text2: string
|
||||
text4: string
|
||||
text5: string
|
||||
color: string
|
||||
image: string
|
||||
is_active: boolean
|
||||
width: number
|
||||
height: number
|
||||
quality: number
|
||||
format: string
|
||||
}
|
||||
|
||||
export interface HeroResponse {
|
||||
items: Hero[]
|
||||
page: number
|
||||
per_page: number
|
||||
total: number
|
||||
}
|
||||
|
||||
export interface HeroDetailResponse {
|
||||
data: Hero
|
||||
}
|
||||
Reference in New Issue
Block a user