35 lines
712 B
TypeScript
35 lines
712 B
TypeScript
export interface CloudType {
|
|
id: number
|
|
name: string
|
|
genus: string
|
|
icon_id: string | null
|
|
rarity: 'common' | 'uncommon' | 'rare'
|
|
rarity_value: number
|
|
description: string | null
|
|
created_at: string
|
|
}
|
|
|
|
export interface Cloud {
|
|
id: string
|
|
user_id: string
|
|
cloud_type_id: number | null
|
|
image_url: string
|
|
thumbnail_url: string | null
|
|
latitude: number | null
|
|
longitude: number | null
|
|
description: string | null
|
|
captured_at: string | null
|
|
status: 'pending' | 'approved' | 'rejected'
|
|
is_hidden: boolean
|
|
created_at: string
|
|
}
|
|
|
|
export interface Profile {
|
|
id: string
|
|
username: string
|
|
avatar_id: string | null
|
|
role: 'user' | 'admin'
|
|
is_disabled: boolean
|
|
created_at: string
|
|
}
|