fix: resolve import errors and add missing api hooks

- Create constants.ts for RECORD_A_MEETING_URL
- Add api-types.ts for backward compatible type exports
- Update all imports from deleted api folder to new locations
- Add missing React Query hooks for rooms and zulip operations
- Create useApi compatibility layer for unmigrated components
This commit is contained in:
2025-08-27 23:55:59 -06:00
parent e8afe82acd
commit 68c161ee7e
33 changed files with 167 additions and 30 deletions

View File

@@ -1,7 +1,7 @@
import { useEffect, useState } from "react";
import { useError } from "../../(errors)/errorContext";
import { CreateTranscript, GetTranscript } from "../../api";
import { CreateTranscript, GetTranscript } from "../../lib/api-types";
import useApi from "../../lib/useApi";
type UseCreateTranscript = {