11 lines
404 B
TypeScript
11 lines
404 B
TypeScript
import { NextResponse } from 'next/server'
|
|||
|
|
import { apps, cluster, WAVES } from '@/lib/clusterMock'
|
||
|
|
|
||
|
|
/** Mock stand-in for the real atlas `GET /api/delivery`. Serves fixture data, not a live Argo watch. */
|
||
|
|
export async function GET() {
|
||
|
|
return NextResponse.json({
|
||
|
|
data: { apps, waves: WAVES },
|
||
|
|
meta: { snapshotAge: cluster.snapshotAge, generation: cluster.generation, truncated: false },
|
||
|
|
})
|
||
|
|
}
|