Skip to content

FileSuggestModalAliasSuggestion

Unofficial

An alias suggestion offered by a FileSuggestModal: one of the file’s frontmatter aliases that matches the query.

Import:

import type { FileSuggestModalAliasSuggestion } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface FileSuggestModalAliasSuggestion

Properties

PropertyTypeDescription
aliasstringThe matching alias, as obsidian#parseFrontMatterAliases returns it.
downrankedbooleanWhether the file is excluded by the user (the Excluded files setting under Files and links), which lowers its score by 10.
fileTFileThe file the alias belongs to.
matchSearchResultThe fuzzy match of the query against the alias.
type'alias'The suggestion type.