Skip to content

PropertyValueSuggestLinkItem

Unofficial

A link item of the property-value suggest, offered once the value starts with [[.

These are the items of the link suggester the editor uses. Only the fields shared by every kind are modeled; each kind carries more (path and file for file, alias for alias, heading and level for heading, …).

Import:

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

Signature:

export interface PropertyValueSuggestLinkItem

Properties

PropertyTypeDescription
matchesnull | SearchMatchesMatched ranges, or null for the none placeholder.
scorenumberMatch score.
type'alias' | 'bases-view' | 'block' | 'file' | 'heading' | 'linktext' | 'none'Kind of the link item; none is the placeholder shown when nothing matches.