feat: scaffold infrastructure - router, pinia, tailwind, amap, auth store, page placeholders

This commit is contained in:
2026-05-20 23:31:55 +08:00
parent eb183448b4
commit c49ac7a42e
29 changed files with 1624 additions and 432 deletions
+52
View File
@@ -0,0 +1,52 @@
export interface CloudType {
id: number
name: string
name_en: string
genus: string
rarity: 'common' | 'uncommon' | 'rare'
description: string | null
icon_url: string | null
created_at: string
}
export interface Cloud {
id: string
user_id: string
cloud_type_id: number
image_url: string
thumbnail_url: string | null
latitude: number | null
longitude: number | null
location_name: string | null
weather: string | null
status: 'pending' | 'approved' | 'rejected'
is_hidden: boolean
created_at: string
cloud_types?: CloudType
profiles?: Profile
}
export interface Profile {
id: string
username: string
avatar_url: string | null
role: 'user' | 'admin'
is_disabled: boolean
created_at: string
}
export interface UserCollection {
id: string
user_id: string
cloud_type_id: number
first_cloud_id: string | null
unlocked_at: string
}
export interface Reaction {
id: string
user_id: string
cloud_id: string
emoji: string
created_at: string
}