| 7 | | Json[]; |
| 8 | |
| 9 | export interface Database { |
| 10 | public: { |
| 11 | Tables: { |
| 12 | shared_videos: { |
| 13 | Row: { |
| 14 | shared_at: string; |
| 15 | shared_by_user_id: string | null; |
| 16 | space_id: string; |
| 17 | video_id: string; |
| 18 | }; |
| 19 | Insert: { |
| 20 | shared_at?: string; |
| 21 | shared_by_user_id?: string | null; |
| 22 | space_id: string; |
| 23 | video_id: string; |
| 24 | }; |
| 25 | Update: { |
| 26 | shared_at?: string; |
| 27 | shared_by_user_id?: string | null; |
| 28 | space_id?: string; |
| 29 | video_id?: string; |
| 30 | }; |
| 31 | Relationships: [ |
| 32 | { |
| 33 | foreignKeyName: "shared_videos_shared_by_user_id_fkey"; |
| 34 | columns: ["shared_by_user_id"]; |
| 35 | isOneToOne: false; |
| 36 | referencedRelation: "users"; |
| 37 | referencedColumns: ["id"]; |
| 38 | }, |
| 39 | { |
| 40 | foreignKeyName: "shared_videos_space_id_fkey"; |
| 41 | columns: ["space_id"]; |
| 42 | isOneToOne: false; |
| 43 | referencedRelation: "spaces"; |
| 44 | referencedColumns: ["id"]; |
| 45 | }, |
| 46 | { |
| 47 | foreignKeyName: "shared_videos_video_id_fkey"; |
| 48 | columns: ["video_id"]; |
| 49 | isOneToOne: false; |
| 50 | referencedRelation: "videos"; |
| 51 | referencedColumns: ["id"]; |
| 52 | }, |
| 53 | ]; |
| 54 | }; |
| 55 | space_members: { |
| 56 | Row: { |
| 57 | role: Database["public"]["Enums"]["user_role"]; |
| 58 | space_id: string; |
| 59 | user_id: string; |
| 60 | }; |
| 61 | Insert: { |
| 62 | role: Database["public"]["Enums"]["user_role"]; |
| 63 | space_id: string; |
| 64 | user_id: string; |
| 65 | }; |
| 66 | Update: { |
nothing calls this directly
no outgoing calls
no test coverage detected