const CommandName: object;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.
Type declaration
AddAuthorizationFlowHandler
readonly AddAuthorizationFlowHandler: "aafh" = 'aafh';AddCardIntegration
readonly AddCardIntegration: "aci" = 'aci';AddDiagramFromLuma
readonly AddDiagramFromLuma: "luma" = 'luma';AddDiagramFromMermaid
readonly AddDiagramFromMermaid: "adfm" = 'adfm';AddLineTextArea
readonly AddLineTextArea: "alta" = 'alta';AddMenuItem
readonly AddMenuItem: "ami" = 'ami';AddQuickAction
readonly AddQuickAction: "aqa" = 'aqa';AddShapeData
readonly AddShapeData: "asd" = 'asd';AddSpreadsheetIntegration
readonly AddSpreadsheetIntegration: "asi" = 'asi';AddTableColumn
readonly AddTableColumn: "atc" = 'atc';AddTableRow
readonly AddTableRow: "atr" = 'atr';Alert
readonly Alert: "a" = 'a';AnimateViewport
readonly AnimateViewport: "av" = 'av';AwaitDataSourceImport
readonly AwaitDataSourceImport: "adi" = 'adi';AwaitImport
readonly AwaitImport: "ai" = 'ai';Bootstrap
readonly Bootstrap: "b" = 'b';CalculateHash
readonly CalculateHash: "hsh" = 'hsh';CanEditPackageSettings
readonly CanEditPackageSettings: "ceps" = 'ceps';CancelDragBlockToCanvas
readonly CancelDragBlockToCanvas: "cdc" = 'cdc';CheckUserFlagAssignment
readonly CheckUserFlagAssignment: "cufa" = 'cufa';ClearOAuthToken
readonly ClearOAuthToken: "cot" = 'cot';Confirm
readonly Confirm: "c" = 'c';CreateBlock
readonly CreateBlock: "cb" = 'cb';CreateCards
readonly CreateCards: "ca" = 'ca';CreateCollection
readonly CreateCollection: "cc" = 'cc';CreateDataSource
readonly CreateDataSource: "cds" = 'cds';CreateDocumentElement
readonly CreateDocumentElement: "cde" = 'cde';CreateGraph
readonly CreateGraph: "cgr" = 'cgr';CreateGroup
readonly CreateGroup: "cg" = 'cg';CreateLine
readonly CreateLine: "cl" = 'cl';CreatePage
readonly CreatePage: "cp" = 'cp';CreateUserImage
readonly CreateUserImage: "cui" = 'cui';DataAction
readonly DataAction: "da" = 'da';DataItemExists
readonly DataItemExists: "die" = 'die';DeleteDocumentElement
readonly DeleteDocumentElement: "dde" = 'dde';DeleteItem
readonly DeleteItem: "di" = 'di';DeletePage
readonly DeletePage: "dp" = 'dp';DeleteShapeData
readonly DeleteShapeData: "dsd" = 'dsd';DeleteTableColumn
readonly DeleteTableColumn: "dtc" = 'dtc';DeleteTableRow
readonly DeleteTableRow: "dtr" = 'dtr';Download
readonly Download: "d" = 'd';DragPointerMove
readonly DragPointerMove: "dpm" = 'dpm';DragPointerUp
readonly DragPointerUp: "dpu" = 'dpu';DuplicateItems
readonly DuplicateItems: "dis" = 'dis';ElementExists
readonly ElementExists: "ee" = 'ee';ExecuteFormula
readonly ExecuteFormula: "ef" = 'ef';FindAvailableSpace
readonly FindAvailableSpace: "fas" = 'fas';FireBeaconEvent
readonly FireBeaconEvent: "fbe" = 'fbe';GetCardIntegrationConfig
readonly GetCardIntegrationConfig: "gcic" = 'gcic';GetConnectedLines
readonly GetConnectedLines: "gcl" = 'gcl';GetCurrentPage
readonly GetCurrentPage: "gcp" = 'gcp';GetCustomShape
readonly GetCustomShape: "gcs" = 'gcs';GetDataItemField
readonly GetDataItemField: "gdif" = 'gdif';GetDeveloperModeStatus
readonly GetDeveloperModeStatus: "gdms" = 'gdms';GetDocumentAccessPermission
readonly GetDocumentAccessPermission: "gdap" = 'gdap';GetDocumentChunks
readonly GetDocumentChunks: "gdc" = 'gdc';GetDocumentId
readonly GetDocumentId: "gdid" = 'gdid';GetElementType
readonly GetElementType: "get" = 'get';GetEnvironmentConfig
readonly GetEnvironmentConfig: "gec" = 'gec';GetItemPageId
readonly GetItemPageId: "gip" = 'gip';GetItemsAt
readonly GetItemsAt: "gia" = 'gia';GetLLMContextFromItems
readonly GetLLMContextFromItems: "llm" = 'llm';GetOAuthClientId
readonly GetOAuthClientId: "goci" = 'goci';GetOAuthToken
readonly GetOAuthToken: "got" = 'got';GetPackageSettings
readonly GetPackageSettings: "gps" = 'gps';GetProduct
readonly GetProduct: "gpr" = 'gpr';GetProperty
readonly GetProperty: "gp" = 'gp';GetReferenceKey
readonly GetReferenceKey: "grk" = 'grk';GetRelativeLinePosition
readonly GetRelativeLinePosition: "grlp" = 'grlp';GetSelection
readonly GetSelection: "gs" = 'gs';GetShapeData
readonly GetShapeData: "gsd" = 'gsd';GetSvg
readonly GetSvg: "gsvg" = 'gsvg';GetTextStyle
readonly GetTextStyle: "gts" = 'gts';GetUserId
readonly GetUserId: "guid" = 'guid';GetVisibleRect
readonly GetVisibleRect: "gvr" = 'gvr';HideModal
readonly HideModal: "hm" = 'hm';HidePanel
readonly HidePanel: "hp" = 'hp';HookAllChanges
readonly HookAllChanges: "hac" = 'hac';HookCreateItems
readonly HookCreateItems: "hci" = 'hci';HookDeleteItems
readonly HookDeleteItems: "hdi" = 'hdi';HookSelection
readonly HookSelection: "hs" = 'hs';HookTextEdit
readonly HookTextEdit: "hte" = 'hte';ImportCards
readonly ImportCards: "ic" = 'ic';ImportLinks
readonly ImportLinks: "il" = 'il';ImportPage
readonly ImportPage: "imp" = 'imp';KillExtension
readonly KillExtension: "k" = 'k';ListBlocks
readonly ListBlocks: "lb" = 'lb';ListCollectionFields
readonly ListCollectionFields: "lcf" = 'lcf';ListCollections
readonly ListCollections: "lc" = 'lc';ListDataItems
readonly ListDataItems: "ldi" = 'ldi';ListDataSources
readonly ListDataSources: "lds" = 'lds';ListDocumentElements
readonly ListDocumentElements: "lde" = 'lde';ListGroups
readonly ListGroups: "lg" = 'lg';ListLines
readonly ListLines: "ll" = 'll';ListPages
readonly ListPages: "lp" = 'lp';ListProperties
readonly ListProperties: "lpr" = 'lpr';ListReferenceKeys
readonly ListReferenceKeys: "lrk" = 'lrk';ListShapeData
readonly ListShapeData: "lsd" = 'lsd';ListTextAreas
readonly ListTextAreas: "lta" = 'lta';LoadBlockClasses
readonly LoadBlockClasses: "lbc" = 'lbc';LogForTestCase
readonly LogForTestCase: "log" = 'log';MeasureText
readonly MeasureText: "mt" = 'mt';OffsetItems
readonly OffsetItems: "oi" = 'oi';PatchDataItems
readonly PatchDataItems: "pdi" = 'pdi';Prompt
readonly Prompt: "p" = 'p';RegisterPanel
readonly RegisterPanel: "rp" = 'rp';RegisterUnfurl
readonly RegisterUnfurl: "ru" = 'ru';ReloadExtension
readonly ReloadExtension: "r" = 'r';RevokeOAuthToken
readonly RevokeOAuthToken: "rot" = 'rot';SendAsyncOAuthRequest
readonly SendAsyncOAuthRequest: "aoauth" = 'aoauth';SendOAuthRequest
readonly SendOAuthRequest: "oauth" = 'oauth';SendPermanentTokenRequest
readonly SendPermanentTokenRequest: "perm" = 'perm';SendUIMessage
readonly SendUIMessage: "suim" = 'suim';SendXHR
readonly SendXHR: "xhr" = 'xhr';SetCurrentPage
readonly SetCurrentPage: "scp" = 'scp';SetPackageSettings
readonly SetPackageSettings: "sps" = 'sps';SetProperty
readonly SetProperty: "sp" = 'sp';SetReferenceKey
readonly SetReferenceKey: "srk" = 'srk';SetSelection
readonly SetSelection: "ss" = 'ss';SetShapeData
readonly SetShapeData: "ssd" = 'ssd';SetText
readonly SetText: "st" = 'st';SetTextStyle
readonly SetTextStyle: "sts" = 'sts';ShowModal
readonly ShowModal: "sm" = 'sm';ShowPackageSettingsModal
readonly ShowPackageSettingsModal: "spsm" = 'spsm';ShowPanel
readonly ShowPanel: "spn" = 'spn';SleepForTestCase
readonly SleepForTestCase: "sleep" = 'sleep';StartDragBlockToCanvas
readonly StartDragBlockToCanvas: "sdc" = 'sdc';StartPDFUploadRequest
readonly StartPDFUploadRequest: "pdf" = 'pdf';ThrowForTestCase
readonly ThrowForTestCase: "throw" = 'throw';TriggerAuthFlow
readonly TriggerAuthFlow: "tauth" = 'tauth';UnhookAllChanges
readonly UnhookAllChanges: "uac" = 'uac';UnhookCreateItems
readonly UnhookCreateItems: "uci" = 'uci';UnhookDeleteItems
readonly UnhookDeleteItems: "udi" = 'udi';UnhookSelection
readonly UnhookSelection: "us" = 'us';UnhookTextEdit
readonly UnhookTextEdit: "ute" = 'ute';UpdateCardIntegrationConfig
readonly UpdateCardIntegrationConfig: "ucic" = 'ucic';WithMutex
readonly WithMutex: "wm" = 'wm';WithSilentActions
readonly WithSilentActions: "wsa" = 'wsa';ZOrder
readonly ZOrder: "z" = 'z';