Skip to content

FileSuggestModalFileSuggestion

Unofficial

A file suggestion offered by a FileSuggestModal.

Import:

import type { FileSuggestModalFileSuggestion } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface FileSuggestModalFileSuggestion

Properties

PropertyTypeDescription
downranked?booleanWhether 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.
fileTFileThe suggested file.
matchnull | SearchResultThe 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.