Skip to content

to main#239

Merged
JoshuaVSherman merged 4 commits into
mainfrom
dev
Jul 5, 2026
Merged

to main#239
JoshuaVSherman merged 4 commits into
mainfrom
dev

Conversation

@JoshuaVSherman

Copy link
Copy Markdown
Contributor

No description provided.

JoshuaVSherman and others added 4 commits June 26, 2026 16:03
…erride (#234)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ci: chain typecheck into npm test (close the local type-check gap)
…237, #94)

- gig-schema: add optional `artist` field, mirroring web-jam-back#887's shape.
- allGigs/allTours stay Josh-only and backward compatible with legacy docs
  that predate the artist field (missing/null artist == josh); a new
  artist-scoped read path (gigsForArtist -> allGigs:<artist>) serves Tim's
  gigs for TimShermanMusic#5 to consume later (no client wired here).
- Add the jamPics model/collection + `jamPics` message; allBooks keeps
  working during the JaMmusic#1182 transition by also reading jamPics.
  Delete the WJSC Book model and its wj-prod dependency.
- #94: every mutating gig/jamPics message (newGig/deleteGig/editGig,
  newImage/editImage/deleteImage) now verifies the admin JWT + userType via
  one shared AgController.verifyAdminWrite gate (reuses the existing
  this.jwt.verify + utils.assertCanCreateGig) before touching the DB; reads
  stay open. Fixes the long-standing bug where writes only checked
  typeof token === 'string'.

Closes #237
Closes #94

🤖 Work by Claude Code — Sonnet 4.5
Co-Authored-By: Claude Code <noreply@anthropic.com>
Re-point at web-jam-data + artist-scope gig messages: serve Josh AND Tim (Part of web-jam-back#897)
@JoshuaVSherman JoshuaVSherman merged commit 2f79286 into main Jul 5, 2026
2 checks passed
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.

1 participant