Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data CreateAction Source #
Instances
runCreateAction :: (QErrM m, CacheRWM m, MetadataM m) => CreateAction -> m EncJSON Source #
resolveAction :: QErrM m => Environment -> AnnotatedCustomTypes -> ActionDefinitionInput -> BackendMap ScalarParsingMap -> m (ResolvedActionDefinition, AnnotatedOutputType) Source #
data UpdateAction Source #
Instances
FromJSON UpdateAction Source # | |
Defined in Hasura.RQL.DDL.Action parseJSON :: Value -> Parser UpdateAction Source # parseJSONList :: Value -> Parser [UpdateAction] Source # | |
Generic UpdateAction Source # | |
Defined in Hasura.RQL.DDL.Action type Rep UpdateAction :: Type -> Type # from :: UpdateAction -> Rep UpdateAction x # to :: Rep UpdateAction x -> UpdateAction # | |
type Rep UpdateAction Source # | |
Defined in Hasura.RQL.DDL.Action type Rep UpdateAction = D1 ('MetaData "UpdateAction" "Hasura.RQL.DDL.Action" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "UpdateAction" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionName) :*: (S1 ('MetaSel ('Just "_uaDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionDefinitionInput) :*: S1 ('MetaSel ('Just "_uaComment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
runUpdateAction :: forall m. (QErrM m, CacheRWM m, MetadataM m) => UpdateAction -> m EncJSON Source #
data DropAction Source #
Instances
FromJSON DropAction Source # | |
Defined in Hasura.RQL.DDL.Action parseJSON :: Value -> Parser DropAction Source # parseJSONList :: Value -> Parser [DropAction] Source # | |
ToJSON DropAction Source # | |
Defined in Hasura.RQL.DDL.Action toJSON :: DropAction -> Value Source # toEncoding :: DropAction -> Encoding Source # toJSONList :: [DropAction] -> Value Source # toEncodingList :: [DropAction] -> Encoding Source # | |
Generic DropAction Source # | |
Defined in Hasura.RQL.DDL.Action type Rep DropAction :: Type -> Type # from :: DropAction -> Rep DropAction x # to :: Rep DropAction x -> DropAction # | |
Show DropAction Source # | |
Defined in Hasura.RQL.DDL.Action showsPrec :: Int -> DropAction -> ShowS # show :: DropAction -> String # showList :: [DropAction] -> ShowS # | |
Eq DropAction Source # | |
Defined in Hasura.RQL.DDL.Action (==) :: DropAction -> DropAction -> Bool # (/=) :: DropAction -> DropAction -> Bool # | |
type Rep DropAction Source # | |
Defined in Hasura.RQL.DDL.Action |
runDropAction :: (MonadError QErr m, CacheRWM m, MetadataM m, MonadMetadataStorage m) => DropAction -> m EncJSON Source #
data CreateActionPermission Source #
CreateActionPermission | |
|
Instances
FromJSON CreateActionPermission Source # | |
Defined in Hasura.RQL.DDL.Action | |
Generic CreateActionPermission Source # | |
Defined in Hasura.RQL.DDL.Action type Rep CreateActionPermission :: Type -> Type # | |
type Rep CreateActionPermission Source # | |
Defined in Hasura.RQL.DDL.Action type Rep CreateActionPermission = D1 ('MetaData "CreateActionPermission" "Hasura.RQL.DDL.Action" "graphql-engine-1.0.0-inplace" 'False) (C1 ('MetaCons "CreateActionPermission" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_capAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ActionName) :*: S1 ('MetaSel ('Just "_capRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RoleName)) :*: (S1 ('MetaSel ('Just "_capDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "_capComment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
runCreateActionPermission :: (QErrM m, CacheRWM m, MetadataM m) => CreateActionPermission -> m EncJSON Source #
data DropActionPermission Source #
Instances
runDropActionPermission :: (QErrM m, CacheRWM m, MetadataM m) => DropActionPermission -> m EncJSON Source #