···2233A fully-featured sdk for developing lexicons with typescript.
4455+## Features
66+77+- atproto spec lexicon authoring with in IDE docs & hints for each attribute (ts => json)
88+- CLI to generate json from ts definitions
99+- CLI to generate ts from json definitions
1010+- inference of usage type from full lexicon definition
1111+ - the really cool part of this is that it fills in the refs from the defs all at the type level
1212+- `lx.lexicon(...).validate(data)` for validating data using `@atproto/lexicon`
1313+- `fromJSON()` helper for creating lexicons directly from JSON objects with full type inference
1414+515## Installation
616717```bash
···206216```bash
207217npm run lexicon:import
208218```
209209-210210-## State of the Project
211211-212212-**Done:**
213213-214214-- Full atproto spec lexicon authoring with in IDE docs & hints for each attribute (ts => json)
215215-- CLI generates json from ts definitions
216216-- CLI generates ts from json definitions
217217-- Inferrance of valid type from full lexicon definition
218218- - the really cool part of this is that it fills in the refs from the defs all at the type level
219219-- `lx.lexicon(...).validate(data)` for validating data using `@atproto/lexicon` and your lexicon definitions
220220-- `fromJSON()` helper for creating lexicons directly from JSON objects with full type inference
221219222220Please give any and all feedback. I've not really written many lexicons much myself yet, so this project is at a point of "well I think this makes sense". Both the [issues page](https://github.com/tylersayshi/prototypey/issues) and [discussions](https://github.com/tylersayshi/prototypey/discussions) are open and ready for y'all 🙂.
223221