mirror of
https://github.com/versia-pub/api.git
synced 2025-12-06 08:28:19 +01:00
docs(federation): 🐛 Update docs to match API changes
This commit is contained in:
parent
9c4bc08e2f
commit
0c7e59849a
|
|
@ -25,11 +25,6 @@ Please see the [**`@lysand-org/federation` README**](federation/README.md) for m
|
||||||
|
|
||||||
### Client
|
### Client
|
||||||
|
|
||||||
#### Roadmap
|
|
||||||
|
|
||||||
- [x] Parity with [**megalodon**](https://github.com/h3poteto/megalodon)'s Mastodon client
|
|
||||||
- [ ] Lysand-specific features
|
|
||||||
|
|
||||||
Please see the [**`@lysand-org/client` README**](client/README.md) for more information.
|
Please see the [**`@lysand-org/client` README**](client/README.md) for more information.
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,9 @@ try {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Types are also included for TypeScript users that don't use the extracted ones
|
// Types are also included for TypeScript users that don't use the extracted ones
|
||||||
const validNoteObject: typeof EntityValidator.$Note = {
|
import type { Note } from "@lysand-org/federation/types";
|
||||||
|
|
||||||
|
const validNoteObject: Note = {
|
||||||
type: "Note",
|
type: "Note",
|
||||||
// ...
|
// ...
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue