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@plugin_Plugin.hrl
Raw

include/atproto_codegen@plugin_Plugin.hrl

-record(plugin, {
name :: binary(),
depends_on :: list(binary()),
emit :: fun((atproto_codegen@plugin:plugin_context()) -> {ok,
list(atproto_codegen@plugin:output_file())} |
{error, atproto_codegen@plugin:codegen_error()})
}).