prune: remove content prop
This commit is contained in:
@@ -37,7 +37,7 @@ deno fmt
|
||||
|
||||
- **Runtime**: Deno (not Bun, despite the README). Uses `deno.json` for task definitions and import maps.
|
||||
- **Database**: SQLite via `https://deno.land/x/sqlite/mod.ts`. DB path is configurable via `SQLITE_PATH` env var, defaults to `notes.db`.
|
||||
- **Note schema**: Defined as an AT Protocol lexicon in `lexicons/space/litenote/note.json`. Notes have `title`, `content` (markdown), optional `images` (blob refs), `publishedAt`, and `createdAt`. Primary key is `(did, rkey)`.
|
||||
- **Note schema**: Defined as an AT Protocol lexicon in `lexicons/space/litenote/note.json`. Notes have `title`, optional `images` (blob refs), `publishedAt`, and `createdAt`. Primary key is `(did, rkey)`.
|
||||
- **API endpoints**:
|
||||
- `GET /notes?cursor=&limit=` — paginated notes (all users)
|
||||
- `GET /:did/notes?cursor=&limit=` — paginated notes for a specific DID
|
||||
|
||||
Reference in New Issue
Block a user