Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- newtype Name = Name {}
- mkName :: Text -> Either String Name
- data TextStatus
- mkTextStatus :: Text -> Either String TextStatus
- $sel:fromTextStatus:TextStatus :: TextStatus -> Text
- newtype ColourId = ColourId {}
- defaultAccentId :: ColourId
- data Asset = ImageAsset {}
- data AssetSize
- data ManagedBy
- defaultManagedBy :: ManagedBy
- newtype Pict = Pict {}
- noPict :: Pict
Documentation
Usually called display name. Length is between 1 and 128 characters.
Instances
Arbitrary Name Source # | |
FromJSON Name Source # | |
ToJSON Name Source # | |
Generic Name Source # | |
Show Name Source # | |
FromByteString Name Source # | |
Defined in Wire.API.User.Profile | |
ToByteString Name Source # | |
Cql Name Source # | |
Eq Name Source # | |
Ord Name Source # | |
ToSchema Name Source # | |
Defined in Wire.API.User.Profile | |
ToSchema Name Source # | |
Defined in Wire.API.User.Profile | |
type Rep Name Source # | |
Defined in Wire.API.User.Profile |
data TextStatus Source #
Instances
mkTextStatus :: Text -> Either String TextStatus Source #
Instances
Arbitrary ColourId Source # | |
FromJSON ColourId Source # | |
ToJSON ColourId Source # | |
Generic ColourId Source # | |
Num ColourId Source # | |
Show ColourId Source # | |
Cql ColourId Source # | |
Eq ColourId Source # | |
Ord ColourId Source # | |
Defined in Wire.API.User.Profile | |
ToSchema ColourId Source # | |
Defined in Wire.API.User.Profile | |
ToSchema ColourId Source # | |
Defined in Wire.API.User.Profile | |
type Rep ColourId Source # | |
Defined in Wire.API.User.Profile |
Asset
Instances
Arbitrary Asset Source # | |
FromJSON Asset Source # | |
ToJSON Asset Source # | |
Generic Asset Source # | |
Show Asset Source # | |
Cql Asset Source # | |
Eq Asset Source # | |
Ord Asset Source # | |
ToSchema Asset Source # | |
Defined in Wire.API.User.Profile | |
ToSchema Asset Source # | |
Defined in Wire.API.User.Profile | |
type Rep Asset Source # | |
Defined in Wire.API.User.Profile type Rep Asset = D1 ('MetaData "Asset" "Wire.API.User.Profile" "wire-api-0.1.0-EbZS9CKNOfZ8BBy5DRJfXi" 'False) (C1 ('MetaCons "ImageAsset" 'PrefixI 'True) (S1 ('MetaSel ('Just "assetKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AssetKey) :*: S1 ('MetaSel ('Just "assetSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AssetSize)))) |
Instances
Arbitrary AssetSize Source # | |
FromJSON AssetSize Source # | |
ToJSON AssetSize Source # | |
Generic AssetSize Source # | |
Show AssetSize Source # | |
Cql AssetSize Source # | |
Eq AssetSize Source # | |
Ord AssetSize Source # | |
Defined in Wire.API.User.Profile | |
ToSchema AssetSize Source # | |
Defined in Wire.API.User.Profile | |
ToSchema AssetSize Source # | |
Defined in Wire.API.User.Profile | |
type Rep AssetSize Source # | |
ManagedBy
Who controls changes to the user profile (where the profile is defined as "all user-editable, user-visible attributes"). See {#SparBrainDump}.
ManagedByWire | The profile can be changed in-app; user doesn't show up via SCIM at all. |
ManagedByScim | The profile can only be changed via SCIM, with several exceptions:
There are some other things that SCIM can't do yet, like setting accent IDs, but they are not essential, unlike e.g. passwords. |
Instances
Arbitrary ManagedBy Source # | |
FromJSON ManagedBy Source # | |
ToJSON ManagedBy Source # | |
Bounded ManagedBy Source # | |
Enum ManagedBy Source # | |
Defined in Wire.API.User.Profile succ :: ManagedBy -> ManagedBy # pred :: ManagedBy -> ManagedBy # fromEnum :: ManagedBy -> Int # enumFrom :: ManagedBy -> [ManagedBy] # enumFromThen :: ManagedBy -> ManagedBy -> [ManagedBy] # enumFromTo :: ManagedBy -> ManagedBy -> [ManagedBy] # enumFromThenTo :: ManagedBy -> ManagedBy -> ManagedBy -> [ManagedBy] # | |
Generic ManagedBy Source # | |
Show ManagedBy Source # | |
FromByteString ManagedBy Source # | |
Defined in Wire.API.User.Profile | |
ToByteString ManagedBy Source # | |
Cql ManagedBy Source # | |
Eq ManagedBy Source # | |
Ord ManagedBy Source # | |
Defined in Wire.API.User.Profile | |
ToSchema ManagedBy Source # | |
Defined in Wire.API.User.Profile | |
ToSchema ManagedBy Source # | |
Defined in Wire.API.User.Profile | |
type Rep ManagedBy Source # | |
Deprecated
DEPRECATED
Instances
Arbitrary Pict Source # | |
FromJSON Pict Source # | |
ToJSON Pict Source # | |
Generic Pict Source # | |
Show Pict Source # | |
Cql Pict Source # | |
Eq Pict Source # | |
Ord Pict Source # | |
ToSchema Pict Source # | |
Defined in Wire.API.User.Profile | |
ToSchema Pict Source # | |
Defined in Wire.API.User.Profile | |
type Rep Pict Source # | |
Defined in Wire.API.User.Profile |