Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype CollectionName Source #
Instances
Instances
GQLQuery | |
|
Instances
Eq GQLQuery Source # | |
Ord GQLQuery Source # | |
Defined in Hasura.RQL.Types.QueryCollection | |
Show GQLQuery Source # | |
NFData GQLQuery Source # | |
Defined in Hasura.RQL.Types.QueryCollection | |
Hashable GQLQuery Source # | |
Defined in Hasura.RQL.Types.QueryCollection | |
FromJSON GQLQuery Source # | |
Defined in Hasura.RQL.Types.QueryCollection parseJSON :: Value -> Parser GQLQuery parseJSONList :: Value -> Parser [GQLQuery] | |
ToJSON GQLQuery Source # | |
Defined in Hasura.RQL.Types.QueryCollection toEncoding :: GQLQuery -> Encoding toJSONList :: [GQLQuery] -> Value toEncodingList :: [GQLQuery] -> Encoding | |
Cacheable GQLQuery Source # | |
newtype GQLQueryWithText Source #
GQLQueryWithText (Text, GQLQuery) |
Instances
getGQLQueryText :: GQLQueryWithText -> Text Source #
data ListedQuery Source #
Instances
newtype CollectionDef Source #
Instances
cdQueries :: Iso' CollectionDef [ListedQuery] Source #
data CreateCollection Source #
CreateCollection | |
|
Instances
ccName :: Lens' CreateCollection CollectionName Source #
ccDefinition :: Lens' CreateCollection CollectionDef Source #
ccComment :: Lens' CreateCollection (Maybe Text) Source #
collectionQueries :: CreateCollection -> [ExecutableDocument Name] Source #
data RenameCollection Source #
Instances
rcNewName :: Lens' RenameCollection CollectionName Source #
rcName :: Lens' RenameCollection CollectionName Source #
data DropCollection Source #
Instances
Eq DropCollection Source # | |
Defined in Hasura.RQL.Types.QueryCollection (==) :: DropCollection -> DropCollection -> Bool # (/=) :: DropCollection -> DropCollection -> Bool # | |
Show DropCollection Source # | |
Defined in Hasura.RQL.Types.QueryCollection showsPrec :: Int -> DropCollection -> ShowS # show :: DropCollection -> String # showList :: [DropCollection] -> ShowS # | |
FromJSON DropCollection Source # | |
Defined in Hasura.RQL.Types.QueryCollection parseJSON :: Value -> Parser DropCollection parseJSONList :: Value -> Parser [DropCollection] | |
ToJSON DropCollection Source # | |
Defined in Hasura.RQL.Types.QueryCollection toJSON :: DropCollection -> Value toEncoding :: DropCollection -> Encoding toJSONList :: [DropCollection] -> Value toEncodingList :: [DropCollection] -> Encoding |
data AddQueryToCollection Source #
Instances
Eq AddQueryToCollection Source # | |
Defined in Hasura.RQL.Types.QueryCollection (==) :: AddQueryToCollection -> AddQueryToCollection -> Bool # (/=) :: AddQueryToCollection -> AddQueryToCollection -> Bool # | |
Show AddQueryToCollection Source # | |
Defined in Hasura.RQL.Types.QueryCollection showsPrec :: Int -> AddQueryToCollection -> ShowS # show :: AddQueryToCollection -> String # showList :: [AddQueryToCollection] -> ShowS # | |
FromJSON AddQueryToCollection Source # | |
Defined in Hasura.RQL.Types.QueryCollection parseJSON :: Value -> Parser AddQueryToCollection parseJSONList :: Value -> Parser [AddQueryToCollection] | |
ToJSON AddQueryToCollection Source # | |
Defined in Hasura.RQL.Types.QueryCollection toJSON :: AddQueryToCollection -> Value toEncoding :: AddQueryToCollection -> Encoding toJSONList :: [AddQueryToCollection] -> Value toEncodingList :: [AddQueryToCollection] -> Encoding |
data DropQueryFromCollection Source #
Instances
Eq DropQueryFromCollection Source # | |
Defined in Hasura.RQL.Types.QueryCollection | |
Show DropQueryFromCollection Source # | |
Defined in Hasura.RQL.Types.QueryCollection showsPrec :: Int -> DropQueryFromCollection -> ShowS # show :: DropQueryFromCollection -> String # showList :: [DropQueryFromCollection] -> ShowS # | |
FromJSON DropQueryFromCollection Source # | |
Defined in Hasura.RQL.Types.QueryCollection parseJSON :: Value -> Parser DropQueryFromCollection parseJSONList :: Value -> Parser [DropQueryFromCollection] | |
ToJSON DropQueryFromCollection Source # | |
Defined in Hasura.RQL.Types.QueryCollection toJSON :: DropQueryFromCollection -> Value toEncoding :: DropQueryFromCollection -> Encoding toJSONList :: [DropQueryFromCollection] -> Value toEncodingList :: [DropQueryFromCollection] -> Encoding |
type QueryCollections = InsOrdHashMap CollectionName CreateCollection Source #