Packages

Generate Gleam types, JSON codecs, and a typed XRPC client from atproto lexicon files.

Current section

Files

Jump to
atproto_codegen include atproto_codegen@lower_Method.hrl
Raw

include/atproto_codegen@lower_Method.hrl

-record(method, {
nsid :: binary(),
kind :: atproto_codegen@lower:method_kind(),
params :: list(atproto_codegen@lower:flat_field()),
input :: gleam@option:option(atproto_codegen@lower:flat_body()),
output :: gleam@option:option(atproto_codegen@lower:flat_body()),
errors :: list(atproto_codegen@lower:method_error())
}).