Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "operations/edit/projectEditor"

Index

Type aliases

AnyProjectEditor

AnyProjectEditor<P>: ProjectEditor<P> | SimpleProjectEditor<P>

Type parameters

  • P = any

ProjectEditor

ProjectEditor<P, ER>: (p: Project, context?: HandlerContext, params?: P) => Promise<ER>

Modifies the given project, returning information about the modification.

param

project to edit

param

context for the current command or event handler

param

params, if available

Type parameters

Type declaration

SimpleProjectEditor

SimpleProjectEditor<P>: (p: Project, context?: HandlerContext, params?: P) => Promise<Project>

Type parameters

  • P = any

Type declaration

Functions

failedEdit

successfulEdit

  • successfulEdit<P>(p: P, edited: boolean): EditResult<P>

toEditor

Generated using TypeDoc