mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
feat(federation): ✨ Allow objects to be fetched via their ID
This commit is contained in:
parent
895826a5f8
commit
47040ad273
4 changed files with 59 additions and 95 deletions
|
|
@ -11,7 +11,7 @@ export type Like = InferSelectModel<typeof like>;
|
|||
/**
|
||||
* Represents a Like entity in the database.
|
||||
*/
|
||||
export const toLysand = (like: Like): Lysand.Like => {
|
||||
export const likeToLysand = (like: Like): Lysand.Like => {
|
||||
return {
|
||||
id: like.id,
|
||||
// biome-ignore lint/suspicious/noExplicitAny: to be rewritten
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue