Commit 227e3a73 authored by ChanHaeng Lee's avatar ChanHaeng Lee
Browse files

Fix docs

parent 0d71f17e
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -1423,6 +1423,12 @@ async function getBookmarkedPostsByUserId(
): Promise<{ posts: BookmarkedPost[]; nextCursor: string | null }> {
  return { posts: [], nextCursor: null };
}
/**
 * A hypothetical function that counts bookmarked posts for a user.
 */
async function getBookmarkCountByUserId(userId: string): Promise<number> {
  return 0;
}
// ---cut-before---
federation
  .setCollectionDispatcher(
@@ -1651,6 +1657,10 @@ async function getBookmarkedPostsByUserId(
): Promise<{ posts: any[]; nextCursor: string | null }> {
  return { posts: [], nextCursor: null };
}
async function getActorIdentifier(actorId: URL|null): Promise<string | null> {
  // Hypothetical function to get the identifier of an actor
  return "";
}
// ---cut-before---
federation
  .setCollectionDispatcher(