FEAT-14b: trait vocabulary (de.character), Gerbil/sale-ad types, Charakterbogen component

This commit is contained in:
2026-06-06 09:08:46 +02:00
parent f858a02f50
commit 5b11780074
6 changed files with 157 additions and 0 deletions

View File

@@ -20,6 +20,9 @@ export interface SaleAdAnimal {
farbschlag: string | null
dateOfBirth: string | null
notes: string | null
/** FEAT-14: German trait LABELS (human-readable for the prompt), not keys. */
traits?: string[]
characterNote?: string | null
}
export interface SaleAdRequest {

View File

@@ -34,6 +34,12 @@ export interface Gerbil {
/** Compact GEN-1 genotype string, e.g. "Aa CC Dd EE GG Pp Spsp rere" (or "?"-wildcards). */
genotype: string | null
notes: string | null
/**
* FEAT-14: Charakterbogen. Selected trait KEYS (see de.character.traits).
* Optional until FEAT-14a backend exposes the fields; treat absent as [].
*/
characterTraits?: string[] | null
characterNote?: string | null
}
/** Payload for POST /gerbils. */
@@ -52,6 +58,8 @@ export interface CreateGerbil {
receiverContactId?: string | null
genotype?: string | null
notes?: string | null
characterTraits?: string[] | null
characterNote?: string | null
}
/** Payload for PUT /gerbils/{id} (all optional / partial update). */