elm-format

pull/1/head
Bram van den Heuvel 2023-02-08 16:53:17 +01:00
parent 4797ba2f93
commit d20bc4ae36
1 changed files with 18 additions and 7 deletions

View File

@ -7,33 +7,44 @@ import Internal.Api.SendStateKey.Main as SendStateKey
import Internal.Api.Sync.Main as Sync import Internal.Api.Sync.Main as Sync
import Internal.Api.Versions.Main as Versions import Internal.Api.Versions.Main as Versions
{-| Get a specific event from the Matrix API. {-| Get a specific event from the Matrix API.
-} -}
getEvent : List String -> GetEvent.EventInput -> GetEvent.EventOutput getEvent : List String -> GetEvent.EventInput -> GetEvent.EventOutput
getEvent = GetEvent.getEvent getEvent =
GetEvent.getEvent
{-| Get a list of members who are part of a Matrix room. {-| Get a list of members who are part of a Matrix room.
-} -}
joinedMembers : List String -> JoinedMembers.JoinedMembersInput -> JoinedMembers.JoinedMembersOutput joinedMembers : List String -> JoinedMembers.JoinedMembersInput -> JoinedMembers.JoinedMembersOutput
joinedMembers = JoinedMembers.joinedMembers joinedMembers =
JoinedMembers.joinedMembers
{-| Send a message event into a Matrix room. {-| Send a message event into a Matrix room.
-} -}
sendMessageEvent : List String -> SendMessageEvent.SendMessageEventInput -> SendMessageEvent.SendMessageEventOutput sendMessageEvent : List String -> SendMessageEvent.SendMessageEventInput -> SendMessageEvent.SendMessageEventOutput
sendMessageEvent = SendMessageEvent.sendMessageEvent sendMessageEvent =
SendMessageEvent.sendMessageEvent
{-| Send a state event into a Matrix room. {-| Send a state event into a Matrix room.
-} -}
sendStateEvent : List String -> SendStateKey.SendStateKeyInput -> SendStateKey.SendStateKeyOutput sendStateEvent : List String -> SendStateKey.SendStateKeyInput -> SendStateKey.SendStateKeyOutput
sendStateEvent = SendStateKey.sendStateKey sendStateEvent =
SendStateKey.sendStateKey
{-| Get the latest sync from the Matrix API. {-| Get the latest sync from the Matrix API.
-} -}
syncCredentials : List String -> Sync.SyncInput -> Sync.SyncOutput syncCredentials : List String -> Sync.SyncInput -> Sync.SyncOutput
syncCredentials = Sync.sync syncCredentials =
Sync.sync
{-| Get all supported versions on the Matrix homeserver. {-| Get all supported versions on the Matrix homeserver.
-} -}
versions : Versions.VersionsInput -> Versions.VersionsOutput versions : Versions.VersionsInput -> Versions.VersionsOutput
versions = Versions.getVersions versions =
Versions.getVersions