refactor: migrate mini program to TypeScript
CI / test (push) Successful in 15s

This commit is contained in:
2026-09-21 16:01:26 +08:00
parent c0b6dd31ae
commit 4e6019ec61
21 changed files with 209 additions and 25 deletions
+34
View File
@@ -0,0 +1,34 @@
export interface Exhibition {
id: string
name: string
venue: string
address: string
startsAt: string
endsAt: string
description: string
coverUrl?: string
}
export interface Tag { id: string; name: string; color: string }
export interface ActivityImage { id: string; url: string }
export interface Participant extends CoffeeChatUser { purpose: string; joinedAt: string }
export interface ActivityGroup { id: string; name: string; qrImageUrl: string; note: string }
export interface Activity {
id: string
title: string
description: string
location: string
startsAt: string
endsAt?: string
capacity?: number
status: 'upcoming' | 'active' | 'ended'
exhibition: Exhibition
images: ActivityImage[]
tags: Tag[]
participantCount: number
participants: Participant[]
groups: ActivityGroup[]
}
export interface CatalogMeta { exhibitions: Exhibition[]; tags: Tag[] }