Copyright | (c) Uni Magdeburg 2017 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Eugen Kuksa <kuksa@iks.cs.ovgu.de> |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Documentation
Instances
Show Hets Source # | |
PersistEntity Hets Source # | |
Defined in Persistence.Schema keyToValues :: Key Hets -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Hets) persistIdField :: EntityField Hets (Key Hets) entityDef :: Monad m => m Hets -> EntityDef persistFieldDef :: EntityField Hets typ -> FieldDef toPersistFields :: Hets -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Hets persistUniqueKeys :: Hets -> [Unique Hets] persistUniqueToFieldNames :: Unique Hets -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Hets -> [PersistValue] fieldLens :: EntityField Hets field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Hets -> f (Entity Hets) | |
PersistField Hets Source # | |
Defined in Persistence.Schema toPersistValue :: Hets -> PersistValue fromPersistValue :: PersistValue -> Either Text Hets | |
(TypeError (MultipleUniqueKeysError Hets) :: Constraint) => AtLeastOneUniqueKey Hets Source # | |
Defined in Persistence.Schema requireUniquesP :: Hets -> NonEmpty (Unique Hets) | |
(TypeError (NoUniqueKeysError Hets) :: Constraint) => OnlyOneUniqueKey Hets Source # | |
Defined in Persistence.Schema onlyUniqueP :: Hets -> Unique Hets | |
PersistFieldSql Hets Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend Hets ~ BaseBackend backend) => DeleteCascade Hets backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Hets -> ReaderT backend m () | |
Eq (Key Hets) Source # | |
Ord (Key Hets) Source # | |
Read (Key Hets) Source # | |
Defined in Persistence.Schema | |
Show (Key Hets) Source # | |
FromJSON (Key Hets) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Hets) parseJSONList :: Value -> Parser [Key Hets] | |
ToJSON (Key Hets) Source # | |
Defined in Persistence.Schema toEncoding :: Key Hets -> Encoding toJSONList :: [Key Hets] -> Value toEncodingList :: [Key Hets] -> Encoding | |
PersistField (Key Hets) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Hets -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Hets) | |
PersistFieldSql (Key Hets) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key Hets) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Hets) parseHeader :: ByteString -> Either Text (Key Hets) parseQueryParam :: Text -> Either Text (Key Hets) | |
PathPiece (Key Hets) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Hets) toPathPiece :: Key Hets -> Text | |
ToHttpApiData (Key Hets) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Hets -> Text toEncodedUrlPiece :: Key Hets -> Builder toHeader :: Key Hets -> ByteString toQueryParam :: Key Hets -> Text | |
data EntityField Hets typ Source # | |
newtype Key Hets Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Hets Source # | |
Defined in Persistence.Schema type PersistEntityBackend Hets = SqlBackend | |
data Unique Hets Source # | |
Defined in Persistence.Schema data Unique Hets |
Language | |
|
Instances
Show Language Source # | |
PersistEntity Language Source # | |
Defined in Persistence.Schema type PersistEntityBackend Language data Key Language data EntityField Language :: Type -> Type data Unique Language keyToValues :: Key Language -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Language) persistIdField :: EntityField Language (Key Language) entityDef :: Monad m => m Language -> EntityDef persistFieldDef :: EntityField Language typ -> FieldDef toPersistFields :: Language -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Language persistUniqueKeys :: Language -> [Unique Language] persistUniqueToFieldNames :: Unique Language -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Language -> [PersistValue] fieldLens :: EntityField Language field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Language -> f (Entity Language) | |
PersistField Language Source # | |
Defined in Persistence.Schema toPersistValue :: Language -> PersistValue fromPersistValue :: PersistValue -> Either Text Language | |
AtLeastOneUniqueKey Language Source # | |
Defined in Persistence.Schema requireUniquesP :: Language -> NonEmpty (Unique Language) | |
OnlyOneUniqueKey Language Source # | |
Defined in Persistence.Schema onlyUniqueP :: Language -> Unique Language | |
PersistFieldSql Language Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend Language ~ BaseBackend backend) => DeleteCascade Language backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Language -> ReaderT backend m () | |
ToBackendKey SqlBackend Language Source # | |
Defined in Persistence.Schema toBackendKey :: Key Language -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Language | |
Eq (Key Language) Source # | |
Ord (Key Language) Source # | |
Defined in Persistence.Schema | |
Read (Key Language) Source # | |
Defined in Persistence.Schema | |
Show (Key Language) Source # | |
Show (Unique Language) Source # | |
FromJSON (Key Language) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Language) parseJSONList :: Value -> Parser [Key Language] | |
ToJSON (Key Language) Source # | |
Defined in Persistence.Schema toJSON :: Key Language -> Value toEncoding :: Key Language -> Encoding toJSONList :: [Key Language] -> Value toEncodingList :: [Key Language] -> Encoding | |
PersistField (Key Language) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Language -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Language) | |
PersistFieldSql (Key Language) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key Language) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Language) parseHeader :: ByteString -> Either Text (Key Language) parseQueryParam :: Text -> Either Text (Key Language) | |
PathPiece (Key Language) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Language) toPathPiece :: Key Language -> Text | |
ToHttpApiData (Key Language) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Language -> Text toEncodedUrlPiece :: Key Language -> Builder toHeader :: Key Language -> ByteString toQueryParam :: Key Language -> Text | |
data EntityField Language typ Source # | |
Defined in Persistence.Schema data EntityField Language typ
| |
newtype Key Language Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Language Source # | |
Defined in Persistence.Schema type PersistEntityBackend Language = SqlBackend | |
data Unique Language Source # | |
Defined in Persistence.Schema |
type LanguageId = Key Language Source #
Logic | |
|
Instances
Show Logic Source # | |
PersistEntity Logic Source # | |
Defined in Persistence.Schema type PersistEntityBackend Logic data Key Logic data EntityField Logic :: Type -> Type data Unique Logic keyToValues :: Key Logic -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Logic) persistIdField :: EntityField Logic (Key Logic) entityDef :: Monad m => m Logic -> EntityDef persistFieldDef :: EntityField Logic typ -> FieldDef toPersistFields :: Logic -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Logic persistUniqueKeys :: Logic -> [Unique Logic] persistUniqueToFieldNames :: Unique Logic -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Logic -> [PersistValue] fieldLens :: EntityField Logic field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Logic -> f (Entity Logic) | |
PersistField Logic Source # | |
Defined in Persistence.Schema toPersistValue :: Logic -> PersistValue fromPersistValue :: PersistValue -> Either Text Logic | |
AtLeastOneUniqueKey Logic Source # | |
Defined in Persistence.Schema requireUniquesP :: Logic -> NonEmpty (Unique Logic) | |
OnlyOneUniqueKey Logic Source # | |
Defined in Persistence.Schema onlyUniqueP :: Logic -> Unique Logic | |
PersistFieldSql Logic Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend Logic ~ BaseBackend backend) => DeleteCascade Logic backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Logic -> ReaderT backend m () | |
ToBackendKey SqlBackend Logic Source # | |
Defined in Persistence.Schema toBackendKey :: Key Logic -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Logic | |
Eq (Key Logic) Source # | |
Ord (Key Logic) Source # | |
Defined in Persistence.Schema | |
Read (Key Logic) Source # | |
Defined in Persistence.Schema | |
Show (Key Logic) Source # | |
Show (Unique Logic) Source # | |
FromJSON (Key Logic) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Logic) parseJSONList :: Value -> Parser [Key Logic] | |
ToJSON (Key Logic) Source # | |
Defined in Persistence.Schema toEncoding :: Key Logic -> Encoding toJSONList :: [Key Logic] -> Value toEncodingList :: [Key Logic] -> Encoding | |
PersistField (Key Logic) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Logic -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Logic) | |
PersistFieldSql (Key Logic) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key Logic) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Logic) parseHeader :: ByteString -> Either Text (Key Logic) parseQueryParam :: Text -> Either Text (Key Logic) | |
PathPiece (Key Logic) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Logic) toPathPiece :: Key Logic -> Text | |
ToHttpApiData (Key Logic) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Logic -> Text toEncodedUrlPiece :: Key Logic -> Builder toHeader :: Key Logic -> ByteString toQueryParam :: Key Logic -> Text | |
data EntityField Logic typ Source # | |
Defined in Persistence.Schema | |
newtype Key Logic Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Logic Source # | |
Defined in Persistence.Schema type PersistEntityBackend Logic = SqlBackend | |
data Unique Logic Source # | |
Defined in Persistence.Schema |
data LanguageMapping Source #
LanguageMapping | |
|
Instances
type LanguageMappingId = Key LanguageMapping Source #
data LogicMapping Source #
LogicMapping | |
|
Instances
type LogicMappingId = Key LogicMapping Source #
data LogicInclusion Source #
LogicInclusion | |
|
Instances
type LogicInclusionId = Key LogicInclusion Source #
data LogicTranslation Source #
LogicTranslation | |
|
Instances
type LogicTranslationId = Key LogicTranslation Source #
data LogicTranslationStep Source #
LogicTranslationStep | |
|
Instances
type LogicTranslationStepId = Key LogicTranslationStep Source #
data Serialization Source #
Serialization | |
|
Instances
type SerializationId = Key Serialization Source #
Signature | |
|
Instances
PersistEntity Signature Source # | |
Defined in Persistence.Schema type PersistEntityBackend Signature data Key Signature data EntityField Signature :: Type -> Type data Unique Signature keyToValues :: Key Signature -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Signature) persistIdField :: EntityField Signature (Key Signature) entityDef :: Monad m => m Signature -> EntityDef persistFieldDef :: EntityField Signature typ -> FieldDef toPersistFields :: Signature -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Signature persistUniqueKeys :: Signature -> [Unique Signature] persistUniqueToFieldNames :: Unique Signature -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Signature -> [PersistValue] fieldLens :: EntityField Signature field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Signature -> f (Entity Signature) | |
PersistField Signature Source # | |
Defined in Persistence.Schema toPersistValue :: Signature -> PersistValue fromPersistValue :: PersistValue -> Either Text Signature | |
(TypeError (MultipleUniqueKeysError Signature) :: Constraint) => AtLeastOneUniqueKey Signature Source # | |
Defined in Persistence.Schema requireUniquesP :: Signature -> NonEmpty (Unique Signature) | |
(TypeError (NoUniqueKeysError Signature) :: Constraint) => OnlyOneUniqueKey Signature Source # | |
Defined in Persistence.Schema onlyUniqueP :: Signature -> Unique Signature | |
PersistFieldSql Signature Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend Signature ~ BaseBackend backend) => DeleteCascade Signature backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Signature -> ReaderT backend m () | |
ToBackendKey SqlBackend Signature Source # | |
Defined in Persistence.Schema toBackendKey :: Key Signature -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Signature | |
Eq (Key Signature) Source # | |
Ord (Key Signature) Source # | |
Defined in Persistence.Schema | |
Read (Key Signature) Source # | |
Defined in Persistence.Schema | |
Show (Key Signature) Source # | |
FromJSON (Key Signature) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Signature) parseJSONList :: Value -> Parser [Key Signature] | |
ToJSON (Key Signature) Source # | |
Defined in Persistence.Schema toJSON :: Key Signature -> Value toEncoding :: Key Signature -> Encoding toJSONList :: [Key Signature] -> Value toEncodingList :: [Key Signature] -> Encoding | |
PersistField (Key Signature) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Signature -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Signature) | |
PersistFieldSql (Key Signature) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key Signature) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Signature) parseHeader :: ByteString -> Either Text (Key Signature) parseQueryParam :: Text -> Either Text (Key Signature) | |
PathPiece (Key Signature) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Signature) toPathPiece :: Key Signature -> Text | |
ToHttpApiData (Key Signature) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Signature -> Text toEncodedUrlPiece :: Key Signature -> Builder toHeader :: Key Signature -> ByteString toQueryParam :: Key Signature -> Text | |
data EntityField Signature typ Source # | |
Defined in Persistence.Schema data EntityField Signature typ
| |
newtype Key Signature Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Signature Source # | |
Defined in Persistence.Schema type PersistEntityBackend Signature = SqlBackend | |
data Unique Signature Source # | |
Defined in Persistence.Schema data Unique Signature |
type SignatureId = Key Signature Source #
data SignatureMorphism Source #
SignatureMorphism | |
|
Instances
type SignatureMorphismId = Key SignatureMorphism Source #
data ConservativityStatus Source #
ConservativityStatus | |
|
Instances
type ConservativityStatusId = Key ConservativityStatus Source #
data OrganizationalUnit Source #
OrganizationalUnit | |
|
Instances
type OrganizationalUnitId = Key OrganizationalUnit Source #
data Repository Source #
Repository | |
|
Instances
Show Repository Source # | |
Defined in Persistence.Schema showsPrec :: Int -> Repository -> ShowS show :: Repository -> String showList :: [Repository] -> ShowS | |
PersistEntity Repository Source # | |
Defined in Persistence.Schema type PersistEntityBackend Repository data Key Repository data EntityField Repository :: Type -> Type data Unique Repository keyToValues :: Key Repository -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Repository) persistIdField :: EntityField Repository (Key Repository) entityDef :: Monad m => m Repository -> EntityDef persistFieldDef :: EntityField Repository typ -> FieldDef toPersistFields :: Repository -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Repository persistUniqueKeys :: Repository -> [Unique Repository] persistUniqueToFieldNames :: Unique Repository -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Repository -> [PersistValue] fieldLens :: EntityField Repository field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Repository -> f (Entity Repository) | |
PersistField Repository Source # | |
Defined in Persistence.Schema toPersistValue :: Repository -> PersistValue fromPersistValue :: PersistValue -> Either Text Repository | |
(TypeError (MultipleUniqueKeysError Repository) :: Constraint) => AtLeastOneUniqueKey Repository Source # | |
Defined in Persistence.Schema requireUniquesP :: Repository -> NonEmpty (Unique Repository) | |
(TypeError (NoUniqueKeysError Repository) :: Constraint) => OnlyOneUniqueKey Repository Source # | |
Defined in Persistence.Schema onlyUniqueP :: Repository -> Unique Repository | |
PersistFieldSql Repository Source # | |
Defined in Persistence.Schema sqlType :: Proxy Repository -> SqlType | |
(PersistQuery backend, PersistEntityBackend Repository ~ BaseBackend backend) => DeleteCascade Repository backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Repository -> ReaderT backend m () | |
ToBackendKey SqlBackend Repository Source # | |
Defined in Persistence.Schema toBackendKey :: Key Repository -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Repository | |
Eq (Key Repository) Source # | |
Defined in Persistence.Schema (==) :: Key Repository -> Key Repository -> Bool (/=) :: Key Repository -> Key Repository -> Bool | |
Ord (Key Repository) Source # | |
Defined in Persistence.Schema compare :: Key Repository -> Key Repository -> Ordering (<) :: Key Repository -> Key Repository -> Bool (<=) :: Key Repository -> Key Repository -> Bool (>) :: Key Repository -> Key Repository -> Bool (>=) :: Key Repository -> Key Repository -> Bool max :: Key Repository -> Key Repository -> Key Repository min :: Key Repository -> Key Repository -> Key Repository | |
Read (Key Repository) Source # | |
Defined in Persistence.Schema readsPrec :: Int -> ReadS (Key Repository) readList :: ReadS [Key Repository] readPrec :: ReadPrec (Key Repository) readListPrec :: ReadPrec [Key Repository] | |
Show (Key Repository) Source # | |
Defined in Persistence.Schema showsPrec :: Int -> Key Repository -> ShowS show :: Key Repository -> String showList :: [Key Repository] -> ShowS | |
FromJSON (Key Repository) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Repository) parseJSONList :: Value -> Parser [Key Repository] | |
ToJSON (Key Repository) Source # | |
Defined in Persistence.Schema toJSON :: Key Repository -> Value toEncoding :: Key Repository -> Encoding toJSONList :: [Key Repository] -> Value toEncodingList :: [Key Repository] -> Encoding | |
PersistField (Key Repository) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Repository -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Repository) | |
PersistFieldSql (Key Repository) Source # | |
Defined in Persistence.Schema sqlType :: Proxy (Key Repository) -> SqlType | |
FromHttpApiData (Key Repository) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Repository) parseHeader :: ByteString -> Either Text (Key Repository) parseQueryParam :: Text -> Either Text (Key Repository) | |
PathPiece (Key Repository) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Repository) toPathPiece :: Key Repository -> Text | |
ToHttpApiData (Key Repository) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Repository -> Text toEncodedUrlPiece :: Key Repository -> Builder toHeader :: Key Repository -> ByteString toQueryParam :: Key Repository -> Text | |
data EntityField Repository typ Source # | |
Defined in Persistence.Schema data EntityField Repository typ
| |
newtype Key Repository Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Repository Source # | |
Defined in Persistence.Schema type PersistEntityBackend Repository = SqlBackend | |
data Unique Repository Source # | |
Defined in Persistence.Schema data Unique Repository |
type RepositoryId = Key Repository Source #
Action | |
|
Instances
Show Action Source # | |
PersistEntity Action Source # | |
Defined in Persistence.Schema type PersistEntityBackend Action data Key Action data EntityField Action :: Type -> Type data Unique Action keyToValues :: Key Action -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Action) persistIdField :: EntityField Action (Key Action) entityDef :: Monad m => m Action -> EntityDef persistFieldDef :: EntityField Action typ -> FieldDef toPersistFields :: Action -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Action persistUniqueKeys :: Action -> [Unique Action] persistUniqueToFieldNames :: Unique Action -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Action -> [PersistValue] fieldLens :: EntityField Action field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Action -> f (Entity Action) | |
PersistField Action Source # | |
Defined in Persistence.Schema toPersistValue :: Action -> PersistValue fromPersistValue :: PersistValue -> Either Text Action | |
(TypeError (MultipleUniqueKeysError Action) :: Constraint) => AtLeastOneUniqueKey Action Source # | |
Defined in Persistence.Schema requireUniquesP :: Action -> NonEmpty (Unique Action) | |
(TypeError (NoUniqueKeysError Action) :: Constraint) => OnlyOneUniqueKey Action Source # | |
Defined in Persistence.Schema onlyUniqueP :: Action -> Unique Action | |
PersistFieldSql Action Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend Action ~ BaseBackend backend) => DeleteCascade Action backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Action -> ReaderT backend m () | |
ToBackendKey SqlBackend Action Source # | |
Defined in Persistence.Schema toBackendKey :: Key Action -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Action | |
Eq (Key Action) Source # | |
Ord (Key Action) Source # | |
Defined in Persistence.Schema | |
Read (Key Action) Source # | |
Defined in Persistence.Schema | |
Show (Key Action) Source # | |
FromJSON (Key Action) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Action) parseJSONList :: Value -> Parser [Key Action] | |
ToJSON (Key Action) Source # | |
Defined in Persistence.Schema toEncoding :: Key Action -> Encoding toJSONList :: [Key Action] -> Value toEncodingList :: [Key Action] -> Encoding | |
PersistField (Key Action) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Action -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Action) | |
PersistFieldSql (Key Action) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key Action) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Action) parseHeader :: ByteString -> Either Text (Key Action) parseQueryParam :: Text -> Either Text (Key Action) | |
PathPiece (Key Action) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Action) toPathPiece :: Key Action -> Text | |
ToHttpApiData (Key Action) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Action -> Text toEncodedUrlPiece :: Key Action -> Builder toHeader :: Key Action -> ByteString toQueryParam :: Key Action -> Text | |
data EntityField Action typ Source # | |
Defined in Persistence.Schema data EntityField Action typ
| |
newtype Key Action Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Action Source # | |
Defined in Persistence.Schema type PersistEntityBackend Action = SqlBackend | |
data Unique Action Source # | |
Defined in Persistence.Schema data Unique Action |
data FileVersion Source #
FileVersion | |
|
Instances
Show FileVersion Source # | |
Defined in Persistence.Schema showsPrec :: Int -> FileVersion -> ShowS show :: FileVersion -> String showList :: [FileVersion] -> ShowS | |
PersistEntity FileVersion Source # | |
Defined in Persistence.Schema type PersistEntityBackend FileVersion data Key FileVersion data EntityField FileVersion :: Type -> Type data Unique FileVersion keyToValues :: Key FileVersion -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key FileVersion) persistIdField :: EntityField FileVersion (Key FileVersion) entityDef :: Monad m => m FileVersion -> EntityDef persistFieldDef :: EntityField FileVersion typ -> FieldDef toPersistFields :: FileVersion -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text FileVersion persistUniqueKeys :: FileVersion -> [Unique FileVersion] persistUniqueToFieldNames :: Unique FileVersion -> [(HaskellName, DBName)] persistUniqueToValues :: Unique FileVersion -> [PersistValue] fieldLens :: EntityField FileVersion field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity FileVersion -> f (Entity FileVersion) | |
PersistField FileVersion Source # | |
Defined in Persistence.Schema toPersistValue :: FileVersion -> PersistValue fromPersistValue :: PersistValue -> Either Text FileVersion | |
(TypeError (MultipleUniqueKeysError FileVersion) :: Constraint) => AtLeastOneUniqueKey FileVersion Source # | |
Defined in Persistence.Schema requireUniquesP :: FileVersion -> NonEmpty (Unique FileVersion) | |
(TypeError (NoUniqueKeysError FileVersion) :: Constraint) => OnlyOneUniqueKey FileVersion Source # | |
Defined in Persistence.Schema onlyUniqueP :: FileVersion -> Unique FileVersion | |
PersistFieldSql FileVersion Source # | |
Defined in Persistence.Schema sqlType :: Proxy FileVersion -> SqlType | |
(PersistQuery backend, PersistEntityBackend FileVersion ~ BaseBackend backend) => DeleteCascade FileVersion backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key FileVersion -> ReaderT backend m () | |
ToBackendKey SqlBackend FileVersion Source # | |
Defined in Persistence.Schema toBackendKey :: Key FileVersion -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key FileVersion | |
Eq (Key FileVersion) Source # | |
Defined in Persistence.Schema (==) :: Key FileVersion -> Key FileVersion -> Bool (/=) :: Key FileVersion -> Key FileVersion -> Bool | |
Ord (Key FileVersion) Source # | |
Defined in Persistence.Schema compare :: Key FileVersion -> Key FileVersion -> Ordering (<) :: Key FileVersion -> Key FileVersion -> Bool (<=) :: Key FileVersion -> Key FileVersion -> Bool (>) :: Key FileVersion -> Key FileVersion -> Bool (>=) :: Key FileVersion -> Key FileVersion -> Bool max :: Key FileVersion -> Key FileVersion -> Key FileVersion min :: Key FileVersion -> Key FileVersion -> Key FileVersion | |
Read (Key FileVersion) Source # | |
Defined in Persistence.Schema readsPrec :: Int -> ReadS (Key FileVersion) readList :: ReadS [Key FileVersion] readPrec :: ReadPrec (Key FileVersion) readListPrec :: ReadPrec [Key FileVersion] | |
Show (Key FileVersion) Source # | |
Defined in Persistence.Schema showsPrec :: Int -> Key FileVersion -> ShowS show :: Key FileVersion -> String showList :: [Key FileVersion] -> ShowS | |
FromJSON (Key FileVersion) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key FileVersion) parseJSONList :: Value -> Parser [Key FileVersion] | |
ToJSON (Key FileVersion) Source # | |
Defined in Persistence.Schema toJSON :: Key FileVersion -> Value toEncoding :: Key FileVersion -> Encoding toJSONList :: [Key FileVersion] -> Value toEncodingList :: [Key FileVersion] -> Encoding | |
PersistField (Key FileVersion) Source # | |
Defined in Persistence.Schema toPersistValue :: Key FileVersion -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key FileVersion) | |
PersistFieldSql (Key FileVersion) Source # | |
Defined in Persistence.Schema sqlType :: Proxy (Key FileVersion) -> SqlType | |
FromHttpApiData (Key FileVersion) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key FileVersion) parseHeader :: ByteString -> Either Text (Key FileVersion) parseQueryParam :: Text -> Either Text (Key FileVersion) | |
PathPiece (Key FileVersion) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key FileVersion) toPathPiece :: Key FileVersion -> Text | |
ToHttpApiData (Key FileVersion) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key FileVersion -> Text toEncodedUrlPiece :: Key FileVersion -> Builder toHeader :: Key FileVersion -> ByteString toQueryParam :: Key FileVersion -> Text | |
data EntityField FileVersion typ Source # | |
Defined in Persistence.Schema data EntityField FileVersion typ
| |
newtype Key FileVersion Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend FileVersion Source # | |
Defined in Persistence.Schema type PersistEntityBackend FileVersion = SqlBackend | |
data Unique FileVersion Source # | |
Defined in Persistence.Schema data Unique FileVersion |
type FileVersionId = Key FileVersion Source #
data FileVersionParent Source #
FileVersionParent | |
|
Instances
type FileVersionParentId = Key FileVersionParent Source #
LocIdBase | |
|
Instances
Show LocIdBase Source # | |
PersistEntity LocIdBase Source # | |
Defined in Persistence.Schema type PersistEntityBackend LocIdBase data Key LocIdBase data EntityField LocIdBase :: Type -> Type data Unique LocIdBase keyToValues :: Key LocIdBase -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key LocIdBase) persistIdField :: EntityField LocIdBase (Key LocIdBase) entityDef :: Monad m => m LocIdBase -> EntityDef persistFieldDef :: EntityField LocIdBase typ -> FieldDef toPersistFields :: LocIdBase -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text LocIdBase persistUniqueKeys :: LocIdBase -> [Unique LocIdBase] persistUniqueToFieldNames :: Unique LocIdBase -> [(HaskellName, DBName)] persistUniqueToValues :: Unique LocIdBase -> [PersistValue] fieldLens :: EntityField LocIdBase field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity LocIdBase -> f (Entity LocIdBase) | |
PersistField LocIdBase Source # | |
Defined in Persistence.Schema toPersistValue :: LocIdBase -> PersistValue fromPersistValue :: PersistValue -> Either Text LocIdBase | |
AtLeastOneUniqueKey LocIdBase Source # | |
Defined in Persistence.Schema requireUniquesP :: LocIdBase -> NonEmpty (Unique LocIdBase) | |
OnlyOneUniqueKey LocIdBase Source # | |
Defined in Persistence.Schema onlyUniqueP :: LocIdBase -> Unique LocIdBase | |
PersistFieldSql LocIdBase Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend LocIdBase ~ BaseBackend backend) => DeleteCascade LocIdBase backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key LocIdBase -> ReaderT backend m () | |
ToBackendKey SqlBackend LocIdBase Source # | |
Defined in Persistence.Schema toBackendKey :: Key LocIdBase -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key LocIdBase | |
Eq (Key LocIdBase) Source # | |
Ord (Key LocIdBase) Source # | |
Defined in Persistence.Schema | |
Read (Key LocIdBase) Source # | |
Defined in Persistence.Schema | |
Show (Key LocIdBase) Source # | |
Show (Unique LocIdBase) Source # | |
FromJSON (Key LocIdBase) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key LocIdBase) parseJSONList :: Value -> Parser [Key LocIdBase] | |
ToJSON (Key LocIdBase) Source # | |
Defined in Persistence.Schema toJSON :: Key LocIdBase -> Value toEncoding :: Key LocIdBase -> Encoding toJSONList :: [Key LocIdBase] -> Value toEncodingList :: [Key LocIdBase] -> Encoding | |
PersistField (Key LocIdBase) Source # | |
Defined in Persistence.Schema toPersistValue :: Key LocIdBase -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key LocIdBase) | |
PersistFieldSql (Key LocIdBase) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key LocIdBase) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key LocIdBase) parseHeader :: ByteString -> Either Text (Key LocIdBase) parseQueryParam :: Text -> Either Text (Key LocIdBase) | |
PathPiece (Key LocIdBase) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key LocIdBase) toPathPiece :: Key LocIdBase -> Text | |
ToHttpApiData (Key LocIdBase) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key LocIdBase -> Text toEncodedUrlPiece :: Key LocIdBase -> Builder toHeader :: Key LocIdBase -> ByteString toQueryParam :: Key LocIdBase -> Text | |
data EntityField LocIdBase typ Source # | |
Defined in Persistence.Schema data EntityField LocIdBase typ
| |
newtype Key LocIdBase Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend LocIdBase Source # | |
Defined in Persistence.Schema type PersistEntityBackend LocIdBase = SqlBackend | |
data Unique LocIdBase Source # | |
Defined in Persistence.Schema |
type LocIdBaseId = Key LocIdBase Source #
Document | |
|
Instances
Show Document Source # | |
PersistEntity Document Source # | |
Defined in Persistence.Schema type PersistEntityBackend Document data Key Document data EntityField Document :: Type -> Type data Unique Document keyToValues :: Key Document -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Document) persistIdField :: EntityField Document (Key Document) entityDef :: Monad m => m Document -> EntityDef persistFieldDef :: EntityField Document typ -> FieldDef toPersistFields :: Document -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Document persistUniqueKeys :: Document -> [Unique Document] persistUniqueToFieldNames :: Unique Document -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Document -> [PersistValue] fieldLens :: EntityField Document field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Document -> f (Entity Document) | |
PersistField Document Source # | |
Defined in Persistence.Schema toPersistValue :: Document -> PersistValue fromPersistValue :: PersistValue -> Either Text Document | |
(TypeError (MultipleUniqueKeysError Document) :: Constraint) => AtLeastOneUniqueKey Document Source # | |
Defined in Persistence.Schema requireUniquesP :: Document -> NonEmpty (Unique Document) | |
(TypeError (NoUniqueKeysError Document) :: Constraint) => OnlyOneUniqueKey Document Source # | |
Defined in Persistence.Schema onlyUniqueP :: Document -> Unique Document | |
PersistFieldSql Document Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend Document ~ BaseBackend backend) => DeleteCascade Document backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Document -> ReaderT backend m () | |
ToBackendKey SqlBackend Document Source # | |
Defined in Persistence.Schema toBackendKey :: Key Document -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Document | |
Eq (Key Document) Source # | |
Ord (Key Document) Source # | |
Defined in Persistence.Schema | |
Read (Key Document) Source # | |
Defined in Persistence.Schema | |
Show (Key Document) Source # | |
FromJSON (Key Document) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Document) parseJSONList :: Value -> Parser [Key Document] | |
ToJSON (Key Document) Source # | |
Defined in Persistence.Schema toJSON :: Key Document -> Value toEncoding :: Key Document -> Encoding toJSONList :: [Key Document] -> Value toEncodingList :: [Key Document] -> Encoding | |
PersistField (Key Document) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Document -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Document) | |
PersistFieldSql (Key Document) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key Document) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Document) parseHeader :: ByteString -> Either Text (Key Document) parseQueryParam :: Text -> Either Text (Key Document) | |
PathPiece (Key Document) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Document) toPathPiece :: Key Document -> Text | |
ToHttpApiData (Key Document) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Document -> Text toEncodedUrlPiece :: Key Document -> Builder toHeader :: Key Document -> ByteString toQueryParam :: Key Document -> Text | |
data EntityField Document typ Source # | |
Defined in Persistence.Schema data EntityField Document typ
| |
newtype Key Document Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Document Source # | |
Defined in Persistence.Schema type PersistEntityBackend Document = SqlBackend | |
data Unique Document Source # | |
Defined in Persistence.Schema data Unique Document |
type DocumentId = Key Document Source #
data DocumentLink Source #
DocumentLink | |
|
Instances
Show DocumentLink Source # | |
Defined in Persistence.Schema showsPrec :: Int -> DocumentLink -> ShowS show :: DocumentLink -> String showList :: [DocumentLink] -> ShowS | |
PersistEntity DocumentLink Source # | |
Defined in Persistence.Schema type PersistEntityBackend DocumentLink data Key DocumentLink data EntityField DocumentLink :: Type -> Type data Unique DocumentLink keyToValues :: Key DocumentLink -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key DocumentLink) persistIdField :: EntityField DocumentLink (Key DocumentLink) entityDef :: Monad m => m DocumentLink -> EntityDef persistFieldDef :: EntityField DocumentLink typ -> FieldDef toPersistFields :: DocumentLink -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text DocumentLink persistUniqueKeys :: DocumentLink -> [Unique DocumentLink] persistUniqueToFieldNames :: Unique DocumentLink -> [(HaskellName, DBName)] persistUniqueToValues :: Unique DocumentLink -> [PersistValue] fieldLens :: EntityField DocumentLink field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity DocumentLink -> f (Entity DocumentLink) | |
PersistField DocumentLink Source # | |
Defined in Persistence.Schema toPersistValue :: DocumentLink -> PersistValue fromPersistValue :: PersistValue -> Either Text DocumentLink | |
(TypeError (MultipleUniqueKeysError DocumentLink) :: Constraint) => AtLeastOneUniqueKey DocumentLink Source # | |
Defined in Persistence.Schema requireUniquesP :: DocumentLink -> NonEmpty (Unique DocumentLink) | |
(TypeError (NoUniqueKeysError DocumentLink) :: Constraint) => OnlyOneUniqueKey DocumentLink Source # | |
Defined in Persistence.Schema onlyUniqueP :: DocumentLink -> Unique DocumentLink | |
PersistFieldSql DocumentLink Source # | |
Defined in Persistence.Schema sqlType :: Proxy DocumentLink -> SqlType | |
(PersistQuery backend, PersistEntityBackend DocumentLink ~ BaseBackend backend) => DeleteCascade DocumentLink backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key DocumentLink -> ReaderT backend m () | |
ToBackendKey SqlBackend DocumentLink Source # | |
Defined in Persistence.Schema toBackendKey :: Key DocumentLink -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key DocumentLink | |
Eq (Key DocumentLink) Source # | |
Defined in Persistence.Schema (==) :: Key DocumentLink -> Key DocumentLink -> Bool (/=) :: Key DocumentLink -> Key DocumentLink -> Bool | |
Ord (Key DocumentLink) Source # | |
Defined in Persistence.Schema compare :: Key DocumentLink -> Key DocumentLink -> Ordering (<) :: Key DocumentLink -> Key DocumentLink -> Bool (<=) :: Key DocumentLink -> Key DocumentLink -> Bool (>) :: Key DocumentLink -> Key DocumentLink -> Bool (>=) :: Key DocumentLink -> Key DocumentLink -> Bool max :: Key DocumentLink -> Key DocumentLink -> Key DocumentLink min :: Key DocumentLink -> Key DocumentLink -> Key DocumentLink | |
Read (Key DocumentLink) Source # | |
Defined in Persistence.Schema readsPrec :: Int -> ReadS (Key DocumentLink) readList :: ReadS [Key DocumentLink] readPrec :: ReadPrec (Key DocumentLink) readListPrec :: ReadPrec [Key DocumentLink] | |
Show (Key DocumentLink) Source # | |
Defined in Persistence.Schema showsPrec :: Int -> Key DocumentLink -> ShowS show :: Key DocumentLink -> String showList :: [Key DocumentLink] -> ShowS | |
FromJSON (Key DocumentLink) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key DocumentLink) parseJSONList :: Value -> Parser [Key DocumentLink] | |
ToJSON (Key DocumentLink) Source # | |
Defined in Persistence.Schema toJSON :: Key DocumentLink -> Value toEncoding :: Key DocumentLink -> Encoding toJSONList :: [Key DocumentLink] -> Value toEncodingList :: [Key DocumentLink] -> Encoding | |
PersistField (Key DocumentLink) Source # | |
Defined in Persistence.Schema toPersistValue :: Key DocumentLink -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key DocumentLink) | |
PersistFieldSql (Key DocumentLink) Source # | |
Defined in Persistence.Schema sqlType :: Proxy (Key DocumentLink) -> SqlType | |
FromHttpApiData (Key DocumentLink) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key DocumentLink) parseHeader :: ByteString -> Either Text (Key DocumentLink) parseQueryParam :: Text -> Either Text (Key DocumentLink) | |
PathPiece (Key DocumentLink) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key DocumentLink) toPathPiece :: Key DocumentLink -> Text | |
ToHttpApiData (Key DocumentLink) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key DocumentLink -> Text toEncodedUrlPiece :: Key DocumentLink -> Builder toHeader :: Key DocumentLink -> ByteString toQueryParam :: Key DocumentLink -> Text | |
data EntityField DocumentLink typ Source # | |
Defined in Persistence.Schema data EntityField DocumentLink typ
| |
newtype Key DocumentLink Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend DocumentLink Source # | |
Defined in Persistence.Schema type PersistEntityBackend DocumentLink = SqlBackend | |
data Unique DocumentLink Source # | |
Defined in Persistence.Schema data Unique DocumentLink |
type DocumentLinkId = Key DocumentLink Source #
FileRange | |
|
Instances
Show FileRange Source # | |
PersistEntity FileRange Source # | |
Defined in Persistence.Schema type PersistEntityBackend FileRange data Key FileRange data EntityField FileRange :: Type -> Type data Unique FileRange keyToValues :: Key FileRange -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key FileRange) persistIdField :: EntityField FileRange (Key FileRange) entityDef :: Monad m => m FileRange -> EntityDef persistFieldDef :: EntityField FileRange typ -> FieldDef toPersistFields :: FileRange -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text FileRange persistUniqueKeys :: FileRange -> [Unique FileRange] persistUniqueToFieldNames :: Unique FileRange -> [(HaskellName, DBName)] persistUniqueToValues :: Unique FileRange -> [PersistValue] fieldLens :: EntityField FileRange field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity FileRange -> f (Entity FileRange) | |
PersistField FileRange Source # | |
Defined in Persistence.Schema toPersistValue :: FileRange -> PersistValue fromPersistValue :: PersistValue -> Either Text FileRange | |
(TypeError (MultipleUniqueKeysError FileRange) :: Constraint) => AtLeastOneUniqueKey FileRange Source # | |
Defined in Persistence.Schema requireUniquesP :: FileRange -> NonEmpty (Unique FileRange) | |
(TypeError (NoUniqueKeysError FileRange) :: Constraint) => OnlyOneUniqueKey FileRange Source # | |
Defined in Persistence.Schema onlyUniqueP :: FileRange -> Unique FileRange | |
PersistFieldSql FileRange Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend FileRange ~ BaseBackend backend) => DeleteCascade FileRange backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key FileRange -> ReaderT backend m () | |
ToBackendKey SqlBackend FileRange Source # | |
Defined in Persistence.Schema toBackendKey :: Key FileRange -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key FileRange | |
Eq (Key FileRange) Source # | |
Ord (Key FileRange) Source # | |
Defined in Persistence.Schema | |
Read (Key FileRange) Source # | |
Defined in Persistence.Schema | |
Show (Key FileRange) Source # | |
FromJSON (Key FileRange) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key FileRange) parseJSONList :: Value -> Parser [Key FileRange] | |
ToJSON (Key FileRange) Source # | |
Defined in Persistence.Schema toJSON :: Key FileRange -> Value toEncoding :: Key FileRange -> Encoding toJSONList :: [Key FileRange] -> Value toEncodingList :: [Key FileRange] -> Encoding | |
PersistField (Key FileRange) Source # | |
Defined in Persistence.Schema toPersistValue :: Key FileRange -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key FileRange) | |
PersistFieldSql (Key FileRange) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key FileRange) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key FileRange) parseHeader :: ByteString -> Either Text (Key FileRange) parseQueryParam :: Text -> Either Text (Key FileRange) | |
PathPiece (Key FileRange) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key FileRange) toPathPiece :: Key FileRange -> Text | |
ToHttpApiData (Key FileRange) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key FileRange -> Text toEncodedUrlPiece :: Key FileRange -> Builder toHeader :: Key FileRange -> ByteString toQueryParam :: Key FileRange -> Text | |
data EntityField FileRange typ Source # | |
Defined in Persistence.Schema data EntityField FileRange typ
| |
newtype Key FileRange Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend FileRange Source # | |
Defined in Persistence.Schema type PersistEntityBackend FileRange = SqlBackend | |
data Unique FileRange Source # | |
Defined in Persistence.Schema data Unique FileRange |
type FileRangeId = Key FileRange Source #
Diagnosis | |
|
Instances
Show Diagnosis Source # | |
PersistEntity Diagnosis Source # | |
Defined in Persistence.Schema type PersistEntityBackend Diagnosis data Key Diagnosis data EntityField Diagnosis :: Type -> Type data Unique Diagnosis keyToValues :: Key Diagnosis -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Diagnosis) persistIdField :: EntityField Diagnosis (Key Diagnosis) entityDef :: Monad m => m Diagnosis -> EntityDef persistFieldDef :: EntityField Diagnosis typ -> FieldDef toPersistFields :: Diagnosis -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Diagnosis persistUniqueKeys :: Diagnosis -> [Unique Diagnosis] persistUniqueToFieldNames :: Unique Diagnosis -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Diagnosis -> [PersistValue] fieldLens :: EntityField Diagnosis field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Diagnosis -> f (Entity Diagnosis) | |
PersistField Diagnosis Source # | |
Defined in Persistence.Schema toPersistValue :: Diagnosis -> PersistValue fromPersistValue :: PersistValue -> Either Text Diagnosis | |
(TypeError (MultipleUniqueKeysError Diagnosis) :: Constraint) => AtLeastOneUniqueKey Diagnosis Source # | |
Defined in Persistence.Schema requireUniquesP :: Diagnosis -> NonEmpty (Unique Diagnosis) | |
(TypeError (NoUniqueKeysError Diagnosis) :: Constraint) => OnlyOneUniqueKey Diagnosis Source # | |
Defined in Persistence.Schema onlyUniqueP :: Diagnosis -> Unique Diagnosis | |
PersistFieldSql Diagnosis Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend Diagnosis ~ BaseBackend backend) => DeleteCascade Diagnosis backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Diagnosis -> ReaderT backend m () | |
ToBackendKey SqlBackend Diagnosis Source # | |
Defined in Persistence.Schema toBackendKey :: Key Diagnosis -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Diagnosis | |
Eq (Key Diagnosis) Source # | |
Ord (Key Diagnosis) Source # | |
Defined in Persistence.Schema | |
Read (Key Diagnosis) Source # | |
Defined in Persistence.Schema | |
Show (Key Diagnosis) Source # | |
FromJSON (Key Diagnosis) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Diagnosis) parseJSONList :: Value -> Parser [Key Diagnosis] | |
ToJSON (Key Diagnosis) Source # | |
Defined in Persistence.Schema toJSON :: Key Diagnosis -> Value toEncoding :: Key Diagnosis -> Encoding toJSONList :: [Key Diagnosis] -> Value toEncodingList :: [Key Diagnosis] -> Encoding | |
PersistField (Key Diagnosis) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Diagnosis -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Diagnosis) | |
PersistFieldSql (Key Diagnosis) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key Diagnosis) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Diagnosis) parseHeader :: ByteString -> Either Text (Key Diagnosis) parseQueryParam :: Text -> Either Text (Key Diagnosis) | |
PathPiece (Key Diagnosis) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Diagnosis) toPathPiece :: Key Diagnosis -> Text | |
ToHttpApiData (Key Diagnosis) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Diagnosis -> Text toEncodedUrlPiece :: Key Diagnosis -> Builder toHeader :: Key Diagnosis -> ByteString toQueryParam :: Key Diagnosis -> Text | |
data EntityField Diagnosis typ Source # | |
Defined in Persistence.Schema data EntityField Diagnosis typ
| |
newtype Key Diagnosis Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Diagnosis Source # | |
Defined in Persistence.Schema type PersistEntityBackend Diagnosis = SqlBackend | |
data Unique Diagnosis Source # | |
Defined in Persistence.Schema data Unique Diagnosis |
type DiagnosisId = Key Diagnosis Source #
OMS | |
|
Instances
Show OMS Source # | |
PersistEntity OMS Source # | |
Defined in Persistence.Schema keyToValues :: Key OMS -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key OMS) persistIdField :: EntityField OMS (Key OMS) entityDef :: Monad m => m OMS -> EntityDef persistFieldDef :: EntityField OMS typ -> FieldDef toPersistFields :: OMS -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text OMS persistUniqueKeys :: OMS -> [Unique OMS] persistUniqueToFieldNames :: Unique OMS -> [(HaskellName, DBName)] persistUniqueToValues :: Unique OMS -> [PersistValue] fieldLens :: EntityField OMS field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity OMS -> f (Entity OMS) | |
PersistField OMS Source # | |
Defined in Persistence.Schema toPersistValue :: OMS -> PersistValue fromPersistValue :: PersistValue -> Either Text OMS | |
(TypeError (MultipleUniqueKeysError OMS) :: Constraint) => AtLeastOneUniqueKey OMS Source # | |
Defined in Persistence.Schema requireUniquesP :: OMS -> NonEmpty (Unique OMS) | |
(TypeError (NoUniqueKeysError OMS) :: Constraint) => OnlyOneUniqueKey OMS Source # | |
Defined in Persistence.Schema onlyUniqueP :: OMS -> Unique OMS | |
PersistFieldSql OMS Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend OMS ~ BaseBackend backend) => DeleteCascade OMS backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key OMS -> ReaderT backend m () | |
ToBackendKey SqlBackend OMS Source # | |
Defined in Persistence.Schema toBackendKey :: Key OMS -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key OMS | |
Eq (Key OMS) Source # | |
Ord (Key OMS) Source # | |
Read (Key OMS) Source # | |
Defined in Persistence.Schema | |
Show (Key OMS) Source # | |
FromJSON (Key OMS) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key OMS) parseJSONList :: Value -> Parser [Key OMS] | |
ToJSON (Key OMS) Source # | |
Defined in Persistence.Schema toEncoding :: Key OMS -> Encoding toJSONList :: [Key OMS] -> Value toEncodingList :: [Key OMS] -> Encoding | |
PersistField (Key OMS) Source # | |
Defined in Persistence.Schema toPersistValue :: Key OMS -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key OMS) | |
PersistFieldSql (Key OMS) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key OMS) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key OMS) parseHeader :: ByteString -> Either Text (Key OMS) parseQueryParam :: Text -> Either Text (Key OMS) | |
PathPiece (Key OMS) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key OMS) toPathPiece :: Key OMS -> Text | |
ToHttpApiData (Key OMS) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key OMS -> Text toEncodedUrlPiece :: Key OMS -> Builder toHeader :: Key OMS -> ByteString toQueryParam :: Key OMS -> Text | |
data EntityField OMS typ Source # | |
Defined in Persistence.Schema data EntityField OMS typ
| |
newtype Key OMS Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend OMS Source # | |
Defined in Persistence.Schema type PersistEntityBackend OMS = SqlBackend | |
data Unique OMS Source # | |
Defined in Persistence.Schema data Unique OMS |
Mapping | |
|
Instances
Show Mapping Source # | |
PersistEntity Mapping Source # | |
Defined in Persistence.Schema type PersistEntityBackend Mapping data Key Mapping data EntityField Mapping :: Type -> Type data Unique Mapping keyToValues :: Key Mapping -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Mapping) persistIdField :: EntityField Mapping (Key Mapping) entityDef :: Monad m => m Mapping -> EntityDef persistFieldDef :: EntityField Mapping typ -> FieldDef toPersistFields :: Mapping -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Mapping persistUniqueKeys :: Mapping -> [Unique Mapping] persistUniqueToFieldNames :: Unique Mapping -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Mapping -> [PersistValue] fieldLens :: EntityField Mapping field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Mapping -> f (Entity Mapping) | |
PersistField Mapping Source # | |
Defined in Persistence.Schema toPersistValue :: Mapping -> PersistValue fromPersistValue :: PersistValue -> Either Text Mapping | |
(TypeError (MultipleUniqueKeysError Mapping) :: Constraint) => AtLeastOneUniqueKey Mapping Source # | |
Defined in Persistence.Schema requireUniquesP :: Mapping -> NonEmpty (Unique Mapping) | |
(TypeError (NoUniqueKeysError Mapping) :: Constraint) => OnlyOneUniqueKey Mapping Source # | |
Defined in Persistence.Schema onlyUniqueP :: Mapping -> Unique Mapping | |
PersistFieldSql Mapping Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend Mapping ~ BaseBackend backend) => DeleteCascade Mapping backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Mapping -> ReaderT backend m () | |
ToBackendKey SqlBackend Mapping Source # | |
Defined in Persistence.Schema toBackendKey :: Key Mapping -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Mapping | |
Eq (Key Mapping) Source # | |
Ord (Key Mapping) Source # | |
Read (Key Mapping) Source # | |
Defined in Persistence.Schema | |
Show (Key Mapping) Source # | |
FromJSON (Key Mapping) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Mapping) parseJSONList :: Value -> Parser [Key Mapping] | |
ToJSON (Key Mapping) Source # | |
Defined in Persistence.Schema toJSON :: Key Mapping -> Value toEncoding :: Key Mapping -> Encoding toJSONList :: [Key Mapping] -> Value toEncodingList :: [Key Mapping] -> Encoding | |
PersistField (Key Mapping) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Mapping -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Mapping) | |
PersistFieldSql (Key Mapping) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key Mapping) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Mapping) parseHeader :: ByteString -> Either Text (Key Mapping) parseQueryParam :: Text -> Either Text (Key Mapping) | |
PathPiece (Key Mapping) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Mapping) toPathPiece :: Key Mapping -> Text | |
ToHttpApiData (Key Mapping) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Mapping -> Text toEncodedUrlPiece :: Key Mapping -> Builder toHeader :: Key Mapping -> ByteString toQueryParam :: Key Mapping -> Text | |
data EntityField Mapping typ Source # | |
Defined in Persistence.Schema data EntityField Mapping typ
| |
newtype Key Mapping Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Mapping Source # | |
Defined in Persistence.Schema type PersistEntityBackend Mapping = SqlBackend | |
data Unique Mapping Source # | |
Defined in Persistence.Schema data Unique Mapping |
Sentence | |
|
Instances
Show Sentence Source # | |
PersistEntity Sentence Source # | |
Defined in Persistence.Schema type PersistEntityBackend Sentence data Key Sentence data EntityField Sentence :: Type -> Type data Unique Sentence keyToValues :: Key Sentence -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Sentence) persistIdField :: EntityField Sentence (Key Sentence) entityDef :: Monad m => m Sentence -> EntityDef persistFieldDef :: EntityField Sentence typ -> FieldDef toPersistFields :: Sentence -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Sentence persistUniqueKeys :: Sentence -> [Unique Sentence] persistUniqueToFieldNames :: Unique Sentence -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Sentence -> [PersistValue] fieldLens :: EntityField Sentence field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Sentence -> f (Entity Sentence) | |
PersistField Sentence Source # | |
Defined in Persistence.Schema toPersistValue :: Sentence -> PersistValue fromPersistValue :: PersistValue -> Either Text Sentence | |
(TypeError (MultipleUniqueKeysError Sentence) :: Constraint) => AtLeastOneUniqueKey Sentence Source # | |
Defined in Persistence.Schema requireUniquesP :: Sentence -> NonEmpty (Unique Sentence) | |
(TypeError (NoUniqueKeysError Sentence) :: Constraint) => OnlyOneUniqueKey Sentence Source # | |
Defined in Persistence.Schema onlyUniqueP :: Sentence -> Unique Sentence | |
PersistFieldSql Sentence Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend Sentence ~ BaseBackend backend) => DeleteCascade Sentence backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Sentence -> ReaderT backend m () | |
ToBackendKey SqlBackend Sentence Source # | |
Defined in Persistence.Schema toBackendKey :: Key Sentence -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Sentence | |
Eq (Key Sentence) Source # | |
Ord (Key Sentence) Source # | |
Defined in Persistence.Schema | |
Read (Key Sentence) Source # | |
Defined in Persistence.Schema | |
Show (Key Sentence) Source # | |
FromJSON (Key Sentence) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Sentence) parseJSONList :: Value -> Parser [Key Sentence] | |
ToJSON (Key Sentence) Source # | |
Defined in Persistence.Schema toJSON :: Key Sentence -> Value toEncoding :: Key Sentence -> Encoding toJSONList :: [Key Sentence] -> Value toEncodingList :: [Key Sentence] -> Encoding | |
PersistField (Key Sentence) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Sentence -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Sentence) | |
PersistFieldSql (Key Sentence) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key Sentence) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Sentence) parseHeader :: ByteString -> Either Text (Key Sentence) parseQueryParam :: Text -> Either Text (Key Sentence) | |
PathPiece (Key Sentence) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Sentence) toPathPiece :: Key Sentence -> Text | |
ToHttpApiData (Key Sentence) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Sentence -> Text toEncodedUrlPiece :: Key Sentence -> Builder toHeader :: Key Sentence -> ByteString toQueryParam :: Key Sentence -> Text | |
data EntityField Sentence typ Source # | |
Defined in Persistence.Schema data EntityField Sentence typ
| |
newtype Key Sentence Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Sentence Source # | |
Defined in Persistence.Schema type PersistEntityBackend Sentence = SqlBackend | |
data Unique Sentence Source # | |
Defined in Persistence.Schema data Unique Sentence |
type SentenceId = Key Sentence Source #
Instances
Show Axiom Source # | |
PersistEntity Axiom Source # | |
Defined in Persistence.Schema type PersistEntityBackend Axiom data Key Axiom data EntityField Axiom :: Type -> Type data Unique Axiom keyToValues :: Key Axiom -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Axiom) persistIdField :: EntityField Axiom (Key Axiom) entityDef :: Monad m => m Axiom -> EntityDef persistFieldDef :: EntityField Axiom typ -> FieldDef toPersistFields :: Axiom -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Axiom persistUniqueKeys :: Axiom -> [Unique Axiom] persistUniqueToFieldNames :: Unique Axiom -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Axiom -> [PersistValue] fieldLens :: EntityField Axiom field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Axiom -> f (Entity Axiom) | |
PersistField Axiom Source # | |
Defined in Persistence.Schema toPersistValue :: Axiom -> PersistValue fromPersistValue :: PersistValue -> Either Text Axiom | |
(TypeError (MultipleUniqueKeysError Axiom) :: Constraint) => AtLeastOneUniqueKey Axiom Source # | |
Defined in Persistence.Schema requireUniquesP :: Axiom -> NonEmpty (Unique Axiom) | |
(TypeError (NoUniqueKeysError Axiom) :: Constraint) => OnlyOneUniqueKey Axiom Source # | |
Defined in Persistence.Schema onlyUniqueP :: Axiom -> Unique Axiom | |
PersistFieldSql Axiom Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend Axiom ~ BaseBackend backend) => DeleteCascade Axiom backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Axiom -> ReaderT backend m () | |
ToBackendKey SqlBackend Axiom Source # | |
Defined in Persistence.Schema toBackendKey :: Key Axiom -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Axiom | |
Eq (Key Axiom) Source # | |
Ord (Key Axiom) Source # | |
Defined in Persistence.Schema | |
Read (Key Axiom) Source # | |
Defined in Persistence.Schema | |
Show (Key Axiom) Source # | |
FromJSON (Key Axiom) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Axiom) parseJSONList :: Value -> Parser [Key Axiom] | |
ToJSON (Key Axiom) Source # | |
Defined in Persistence.Schema toEncoding :: Key Axiom -> Encoding toJSONList :: [Key Axiom] -> Value toEncodingList :: [Key Axiom] -> Encoding | |
PersistField (Key Axiom) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Axiom -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Axiom) | |
PersistFieldSql (Key Axiom) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key Axiom) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Axiom) parseHeader :: ByteString -> Either Text (Key Axiom) parseQueryParam :: Text -> Either Text (Key Axiom) | |
PathPiece (Key Axiom) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Axiom) toPathPiece :: Key Axiom -> Text | |
ToHttpApiData (Key Axiom) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Axiom -> Text toEncodedUrlPiece :: Key Axiom -> Builder toHeader :: Key Axiom -> ByteString toQueryParam :: Key Axiom -> Text | |
data EntityField Axiom typ Source # | |
Defined in Persistence.Schema | |
newtype Key Axiom Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Axiom Source # | |
Defined in Persistence.Schema type PersistEntityBackend Axiom = SqlBackend | |
data Unique Axiom Source # | |
Defined in Persistence.Schema data Unique Axiom |
data Conjecture Source #
Conjecture | |
|
Instances
Show Conjecture Source # | |
Defined in Persistence.Schema showsPrec :: Int -> Conjecture -> ShowS show :: Conjecture -> String showList :: [Conjecture] -> ShowS | |
PersistEntity Conjecture Source # | |
Defined in Persistence.Schema type PersistEntityBackend Conjecture data Key Conjecture data EntityField Conjecture :: Type -> Type data Unique Conjecture keyToValues :: Key Conjecture -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Conjecture) persistIdField :: EntityField Conjecture (Key Conjecture) entityDef :: Monad m => m Conjecture -> EntityDef persistFieldDef :: EntityField Conjecture typ -> FieldDef toPersistFields :: Conjecture -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Conjecture persistUniqueKeys :: Conjecture -> [Unique Conjecture] persistUniqueToFieldNames :: Unique Conjecture -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Conjecture -> [PersistValue] fieldLens :: EntityField Conjecture field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Conjecture -> f (Entity Conjecture) | |
PersistField Conjecture Source # | |
Defined in Persistence.Schema toPersistValue :: Conjecture -> PersistValue fromPersistValue :: PersistValue -> Either Text Conjecture | |
(TypeError (MultipleUniqueKeysError Conjecture) :: Constraint) => AtLeastOneUniqueKey Conjecture Source # | |
Defined in Persistence.Schema requireUniquesP :: Conjecture -> NonEmpty (Unique Conjecture) | |
(TypeError (NoUniqueKeysError Conjecture) :: Constraint) => OnlyOneUniqueKey Conjecture Source # | |
Defined in Persistence.Schema onlyUniqueP :: Conjecture -> Unique Conjecture | |
PersistFieldSql Conjecture Source # | |
Defined in Persistence.Schema sqlType :: Proxy Conjecture -> SqlType | |
(PersistQuery backend, PersistEntityBackend Conjecture ~ BaseBackend backend) => DeleteCascade Conjecture backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Conjecture -> ReaderT backend m () | |
ToBackendKey SqlBackend Conjecture Source # | |
Defined in Persistence.Schema toBackendKey :: Key Conjecture -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Conjecture | |
Eq (Key Conjecture) Source # | |
Defined in Persistence.Schema (==) :: Key Conjecture -> Key Conjecture -> Bool (/=) :: Key Conjecture -> Key Conjecture -> Bool | |
Ord (Key Conjecture) Source # | |
Defined in Persistence.Schema compare :: Key Conjecture -> Key Conjecture -> Ordering (<) :: Key Conjecture -> Key Conjecture -> Bool (<=) :: Key Conjecture -> Key Conjecture -> Bool (>) :: Key Conjecture -> Key Conjecture -> Bool (>=) :: Key Conjecture -> Key Conjecture -> Bool max :: Key Conjecture -> Key Conjecture -> Key Conjecture min :: Key Conjecture -> Key Conjecture -> Key Conjecture | |
Read (Key Conjecture) Source # | |
Defined in Persistence.Schema readsPrec :: Int -> ReadS (Key Conjecture) readList :: ReadS [Key Conjecture] readPrec :: ReadPrec (Key Conjecture) readListPrec :: ReadPrec [Key Conjecture] | |
Show (Key Conjecture) Source # | |
Defined in Persistence.Schema showsPrec :: Int -> Key Conjecture -> ShowS show :: Key Conjecture -> String showList :: [Key Conjecture] -> ShowS | |
FromJSON (Key Conjecture) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Conjecture) parseJSONList :: Value -> Parser [Key Conjecture] | |
ToJSON (Key Conjecture) Source # | |
Defined in Persistence.Schema toJSON :: Key Conjecture -> Value toEncoding :: Key Conjecture -> Encoding toJSONList :: [Key Conjecture] -> Value toEncodingList :: [Key Conjecture] -> Encoding | |
PersistField (Key Conjecture) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Conjecture -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Conjecture) | |
PersistFieldSql (Key Conjecture) Source # | |
Defined in Persistence.Schema sqlType :: Proxy (Key Conjecture) -> SqlType | |
FromHttpApiData (Key Conjecture) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Conjecture) parseHeader :: ByteString -> Either Text (Key Conjecture) parseQueryParam :: Text -> Either Text (Key Conjecture) | |
PathPiece (Key Conjecture) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Conjecture) toPathPiece :: Key Conjecture -> Text | |
ToHttpApiData (Key Conjecture) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Conjecture -> Text toEncodedUrlPiece :: Key Conjecture -> Builder toHeader :: Key Conjecture -> ByteString toQueryParam :: Key Conjecture -> Text | |
data EntityField Conjecture typ Source # | |
Defined in Persistence.Schema data EntityField Conjecture typ
| |
newtype Key Conjecture Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Conjecture Source # | |
Defined in Persistence.Schema type PersistEntityBackend Conjecture = SqlBackend | |
data Unique Conjecture Source # | |
Defined in Persistence.Schema data Unique Conjecture |
type ConjectureId = Key Conjecture Source #
Symbol | |
|
Instances
Show Symbol Source # | |
PersistEntity Symbol Source # | |
Defined in Persistence.Schema type PersistEntityBackend Symbol data Key Symbol data EntityField Symbol :: Type -> Type data Unique Symbol keyToValues :: Key Symbol -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Symbol) persistIdField :: EntityField Symbol (Key Symbol) entityDef :: Monad m => m Symbol -> EntityDef persistFieldDef :: EntityField Symbol typ -> FieldDef toPersistFields :: Symbol -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Symbol persistUniqueKeys :: Symbol -> [Unique Symbol] persistUniqueToFieldNames :: Unique Symbol -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Symbol -> [PersistValue] fieldLens :: EntityField Symbol field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Symbol -> f (Entity Symbol) | |
PersistField Symbol Source # | |
Defined in Persistence.Schema toPersistValue :: Symbol -> PersistValue fromPersistValue :: PersistValue -> Either Text Symbol | |
(TypeError (MultipleUniqueKeysError Symbol) :: Constraint) => AtLeastOneUniqueKey Symbol Source # | |
Defined in Persistence.Schema requireUniquesP :: Symbol -> NonEmpty (Unique Symbol) | |
(TypeError (NoUniqueKeysError Symbol) :: Constraint) => OnlyOneUniqueKey Symbol Source # | |
Defined in Persistence.Schema onlyUniqueP :: Symbol -> Unique Symbol | |
PersistFieldSql Symbol Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend Symbol ~ BaseBackend backend) => DeleteCascade Symbol backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Symbol -> ReaderT backend m () | |
ToBackendKey SqlBackend Symbol Source # | |
Defined in Persistence.Schema toBackendKey :: Key Symbol -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Symbol | |
Eq (Key Symbol) Source # | |
Ord (Key Symbol) Source # | |
Defined in Persistence.Schema | |
Read (Key Symbol) Source # | |
Defined in Persistence.Schema | |
Show (Key Symbol) Source # | |
FromJSON (Key Symbol) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Symbol) parseJSONList :: Value -> Parser [Key Symbol] | |
ToJSON (Key Symbol) Source # | |
Defined in Persistence.Schema toEncoding :: Key Symbol -> Encoding toJSONList :: [Key Symbol] -> Value toEncodingList :: [Key Symbol] -> Encoding | |
PersistField (Key Symbol) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Symbol -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Symbol) | |
PersistFieldSql (Key Symbol) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key Symbol) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Symbol) parseHeader :: ByteString -> Either Text (Key Symbol) parseQueryParam :: Text -> Either Text (Key Symbol) | |
PathPiece (Key Symbol) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Symbol) toPathPiece :: Key Symbol -> Text | |
ToHttpApiData (Key Symbol) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Symbol -> Text toEncodedUrlPiece :: Key Symbol -> Builder toHeader :: Key Symbol -> ByteString toQueryParam :: Key Symbol -> Text | |
data EntityField Symbol typ Source # | |
Defined in Persistence.Schema data EntityField Symbol typ
| |
newtype Key Symbol Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Symbol Source # | |
Defined in Persistence.Schema type PersistEntityBackend Symbol = SqlBackend | |
data Unique Symbol Source # | |
Defined in Persistence.Schema data Unique Symbol |
data SymbolMapping Source #
SymbolMapping | |
|
Instances
type SymbolMappingId = Key SymbolMapping Source #
data SentenceSymbol Source #
SentenceSymbol | |
|
Instances
Show SentenceSymbol Source # | |
Defined in Persistence.Schema showsPrec :: Int -> SentenceSymbol -> ShowS show :: SentenceSymbol -> String showList :: [SentenceSymbol] -> ShowS | |
PersistEntity SentenceSymbol Source # | |
Defined in Persistence.Schema type PersistEntityBackend SentenceSymbol data Key SentenceSymbol data EntityField SentenceSymbol :: Type -> Type data Unique SentenceSymbol keyToValues :: Key SentenceSymbol -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key SentenceSymbol) persistIdField :: EntityField SentenceSymbol (Key SentenceSymbol) entityDef :: Monad m => m SentenceSymbol -> EntityDef persistFieldDef :: EntityField SentenceSymbol typ -> FieldDef toPersistFields :: SentenceSymbol -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text SentenceSymbol persistUniqueKeys :: SentenceSymbol -> [Unique SentenceSymbol] persistUniqueToFieldNames :: Unique SentenceSymbol -> [(HaskellName, DBName)] persistUniqueToValues :: Unique SentenceSymbol -> [PersistValue] fieldLens :: EntityField SentenceSymbol field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity SentenceSymbol -> f (Entity SentenceSymbol) | |
PersistField SentenceSymbol Source # | |
Defined in Persistence.Schema toPersistValue :: SentenceSymbol -> PersistValue fromPersistValue :: PersistValue -> Either Text SentenceSymbol | |
(TypeError (MultipleUniqueKeysError SentenceSymbol) :: Constraint) => AtLeastOneUniqueKey SentenceSymbol Source # | |
Defined in Persistence.Schema requireUniquesP :: SentenceSymbol -> NonEmpty (Unique SentenceSymbol) | |
(TypeError (NoUniqueKeysError SentenceSymbol) :: Constraint) => OnlyOneUniqueKey SentenceSymbol Source # | |
Defined in Persistence.Schema onlyUniqueP :: SentenceSymbol -> Unique SentenceSymbol | |
PersistFieldSql SentenceSymbol Source # | |
Defined in Persistence.Schema sqlType :: Proxy SentenceSymbol -> SqlType | |
(PersistQuery backend, PersistEntityBackend SentenceSymbol ~ BaseBackend backend) => DeleteCascade SentenceSymbol backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key SentenceSymbol -> ReaderT backend m () | |
Eq (Key SentenceSymbol) Source # | |
Defined in Persistence.Schema (==) :: Key SentenceSymbol -> Key SentenceSymbol -> Bool (/=) :: Key SentenceSymbol -> Key SentenceSymbol -> Bool | |
Ord (Key SentenceSymbol) Source # | |
Defined in Persistence.Schema compare :: Key SentenceSymbol -> Key SentenceSymbol -> Ordering (<) :: Key SentenceSymbol -> Key SentenceSymbol -> Bool (<=) :: Key SentenceSymbol -> Key SentenceSymbol -> Bool (>) :: Key SentenceSymbol -> Key SentenceSymbol -> Bool (>=) :: Key SentenceSymbol -> Key SentenceSymbol -> Bool max :: Key SentenceSymbol -> Key SentenceSymbol -> Key SentenceSymbol min :: Key SentenceSymbol -> Key SentenceSymbol -> Key SentenceSymbol | |
Read (Key SentenceSymbol) Source # | |
Defined in Persistence.Schema readsPrec :: Int -> ReadS (Key SentenceSymbol) readList :: ReadS [Key SentenceSymbol] readPrec :: ReadPrec (Key SentenceSymbol) readListPrec :: ReadPrec [Key SentenceSymbol] | |
Show (Key SentenceSymbol) Source # | |
Defined in Persistence.Schema showsPrec :: Int -> Key SentenceSymbol -> ShowS show :: Key SentenceSymbol -> String showList :: [Key SentenceSymbol] -> ShowS | |
Generic (Key SentenceSymbol) Source # | |
Defined in Persistence.Schema type Rep (Key SentenceSymbol) :: Type -> Type from :: Key SentenceSymbol -> Rep (Key SentenceSymbol) x to :: Rep (Key SentenceSymbol) x -> Key SentenceSymbol | |
FromJSON (Key SentenceSymbol) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key SentenceSymbol) parseJSONList :: Value -> Parser [Key SentenceSymbol] | |
ToJSON (Key SentenceSymbol) Source # | |
Defined in Persistence.Schema toJSON :: Key SentenceSymbol -> Value toEncoding :: Key SentenceSymbol -> Encoding toJSONList :: [Key SentenceSymbol] -> Value toEncodingList :: [Key SentenceSymbol] -> Encoding | |
PersistField (Key SentenceSymbol) Source # | |
Defined in Persistence.Schema toPersistValue :: Key SentenceSymbol -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key SentenceSymbol) | |
PersistFieldSql (Key SentenceSymbol) Source # | |
Defined in Persistence.Schema sqlType :: Proxy (Key SentenceSymbol) -> SqlType | |
data EntityField SentenceSymbol typ Source # | |
Defined in Persistence.Schema data EntityField SentenceSymbol typ
| |
data Key SentenceSymbol Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend SentenceSymbol Source # | |
Defined in Persistence.Schema type PersistEntityBackend SentenceSymbol = SqlBackend | |
data Unique SentenceSymbol Source # | |
Defined in Persistence.Schema data Unique SentenceSymbol | |
type Rep (Key SentenceSymbol) Source # | |
Defined in Persistence.Schema type Rep (Key SentenceSymbol) = D1 ('MetaData "Key" "Persistence.Schema" "main" 'False) (C1 ('MetaCons "SentenceSymbolKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "sentenceSymbolKeysentenceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LocIdBaseId) :*: S1 ('MetaSel ('Just "sentenceSymbolKeysymbolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LocIdBaseId))) |
type SentenceSymbolId = Key SentenceSymbol Source #
data SignatureSymbol Source #
SignatureSymbol | |
|
Instances
Show SignatureSymbol Source # | |
Defined in Persistence.Schema showsPrec :: Int -> SignatureSymbol -> ShowS show :: SignatureSymbol -> String showList :: [SignatureSymbol] -> ShowS | |
PersistEntity SignatureSymbol Source # | |
Defined in Persistence.Schema type PersistEntityBackend SignatureSymbol data Key SignatureSymbol data EntityField SignatureSymbol :: Type -> Type data Unique SignatureSymbol keyToValues :: Key SignatureSymbol -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key SignatureSymbol) persistIdField :: EntityField SignatureSymbol (Key SignatureSymbol) entityDef :: Monad m => m SignatureSymbol -> EntityDef persistFieldDef :: EntityField SignatureSymbol typ -> FieldDef toPersistFields :: SignatureSymbol -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text SignatureSymbol persistUniqueKeys :: SignatureSymbol -> [Unique SignatureSymbol] persistUniqueToFieldNames :: Unique SignatureSymbol -> [(HaskellName, DBName)] persistUniqueToValues :: Unique SignatureSymbol -> [PersistValue] fieldLens :: EntityField SignatureSymbol field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity SignatureSymbol -> f (Entity SignatureSymbol) | |
PersistField SignatureSymbol Source # | |
Defined in Persistence.Schema toPersistValue :: SignatureSymbol -> PersistValue fromPersistValue :: PersistValue -> Either Text SignatureSymbol | |
(TypeError (MultipleUniqueKeysError SignatureSymbol) :: Constraint) => AtLeastOneUniqueKey SignatureSymbol Source # | |
Defined in Persistence.Schema requireUniquesP :: SignatureSymbol -> NonEmpty (Unique SignatureSymbol) | |
(TypeError (NoUniqueKeysError SignatureSymbol) :: Constraint) => OnlyOneUniqueKey SignatureSymbol Source # | |
Defined in Persistence.Schema onlyUniqueP :: SignatureSymbol -> Unique SignatureSymbol | |
PersistFieldSql SignatureSymbol Source # | |
Defined in Persistence.Schema sqlType :: Proxy SignatureSymbol -> SqlType | |
(PersistQuery backend, PersistEntityBackend SignatureSymbol ~ BaseBackend backend) => DeleteCascade SignatureSymbol backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key SignatureSymbol -> ReaderT backend m () | |
Eq (Key SignatureSymbol) Source # | |
Defined in Persistence.Schema (==) :: Key SignatureSymbol -> Key SignatureSymbol -> Bool (/=) :: Key SignatureSymbol -> Key SignatureSymbol -> Bool | |
Ord (Key SignatureSymbol) Source # | |
Defined in Persistence.Schema compare :: Key SignatureSymbol -> Key SignatureSymbol -> Ordering (<) :: Key SignatureSymbol -> Key SignatureSymbol -> Bool (<=) :: Key SignatureSymbol -> Key SignatureSymbol -> Bool (>) :: Key SignatureSymbol -> Key SignatureSymbol -> Bool (>=) :: Key SignatureSymbol -> Key SignatureSymbol -> Bool max :: Key SignatureSymbol -> Key SignatureSymbol -> Key SignatureSymbol min :: Key SignatureSymbol -> Key SignatureSymbol -> Key SignatureSymbol | |
Read (Key SignatureSymbol) Source # | |
Defined in Persistence.Schema readsPrec :: Int -> ReadS (Key SignatureSymbol) readList :: ReadS [Key SignatureSymbol] readPrec :: ReadPrec (Key SignatureSymbol) readListPrec :: ReadPrec [Key SignatureSymbol] | |
Show (Key SignatureSymbol) Source # | |
Defined in Persistence.Schema showsPrec :: Int -> Key SignatureSymbol -> ShowS show :: Key SignatureSymbol -> String showList :: [Key SignatureSymbol] -> ShowS | |
Generic (Key SignatureSymbol) Source # | |
Defined in Persistence.Schema type Rep (Key SignatureSymbol) :: Type -> Type from :: Key SignatureSymbol -> Rep (Key SignatureSymbol) x to :: Rep (Key SignatureSymbol) x -> Key SignatureSymbol | |
FromJSON (Key SignatureSymbol) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key SignatureSymbol) parseJSONList :: Value -> Parser [Key SignatureSymbol] | |
ToJSON (Key SignatureSymbol) Source # | |
Defined in Persistence.Schema toJSON :: Key SignatureSymbol -> Value toEncoding :: Key SignatureSymbol -> Encoding toJSONList :: [Key SignatureSymbol] -> Value toEncodingList :: [Key SignatureSymbol] -> Encoding | |
PersistField (Key SignatureSymbol) Source # | |
Defined in Persistence.Schema toPersistValue :: Key SignatureSymbol -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key SignatureSymbol) | |
PersistFieldSql (Key SignatureSymbol) Source # | |
Defined in Persistence.Schema sqlType :: Proxy (Key SignatureSymbol) -> SqlType | |
data EntityField SignatureSymbol typ Source # | |
Defined in Persistence.Schema data EntityField SignatureSymbol typ
| |
data Key SignatureSymbol Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend SignatureSymbol Source # | |
Defined in Persistence.Schema type PersistEntityBackend SignatureSymbol = SqlBackend | |
data Unique SignatureSymbol Source # | |
Defined in Persistence.Schema data Unique SignatureSymbol | |
type Rep (Key SignatureSymbol) Source # | |
Defined in Persistence.Schema type Rep (Key SignatureSymbol) = D1 ('MetaData "Key" "Persistence.Schema" "main" 'False) (C1 ('MetaCons "SignatureSymbolKey" 'PrefixI 'True) (S1 ('MetaSel ('Just "signatureSymbolKeysignatureId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SignatureId) :*: S1 ('MetaSel ('Just "signatureSymbolKeysymbolId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LocIdBaseId))) |
type SignatureSymbolId = Key SignatureSymbol Source #
Reasoner | |
|
Instances
Show Reasoner Source # | |
PersistEntity Reasoner Source # | |
Defined in Persistence.Schema type PersistEntityBackend Reasoner data Key Reasoner data EntityField Reasoner :: Type -> Type data Unique Reasoner keyToValues :: Key Reasoner -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key Reasoner) persistIdField :: EntityField Reasoner (Key Reasoner) entityDef :: Monad m => m Reasoner -> EntityDef persistFieldDef :: EntityField Reasoner typ -> FieldDef toPersistFields :: Reasoner -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text Reasoner persistUniqueKeys :: Reasoner -> [Unique Reasoner] persistUniqueToFieldNames :: Unique Reasoner -> [(HaskellName, DBName)] persistUniqueToValues :: Unique Reasoner -> [PersistValue] fieldLens :: EntityField Reasoner field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity Reasoner -> f (Entity Reasoner) | |
PersistField Reasoner Source # | |
Defined in Persistence.Schema toPersistValue :: Reasoner -> PersistValue fromPersistValue :: PersistValue -> Either Text Reasoner | |
AtLeastOneUniqueKey Reasoner Source # | |
Defined in Persistence.Schema requireUniquesP :: Reasoner -> NonEmpty (Unique Reasoner) | |
OnlyOneUniqueKey Reasoner Source # | |
Defined in Persistence.Schema onlyUniqueP :: Reasoner -> Unique Reasoner | |
PersistFieldSql Reasoner Source # | |
Defined in Persistence.Schema | |
(PersistQuery backend, PersistEntityBackend Reasoner ~ BaseBackend backend) => DeleteCascade Reasoner backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key Reasoner -> ReaderT backend m () | |
ToBackendKey SqlBackend Reasoner Source # | |
Defined in Persistence.Schema toBackendKey :: Key Reasoner -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key Reasoner | |
Eq (Key Reasoner) Source # | |
Ord (Key Reasoner) Source # | |
Defined in Persistence.Schema | |
Read (Key Reasoner) Source # | |
Defined in Persistence.Schema | |
Show (Key Reasoner) Source # | |
Show (Unique Reasoner) Source # | |
FromJSON (Key Reasoner) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key Reasoner) parseJSONList :: Value -> Parser [Key Reasoner] | |
ToJSON (Key Reasoner) Source # | |
Defined in Persistence.Schema toJSON :: Key Reasoner -> Value toEncoding :: Key Reasoner -> Encoding toJSONList :: [Key Reasoner] -> Value toEncodingList :: [Key Reasoner] -> Encoding | |
PersistField (Key Reasoner) Source # | |
Defined in Persistence.Schema toPersistValue :: Key Reasoner -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key Reasoner) | |
PersistFieldSql (Key Reasoner) Source # | |
Defined in Persistence.Schema | |
FromHttpApiData (Key Reasoner) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key Reasoner) parseHeader :: ByteString -> Either Text (Key Reasoner) parseQueryParam :: Text -> Either Text (Key Reasoner) | |
PathPiece (Key Reasoner) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key Reasoner) toPathPiece :: Key Reasoner -> Text | |
ToHttpApiData (Key Reasoner) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key Reasoner -> Text toEncodedUrlPiece :: Key Reasoner -> Builder toHeader :: Key Reasoner -> ByteString toQueryParam :: Key Reasoner -> Text | |
data EntityField Reasoner typ Source # | |
Defined in Persistence.Schema data EntityField Reasoner typ
| |
newtype Key Reasoner Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend Reasoner Source # | |
Defined in Persistence.Schema type PersistEntityBackend Reasoner = SqlBackend | |
data Unique Reasoner Source # | |
Defined in Persistence.Schema |
type ReasonerId = Key Reasoner Source #
data ReasonerConfiguration Source #
ReasonerConfiguration | |
|
Instances
type ReasonerConfigurationId = Key ReasonerConfiguration Source #
data ManualPremiseSelection Source #
Instances
type ManualPremiseSelectionId = Key ManualPremiseSelection Source #
data SinePremiseSelection Source #
SinePremiseSelection | |
|
Instances
type SinePremiseSelectionId = Key SinePremiseSelection Source #
data SineSymbolPremiseTrigger Source #
Instances
data SineSymbolCommonness Source #
Instances
type SineSymbolCommonnessId = Key SineSymbolCommonness Source #
data ReasoningAttempt Source #
ReasoningAttempt | |
|
Instances
type ReasoningAttemptId = Key ReasoningAttempt Source #
data ProofAttempt Source #
ProofAttempt | |
|
Instances
PersistEntity ProofAttempt Source # | |
Defined in Persistence.Schema type PersistEntityBackend ProofAttempt data Key ProofAttempt data EntityField ProofAttempt :: Type -> Type data Unique ProofAttempt keyToValues :: Key ProofAttempt -> [PersistValue] keyFromValues :: [PersistValue] -> Either Text (Key ProofAttempt) persistIdField :: EntityField ProofAttempt (Key ProofAttempt) entityDef :: Monad m => m ProofAttempt -> EntityDef persistFieldDef :: EntityField ProofAttempt typ -> FieldDef toPersistFields :: ProofAttempt -> [SomePersistField] fromPersistValues :: [PersistValue] -> Either Text ProofAttempt persistUniqueKeys :: ProofAttempt -> [Unique ProofAttempt] persistUniqueToFieldNames :: Unique ProofAttempt -> [(HaskellName, DBName)] persistUniqueToValues :: Unique ProofAttempt -> [PersistValue] fieldLens :: EntityField ProofAttempt field -> forall (f :: Type -> Type). Functor f => (field -> f field) -> Entity ProofAttempt -> f (Entity ProofAttempt) | |
PersistField ProofAttempt Source # | |
Defined in Persistence.Schema toPersistValue :: ProofAttempt -> PersistValue fromPersistValue :: PersistValue -> Either Text ProofAttempt | |
(TypeError (MultipleUniqueKeysError ProofAttempt) :: Constraint) => AtLeastOneUniqueKey ProofAttempt Source # | |
Defined in Persistence.Schema requireUniquesP :: ProofAttempt -> NonEmpty (Unique ProofAttempt) | |
(TypeError (NoUniqueKeysError ProofAttempt) :: Constraint) => OnlyOneUniqueKey ProofAttempt Source # | |
Defined in Persistence.Schema onlyUniqueP :: ProofAttempt -> Unique ProofAttempt | |
PersistFieldSql ProofAttempt Source # | |
Defined in Persistence.Schema sqlType :: Proxy ProofAttempt -> SqlType | |
(PersistQuery backend, PersistEntityBackend ProofAttempt ~ BaseBackend backend) => DeleteCascade ProofAttempt backend Source # | |
Defined in Persistence.Schema deleteCascade :: forall (m :: Type -> Type). MonadIO m => Key ProofAttempt -> ReaderT backend m () | |
ToBackendKey SqlBackend ProofAttempt Source # | |
Defined in Persistence.Schema toBackendKey :: Key ProofAttempt -> BackendKey SqlBackend fromBackendKey :: BackendKey SqlBackend -> Key ProofAttempt | |
Eq (Key ProofAttempt) Source # | |
Defined in Persistence.Schema (==) :: Key ProofAttempt -> Key ProofAttempt -> Bool (/=) :: Key ProofAttempt -> Key ProofAttempt -> Bool | |
Ord (Key ProofAttempt) Source # | |
Defined in Persistence.Schema compare :: Key ProofAttempt -> Key ProofAttempt -> Ordering (<) :: Key ProofAttempt -> Key ProofAttempt -> Bool (<=) :: Key ProofAttempt -> Key ProofAttempt -> Bool (>) :: Key ProofAttempt -> Key ProofAttempt -> Bool (>=) :: Key ProofAttempt -> Key ProofAttempt -> Bool max :: Key ProofAttempt -> Key ProofAttempt -> Key ProofAttempt min :: Key ProofAttempt -> Key ProofAttempt -> Key ProofAttempt | |
Read (Key ProofAttempt) Source # | |
Defined in Persistence.Schema readsPrec :: Int -> ReadS (Key ProofAttempt) readList :: ReadS [Key ProofAttempt] readPrec :: ReadPrec (Key ProofAttempt) readListPrec :: ReadPrec [Key ProofAttempt] | |
Show (Key ProofAttempt) Source # | |
Defined in Persistence.Schema showsPrec :: Int -> Key ProofAttempt -> ShowS show :: Key ProofAttempt -> String showList :: [Key ProofAttempt] -> ShowS | |
FromJSON (Key ProofAttempt) Source # | |
Defined in Persistence.Schema parseJSON :: Value -> Parser (Key ProofAttempt) parseJSONList :: Value -> Parser [Key ProofAttempt] | |
ToJSON (Key ProofAttempt) Source # | |
Defined in Persistence.Schema toJSON :: Key ProofAttempt -> Value toEncoding :: Key ProofAttempt -> Encoding toJSONList :: [Key ProofAttempt] -> Value toEncodingList :: [Key ProofAttempt] -> Encoding | |
PersistField (Key ProofAttempt) Source # | |
Defined in Persistence.Schema toPersistValue :: Key ProofAttempt -> PersistValue fromPersistValue :: PersistValue -> Either Text (Key ProofAttempt) | |
PersistFieldSql (Key ProofAttempt) Source # | |
Defined in Persistence.Schema sqlType :: Proxy (Key ProofAttempt) -> SqlType | |
FromHttpApiData (Key ProofAttempt) Source # | |
Defined in Persistence.Schema parseUrlPiece :: Text -> Either Text (Key ProofAttempt) parseHeader :: ByteString -> Either Text (Key ProofAttempt) parseQueryParam :: Text -> Either Text (Key ProofAttempt) | |
PathPiece (Key ProofAttempt) Source # | |
Defined in Persistence.Schema fromPathPiece :: Text -> Maybe (Key ProofAttempt) toPathPiece :: Key ProofAttempt -> Text | |
ToHttpApiData (Key ProofAttempt) Source # | |
Defined in Persistence.Schema toUrlPiece :: Key ProofAttempt -> Text toEncodedUrlPiece :: Key ProofAttempt -> Builder toHeader :: Key ProofAttempt -> ByteString toQueryParam :: Key ProofAttempt -> Text | |
data EntityField ProofAttempt typ Source # | |
Defined in Persistence.Schema data EntityField ProofAttempt typ
| |
newtype Key ProofAttempt Source # | |
Defined in Persistence.Schema | |
type PersistEntityBackend ProofAttempt Source # | |
Defined in Persistence.Schema type PersistEntityBackend ProofAttempt = SqlBackend | |
data Unique ProofAttempt Source # | |
Defined in Persistence.Schema data Unique ProofAttempt |
data PremiseSelection Source #
PremiseSelection | |
|
Instances
data PremiseSelectedSentence Source #
Instances
type PremiseSelectedSentenceId = Key PremiseSelectedSentence Source #
type PremiseSelectionId = Key PremiseSelection Source #
type ProofAttemptId = Key ProofAttempt Source #
data ConsistencyCheckAttempt Source #
ConsistencyCheckAttempt | |
|
Instances
type ConsistencyCheckAttemptId = Key ConsistencyCheckAttempt Source #
data ProofAttemptUsedSentence Source #
Instances
data GeneratedAxiom Source #
GeneratedAxiom | |
|
Instances
type GeneratedAxiomId = Key GeneratedAxiom Source #
data ReasonerOutput Source #
ReasonerOutput | |
|
Instances
type ReasonerOutputId = Key ReasonerOutput Source #
migrateAll :: Migration Source #