Monorepo for wisp.place. A static site hosting service built on top of the AT Protocol.
wisp.place
1# @wisp/lexicons
2
3Shared AT Protocol lexicon definitions and generated TypeScript types for the wisp.place project.
4
5## Contents
6
7- `/lexicons` - Source lexicon JSON definitions
8- `/src` - Generated TypeScript types and validation functions
9
10## Usage
11
12```typescript
13import { ids, lexicons } from '@wisp/lexicons';
14import type { PlaceWispFs } from '@wisp/lexicons/types/place/wisp/fs';
15```
16
17## Code Generation
18
19To regenerate types from lexicon definitions:
20
21```bash
22npm run codegen
23```
24
25This uses `@atproto/lex-cli` to generate TypeScript types from the JSON schemas in `/lexicons`.