feat(ST-vi5iff4s): SoloTask-interface + Prisma-queries uitbreiden met PBI-velden (#116)

pbi_code, pbi_title, pbi_description (nullable) toegevoegd aan SoloTask-interface.
Desktop en mobile solo-page: story.pbi select + mapping via ?. en ?? null.
Test-fixtures bijgewerkt (3 bestanden). 72 testfiles groen, tsc + build slagen.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Janpeter Visser 2026-05-06 03:30:11 +02:00 committed by GitHub
parent d819d29b04
commit be8cd4d02c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 20 additions and 0 deletions

View file

@ -51,6 +51,7 @@ export default async function MobileSoloProductPage({ params }: Props) {
code: true,
title: true,
tasks: { select: { id: true }, orderBy: { sort_order: 'asc' } },
pbi: { select: { code: true, title: true, description: true } },
},
},
},
@ -91,6 +92,9 @@ export default async function MobileSoloProductPage({ params }: Props) {
story_code: t.story.code,
story_title: t.story.title,
task_code: t.code,
pbi_code: t.story.pbi?.code ?? null,
pbi_title: t.story.pbi?.title ?? null,
pbi_description: t.story.pbi?.description ?? null,
}))
const unassignedStories: UnassignedStory[] = rawUnassigned.map(s => ({