atproto_codegen/plugins/types
The types plugin: for each codec unit (a def or a synthesized union
field type), emits the Gleam type, the JSON-fields helper, and the
$type-tagging encoder. Decoding is the decode-json plugin’s job; the
host interleaves the two so the assembled file matches the original
monolithic emitter’s ordering.
Values
pub fn plugin() -> plugin.Plugin