feat(api): Mail-Tags — Schema, Service, Controller, API-Client (#139) #179
No reviewers
Labels
No labels
app/archiv
app/einkaufslisten
app/imap-client
app/wissensbasis
arch-answered
arch-question
area/api
area/auth
area/infra
area/mobile
area/shared
area/ui
area/web
portfolio-status
prio/high
prio/low
prio/medium
roadmap/public
size/l
size/m
size/s
size/xl
size/xs
status/blocked
status/needs-info
type/bug
type/chore
type/docs
type/feature
type/idea
type/refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
admin-mrrm/mrrmlabapp!179
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "139-mail-tags-schema-api"
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?
Was wurde umgesetzt
Datenbankschema
mail_tags— Kategorie-Taxonomie pro User (id,ownerSub,name,createdAt)mail_message_tags— Zuweisung Nachricht ↔ Tag mit Status (suggested|confirmed)0006generiertBackend (NestJS)
MailTagsService— CRUD für Taxonomie + Zuweisung/Bestätigung von TagsMailTagsController— REST-Endpunkte:GET /mail/tags— Taxonomie des UsersPATCH /mail/tags/:tagId— umbenennenDELETE /mail/tags/:tagId— löschen (cascading)GET /mail/messages/:messageId/tags— Tags einer NachrichtPOST /mail/messages/:messageId/tags— Tag zuweisen (erstellt Tag falls neu)PATCH /mail/messages/:messageId/tags/:tagId/confirm— Status auf confirmed setzenDELETE /mail/messages/:messageId/tags/:tagId— Zuweisung entfernenAPI-Client
MailTag+MailMessageTagSchemas und TypenMailResourceTests
14 neue Unit-Tests für
MailTagsService, alle grün (97 gesamt).Closes #139