File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed
packages/wxp-sdk-types/ui Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -200,11 +200,6 @@ export declare interface Application extends ApplicationBase {
200200 * Represents the active document of the host application
201201 */
202202 readonly document : Document_2 ;
203- /**
204- * @experimental
205- * Invoke command/actions in an add-on and handle response.
206- */
207- readonly command : Command ;
208203 /**
209204 * OAuth 2.0 middleware for handling user authorization.
210205 */
@@ -614,24 +609,6 @@ export declare enum ColorPickerPlacement {
614609 right = "right"
615610}
616611
617- /**
618- * @experimental
619- * Provides APIs to handle command execution in the add-on.
620- */
621- export declare interface Command {
622- /**
623- * Register a handler for handling command execution in the add-on.
624- *
625- * _Note:_ This is similar to a JavaScript event handler.
626- * If there are multiple handlers registered for a command,
627- * each will be invoked when the host application triggers the command.
628- * In most of the cases, one handler per command is the way to go.
629- * @param command - Command triggered from the host application.
630- * @param handler - Handler for command execution.
631- */
632- register ( command : string , handler : ( params : Record < string , unknown > ) => unknown ) : void ;
633- }
634-
635612declare namespace Constants {
636613 export {
637614 Range_2 as Range ,
You can’t perform that action at this time.
0 commit comments