data Component : Type -> Vect n Type -> Type -> TypeStaticPath : String -> Component () [()] VoidStatic path segment, e.g. "users"
Capture : String -> (a : Type) -> Component a [a] VoidCaptured path segment, e.g. ":id"
ReqBody : (a : Type) -> Component () [()] aRequest body, e.g. UserCreateRequest
(:/) : Component tl [tl] Void -> Component tr tsr reqBody -> Component tl (tl :: tsr) reqBodyConcatenate two paths, e.g. "users/:id/todos"
isReqBody : Component t ts reqBody -> BoolPathReqBody : Component t ts reqBody -> TypehasReqBody : Component t ts reqBody -> BoolgetCaptureName : Component t {_:12307} {_:12306} -> StringGet the name of a capture path segment
@ path The path to get the name of
@ return The name of the capture path segment
matchPath : Component t ts reqBody' -> Vect m String -> All FromHttpApiData ts => Either String (HVect ts)Match a path against a list of path segments.
@path The path to match.
@segs The list of path segments.
@allprf A proof that all the path segments are path parameters.
Returns a list of the parsed path parameters.
GetPathType : Component {_:12903} ts reqBody' -> Type -> TypeGet the type of the path.
@ts The types of the path parameters.
@path The path.
@epType The type of the endpoint.
Returns the type of the path.