FEAT-14b: trait vocabulary (de.character), Gerbil/sale-ad types, Charakterbogen component
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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). */
|
||||
|
||||
Reference in New Issue
Block a user