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

@@ -2,7 +2,7 @@ import { useEffect, useState } from "react";
import Peer from "simple-peer";
import { useError } from "../../(errors)/errorContext";
import useApi from "../../lib/useApi";
import { RtcOffer } from "../../api";
import { RtcOffer } from "../../lib/api-types";
const useWebRTC = (
stream: MediaStream | null,