polysemy-account-0.2.0.0: Account management with Servant and Polysemy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Polysemy.Account.Data.AccountStatus

Description

 
Synopsis

Documentation

data AccountStatus Source #

Basic account status.

Constructors

Creating

The account was added to storage, but not processed fully.

Pending

The account was fully created, but not approved by an admin.

Active

The account is fully operational.

Locked

An admin has disabled the account.

Instances

Instances details
FromJSON AccountStatus Source # 
Instance details

Defined in Polysemy.Account.Data.AccountStatus

ToJSON AccountStatus Source # 
Instance details

Defined in Polysemy.Account.Data.AccountStatus

Generic AccountStatus Source # 
Instance details

Defined in Polysemy.Account.Data.AccountStatus

Associated Types

type Rep AccountStatus :: Type -> Type #

Show AccountStatus Source # 
Instance details

Defined in Polysemy.Account.Data.AccountStatus

Eq AccountStatus Source # 
Instance details

Defined in Polysemy.Account.Data.AccountStatus

type Rep AccountStatus Source # 
Instance details

Defined in Polysemy.Account.Data.AccountStatus

type Rep AccountStatus = D1 ('MetaData "AccountStatus" "Polysemy.Account.Data.AccountStatus" "polysemy-account-0.2.0.0-JBrIF35CBfcBfeWmsi0YZS" 'False) ((C1 ('MetaCons "Creating" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Pending" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Active" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Locked" 'PrefixI 'False) (U1 :: Type -> Type)))