-module(howdy@router). -compile(no_auto_import). -export_type([route/0]). -type route() :: {get, binary(), fun((howdy@context:context()) -> gleam@http@response:response(gleam@bit_builder:bit_builder()))} | {post, binary(), fun((howdy@context:context()) -> gleam@http@response:response(gleam@bit_builder:bit_builder()))} | {put, binary(), fun((howdy@context:context()) -> gleam@http@response:response(gleam@bit_builder:bit_builder()))} | {patch, binary(), fun((howdy@context:context()) -> gleam@http@response:response(gleam@bit_builder:bit_builder()))} | {custom, binary(), binary(), fun((howdy@context:context()) -> gleam@http@response:response(gleam@bit_builder:bit_builder()))} | {delete, binary(), fun((howdy@context:context()) -> gleam@http@response:response(gleam@bit_builder:bit_builder()))} | {static, binary(), binary()} | {router_map, binary(), list(route())} | {router_map_with_filters, binary(), list(route()), list(fun((fun((howdy@context:context()) -> gleam@http@response:response(gleam@bit_builder:bit_builder()))) -> fun((howdy@context:context()) -> gleam@http@response:response(gleam@bit_builder:bit_builder()))))} | {spa, binary(), binary()}.