@f3liz/mazemaze-api-bluesky
v0.11.0
Published
Typed Bluesky (atproto app.bsky) API client — one Melange runtime, with ReScript, TypeScript (JSDoc) and Melange surfaces. Generated by @f3liz/mazemaze-generator.
Maintainers
Readme
@f3liz/mazemaze-api-bluesky
Typed Bluesky (atproto app.bsky) API client — one Melange runtime with three
surfaces (ReScript, TypeScript-via-JSDoc, Melange), generated from the
endpoints.bsky.app
openapi.bluesky-app.json (OpenAPI 3.1) by
@f3liz/mazemaze-generator.
npm run generate # regenerate from specs/schema.json via the generator
npm run build # melange -> JSDoc'd dist + rescript .res -> .res.mjsExports: ./endpoints, ./components (ReScript), ./melange-endpoints,
./melange-components (flat, JSDoc-typed for TS).
Coverage note: atproto's lexicon-derived schemas lean on
$type-discriminated unions, cross-lexicon#defsrefs, and empty marker objects. The surface is typed (484 schemas → 372 records, 18 enums, 77 type aliases, 2 unions; e.g.getProfile -> ProfileViewDetailedwithdid/handle/… typed). atproto "token" unions (listPurpose) decode as a runtimestring; only 15 schemas — atproto's empty marker objects ({}, no fields to type) — stayunknown.
