FileSuggestModalFileSuggestion
Unofficial
A file suggestion offered by a FileSuggestModal.
Import:
import type { FileSuggestModalFileSuggestion } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface FileSuggestModalFileSuggestionProperties
| Property | Type | Description | |
|---|---|---|---|
| downranked? | boolean | Whether the file is excluded by the user (the Excluded files setting under Files and links), which lowers its score by 10.Absent on the recent-file suggestions offered for an empty query, which never include excluded files. | |
| file | TFile | The suggested file. | |
| match | null | SearchResult | The fuzzy match of the query against the file's path, or null for a recent-file suggestion offered for an empty query. | |
| type | 'file' | The suggestion type. |