wire-subsystems-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Wire.InvitationStore

Synopsis

Documentation

data StoredInvitation Source #

Instances

Instances details
Arbitrary StoredInvitation Source # 
Instance details

Defined in Wire.InvitationStore

Generic StoredInvitation Source # 
Instance details

Defined in Wire.InvitationStore

Associated Types

type Rep StoredInvitation :: Type -> Type #

Show StoredInvitation Source # 
Instance details

Defined in Wire.InvitationStore

Record StoredInvitation Source # 
Instance details

Defined in Wire.InvitationStore

Eq StoredInvitation Source # 
Instance details

Defined in Wire.InvitationStore

type Rep StoredInvitation Source # 
Instance details

Defined in Wire.InvitationStore

type TupleType StoredInvitation Source # 
Instance details

Defined in Wire.InvitationStore

data InsertInvitation Source #

Instances

Instances details
Generic InsertInvitation Source # 
Instance details

Defined in Wire.InvitationStore

Associated Types

type Rep InsertInvitation :: Type -> Type #

Show InsertInvitation Source # 
Instance details

Defined in Wire.InvitationStore

Record InsertInvitation Source # 
Instance details

Defined in Wire.InvitationStore

Eq InsertInvitation Source # 
Instance details

Defined in Wire.InvitationStore

type Rep InsertInvitation Source # 
Instance details

Defined in Wire.InvitationStore

type TupleType InsertInvitation Source # 
Instance details

Defined in Wire.InvitationStore

data PaginatedResult a Source #

Instances

Instances details
Foldable PaginatedResult Source # 
Instance details

Defined in Wire.InvitationStore

Methods

fold :: Monoid m => PaginatedResult m -> m #

foldMap :: Monoid m => (a -> m) -> PaginatedResult a -> m #

foldMap' :: Monoid m => (a -> m) -> PaginatedResult a -> m #

foldr :: (a -> b -> b) -> b -> PaginatedResult a -> b #

foldr' :: (a -> b -> b) -> b -> PaginatedResult a -> b #

foldl :: (b -> a -> b) -> b -> PaginatedResult a -> b #

foldl' :: (b -> a -> b) -> b -> PaginatedResult a -> b #

foldr1 :: (a -> a -> a) -> PaginatedResult a -> a #

foldl1 :: (a -> a -> a) -> PaginatedResult a -> a #

toList :: PaginatedResult a -> [a] #

null :: PaginatedResult a -> Bool #

length :: PaginatedResult a -> Int #

elem :: Eq a => a -> PaginatedResult a -> Bool #

maximum :: Ord a => PaginatedResult a -> a #

minimum :: Ord a => PaginatedResult a -> a #

sum :: Num a => PaginatedResult a -> a #

product :: Num a => PaginatedResult a -> a #

Functor PaginatedResult Source # 
Instance details

Defined in Wire.InvitationStore

Methods

fmap :: (a -> b) -> PaginatedResult a -> PaginatedResult b #

(<$) :: a -> PaginatedResult b -> PaginatedResult a #

Show a => Show (PaginatedResult a) Source # 
Instance details

Defined in Wire.InvitationStore

Eq a => Eq (PaginatedResult a) Source # 
Instance details

Defined in Wire.InvitationStore

Ord a => Ord (PaginatedResult a) Source # 
Instance details

Defined in Wire.InvitationStore

lookupInvitationsPaginated :: forall r. Member InvitationStore r => Maybe (Range 1 500 Int32) -> TeamId -> Maybe InvitationId -> Sem r (PaginatedResult [StoredInvitation]) Source #

Range is page size, it defaults to 100