mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor(api): ♻️ Move to Hono for HTTP
This commit is contained in:
parent
2237be3689
commit
826a260e90
155 changed files with 7226 additions and 6077 deletions
|
|
@ -260,3 +260,23 @@ export const signedFetch = async (
|
|||
},
|
||||
});
|
||||
};
|
||||
|
||||
// Export all schemas as a single object
|
||||
export default {
|
||||
Note: schemas.Note,
|
||||
User: schemas.User,
|
||||
Reaction: schemas.Reaction,
|
||||
Poll: schemas.Poll,
|
||||
Vote: schemas.Vote,
|
||||
VoteResult: schemas.VoteResult,
|
||||
Report: schemas.Report,
|
||||
ServerMetadata: schemas.ServerMetadata,
|
||||
Like: schemas.Like,
|
||||
Dislike: schemas.Dislike,
|
||||
Follow: schemas.Follow,
|
||||
FollowAccept: schemas.FollowAccept,
|
||||
FollowReject: schemas.FollowReject,
|
||||
Announce: schemas.Announce,
|
||||
Undo: schemas.Undo,
|
||||
Entity: schemas.Entity,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue