feat(federation): Allow objects to be fetched via their ID

This commit is contained in:
Jesse Wierzbinski 2024-04-16 11:18:47 -10:00
parent 895826a5f8
commit 47040ad273
No known key found for this signature in database
4 changed files with 59 additions and 95 deletions

View file

@ -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