rename communityEcology → board across backend

Model, schemas, API routes, activity log, and all server handlers
updated. Old ecology/ and community-ecology routes removed, new
board/ routes added. Tests updated and new board-suggestions tests
written (10 cases).
This commit is contained in:
Jennie Robinson Faber 2026-04-14 12:00:15 +01:00
parent 59d6e97787
commit 091ec58073
20 changed files with 405 additions and 80 deletions

View file

@ -7,7 +7,7 @@ export default defineEventHandler(async (event) => {
// Combine craft tags and cooperative ecology tags
const craftTags = member.craftTags || []
const ecologyTags = (member.communityEcology?.topics || []).map(t => t.tagSlug)
const ecologyTags = (member.board?.topics || []).map(t => t.tagSlug)
const memberTags = [...new Set([...craftTags, ...ecologyTags].filter(Boolean))]
if (!memberTags.length) {