docs(federation): 🐛 Update docs to match API changes

This commit is contained in:
Jesse Wierzbinski 2024-06-25 19:19:38 -10:00
parent 9c4bc08e2f
commit 0c7e59849a
No known key found for this signature in database
2 changed files with 3 additions and 6 deletions

View file

@ -38,7 +38,9 @@ try {
}
// 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",
// ...
};