feat: delete #62

Merged
al4423 merged 2 commits from refactor/favs into master 2025-06-16 22:30:48 +00:00
3 changed files with 41 additions and 4 deletions
Showing only changes of commit 03bca19527 - Show all commits

View File

@@ -85,9 +85,17 @@ export function haversineDistance(
return radius * 2 * Math.asin(Math.sqrt(e1));
}
export function collectTimings(study_space_hours: Partial<Table<"study_space_hours">>[]) {
export function collectTimings(
study_space_hours: Omit<
Table<"study_space_hours">,
"id" | "created_at" | "updated_at" | "study_space_id"
>[]
) {
// Collect all timing entries
const timingsPerDay: Record<number, Table<"study_space_hours">[]> = {
const timingsPerDay: Record<
number,
Omit<Table<"study_space_hours">, "id" | "created_at" | "updated_at" | "study_space_id">[]
> = {
0: [],
1: [],
2: [],