Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data IndexedUserStoreError
- data IndexedUserStore m a where
- Upsert :: DocId -> UserDoc -> VersionControl -> IndexedUserStore m ()
- UpdateTeamSearchVisibilityInbound :: TeamId -> SearchVisibilityInbound -> IndexedUserStore m ()
- BulkUpsert :: [(DocId, UserDoc, VersionControl)] -> IndexedUserStore m ()
- DoesIndexExist :: IndexedUserStore m Bool
- SearchUsers :: UserId -> Maybe TeamId -> TeamSearchInfo -> Text -> Int -> IndexedUserStore m (SearchResult UserDoc)
- PaginateTeamMembers :: BrowseTeamFilters -> Int -> Maybe PagingState -> IndexedUserStore m (SearchResult UserDoc)
- GetTeamSize :: TeamId -> IndexedUserStore m TeamSize
- getTeamSize :: forall r. Member IndexedUserStore r => TeamId -> Sem r TeamSize
- paginateTeamMembers :: forall r. Member IndexedUserStore r => BrowseTeamFilters -> Int -> Maybe PagingState -> Sem r (SearchResult UserDoc)
- searchUsers :: forall r. Member IndexedUserStore r => UserId -> Maybe TeamId -> TeamSearchInfo -> Text -> Int -> Sem r (SearchResult UserDoc)
- doesIndexExist :: forall r. Member IndexedUserStore r => Sem r Bool
- bulkUpsert :: forall r. Member IndexedUserStore r => [(DocId, UserDoc, VersionControl)] -> Sem r ()
- updateTeamSearchVisibilityInbound :: forall r. Member IndexedUserStore r => TeamId -> SearchVisibilityInbound -> Sem r ()
- upsert :: forall r. Member IndexedUserStore r => DocId -> UserDoc -> VersionControl -> Sem r ()
Documentation
data IndexedUserStoreError Source #
Instances
Exception IndexedUserStoreError Source # | |
Show IndexedUserStoreError Source # | |
Defined in Wire.IndexedUserStore showsPrec :: Int -> IndexedUserStoreError -> ShowS # show :: IndexedUserStoreError -> String # showList :: [IndexedUserStoreError] -> ShowS # |
data IndexedUserStore m a where Source #
Upsert :: DocId -> UserDoc -> VersionControl -> IndexedUserStore m () | |
UpdateTeamSearchVisibilityInbound :: TeamId -> SearchVisibilityInbound -> IndexedUserStore m () | |
BulkUpsert :: [(DocId, UserDoc, VersionControl)] -> IndexedUserStore m () | Will only be applied to main ES index and not the additional one |
DoesIndexExist :: IndexedUserStore m Bool | |
SearchUsers :: UserId -> Maybe TeamId -> TeamSearchInfo -> Text -> Int -> IndexedUserStore m (SearchResult UserDoc) | |
PaginateTeamMembers :: BrowseTeamFilters -> Int -> Maybe PagingState -> IndexedUserStore m (SearchResult UserDoc) | |
GetTeamSize :: TeamId -> IndexedUserStore m TeamSize |
getTeamSize :: forall r. Member IndexedUserStore r => TeamId -> Sem r TeamSize Source #
paginateTeamMembers :: forall r. Member IndexedUserStore r => BrowseTeamFilters -> Int -> Maybe PagingState -> Sem r (SearchResult UserDoc) Source #
searchUsers :: forall r. Member IndexedUserStore r => UserId -> Maybe TeamId -> TeamSearchInfo -> Text -> Int -> Sem r (SearchResult UserDoc) Source #
doesIndexExist :: forall r. Member IndexedUserStore r => Sem r Bool Source #
bulkUpsert :: forall r. Member IndexedUserStore r => [(DocId, UserDoc, VersionControl)] -> Sem r () Source #
Will only be applied to main ES index and not the additional one
updateTeamSearchVisibilityInbound :: forall r. Member IndexedUserStore r => TeamId -> SearchVisibilityInbound -> Sem r () Source #
upsert :: forall r. Member IndexedUserStore r => DocId -> UserDoc -> VersionControl -> Sem r () Source #