Back to Trilium

Interface ExecuteCommandData<T>

docs/Script API/interfaces/Frontend_Script_API._internal_.ExecuteCommandData.html

0.102.21014 B
Original Source

Interface ExecuteCommandData<T>

Base interface for the data/arguments for a given command (see CommandMappings).

interface ExecuteCommandData<T> {
ntxId?: null | string;
resolve: (data: T) => void;
}

Type Parameters

  • T

Hierarchy (View Summary)

Index

Properties

ntxId?resolve

Properties

OptionalntxId

ntxId?: null | string

resolve

resolve: (data: T) => void

Settings

Member Visibility

  • Protected
  • Inherited
  • External

ThemeOSLightDark

On This Page

Properties ntxIdresolve