infra stuff in gleam
gleam atproto lexicon codegen oauth
10

Configure Feed

Select the types of activity you want to include in your feed.

README.md

Fixtures#

Lexicon JSON files copied verbatim from at-record (read-only reference, not a dependency) for the lower golden test in test/lower_test.gleam:

  • strong_ref.json <- at-record/lexicons/com/atproto/repo/strongRef.json
  • catalog_edit.json <- at-record/lexicons/dev/mokkenstorm/crate/catalog/edit.json
  • catalog_genre.json <- at-record/lexicons/dev/mokkenstorm/crate/catalog/genre.json

Chosen to cover a plain object (strong_ref), a record with a union field, an inline object def, a blob field and an array of strings (catalog_edit), and a record with a required field, an array of refs and a ref to another lexicon's def (catalog_genre).

For the xrpc-client golden test in test/xrpc_client_test.gleam:

  • list_releases.json <- at-record/lexicons/dev/mokkenstorm/crate/catalog/listReleases.json
  • adopt_release.json <- at-record/lexicons/dev/mokkenstorm/crate/catalog/adoptRelease.json

Chosen to cover a query with no params and an inline-object output referencing a sibling def (list_releases), and a procedure with an inline-object input and output (adopt_release). No at-record method declares errors, so the typed-error-union path is exercised by a hand-built lexicon in the test.