-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move JMAP settings APIs to jmap-extensions-api
- Loading branch information
1 parent
5b1d651
commit 881c63e
Showing
5 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
File renamed without changes.
17 changes: 17 additions & 0 deletions
17
...ns-api/src/main/scala/com/linagora/tmail/james/jmap/settings/JmapSettingsRepository.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.linagora.tmail.james.jmap.settings | ||
|
||
import org.apache.james.core.Username | ||
import org.apache.james.jmap.core.UuidState | ||
import org.reactivestreams.Publisher | ||
|
||
trait JmapSettingsRepository { | ||
def get(username: Username): Publisher[JmapSettings] | ||
|
||
def getLatestState(username: Username): Publisher[UuidState] | ||
|
||
def reset(username: Username, settings: JmapSettingsUpsertRequest): Publisher[SettingsStateUpdate] | ||
|
||
def updatePartial(username: Username, settingsPatch: JmapSettingsPatch): Publisher[SettingsStateUpdate] | ||
|
||
def delete(username: Username): Publisher[Void] | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters