To create a custom view for Markwhen, implement the ViewProvider interface. This interface defines the identity, metadata, and capabilities of the view.
Key properties include:
id: A unique identifier for the provider.url: The location of the view (string or any).name: The display name.description: A description of the view.capabilities: An optional ViewCapabilities object defining interaction features.uses: An optional ViewUses object defining data usage patterns.settings: An optional array of functions returning ViewSetting objects.
export interface ViewProvider {
id: string,
url: string | any,
name: string,
iconSvg?: string,
settings?: (() => ViewSetting | any)[]
capabilities?: ViewCapabilities
uses?: ViewUses
active?: boolean
description: string
screenshots: string[]
}