refactor: tsdoc format

This commit is contained in:
P. Reis 2024-10-27 15:38:35 -03:00
parent d27ab3ce49
commit 553b17c646

View file

@ -34,8 +34,10 @@ export async function getPubkeysBySearch(
return new Set(Array.from(followingPubkeys.union(pubkeys)));
}
/** Get kind 1 ids whose content matches 'q'
* It supports NIP-50 extensions */
/**
* Get kind 1 ids whose content matches `q`.
* It supports NIP-50 extensions.
*/
export async function getIdsBySearch(
kysely: Kysely<DittoTables>,
opts: { q: string; limit: number; offset: number },