feat: Add FF Nancy API client and status endpoint, implement grid product fetching and draft change saving, and introduce AI Copilot core logic.

This commit is contained in:
Michael committed 2026-03-18 14:31:29 +01:00
1 parent 22aa6f101a
commit 1035489db1
13 files changed
+706 -265

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { NextResponse } from "next/server";
import { getSyncStatus } from "@/lib/api-ff-client";
export async function GET() {
const status = await getSyncStatus();
if (!status) {
return NextResponse.json({ error: "API FF Nancy non disponible" }, { status: 503 });
}
return NextResponse.json(status);
}