Packages

Zero-flash SSR + claim for Lustre/Gleam on the BEAM.

Current section

Files

Jump to
glamour include glamour@app_Spec.hrl
Raw

include/glamour@app_Spec.hrl

-record(spec, {
app :: lustre:app(any(), any(), any()),
view :: fun((any()) -> lustre@vdom@vnode:element(any())),
encode :: fun((any()) -> gleam@json:json()),
decoder :: gleam@dynamic@decode:decoder(any()),
selector :: binary(),
state_script_id :: binary()
}).