CommandName

The lucid-extension-sdk library interacts with core Lucid products through this set of possible commands.
Typically, an extension author will not need to access any of these commands directly, as they are all
exposed through appropriate classes and methods elsewhere in this SDK.

To use these directly, use EditorClient.sendCommand.

FOR DEVELOPERS AT LUCID:
Follow this guide to add new commands: https://lucidatlassian.atlassian.net/wiki/x/3AA3Xww
Before you add a new command bring it up in #api-committee to get feedback.


Enumeration Members

AddAuthorizationFlowHandler

AddAuthorizationFlowHandler: "aafh";

AddCardIntegration

AddCardIntegration: "aci";

AddDiagramFromLuma

AddDiagramFromLuma: "luma";

AddDiagramFromMermaid

AddDiagramFromMermaid: "adfm";

AddDiagramFromText

AddDiagramFromText: "adft";

AddLineTextArea

AddLineTextArea: "alta";

AddMenuItem

AddMenuItem: "ami";

AddQuickAction

AddQuickAction: "aqa";

AddShapeData

AddShapeData: "asd";

AddSpreadsheetIntegration

AddSpreadsheetIntegration: "asi";

AddTableColumn

AddTableColumn: "atc";

AddTableRow

AddTableRow: "atr";

Alert

Alert: "a";

AnimateViewport

AnimateViewport: "av";

AwaitDataSourceImport

AwaitDataSourceImport: "adi";

AwaitImport

AwaitImport: "ai";

Bootstrap

Bootstrap: "b";

CalculateHash

CalculateHash: "hsh";

CanEditPackageSettings

CanEditPackageSettings: "ceps";

CancelDragBlockToCanvas

CancelDragBlockToCanvas: "cdc";

Confirm

Confirm: "c";

CreateBlock

CreateBlock: "cb";

CreateCards

CreateCards: "ca";

CreateCollection

CreateCollection: "cc";

CreateDataSource

CreateDataSource: "cds";

CreateDocumentElement

CreateDocumentElement: "cde";

CreateGroup

CreateGroup: "cg";

CreateLine

CreateLine: "cl";

CreatePage

CreatePage: "cp";

CreateUserImage

CreateUserImage: "cui";

DataAction

DataAction: "da";

DataItemExists

DataItemExists: "die";

DeleteDocumentElement

DeleteDocumentElement: "dde";

DeleteItem

DeleteItem: "di";

DeletePage

DeletePage: "dp";

DeleteShapeData

DeleteShapeData: "dsd";

DeleteTableColumn

DeleteTableColumn: "dtc";

DeleteTableRow

DeleteTableRow: "dtr";

Download

Download: "d";

DragPointerMove

DragPointerMove: "dpm";

DragPointerUp

DragPointerUp: "dpu";

DuplicateItems

DuplicateItems: "dis";

ElementExists

ElementExists: "ee";

ExecuteFormula

ExecuteFormula: "ef";

FindAvailableSpace

FindAvailableSpace: "fas";

FireBeaconEvent

FireBeaconEvent: "fbe";

GetConnectedLines

GetConnectedLines: "gcl";

GetCurrentPage

GetCurrentPage: "gcp";

GetCustomShape

GetCustomShape: "gcs";

GetDataItemField

GetDataItemField: "gdif";

GetDocumentAccessPermission

GetDocumentAccessPermission: "gdap";

GetDocumentChunks

GetDocumentChunks: "gdc";

GetDocumentId

GetDocumentId: "gdid";

GetElementType

GetElementType: "get";

GetEnvironmentConfig

GetEnvironmentConfig: "gec";

GetItemPageId

GetItemPageId: "gip";

GetItemsAt

GetItemsAt: "gia";

GetLLMContextFromItems

GetLLMContextFromItems: "llm";

GetOAuthClientId

GetOAuthClientId: "goci";

GetOAuthToken

GetOAuthToken: "got";

GetPackageSettings

GetPackageSettings: "gps";

GetProduct

GetProduct: "gpr";

GetProperty

GetProperty: "gp";

GetReferenceKey

GetReferenceKey: "grk";

GetRelativeLinePosition

GetRelativeLinePosition: "grlp";

GetSelection

GetSelection: "gs";

GetShapeData

GetShapeData: "gsd";

GetSvg

GetSvg: "gsvg";

GetTextStyle

GetTextStyle: "gts";

GetUserId

GetUserId: "guid";

GetVisibleRect

GetVisibleRect: "gvr";

HideModal

HideModal: "hm";

HidePanel

HidePanel: "hp";

HookAllChanges

HookAllChanges: "hac";

HookCreateItems

HookCreateItems: "hci";

HookDeleteItems

HookDeleteItems: "hdi";

HookSelection

HookSelection: "hs";

HookTextEdit

HookTextEdit: "hte";

ImportCards

ImportCards: "ic";

ImportLinks

ImportLinks: "il";

ImportPage

ImportPage: "imp";

KillExtension

KillExtension: "k";

ListBlocks

ListBlocks: "lb";

ListCollectionFields

ListCollectionFields: "lcf";

ListCollections

ListCollections: "lc";

ListDataItems

ListDataItems: "ldi";

ListDataSources

ListDataSources: "lds";

ListDocumentElements

ListDocumentElements: "lde";

ListGroups

ListGroups: "lg";

ListLines

ListLines: "ll";

ListPages

ListPages: "lp";

ListProperties

ListProperties: "lpr";

ListReferenceKeys

ListReferenceKeys: "lrk";

ListShapeData

ListShapeData: "lsd";

ListTextAreas

ListTextAreas: "lta";

LoadBlockClasses

LoadBlockClasses: "lbc";

LogForTestCase

LogForTestCase: "log";

MeasureText

MeasureText: "mt";

OffsetItems

OffsetItems: "oi";

PatchDataItems

PatchDataItems: "pdi";

Prompt

Prompt: "p";

RegisterPanel

RegisterPanel: "rp";

RegisterUnfurl

RegisterUnfurl: "ru";

ReloadExtension

ReloadExtension: "r";

SendAsyncOAuthRequest

SendAsyncOAuthRequest: "aoauth";

SendOAuthRequest

SendOAuthRequest: "oauth";

SendPermanentTokenRequest

SendPermanentTokenRequest: "perm";

SendUIMessage

SendUIMessage: "suim";

SendXHR

SendXHR: "xhr";

SetCurrentPage

SetCurrentPage: "scp";

SetPackageSettings

SetPackageSettings: "sps";

SetProperty

SetProperty: "sp";

SetReferenceKey

SetReferenceKey: "srk";

SetSelection

SetSelection: "ss";

SetShapeData

SetShapeData: "ssd";

SetText

SetText: "st";

SetTextStyle

SetTextStyle: "sts";

ShowModal

ShowModal: "sm";

ShowPackageSettingsModal

ShowPackageSettingsModal: "spsm";

ShowPanel

ShowPanel: "spn";

SleepForTestCase

SleepForTestCase: "sleep";

StartDragBlockToCanvas

StartDragBlockToCanvas: "sdc";

StartPDFUploadRequest

StartPDFUploadRequest: "pdf";

ThrowForTestCase

ThrowForTestCase: "throw";

TriggerAuthFlow

TriggerAuthFlow: "tauth";

UnhookAllChanges

UnhookAllChanges: "uac";

UnhookCreateItems

UnhookCreateItems: "uci";

UnhookDeleteItems

UnhookDeleteItems: "udi";

UnhookSelection

UnhookSelection: "us";

UnhookTextEdit

UnhookTextEdit: "ute";

WithMutex

WithMutex: "wm";

WithSilentActions

WithSilentActions: "wsa";

ZOrder

ZOrder: "z";