| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.Mattermost.Lenses
Contents
- type Lens' a b = forall f. Functor f => (b -> f b) -> a -> f a
- cdUseTLSL :: Lens' ConnectionData Bool
- cdTokenL :: Lens' ConnectionData (Maybe Token)
- cdPortL :: Lens' ConnectionData Port
- cdLoggerL :: Lens' ConnectionData (Maybe Logger)
- cdHostnameL :: Lens' ConnectionData Hostname
- cdConnectionPoolL :: Lens' ConnectionData (Pool MMConn)
- cdConnectionCtxL :: Lens' ConnectionData ConnectionContext
- cdAutoCloseL :: Lens' ConnectionData AutoClose
- usernameL :: Lens' Login Text
- passwordL :: Lens' Login Text
- teamUpdateAtL :: Lens' Team ServerTime
- teamTypeL :: Lens' Team Type
- teamNameL :: Lens' Team Text
- teamInviteIdL :: Lens' Team Id
- teamIdL :: Lens' Team TeamId
- teamEmailL :: Lens' Team Text
- teamDisplayNameL :: Lens' Team Text
- teamDeleteAtL :: Lens' Team ServerTime
- teamCreateAtL :: Lens' Team ServerTime
- teamCompanyNameL :: Lens' Team Text
- teamAllowedDomainsL :: Lens' Team Text
- teamAllowOpenInviteL :: Lens' Team Bool
- teamMemberUserIdL :: Lens' TeamMember UserId
- teamMemberTeamIdL :: Lens' TeamMember TeamId
- teamMemberRolesL :: Lens' TeamMember Text
- userNotifyPropsPushL :: Lens' UserNotifyProps NotifyOption
- userNotifyPropsMentionKeysL :: Lens' UserNotifyProps [Text]
- userNotifyPropsFirstNameL :: Lens' UserNotifyProps Bool
- userNotifyPropsEmailL :: Lens' UserNotifyProps Bool
- userNotifyPropsDesktopSoundL :: Lens' UserNotifyProps Bool
- userNotifyPropsDesktopL :: Lens' UserNotifyProps NotifyOption
- userNotifyPropsChannelL :: Lens' UserNotifyProps Bool
- channelNotifyPropsPushL :: Lens' ChannelNotifyProps (WithDefault NotifyOption)
- channelNotifyPropsMarkUnreadL :: Lens' ChannelNotifyProps (WithDefault NotifyOption)
- channelNotifyPropsEmailL :: Lens' ChannelNotifyProps (WithDefault Bool)
- channelNotifyPropsDesktopL :: Lens' ChannelNotifyProps (WithDefault NotifyOption)
- channelUpdateAtL :: Lens' Channel ServerTime
- channelTypeL :: Lens' Channel Type
- channelTotalMsgCountL :: Lens' Channel Int
- channelTeamIdL :: Lens' Channel (Maybe TeamId)
- channelPurposeL :: Lens' Channel Text
- channelNameL :: Lens' Channel Text
- channelLastPostAtL :: Lens' Channel ServerTime
- channelIdL :: Lens' Channel ChannelId
- channelHeaderL :: Lens' Channel Text
- channelExtraUpdateAtL :: Lens' Channel ServerTime
- channelDisplayNameL :: Lens' Channel Text
- channelDeleteAtL :: Lens' Channel ServerTime
- channelCreatorIdL :: Lens' Channel (Maybe UserId)
- channelCreateAtL :: Lens' Channel ServerTime
- channelDataUserIdL :: Lens' ChannelData UserId
- channelDataRolesL :: Lens' ChannelData Text
- channelDataNotifyPropsL :: Lens' ChannelData ChannelNotifyProps
- channelDataMsgCountL :: Lens' ChannelData Int
- channelDataMentionCountL :: Lens' ChannelData Int
- channelDataLastViewedAtL :: Lens' ChannelData ServerTime
- channelDataLastUpdateAtL :: Lens' ChannelData ServerTime
- channelDataChannelIdL :: Lens' ChannelData ChannelId
- userUsernameL :: Lens' User Text
- userUpdateAtL :: Lens' User ServerTime
- userRolesL :: Lens' User Text
- userNotifyPropsL :: Lens' User UserNotifyProps
- userNicknameL :: Lens' User Text
- userLocaleL :: Lens' User Text
- userLastPictureUpdateL :: Lens' User (Maybe ServerTime)
- userLastPasswordUpdateL :: Lens' User (Maybe ServerTime)
- userLastNameL :: Lens' User Text
- userIdL :: Lens' User UserId
- userFirstNameL :: Lens' User Text
- userEmailVerifiedL :: Lens' User Bool
- userEmailL :: Lens' User Text
- userDeleteAtL :: Lens' User ServerTime
- userCreateAtL :: Lens' User ServerTime
- userAuthServiceL :: Lens' User Text
- userAuthDataL :: Lens' User Text
- postUserIdL :: Lens' Post (Maybe UserId)
- postUpdateAtL :: Lens' Post ServerTime
- postTypeL :: Lens' Post PostType
- postRootIdL :: Lens' Post (Maybe PostId)
- postPropsL :: Lens' Post PostProps
- postPendingPostIdL :: Lens' Post (Maybe PostId)
- postParentIdL :: Lens' Post (Maybe PostId)
- postOriginalIdL :: Lens' Post (Maybe PostId)
- postMessageL :: Lens' Post Text
- postIdL :: Lens' Post PostId
- postHashtagsL :: Lens' Post Text
- postHasReactionsL :: Lens' Post Bool
- postFileIdsL :: Lens' Post (Seq FileId)
- postEditAtL :: Lens' Post ServerTime
- postDeleteAtL :: Lens' Post (Maybe ServerTime)
- postCreateAtL :: Lens' Post ServerTime
- postChannelIdL :: Lens' Post ChannelId
- postPropsOverrideUsernameL :: Lens' PostProps (Maybe Text)
- postPropsOverrideIconUrlL :: Lens' PostProps (Maybe Text)
- postPropsOldHeaderL :: Lens' PostProps (Maybe Text)
- postPropsNewHeaderL :: Lens' PostProps (Maybe Text)
- postPropsAttachmentsL :: Lens' PostProps (Maybe (Seq PostPropAttachment))
- ppaTitleLinkL :: Lens' PostPropAttachment Text
- ppaTitleL :: Lens' PostPropAttachment Text
- ppaThumbURLL :: Lens' PostPropAttachment Text
- ppaTextL :: Lens' PostPropAttachment Text
- ppaPretextL :: Lens' PostPropAttachment Text
- ppaImageURLL :: Lens' PostPropAttachment Text
- ppaIdL :: Lens' PostPropAttachment Int
- ppaFooterL :: Lens' PostPropAttachment Text
- ppaFooterIconL :: Lens' PostPropAttachment Text
- ppaFieldsL :: Lens' PostPropAttachment (Seq PostPropAttachmentField)
- ppaFallbackL :: Lens' PostPropAttachment Text
- ppaColorL :: Lens' PostPropAttachment Text
- ppaAuthorNameL :: Lens' PostPropAttachment Text
- ppaAuthorLinkL :: Lens' PostPropAttachment Text
- ppaAuthorIconL :: Lens' PostPropAttachment Text
- pendingPostUserIdL :: Lens' PendingPost UserId
- pendingPostRootIdL :: Lens' PendingPost (Maybe PostId)
- pendingPostParentIdL :: Lens' PendingPost (Maybe PostId)
- pendingPostMessageL :: Lens' PendingPost Text
- pendingPostIdL :: Lens' PendingPost PendingPostId
- pendingPostFilenamesL :: Lens' PendingPost (Seq FilePath)
- pendingPostCreateAtL :: Lens' PendingPost (Maybe ServerTime)
- pendingPostChannelIdL :: Lens' PendingPost ChannelId
- postsPostsL :: Lens' Posts (HashMap PostId Post)
- postsOrderL :: Lens' Posts (Seq PostId)
- reactionUserIdL :: Lens' Reaction UserId
- reactionPostIdL :: Lens' Reaction PostId
- reactionEmojiNameL :: Lens' Reaction Text
- reactionCreateAtL :: Lens' Reaction ServerTime
- weSeqL :: Lens' WebsocketEvent Int64
- weEventL :: Lens' WebsocketEvent WebsocketEventType
- weDataL :: Lens' WebsocketEvent WEData
- weBroadcastL :: Lens' WebsocketEvent WEBroadcast
- wepUserL :: Lens' WEData (Maybe User)
- wepUserIdL :: Lens' WEData (Maybe UserId)
- wepTeamIdL :: Lens' WEData (Maybe TeamId)
- wepStatusL :: Lens' WEData (Maybe Text)
- wepSenderNameL :: Lens' WEData (Maybe Text)
- wepReactionL :: Lens' WEData (Maybe Reaction)
- wepPreferencesL :: Lens' WEData (Maybe (Seq Preference))
- wepPostL :: Lens' WEData (Maybe Post)
- wepMentionsL :: Lens' WEData (Maybe (Set UserId))
- wepChannelIdL :: Lens' WEData (Maybe ChannelId)
- wepChannelDisplayNameL :: Lens' WEData (Maybe Text)
- webUserIdL :: Lens' WEBroadcast (Maybe UserId)
- webTeamIdL :: Lens' WEBroadcast (Maybe TeamId)
- webOmitUsersL :: Lens' WEBroadcast (Maybe (HashMap UserId Bool))
- webChannelIdL :: Lens' WEBroadcast (Maybe ChannelId)
- commandResponseUsernameL :: Lens' CommandResponse Text
- commandResponseTypeL :: Lens' CommandResponse (Maybe CommandResponseType)
- commandResponseTextL :: Lens' CommandResponse Text
- commandResponseIconURLL :: Lens' CommandResponse Text
- commandResponseGotoLocationL :: Lens' CommandResponse Text
- commandResponseAttachmentsL :: Lens' CommandResponse (Seq PostPropAttachment)
Documentation
type Lens' a b = forall f. Functor f => (b -> f b) -> a -> f a Source #
This is the same type alias as in Control.Lens, and so can be used
anywhere lenses are needed.
ConnectionData lenses
Login lenses
Team lenses
TeamMember lenses
UserNotifyProps lenses
ChannelNotifyProps lenses
Channel lenses
ChannelData lenses
User lenses
Post lenses
postDeleteAtL :: Lens' Post (Maybe ServerTime) Source #
PostProps lenses
PendingPost lenses
Posts lenses
Reaction lenses
WebsocketEvent lenses
WEData lenses
wepPreferencesL :: Lens' WEData (Maybe (Seq Preference)) Source #
WEBroadcast lenses
webUserIdL :: Lens' WEBroadcast (Maybe UserId) Source #
webTeamIdL :: Lens' WEBroadcast (Maybe TeamId) Source #
webOmitUsersL :: Lens' WEBroadcast (Maybe (HashMap UserId Bool)) Source #