Second deep audit→build→verify pass; all products typecheck clean. - gitgram-web (100): fix feed pagination, reel drafts, 6 gaps - gitgram-backend (99): add admin/moderator role checks to moderation routes; wire backend-e2e CI (Postgres+Redis services); 5 gaps - gitgram-mobile (97): fix broken create-reel flow; 11 gaps - aitm-core (98): dedupe vendored CLI command registrations; real vector search with local fallback; 7 gaps - aitm-api (99): replace hash-based embeddings with real OpenAI/Voyage embeddings (+ checkpoints test_status migration 0008); 8 gaps - aitm-mcp (99): add X-API-Key to workspace tool proxy calls; 8 gaps - aitm-website (94): fix annual billing checkout; 5 gaps Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
15 lines
487 B
TypeScript
15 lines
487 B
TypeScript
import { NextRequest, NextResponse } from 'next/server'
|
|
import { errorResponse, proxyAitmGet } from '../../../_lib'
|
|
|
|
/** GET — list checkpoints for an AITM project. */
|
|
export async function GET(
|
|
_req: NextRequest,
|
|
{ params }: { params: { id: string } },
|
|
): Promise<NextResponse> {
|
|
const projectId = params.id
|
|
if (!projectId) {
|
|
return errorResponse('Project id is required', 400)
|
|
}
|
|
return proxyAitmGet(`/restore/projects/${encodeURIComponent(projectId)}/checkpoints`)
|
|
}
|