refactor: bunch of improvements
All checks were successful
Build Test / test (pull_request) Successful in 35s
JS Unit Tests / test (pull_request) Successful in 33s
PHP Unit Tests / test (pull_request) Successful in 1m5s

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-04-23 22:04:36 -04:00
parent d0e8406830
commit acc42d09ee
8 changed files with 406 additions and 259 deletions

View File

@@ -51,5 +51,13 @@ export class JmapServiceObject extends ServiceObject {
get accountId(): string | undefined {
return this.jmapAuxiliary.accountId
}
get deleteMode(): 'soft' | 'hard' {
return this.jmapAuxiliary.deleteMode === 'hard' ? 'hard' : 'soft'
}
get deleteDestination(): string | undefined {
return this.jmapAuxiliary.deleteDestination
}
}