refactor: bunch of improvements
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user