v0.69.0: remove job ignore feature
CI / build + unit + e2e (pull_request) Successful in 14m31s

This commit is contained in:
2026-09-23 22:01:39 +00:00
parent 7d117f6809
commit d2defe4cd3
20 changed files with 48 additions and 171 deletions
-10
View File
@@ -1,10 +0,0 @@
import { ignorePackage, performAction } from '@/lib/game/actions';
// POST /api/packages/:id/ignore (v0.29.0, ISS-047 part B) — no body. Dismisses an OPEN job so it
// leaves the market permanently; the top-up logic spawns a replacement on the next tick. No penalty,
// nothing else changes. 404 unknown id; 409 unless open. On success returns the full state snapshot.
export async function POST(_req: Request, ctx: { params: Promise<{ id: string }> }) {
const { id } = await ctx.params;
return performAction((inst) => ignorePackage(inst, id));
}