feat(P5A.T2): WatchTogetherPayload + wrappers + parseYouTubeUrl + tests

This commit is contained in:
byGalax
2026-05-16 21:21:30 +02:00
parent ad239ec549
commit 4399d39f08
5 changed files with 298 additions and 1 deletions
+30
View File
@@ -582,6 +582,36 @@ export type Database = {
}
Relationships: []
}
conversation_watch_sessions: {
Row: {
id: string;
conversation_id: string;
owner_user_id: string;
video_id: string;
started_at: string;
ended_at: string | null;
current_state: { playing: boolean; position_seconds: number; updated_at_ms: number };
};
Insert: {
id?: string;
conversation_id: string;
owner_user_id: string;
video_id: string;
started_at?: string;
ended_at?: string | null;
current_state?: { playing: boolean; position_seconds: number; updated_at_ms: number };
};
Update: {
id?: string;
conversation_id?: string;
owner_user_id?: string;
video_id?: string;
started_at?: string;
ended_at?: string | null;
current_state?: { playing: boolean; position_seconds: number; updated_at_ms: number };
};
Relationships: [];
};
}
Views: {
[_ in never]: never