formatting
This commit is contained in:
parent
41c80b693d
commit
8dd99a2d1d
1 changed files with 9 additions and 9 deletions
|
@ -13,15 +13,15 @@ export async function search() {
|
||||||
|
|
||||||
if (meta.meilisearch.health === "available") {
|
if (meta.meilisearch.health === "available") {
|
||||||
searchOptions =
|
searchOptions =
|
||||||
"Advanced search operators\n" +
|
"Advanced search operators\n" +
|
||||||
"from:user => filter by user\n" +
|
"from:user => filter by user\n" +
|
||||||
"has:image/video/audio/text/file => filter by attachment types\n" +
|
"has:image/video/audio/text/file => filter by attachment types\n" +
|
||||||
"domain:domain.com => filter by domain\n" +
|
"domain:domain.com => filter by domain\n" +
|
||||||
"before:Date => show posts made before Date\n" +
|
"before:Date => show posts made before Date\n" +
|
||||||
"after:Date => show posts made after Date\n" +
|
"after:Date => show posts made after Date\n" +
|
||||||
'"text" => get posts with exact text between quotes\n' +
|
'"text" => get posts with exact text between quotes\n' +
|
||||||
"filter:following => show results only from users you follow\n" +
|
"filter:following => show results only from users you follow\n" +
|
||||||
"filter:followers => show results only from followers\n";
|
"filter:followers => show results only from followers\n";
|
||||||
}
|
}
|
||||||
const { canceled, result: query } = await os.inputText({
|
const { canceled, result: query } = await os.inputText({
|
||||||
title: i18n.ts.search,
|
title: i18n.ts.search,
|
||||||
|
|
Loading…
Reference in a new issue