Initial Commit

This commit is contained in:
2026-10-03 20:07:49 +02:00
commit a1346c98b1
427 changed files with 59320 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
export function useLastViewedUpload() {
return useState<string | null>('last-viewed-upload', () => null)
}
export interface PendingUploadMedia {
id: string
type: 'image' | 'video' | 'audio' | 'youtube' | 'twitch' | 'link'
url: string | null
thumbUrl: string | null
}
// Beim Tile-Klick schon bekannte Mediendaten, damit die Thread-Seite
// vor Eintreffen der API-Antwort ein benanntes Element für die
// View-Transition rendern kann
export function usePendingUploadMedia() {
return useState<PendingUploadMedia | null>('pending-upload-media', () => null)
}