Next.js app with a browser-side buttplug/buttplug-wasm control layer (server never touches real-time device commands), SQLite storage via Drizzle, single-secret auth, recordings/replay with device remapping, a usage stats dashboard, Docker deployment, and Gitea CI. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W8WkFF5ppURBAB918593Eb
8 lines
229 B
TypeScript
8 lines
229 B
TypeScript
import { NextResponse } from "next/server";
|
|
import { getRecordingLibraryStats } from "@/lib/db/queries/stats";
|
|
|
|
export async function GET() {
|
|
const stats = await getRecordingLibraryStats();
|
|
return NextResponse.json(stats);
|
|
}
|