Skip to content

Conversation

@banana-claude
Copy link
Contributor

@banana-claude banana-claude bot commented Jan 11, 2026

Summary

  • Adds drum_layouts database table with id, name, description, image_path, layout_format (jsonb), visibility, validity, uploader, and download_count columns
  • Creates Zod schema for DrumLayoutFormat containing drumCounts (Record<string, number>)
  • Implements DrumLayoutsRepo service with find, get, create, delete, and validate methods
  • Adds S3 handler functions for drum layout file operations
  • Creates API endpoints following same patterns as maps: /api/drum-layouts/submit, /api/drum-layouts/submit/complete, /api/drum-layouts/[id], /api/drum-layouts, /api/drum-layouts/[id]/delete, /api/drum-layouts/[id]/download
  • Includes TODO for implementing actual drum layout file parsing/validation

Closes #47

Notes

  • The validateUploadedDrumLayout method has a TODO placeholder for actual file parsing - this needs to be implemented to unzip and extract layout metadata
  • Zapatos schema was manually updated - will be regenerated properly when migration runs on a live database

🤖 Generated with Claude Code

Implements drum layouts feature with:
- Database migration for drum_layouts table
- Zod schema with layout_format containing drumCounts
- DrumLayoutsRepo service layer
- S3 handler functions for drum layout uploads
- API endpoints: submit, complete, get, list, delete, download
- TODO placeholder for file parsing/validation

Closes #47

Co-authored-by: bitnimble <bitnimble@users.noreply.github.com>

🤖 Generated with [Claude Code](https://claude.com/claude-code)
@banana-claude banana-claude bot requested a review from bitnimble January 11, 2026 00:48
@vercel
Copy link

vercel bot commented Jan 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
paradb Ready Ready Preview, Comment Jan 11, 2026 0:49am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drum layouts

1 participant