Safe Haskell | None |
---|---|
Language | Haskell2010 |
IHP.DataSync.Types
Documentation
data DataSyncMessage Source #
Constructors
Instances
FromJSON DataSyncMessage Source # | |
Defined in IHP.DataSync.ControllerImpl Methods parseJSON :: Value -> Parser DataSyncMessage Source # parseJSONList :: Value -> Parser [DataSyncMessage] Source # | |
Show DataSyncMessage Source # | |
Defined in IHP.DataSync.Types Methods showsPrec :: Int -> DataSyncMessage -> ShowS # show :: DataSyncMessage -> String # showList :: [DataSyncMessage] -> ShowS # | |
Eq DataSyncMessage Source # | |
Defined in IHP.DataSync.Types Methods (==) :: DataSyncMessage -> DataSyncMessage -> Bool # (/=) :: DataSyncMessage -> DataSyncMessage -> Bool # |
data DataSyncResponse Source #
Constructors
Instances
ToJSON DataSyncResponse Source # | |
Defined in IHP.DataSync.ControllerImpl Methods toJSON :: DataSyncResponse -> Value Source # toEncoding :: DataSyncResponse -> Encoding Source # toJSONList :: [DataSyncResponse] -> Value Source # toEncodingList :: [DataSyncResponse] -> Encoding Source # omitField :: DataSyncResponse -> Bool Source # |
data GraphQLResult Source #
Constructors
GraphQLResult | |
Fields
|
Instances
ToJSON GraphQLResult Source # | |
Defined in IHP.DataSync.REST.Controller Methods toJSON :: GraphQLResult -> Value Source # toEncoding :: GraphQLResult -> Encoding Source # toJSONList :: [GraphQLResult] -> Value Source # toEncodingList :: [GraphQLResult] -> Encoding Source # omitField :: GraphQLResult -> Bool Source # |
data DataSyncTransaction Source #
Constructors
DataSyncTransaction | |
Fields
|
Instances
SetField "transactions" DataSyncController (HashMap UUID DataSyncTransaction) Source # | |
Defined in IHP.DataSync.ControllerImpl Methods setField :: HashMap UUID DataSyncTransaction -> DataSyncController -> DataSyncController Source # |
data DataSyncController Source #
Constructors
DataSyncController | |
DataSyncReady | |
Fields
|
Instances
(ToField (PrimaryKey (GetTableName CurrentUserRecord)), Show (PrimaryKey (GetTableName CurrentUserRecord)), HasNewSessionUrl CurrentUserRecord, Typeable CurrentUserRecord, HasField "id" CurrentUserRecord (Id' (GetTableName CurrentUserRecord))) => WSApp DataSyncController Source # | |
Defined in IHP.DataSync.Controller Methods | |
SetField "asyncs" DataSyncController [Async ()] Source # | |
Defined in IHP.DataSync.ControllerImpl Methods setField :: [Async ()] -> DataSyncController -> DataSyncController Source # | |
SetField "subscriptions" DataSyncController (HashMap UUID (MVar ())) Source # | |
Defined in IHP.DataSync.ControllerImpl Methods setField :: HashMap UUID (MVar ()) -> DataSyncController -> DataSyncController Source # | |
SetField "transactions" DataSyncController (HashMap UUID DataSyncTransaction) Source # | |
Defined in IHP.DataSync.ControllerImpl Methods setField :: HashMap UUID DataSyncTransaction -> DataSyncController -> DataSyncController Source # |