mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
refactor: tsdoc format
This commit is contained in:
parent
d27ab3ce49
commit
553b17c646
1 changed files with 4 additions and 2 deletions
|
|
@ -34,8 +34,10 @@ export async function getPubkeysBySearch(
|
||||||
return new Set(Array.from(followingPubkeys.union(pubkeys)));
|
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(
|
export async function getIdsBySearch(
|
||||||
kysely: Kysely<DittoTables>,
|
kysely: Kysely<DittoTables>,
|
||||||
opts: { q: string; limit: number; offset: number },
|
opts: { q: string; limit: number; offset: number },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue