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 FileSuggestModalAliasSuggestionProperties
| Property | Type | Description | |
|---|---|---|---|
| alias | string | The matching alias, as obsidian#parseFrontMatterAliases returns it. | |
| downranked | boolean | Whether the file is excluded by the user (the Excluded files setting under Files and links), which lowers its score by 10. | |
| file | TFile | The file the alias belongs to. | |
| match | SearchResult | The fuzzy match of the query against the alias. | |
| type | 'alias' | The suggestion type. |