feat(shoot): clear all frames of a shoot #58
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/clear-shoot-frames"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
DELETE /shoot/:id/framesto remove every frame of a shoot in one call.What
ShootService.clearFrames(userId, id): owner-scoped, shoot-locked (FOR UPDATE) transaction that bulk-deletes all frames of the shoot. No frame-number recompaction is needed since nothing remains.doneAtset).@Delete(':id/frames')on the shoot controller.Tests
shoot.int-spec.ts: happy path (frames gone, shoot kept, frameCount 0), cross-user 403, completed-shoot 400, missing-shoot 404.Versioning
v0.8.0changelog entry ('Clear all frames in one tap') seeded inseed.ts, matching the rollnote-front 0.8.0 bump in its companion PR.