refactor(contacts): decryptContactData aus shared-Helper nutzen #283
Labels
No labels
component/backend
component/docs
component/e2e
component/frontend
component/infra
component/keycloak
prio/high
prio/low
prio/medium
type/bug
type/chore
type/feature
type/refactor
type/test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
WompSchmiede/FamilienFeierPlaner#283
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
contacts.tshat eine eigenedecryptFields()-Funktion, die Adressfelder einzeln entschluesselt. Seitbackend/src/lib/contact-decrypt.ts(PR #?) gibt es eine zentraledecryptContactData()-Hilfsfunktion mit identischer Logik.Aufgabe
contacts.ts'decryptFields()durch Import vondecryptContactDataaus../lib/contact-decrypt.jsersetzenbackend/src/routes/contacts.tsdecryptContactDataexportiert bereits dasDecryptedContact-InterfaceAltes Verhalten
decryptFields()ist lokal incontacts.tsdefiniert (duplizierte Logik)Neues Verhalten
contacts.tsimportiertdecryptContactDataaus dem shared ModuldecryptFields()wird entferntTest-Hinweise
GET /api/v1/persons/:person_id/contactsmuss weiterhin korrekt entschluesselte Daten zurueckgebenPUT /api/v1/persons/:person_id/contactsmuss weiterhin korrekt entschluesseln (liest die alten Daten vor Ueberschreiben)niboer referenced this issue2026-07-09 23:47:29 +02:00
niboer referenced this issue2026-07-09 23:48:02 +02:00
niboer referenced this issue2026-07-09 23:53:17 +02:00