-module(arctic). -compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]). -export_type([collection/0, page/0, main_page/0, config/0]). -type collection() :: {collection, binary(), fun((binary()) -> {ok, page()} | {error, snag:snag()}), gleam@option:option(fun((list(page())) -> lustre@internals@vdom:element(nil))), gleam@option:option(fun((list(page())) -> binary()))}. -type page() :: {page, binary(), fun((page()) -> gleam@order:order()), lustre@internals@vdom:element(nil)}. -type main_page() :: {main_page, binary(), lustre@internals@vdom:element(nil)}. -type config() :: {config, fun((list(collection())) -> lustre@internals@vdom:element(nil)), list(main_page())}.