Module
Yoga.Fetch.Om.ClientFunction
- Package
- purescript-yoga-fetch-om
- Repository
- rowtype-yoga/purescript-yoga-fetch-om
#BuildClientFn Source
class BuildClientFn :: RowList Type -> RowList Type -> Type -> Type -> Row Type -> Row Type -> Row Type -> Type -> Type -> Constraintclass BuildClientFn pathQueryRL headersRL bodyFlag body pathQuery headers errorRow result fn | pathQueryRL -> pathQuery, headersRL -> headers, pathQueryRL headersRL bodyFlag body errorRow result -> fn where
Members
buildClientFn :: Proxy pathQueryRL -> Proxy headersRL -> Proxy bodyFlag -> (Record pathQuery -> Record headers -> body -> Om (Record ()) errorRow result) -> fn
Instances
BuildClientFn Nil Nil IsUnit Unit () () errorRow result (Om (Record ()) errorRow result)BuildClientFn Nil Nil IsNotUnit body () () errorRow result (body -> Om (Record ()) errorRow result)BuildClientFn Nil (Cons n t tl) IsUnit Unit () h errorRow result (Record h -> Om (Record ()) errorRow result)BuildClientFn Nil (Cons n t tl) IsNotUnit body () h errorRow result (Record h -> body -> Om (Record ()) errorRow result)BuildClientFn (Cons n t tl) Nil IsUnit Unit pq () errorRow result (Record pq -> Om (Record ()) errorRow result)BuildClientFn (Cons n t tl) Nil IsNotUnit body pq () errorRow result (Record pq -> body -> Om (Record ()) errorRow result)BuildClientFn (Cons n t tl) (Cons hn ht htl) IsUnit Unit pq h errorRow result (Record pq -> Record h -> Om (Record ()) errorRow result)BuildClientFn (Cons n t tl) (Cons hn ht htl) IsNotUnit body pq h errorRow result (Record pq -> Record h -> body -> Om (Record ()) errorRow result)
#CheckBodyIsUnit Source
class CheckBodyIsUnit body flag | body -> flagInstances
#IsUnit Source
data IsUnitInstances
CheckBodyIsUnit Unit IsUnitBuildClientFn Nil Nil IsUnit Unit () () errorRow result (Om (Record ()) errorRow result)BuildClientFn Nil (Cons n t tl) IsUnit Unit () h errorRow result (Record h -> Om (Record ()) errorRow result)BuildClientFn (Cons n t tl) Nil IsUnit Unit pq () errorRow result (Record pq -> Om (Record ()) errorRow result)BuildClientFn (Cons n t tl) (Cons hn ht htl) IsUnit Unit pq h errorRow result (Record pq -> Record h -> Om (Record ()) errorRow result)
#IsNotUnit Source
data IsNotUnitInstances
CheckBodyIsUnit body IsNotUnitBuildClientFn Nil Nil IsNotUnit body () () errorRow result (body -> Om (Record ()) errorRow result)BuildClientFn Nil (Cons n t tl) IsNotUnit body () h errorRow result (Record h -> body -> Om (Record ()) errorRow result)BuildClientFn (Cons n t tl) Nil IsNotUnit body pq () errorRow result (Record pq -> body -> Om (Record ()) errorRow result)BuildClientFn (Cons n t tl) (Cons hn ht htl) IsNotUnit body pq h errorRow result (Record pq -> Record h -> body -> Om (Record ()) errorRow result)