Rename session recording to session replay across the codebase.

Renames all files, components, database schema, API routes, hooks,
messages, and build config from "recording" to "replay" terminology.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mike CaoandClaude Opus 4.6 committed 2026-02-07 00:38:47 -08:00
1 parent 72b5c658e2
commit 0a3cf7a9ff
34 files changed
+138 -144

No files matched your search

@@ -0,0 +1,13 @@
import { useApi } from '../useApi';
export function useReplayQuery(websiteId: string, sessionId: string) {
const { get, useQuery } = useApi();
return useQuery({
queryKey: ['replay', { websiteId, sessionId }],
queryFn: () => {
return get(`/websites/${websiteId}/replays/${sessionId}`);
},
enabled: Boolean(websiteId && sessionId),
});
}