lucid-extension-sdk 0.0.449 → 0.0.450
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commandtypes.d.ts +296 -239
- package/commandtypes.js +313 -167
- package/core/authorizationflowhandlerregistry.js +2 -1
- package/core/cardintegration/cardfielddisplaysettings.d.ts +150 -61
- package/core/cardintegration/cardfielddisplaysettings.js +43 -46
- package/core/cardintegration/cardintegrationautosyncconfig.d.ts +17 -5
- package/core/cardintegration/cardintegrationautosyncconfig.js +5 -6
- package/core/cardintegration/cardintegrationconfig.d.ts +32 -33
- package/core/cardintegration/cardintegrationparams.d.ts +4 -0
- package/core/cardintegration/extensiondatapanel/extensiondatapanellistitemtexttagcolor.d.ts +15 -14
- package/core/cardintegration/extensiondatapanel/extensiondatapanellistitemtexttagcolor.js +14 -15
- package/core/cardintegration/extensionimportmodalwidthbreakpoint.d.ts +9 -8
- package/core/cardintegration/extensionimportmodalwidthbreakpoint.js +8 -9
- package/core/cardintegration/lucidcardintegration.d.ts +2 -1
- package/core/cardintegration/lucidcardintegration.js +2 -1
- package/core/cardintegration/lucidcardintegrationcustomimportmodal.js +2 -1
- package/core/cardintegration/lucidcardintegrationregistry.js +11 -101
- package/core/data/datasource/datasourcetype.d.ts +12 -11
- package/core/data/datasource/datasourcetype.js +11 -12
- package/core/data/datasource/metadatatypes.d.ts +10 -9
- package/core/data/datasource/metadatatypes.js +9 -10
- package/core/data/datasource/semanticcollection.d.ts +21 -6
- package/core/data/datasource/semanticcollection.js +6 -7
- package/core/data/datasource/semanticrelationships.d.ts +25 -13
- package/core/data/datasource/semanticrelationships.js +29 -30
- package/core/data/datasource/serializeddatasourceproperties.d.ts +23 -3
- package/core/data/datasource/serializedimporteddatasource.d.ts +46 -6
- package/core/data/datasource/serializedsourceforeignkey.d.ts +19 -0
- package/core/data/datasource/serializedsourceforeignkey.js +7 -1
- package/core/data/datasource/serializedupstreamconfig.d.ts +18 -3
- package/core/data/datasource/sourceforeignkeys.d.ts +37 -9
- package/core/data/datasource/sourceforeignkeys.js +23 -10
- package/core/data/datasource/upstreampatchtype.d.ts +6 -5
- package/core/data/datasource/upstreampatchtype.js +5 -6
- package/core/data/datasource/upstreamupdatetype.d.ts +7 -6
- package/core/data/datasource/upstreamupdatetype.js +6 -7
- package/core/data/fieldspecification.d.ts +3 -3
- package/core/data/fieldtypedefinition/basefieldtypedefinition.js +1 -2
- package/core/data/fieldtypedefinition/collectionenumfieldtype.d.ts +18 -10
- package/core/data/fieldtypedefinition/collectionenumfieldtype.js +10 -11
- package/core/data/fieldtypedefinition/deserializedmapenumfieldtype.js +2 -1
- package/core/data/fieldtypedefinition/lucidfields.d.ts +90 -20
- package/core/data/fieldtypedefinition/lucidfields.js +20 -21
- package/core/data/fieldtypedefinition/ndimensionalfieldtypearray.js +1 -1
- package/core/data/fieldtypedefinition/scalarfieldtype.d.ts +43 -14
- package/core/data/fieldtypedefinition/scalarfieldtype.js +43 -28
- package/core/data/fieldtypedefinition/semanticfields.d.ts +31 -16
- package/core/data/fieldtypedefinition/semanticfields.js +16 -17
- package/core/data/fieldtypedefinition/semantickind.d.ts +39 -20
- package/core/data/fieldtypedefinition/semantickind.js +48 -73
- package/core/data/fieldtypedefinition/utils.d.ts +2 -2
- package/core/data/serializedfield/serializeddisplayoption.d.ts +13 -6
- package/core/data/serializedfield/serializeddisplayoption.js +6 -7
- package/core/data/serializedfield/serializedfielddefinition.d.ts +50 -16
- package/core/data/serializedfield/serializedfielddefinition.js +13 -14
- package/core/dataerrortype.d.ts +11 -10
- package/core/dataerrortype.js +43 -0
- package/core/format/objectformat.d.ts +1 -1
- package/core/lucidproduct.d.ts +6 -5
- package/core/lucidproduct.js +5 -6
- package/core/offsettype.d.ts +30 -15
- package/core/offsettype.js +38 -25
- package/core/properties/datagraphic/badgeposition.d.ts +46 -30
- package/core/properties/datagraphic/badgeposition.js +36 -58
- package/core/properties/datagraphic/datagraphicindexes.d.ts +13 -12
- package/core/properties/datagraphic/datagraphicindexes.js +11 -12
- package/core/properties/dependencylinename.d.ts +8 -7
- package/core/properties/dependencylinename.js +7 -8
- package/core/properties/fillcolor.d.ts +8 -7
- package/core/properties/fillcolor.js +7 -8
- package/core/properties/strokestyle.d.ts +21 -20
- package/core/properties/strokestyle.js +22 -23
- package/core/quicktools/quicktoolsregistry.js +2 -1
- package/core/rules/badgeboxfit.d.ts +5 -4
- package/core/rules/badgeboxfit.js +4 -5
- package/core/rules/conditions.d.ts +101 -58
- package/core/rules/conditions.js +64 -66
- package/core/rules/conditiontype.d.ts +10 -9
- package/core/rules/conditiontype.js +9 -10
- package/core/rules/serializedeffect.d.ts +6 -5
- package/core/rules/serializedeffect.js +5 -6
- package/core/shapedatainheritance.d.ts +6 -5
- package/core/shapedatainheritance.js +5 -6
- package/core/sharedcardintegration/cardintegrationdefinitions.d.ts +51 -19
- package/core/sharedcardintegration/cardintegrationdefinitions.js +10 -12
- package/core/sharedcardintegration/dependencymappingconfig.d.ts +14 -0
- package/core/sharedcardintegration/dependencymappingconfig.js +2 -0
- package/core/sharedcardintegration/sharedregistryutil.d.ts +4 -0
- package/core/sharedcardintegration/sharedregistryutil.js +96 -0
- package/core/spreadsheetintegration/lucidspreadsheetintegration.d.ts +15 -7
- package/core/spreadsheetintegration/lucidspreadsheetintegration.js +7 -8
- package/core/spreadsheetintegration/lucidspreadsheetintegrationregistry.d.ts +1 -0
- package/core/spreadsheetintegration/lucidspreadsheetintegrationregistry.js +15 -2
- package/core/unfurl/unfurlcallbacks.d.ts +6 -5
- package/core/unfurl/unfurlcallbacks.js +5 -6
- package/core/unfurl/unfurldetails.d.ts +1 -1
- package/core/unfurl/unfurliframe.d.ts +9 -8
- package/core/unfurl/unfurliframe.js +18 -19
- package/core/unfurl/unfurlrefresherrortype.d.ts +9 -5
- package/core/unfurl/unfurlrefresherrortype.js +5 -6
- package/data/collectionproxy.js +4 -3
- package/data/dataitemproxy.js +4 -3
- package/data/dataproxy.js +3 -2
- package/data/datasourceproxy.js +3 -2
- package/data/dataupdatefiltertype.d.ts +6 -5
- package/data/dataupdatefiltertype.js +5 -6
- package/data/displayoptiondefinition.d.ts +2 -2
- package/data/fieldconstraintdefinition.d.ts +22 -12
- package/data/patcherrortype.d.ts +5 -4
- package/data/patcherrortype.js +4 -5
- package/dataconnector/actions/dataconnectoractionkeys.d.ts +6 -5
- package/dataconnector/actions/dataconnectoractionkeys.js +5 -6
- package/dataconnector/dataconnector.d.ts +1 -1
- package/dataconnector/dataconnector.js +7 -1
- package/document/blockclasses/customblockproxy.js +5 -4
- package/document/blockclasses/legendblockproxy.d.ts +5 -4
- package/document/blockclasses/legendblockproxy.js +8 -9
- package/document/blockclasses/linkunfurlblockproxy.js +2 -1
- package/document/blockclasses/tableblockproxy.js +5 -4
- package/document/blockproxy.js +2 -1
- package/document/documentaccesspermission.d.ts +7 -6
- package/document/documentaccesspermission.js +6 -7
- package/document/documentelement/documentelementtype.d.ts +26 -25
- package/document/documentelement/documentelementtype.js +25 -26
- package/document/documentelement/ruleproxy.js +2 -1
- package/document/documentproxy.js +16 -15
- package/document/elementproxy.js +7 -6
- package/document/graphdefinition.d.ts +5 -4
- package/document/graphdefinition.js +4 -5
- package/document/groupproxy.js +7 -6
- package/document/itemproxy.js +10 -9
- package/document/lineproxy.d.ts +6 -5
- package/document/lineproxy.js +9 -9
- package/document/pageproxy.js +17 -17
- package/document/propertystoreproxy.js +3 -2
- package/document/ruledefinition.d.ts +9 -9
- package/document/shapedataproxy.js +6 -5
- package/document/text/textstyle.d.ts +17 -16
- package/document/text/textstyle.js +23 -24
- package/editorclient.js +39 -39
- package/package.json +1 -1
- package/ui/iframeui.d.ts +7 -6
- package/ui/iframeui.js +12 -12
- package/ui/menu.d.ts +15 -13
- package/ui/menu.js +23 -24
- package/ui/modal.js +3 -2
- package/ui/panel.d.ts +6 -5
- package/ui/panel.js +11 -11
- package/ui/viewport.js +16 -15
- package/user/userproxy.js +3 -2
package/commandtypes.d.ts
CHANGED
|
@@ -26,145 +26,148 @@ import { PanelLocation } from './ui/panel';
|
|
|
26
26
|
* Follow this guide to add new commands: https://lucidatlassian.atlassian.net/wiki/x/3AA3Xww
|
|
27
27
|
* Before you add a new command bring it up in #api-committee to get feedback.
|
|
28
28
|
*/
|
|
29
|
-
export declare const
|
|
30
|
-
AddAuthorizationFlowHandler
|
|
31
|
-
AddCardIntegration
|
|
32
|
-
AddDiagramFromMermaid
|
|
33
|
-
AddDiagramFromLuma
|
|
34
|
-
AddLineTextArea
|
|
35
|
-
AddMenuItem
|
|
36
|
-
AddQuickAction
|
|
37
|
-
AddShapeData
|
|
38
|
-
AddSpreadsheetIntegration
|
|
39
|
-
AddTableColumn
|
|
40
|
-
AddTableRow
|
|
41
|
-
Alert
|
|
42
|
-
AnimateViewport
|
|
43
|
-
AwaitDataSourceImport
|
|
44
|
-
AwaitImport
|
|
45
|
-
Bootstrap
|
|
46
|
-
CalculateHash
|
|
47
|
-
CanEditPackageSettings
|
|
48
|
-
CancelDragBlockToCanvas
|
|
49
|
-
CheckUserFlagAssignment
|
|
50
|
-
Confirm
|
|
51
|
-
CreateBlock
|
|
52
|
-
CreateCards
|
|
53
|
-
CreateCollection
|
|
54
|
-
CreateDataSource
|
|
55
|
-
CreateDocumentElement
|
|
56
|
-
CreateGraph
|
|
57
|
-
CreateGroup
|
|
58
|
-
CreateLine
|
|
59
|
-
CreatePage
|
|
60
|
-
CreateUserImage
|
|
61
|
-
DataAction
|
|
62
|
-
DataItemExists
|
|
63
|
-
DeleteDocumentElement
|
|
64
|
-
DeleteItem
|
|
65
|
-
DeletePage
|
|
66
|
-
DeleteShapeData
|
|
67
|
-
DeleteTableColumn
|
|
68
|
-
DeleteTableRow
|
|
69
|
-
Download
|
|
70
|
-
DragPointerMove
|
|
71
|
-
DragPointerUp
|
|
72
|
-
DuplicateItems
|
|
73
|
-
ElementExists
|
|
74
|
-
ExecuteFormula
|
|
75
|
-
FindAvailableSpace
|
|
76
|
-
FireBeaconEvent
|
|
77
|
-
GetCardIntegrationConfig
|
|
78
|
-
GetConnectedLines
|
|
79
|
-
GetCurrentPage
|
|
80
|
-
GetCustomShape
|
|
81
|
-
GetDataItemField
|
|
82
|
-
GetDeveloperModeStatus
|
|
83
|
-
GetDocumentAccessPermission
|
|
84
|
-
GetDocumentChunks
|
|
85
|
-
GetDocumentId
|
|
86
|
-
GetElementType
|
|
87
|
-
GetEnvironmentConfig
|
|
88
|
-
GetItemPageId
|
|
89
|
-
GetItemsAt
|
|
90
|
-
GetLLMContextFromItems
|
|
91
|
-
GetOAuthClientId
|
|
92
|
-
GetOAuthToken
|
|
93
|
-
GetPackageSettings
|
|
94
|
-
GetProduct
|
|
95
|
-
GetProperty
|
|
96
|
-
GetReferenceKey
|
|
97
|
-
GetRelativeLinePosition
|
|
98
|
-
GetSelection
|
|
99
|
-
GetShapeData
|
|
100
|
-
GetSvg
|
|
101
|
-
GetTextStyle
|
|
102
|
-
GetUserId
|
|
103
|
-
GetVisibleRect
|
|
104
|
-
HideModal
|
|
105
|
-
HidePanel
|
|
106
|
-
HookAllChanges
|
|
107
|
-
HookCreateItems
|
|
108
|
-
HookDeleteItems
|
|
109
|
-
HookSelection
|
|
110
|
-
HookTextEdit
|
|
111
|
-
ImportCards
|
|
112
|
-
ImportLinks
|
|
113
|
-
ImportPage
|
|
114
|
-
KillExtension
|
|
115
|
-
ListBlocks
|
|
116
|
-
ListCollectionFields
|
|
117
|
-
ListCollections
|
|
118
|
-
ListDataItems
|
|
119
|
-
ListDataSources
|
|
120
|
-
ListDocumentElements
|
|
121
|
-
ListGroups
|
|
122
|
-
ListLines
|
|
123
|
-
ListPages
|
|
124
|
-
ListProperties
|
|
125
|
-
ListReferenceKeys
|
|
126
|
-
ListShapeData
|
|
127
|
-
ListTextAreas
|
|
128
|
-
LoadBlockClasses
|
|
129
|
-
LogForTestCase
|
|
130
|
-
MeasureText
|
|
131
|
-
OffsetItems
|
|
132
|
-
PatchDataItems
|
|
133
|
-
Prompt
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
29
|
+
export declare const CommandName: {
|
|
30
|
+
readonly AddAuthorizationFlowHandler: "aafh";
|
|
31
|
+
readonly AddCardIntegration: "aci";
|
|
32
|
+
readonly AddDiagramFromMermaid: "adfm";
|
|
33
|
+
readonly AddDiagramFromLuma: "luma";
|
|
34
|
+
readonly AddLineTextArea: "alta";
|
|
35
|
+
readonly AddMenuItem: "ami";
|
|
36
|
+
readonly AddQuickAction: "aqa";
|
|
37
|
+
readonly AddShapeData: "asd";
|
|
38
|
+
readonly AddSpreadsheetIntegration: "asi";
|
|
39
|
+
readonly AddTableColumn: "atc";
|
|
40
|
+
readonly AddTableRow: "atr";
|
|
41
|
+
readonly Alert: "a";
|
|
42
|
+
readonly AnimateViewport: "av";
|
|
43
|
+
readonly AwaitDataSourceImport: "adi";
|
|
44
|
+
readonly AwaitImport: "ai";
|
|
45
|
+
readonly Bootstrap: "b";
|
|
46
|
+
readonly CalculateHash: "hsh";
|
|
47
|
+
readonly CanEditPackageSettings: "ceps";
|
|
48
|
+
readonly CancelDragBlockToCanvas: "cdc";
|
|
49
|
+
readonly CheckUserFlagAssignment: "cufa";
|
|
50
|
+
readonly Confirm: "c";
|
|
51
|
+
readonly CreateBlock: "cb";
|
|
52
|
+
readonly CreateCards: "ca";
|
|
53
|
+
readonly CreateCollection: "cc";
|
|
54
|
+
readonly CreateDataSource: "cds";
|
|
55
|
+
readonly CreateDocumentElement: "cde";
|
|
56
|
+
readonly CreateGraph: "cgr";
|
|
57
|
+
readonly CreateGroup: "cg";
|
|
58
|
+
readonly CreateLine: "cl";
|
|
59
|
+
readonly CreatePage: "cp";
|
|
60
|
+
readonly CreateUserImage: "cui";
|
|
61
|
+
readonly DataAction: "da";
|
|
62
|
+
readonly DataItemExists: "die";
|
|
63
|
+
readonly DeleteDocumentElement: "dde";
|
|
64
|
+
readonly DeleteItem: "di";
|
|
65
|
+
readonly DeletePage: "dp";
|
|
66
|
+
readonly DeleteShapeData: "dsd";
|
|
67
|
+
readonly DeleteTableColumn: "dtc";
|
|
68
|
+
readonly DeleteTableRow: "dtr";
|
|
69
|
+
readonly Download: "d";
|
|
70
|
+
readonly DragPointerMove: "dpm";
|
|
71
|
+
readonly DragPointerUp: "dpu";
|
|
72
|
+
readonly DuplicateItems: "dis";
|
|
73
|
+
readonly ElementExists: "ee";
|
|
74
|
+
readonly ExecuteFormula: "ef";
|
|
75
|
+
readonly FindAvailableSpace: "fas";
|
|
76
|
+
readonly FireBeaconEvent: "fbe";
|
|
77
|
+
readonly GetCardIntegrationConfig: "gcic";
|
|
78
|
+
readonly GetConnectedLines: "gcl";
|
|
79
|
+
readonly GetCurrentPage: "gcp";
|
|
80
|
+
readonly GetCustomShape: "gcs";
|
|
81
|
+
readonly GetDataItemField: "gdif";
|
|
82
|
+
readonly GetDeveloperModeStatus: "gdms";
|
|
83
|
+
readonly GetDocumentAccessPermission: "gdap";
|
|
84
|
+
readonly GetDocumentChunks: "gdc";
|
|
85
|
+
readonly GetDocumentId: "gdid";
|
|
86
|
+
readonly GetElementType: "get";
|
|
87
|
+
readonly GetEnvironmentConfig: "gec";
|
|
88
|
+
readonly GetItemPageId: "gip";
|
|
89
|
+
readonly GetItemsAt: "gia";
|
|
90
|
+
readonly GetLLMContextFromItems: "llm";
|
|
91
|
+
readonly GetOAuthClientId: "goci";
|
|
92
|
+
readonly GetOAuthToken: "got";
|
|
93
|
+
readonly GetPackageSettings: "gps";
|
|
94
|
+
readonly GetProduct: "gpr";
|
|
95
|
+
readonly GetProperty: "gp";
|
|
96
|
+
readonly GetReferenceKey: "grk";
|
|
97
|
+
readonly GetRelativeLinePosition: "grlp";
|
|
98
|
+
readonly GetSelection: "gs";
|
|
99
|
+
readonly GetShapeData: "gsd";
|
|
100
|
+
readonly GetSvg: "gsvg";
|
|
101
|
+
readonly GetTextStyle: "gts";
|
|
102
|
+
readonly GetUserId: "guid";
|
|
103
|
+
readonly GetVisibleRect: "gvr";
|
|
104
|
+
readonly HideModal: "hm";
|
|
105
|
+
readonly HidePanel: "hp";
|
|
106
|
+
readonly HookAllChanges: "hac";
|
|
107
|
+
readonly HookCreateItems: "hci";
|
|
108
|
+
readonly HookDeleteItems: "hdi";
|
|
109
|
+
readonly HookSelection: "hs";
|
|
110
|
+
readonly HookTextEdit: "hte";
|
|
111
|
+
readonly ImportCards: "ic";
|
|
112
|
+
readonly ImportLinks: "il";
|
|
113
|
+
readonly ImportPage: "imp";
|
|
114
|
+
readonly KillExtension: "k";
|
|
115
|
+
readonly ListBlocks: "lb";
|
|
116
|
+
readonly ListCollectionFields: "lcf";
|
|
117
|
+
readonly ListCollections: "lc";
|
|
118
|
+
readonly ListDataItems: "ldi";
|
|
119
|
+
readonly ListDataSources: "lds";
|
|
120
|
+
readonly ListDocumentElements: "lde";
|
|
121
|
+
readonly ListGroups: "lg";
|
|
122
|
+
readonly ListLines: "ll";
|
|
123
|
+
readonly ListPages: "lp";
|
|
124
|
+
readonly ListProperties: "lpr";
|
|
125
|
+
readonly ListReferenceKeys: "lrk";
|
|
126
|
+
readonly ListShapeData: "lsd";
|
|
127
|
+
readonly ListTextAreas: "lta";
|
|
128
|
+
readonly LoadBlockClasses: "lbc";
|
|
129
|
+
readonly LogForTestCase: "log";
|
|
130
|
+
readonly MeasureText: "mt";
|
|
131
|
+
readonly OffsetItems: "oi";
|
|
132
|
+
readonly PatchDataItems: "pdi";
|
|
133
|
+
readonly Prompt: "p";
|
|
134
|
+
/** @ignore */
|
|
135
|
+
readonly RegisterAiAgent: "raa";
|
|
136
|
+
readonly RegisterPanel: "rp";
|
|
137
|
+
readonly RegisterUnfurl: "ru";
|
|
138
|
+
readonly ReloadExtension: "r";
|
|
139
|
+
readonly SendAsyncOAuthRequest: "aoauth";
|
|
140
|
+
readonly SendOAuthRequest: "oauth";
|
|
141
|
+
readonly SendPermanentTokenRequest: "perm";
|
|
142
|
+
readonly SendUIMessage: "suim";
|
|
143
|
+
readonly SendXHR: "xhr";
|
|
144
|
+
readonly SetCurrentPage: "scp";
|
|
145
|
+
readonly SetPackageSettings: "sps";
|
|
146
|
+
readonly SetProperty: "sp";
|
|
147
|
+
readonly SetReferenceKey: "srk";
|
|
148
|
+
readonly SetSelection: "ss";
|
|
149
|
+
readonly SetShapeData: "ssd";
|
|
150
|
+
readonly SetText: "st";
|
|
151
|
+
readonly SetTextStyle: "sts";
|
|
152
|
+
readonly ShowModal: "sm";
|
|
153
|
+
readonly ShowPackageSettingsModal: "spsm";
|
|
154
|
+
readonly ShowPanel: "spn";
|
|
155
|
+
readonly SleepForTestCase: "sleep";
|
|
156
|
+
readonly StartDragBlockToCanvas: "sdc";
|
|
157
|
+
readonly StartPDFUploadRequest: "pdf";
|
|
158
|
+
readonly ThrowForTestCase: "throw";
|
|
159
|
+
readonly TriggerAuthFlow: "tauth";
|
|
160
|
+
readonly UnhookAllChanges: "uac";
|
|
161
|
+
readonly UnhookCreateItems: "uci";
|
|
162
|
+
readonly UnhookDeleteItems: "udi";
|
|
163
|
+
readonly UnhookSelection: "us";
|
|
164
|
+
readonly UnhookTextEdit: "ute";
|
|
165
|
+
readonly UpdateCardIntegrationConfig: "ucic";
|
|
166
|
+
readonly WithMutex: "wm";
|
|
167
|
+
readonly WithSilentActions: "wsa";
|
|
168
|
+
readonly ZOrder: "z";
|
|
169
|
+
};
|
|
170
|
+
export type CommandName = (typeof CommandName)[keyof typeof CommandName];
|
|
168
171
|
/** @ignore */
|
|
169
172
|
export declare const commandTitles: Map<CommandName, string>;
|
|
170
173
|
/**
|
|
@@ -591,6 +594,11 @@ export type CommandArgs = {
|
|
|
591
594
|
query: PromptQuery;
|
|
592
595
|
result: PromptResult;
|
|
593
596
|
};
|
|
597
|
+
/** @ignore */
|
|
598
|
+
[CommandName.RegisterAiAgent]: {
|
|
599
|
+
query: RegisterAiAgentQuery;
|
|
600
|
+
result: RegisterAiAgentResult;
|
|
601
|
+
};
|
|
594
602
|
[CommandName.RegisterPanel]: {
|
|
595
603
|
query: RegisterPanelQuery;
|
|
596
604
|
result: RegisterPanelResult;
|
|
@@ -725,9 +733,10 @@ export type CommandArgs = {
|
|
|
725
733
|
};
|
|
726
734
|
};
|
|
727
735
|
export type AuthorizationFlowHandlerProvider = string;
|
|
728
|
-
export declare
|
|
729
|
-
OnFailure
|
|
730
|
-
}
|
|
736
|
+
export declare const AuthorizationFlowHandlerStage: {
|
|
737
|
+
readonly OnFailure: "onFailure";
|
|
738
|
+
};
|
|
739
|
+
export type AuthorizationFlowHandlerStage = (typeof AuthorizationFlowHandlerStage)[keyof typeof AuthorizationFlowHandlerStage];
|
|
731
740
|
export type AddAuthorizationFlowHandlerQuery = {
|
|
732
741
|
/**
|
|
733
742
|
* Specifies the callback function to run when the handler is triggered.
|
|
@@ -746,6 +755,76 @@ export type AddCardsActions = {
|
|
|
746
755
|
/** Create card action */
|
|
747
756
|
'cc': string;
|
|
748
757
|
};
|
|
758
|
+
export type DependencyMappingSettings = {
|
|
759
|
+
/** Whether to enable dependency mapping for this integration */
|
|
760
|
+
'sdm'?: boolean;
|
|
761
|
+
/**
|
|
762
|
+
* Import dependencies action
|
|
763
|
+
* Inconsistent naming convention, to avoid calling this "ID"
|
|
764
|
+
*/
|
|
765
|
+
'idep'?: string | undefined;
|
|
766
|
+
/**
|
|
767
|
+
* If specified, the text phrases to show in the dependency mapping UI.
|
|
768
|
+
* If not specified, dependency mapping for this integration uses the default fallback phrases.
|
|
769
|
+
*/
|
|
770
|
+
'dmp'?: {
|
|
771
|
+
/** Entrypoint text */
|
|
772
|
+
'ep'?: string;
|
|
773
|
+
/**
|
|
774
|
+
* Text for on-card badge for dependency mapping
|
|
775
|
+
* String, not a function itself; this is the name of the client's registered action hook
|
|
776
|
+
*/
|
|
777
|
+
'cl'?: string;
|
|
778
|
+
/** Text for the dependency manager */
|
|
779
|
+
'm'?: {
|
|
780
|
+
/** Header */
|
|
781
|
+
'h'?: string;
|
|
782
|
+
/** All links label */
|
|
783
|
+
'all'?: string;
|
|
784
|
+
/** Show all links button text */
|
|
785
|
+
'salb'?: string;
|
|
786
|
+
/** Hide all links button text */
|
|
787
|
+
'halb'?: string;
|
|
788
|
+
/** Show all links tooltip text (when disabled) */
|
|
789
|
+
'dsalt'?: string;
|
|
790
|
+
/** Hide all links tooltip text (when disabled) */
|
|
791
|
+
'dhalt'?: string;
|
|
792
|
+
/** Text for various empty states */
|
|
793
|
+
'es'?: {
|
|
794
|
+
/** Create link instruction text */
|
|
795
|
+
'cli'?: string;
|
|
796
|
+
/** Instructional text when no items are selected */
|
|
797
|
+
'nssi'?: string;
|
|
798
|
+
/** Heading text when no items are selected */
|
|
799
|
+
'nssh'?: string;
|
|
800
|
+
/**
|
|
801
|
+
* Heading text when selected item has no links
|
|
802
|
+
* String, not a function itself; this is the name of the client's registered action hook
|
|
803
|
+
*/
|
|
804
|
+
'ndh'?: string;
|
|
805
|
+
/** Text when multiple items are selected and have no links */
|
|
806
|
+
'mikwnl'?: string;
|
|
807
|
+
};
|
|
808
|
+
};
|
|
809
|
+
/** Text for editing a dependency */
|
|
810
|
+
'ed'?: {
|
|
811
|
+
'ch'?: string;
|
|
812
|
+
'cnlo'?: string;
|
|
813
|
+
'dh'?: string;
|
|
814
|
+
'dd'?: string;
|
|
815
|
+
'dab'?: string;
|
|
816
|
+
/**
|
|
817
|
+
* Selected issue heading
|
|
818
|
+
* String, not a function itself; this is the name of the client's registered action hook
|
|
819
|
+
*/
|
|
820
|
+
'sih'?: string;
|
|
821
|
+
};
|
|
822
|
+
/**
|
|
823
|
+
* Item label phrase
|
|
824
|
+
*/
|
|
825
|
+
'ilp'?: string;
|
|
826
|
+
} | undefined;
|
|
827
|
+
};
|
|
749
828
|
export type AutoSyncSettings = {
|
|
750
829
|
/** Phrases */
|
|
751
830
|
'p'?: {
|
|
@@ -772,6 +851,7 @@ export type AutoSyncSettings = {
|
|
|
772
851
|
/** Generate preset value action */
|
|
773
852
|
'gpv': string;
|
|
774
853
|
} | undefined;
|
|
854
|
+
'cftqs'?: string | undefined;
|
|
775
855
|
};
|
|
776
856
|
export type SerializedFieldConfiguration = {
|
|
777
857
|
/** Callback to get field definitions for all fields supported by the card integration */
|
|
@@ -851,13 +931,6 @@ export type AddCardIntegrationQuery = {
|
|
|
851
931
|
'ac'?: AddCardsActions | undefined;
|
|
852
932
|
/** If specified, auto sync settings */
|
|
853
933
|
'as'?: AutoSyncSettings | undefined;
|
|
854
|
-
/** Whether to enable dependency mapping for this integration */
|
|
855
|
-
'sdm'?: boolean;
|
|
856
|
-
/**
|
|
857
|
-
* Import dependencies action
|
|
858
|
-
* Inconsistent naming convention, to avoid calling this "ID"
|
|
859
|
-
*/
|
|
860
|
-
'idep'?: string | undefined;
|
|
861
934
|
/** Icons to display throughout the card integration */
|
|
862
935
|
'icu'?: {
|
|
863
936
|
/** Primary Icon Url */
|
|
@@ -877,67 +950,6 @@ export type AddCardIntegrationQuery = {
|
|
|
877
950
|
* Banner action callback, to handle action button clicks in import error banners
|
|
878
951
|
*/
|
|
879
952
|
'bac'?: string | undefined;
|
|
880
|
-
/**
|
|
881
|
-
* If specified, the text phrases to show in the dependency mapping UI.
|
|
882
|
-
* If not specified, dependency mapping for this integration uses the default fallback phrases.
|
|
883
|
-
*/
|
|
884
|
-
'dmp'?: {
|
|
885
|
-
/** Entrypoint text */
|
|
886
|
-
'ep'?: string;
|
|
887
|
-
/**
|
|
888
|
-
* Text for on-card badge for dependency mapping
|
|
889
|
-
* String, not a function itself; this is the name of the client's registered action hook
|
|
890
|
-
*/
|
|
891
|
-
'cl'?: string;
|
|
892
|
-
/** Text for the dependency manager */
|
|
893
|
-
'm'?: {
|
|
894
|
-
/** Header */
|
|
895
|
-
'h'?: string;
|
|
896
|
-
/** All links label */
|
|
897
|
-
'all'?: string;
|
|
898
|
-
/** Show all links button text */
|
|
899
|
-
'salb'?: string;
|
|
900
|
-
/** Hide all links button text */
|
|
901
|
-
'halb'?: string;
|
|
902
|
-
/** Show all links tooltip text (when disabled) */
|
|
903
|
-
'dsalt'?: string;
|
|
904
|
-
/** Hide all links tooltip text (when disabled) */
|
|
905
|
-
'dhalt'?: string;
|
|
906
|
-
/** Text for various empty states */
|
|
907
|
-
'es'?: {
|
|
908
|
-
/** Create link instruction text */
|
|
909
|
-
'cli'?: string;
|
|
910
|
-
/** Instructional text when no items are selected */
|
|
911
|
-
'nssi'?: string;
|
|
912
|
-
/** Heading text when no items are selected */
|
|
913
|
-
'nssh'?: string;
|
|
914
|
-
/**
|
|
915
|
-
* Heading text when selected item has no links
|
|
916
|
-
* String, not a function itself; this is the name of the client's registered action hook
|
|
917
|
-
*/
|
|
918
|
-
'ndh'?: string;
|
|
919
|
-
/** Text when multiple items are selected and have no links */
|
|
920
|
-
'mikwnl'?: string;
|
|
921
|
-
};
|
|
922
|
-
};
|
|
923
|
-
/** Text for editing a dependency */
|
|
924
|
-
'ed'?: {
|
|
925
|
-
'ch'?: string;
|
|
926
|
-
'cnlo'?: string;
|
|
927
|
-
'dh'?: string;
|
|
928
|
-
'dd'?: string;
|
|
929
|
-
'dab'?: string;
|
|
930
|
-
/**
|
|
931
|
-
* Selected issue heading
|
|
932
|
-
* String, not a function itself; this is the name of the client's registered action hook
|
|
933
|
-
*/
|
|
934
|
-
'sih'?: string;
|
|
935
|
-
};
|
|
936
|
-
/**
|
|
937
|
-
* Item label phrase
|
|
938
|
-
*/
|
|
939
|
-
'ilp'?: string;
|
|
940
|
-
} | undefined;
|
|
941
953
|
/**
|
|
942
954
|
* If provided, this data is used to turn links pasted on the canvas that match the domain(s) into primary keys and
|
|
943
955
|
* other helpful data, which are sent back to the extension as an import action.
|
|
@@ -962,7 +974,7 @@ export type AddCardIntegrationQuery = {
|
|
|
962
974
|
/** Get selected instance ID action */
|
|
963
975
|
'gsii': string;
|
|
964
976
|
} | undefined;
|
|
965
|
-
};
|
|
977
|
+
} & DependencyMappingSettings;
|
|
966
978
|
export type AddCardIntegrationResult = undefined;
|
|
967
979
|
export type AddLineTextAreaQuery = {
|
|
968
980
|
/** Which line */
|
|
@@ -1100,6 +1112,7 @@ export type AddSpreadsheetIntegrationQuery = {
|
|
|
1100
1112
|
'ac'?: AddCardsActions | undefined;
|
|
1101
1113
|
/** fieldConfiguration */
|
|
1102
1114
|
'fc'?: Partial<SerializedFieldConfiguration>;
|
|
1115
|
+
'dm'?: DependencyMappingSettings | undefined;
|
|
1103
1116
|
};
|
|
1104
1117
|
/** @ignore until spreadsheet integration is ready for launch (CHART-51946) */
|
|
1105
1118
|
export type AddSpreadsheetIntegrationResult = undefined;
|
|
@@ -1171,10 +1184,11 @@ export type BootstrapQuery = {
|
|
|
1171
1184
|
'm'?: boolean | undefined;
|
|
1172
1185
|
};
|
|
1173
1186
|
export type BootstrapResult = Promise<void>;
|
|
1174
|
-
export declare
|
|
1187
|
+
export declare const HashAlgorithmEnum: {
|
|
1175
1188
|
/** Use the SHA 256 hashing algorithm */
|
|
1176
|
-
sha256
|
|
1177
|
-
}
|
|
1189
|
+
readonly sha256: "SHA256";
|
|
1190
|
+
};
|
|
1191
|
+
export type HashAlgorithmEnum = (typeof HashAlgorithmEnum)[keyof typeof HashAlgorithmEnum];
|
|
1178
1192
|
export type CalculateHashQuery = {
|
|
1179
1193
|
'a': HashAlgorithmEnum;
|
|
1180
1194
|
's': string;
|
|
@@ -1476,16 +1490,17 @@ export type GetDeveloperModeStatusQuery = void;
|
|
|
1476
1490
|
export type GetDeveloperModeStatusResult = boolean;
|
|
1477
1491
|
export type GetDocumentAccessPermissionQuery = void;
|
|
1478
1492
|
export type GetDocumentAccessPermissionResult = DocumentAccessPermission;
|
|
1479
|
-
export declare
|
|
1493
|
+
export declare const GetDocumentChunksType: {
|
|
1480
1494
|
/**
|
|
1481
1495
|
* Breaks up a document into chunks geographically
|
|
1482
1496
|
*/
|
|
1483
|
-
Geographic
|
|
1497
|
+
readonly Geographic: 0;
|
|
1484
1498
|
/**
|
|
1485
1499
|
* Breaks up a document into chunks by finding containing blocks
|
|
1486
1500
|
*/
|
|
1487
|
-
Container
|
|
1488
|
-
}
|
|
1501
|
+
readonly Container: 1;
|
|
1502
|
+
};
|
|
1503
|
+
export type GetDocumentChunksType = (typeof GetDocumentChunksType)[keyof typeof GetDocumentChunksType];
|
|
1489
1504
|
export type GetDocumentChunksQuery = {
|
|
1490
1505
|
't': GetDocumentChunksType[];
|
|
1491
1506
|
};
|
|
@@ -1503,11 +1518,12 @@ export type GetDocumentIdQuery = void;
|
|
|
1503
1518
|
export type GetDocumentIdResult = string;
|
|
1504
1519
|
export type GetItemPageIdQuery = string;
|
|
1505
1520
|
export type GetItemPageIdResult = string;
|
|
1506
|
-
export declare
|
|
1507
|
-
PossiblyOverlapping
|
|
1508
|
-
Overlapping
|
|
1509
|
-
Contained
|
|
1510
|
-
}
|
|
1521
|
+
export declare const GetItemsAtSearchType: {
|
|
1522
|
+
readonly PossiblyOverlapping: 0;
|
|
1523
|
+
readonly Overlapping: 1;
|
|
1524
|
+
readonly Contained: 2;
|
|
1525
|
+
};
|
|
1526
|
+
export type GetItemsAtSearchType = (typeof GetItemsAtSearchType)[keyof typeof GetItemsAtSearchType];
|
|
1511
1527
|
export type GetItemsAtQuery = {
|
|
1512
1528
|
/** Page ID to search */
|
|
1513
1529
|
'p': string;
|
|
@@ -1518,21 +1534,22 @@ export type GetItemsAtQuery = {
|
|
|
1518
1534
|
};
|
|
1519
1535
|
/** IDs of the items found */
|
|
1520
1536
|
export type GetItemsAtResult = string[];
|
|
1521
|
-
export declare
|
|
1537
|
+
export declare const GetLLMContextType: {
|
|
1522
1538
|
/** Get context in a format for LLMs where relationships among connected and
|
|
1523
1539
|
* contained items are preserved. Expand the scope of the selection to
|
|
1524
1540
|
* include blocks contained by the selection as well as lines connecting
|
|
1525
1541
|
* items in the selection. */
|
|
1526
|
-
Relational
|
|
1542
|
+
readonly Relational: 1;
|
|
1527
1543
|
/** Get context containing only plain text displayed on the given items, more suitable for embeddings */
|
|
1528
|
-
PlainText
|
|
1544
|
+
readonly PlainText: 2;
|
|
1529
1545
|
/** Get context in a format for LLMs where relationships among connected and
|
|
1530
1546
|
* contained items are preserved. Do not expand the scope of the selection,
|
|
1531
1547
|
* other than to ensure relationships are represented. Text on selected
|
|
1532
1548
|
* items will be included, but text on automatically added items will not.
|
|
1533
1549
|
* */
|
|
1534
|
-
RelationalWithoutExpansion
|
|
1535
|
-
}
|
|
1550
|
+
readonly RelationalWithoutExpansion: 3;
|
|
1551
|
+
};
|
|
1552
|
+
export type GetLLMContextType = (typeof GetLLMContextType)[keyof typeof GetLLMContextType];
|
|
1536
1553
|
export type GetLLMContextFromItemsQuery = {
|
|
1537
1554
|
/** Page ID to find closely-related items */
|
|
1538
1555
|
'p': string;
|
|
@@ -1747,11 +1764,12 @@ export type MeasureTextResult = {
|
|
|
1747
1764
|
/** Text area height */
|
|
1748
1765
|
'h': number;
|
|
1749
1766
|
};
|
|
1750
|
-
export declare
|
|
1751
|
-
FLOWCHART
|
|
1752
|
-
CLASS_DIAGRAM
|
|
1753
|
-
ERD
|
|
1754
|
-
}
|
|
1767
|
+
export declare const MermaidDiagramType: {
|
|
1768
|
+
readonly FLOWCHART: "flowchart";
|
|
1769
|
+
readonly CLASS_DIAGRAM: "class_diagram";
|
|
1770
|
+
readonly ERD: "erd";
|
|
1771
|
+
};
|
|
1772
|
+
export type MermaidDiagramType = (typeof MermaidDiagramType)[keyof typeof MermaidDiagramType];
|
|
1755
1773
|
export type AddDiagramFromMermaidQuery = {
|
|
1756
1774
|
/** Type of diagram as an enum, e.g., flowchart. */
|
|
1757
1775
|
't': MermaidDiagramType;
|
|
@@ -2078,12 +2096,13 @@ export type WithSilentActionsQuery = {
|
|
|
2078
2096
|
'a': string;
|
|
2079
2097
|
};
|
|
2080
2098
|
export type WithSilentActionsResult = void;
|
|
2081
|
-
export declare
|
|
2082
|
-
UP
|
|
2083
|
-
TOP
|
|
2084
|
-
DOWN
|
|
2085
|
-
BOTTOM
|
|
2086
|
-
}
|
|
2099
|
+
export declare const ZOrderOperation: {
|
|
2100
|
+
readonly UP: 1;
|
|
2101
|
+
readonly TOP: 2;
|
|
2102
|
+
readonly DOWN: 3;
|
|
2103
|
+
readonly BOTTOM: 4;
|
|
2104
|
+
};
|
|
2105
|
+
export type ZOrderOperation = (typeof ZOrderOperation)[keyof typeof ZOrderOperation];
|
|
2087
2106
|
export type ZOrderQuery = {
|
|
2088
2107
|
/** IDs of the items to adjust Z order */
|
|
2089
2108
|
'i': string[];
|
|
@@ -2096,4 +2115,42 @@ export type CheckUserFeatureFlagAssignmentQuery = {
|
|
|
2096
2115
|
'f': string;
|
|
2097
2116
|
};
|
|
2098
2117
|
export type CheckUserFeatureFlagAssignmentResult = boolean;
|
|
2118
|
+
/**
|
|
2119
|
+
* @ignore
|
|
2120
|
+
* Definition of a custom tool that an extension can register with an AI agent.
|
|
2121
|
+
*/
|
|
2122
|
+
export type ExtensionToolDefinition = {
|
|
2123
|
+
/** Unique name for this tool within the extension */
|
|
2124
|
+
'n': string;
|
|
2125
|
+
/** Full description with usage instructions for the LLM */
|
|
2126
|
+
'd': string;
|
|
2127
|
+
/** Named action to invoke when the tool is called */
|
|
2128
|
+
'a': string;
|
|
2129
|
+
};
|
|
2130
|
+
/**
|
|
2131
|
+
* @ignore
|
|
2132
|
+
* Query to register an AI agent from an extension.
|
|
2133
|
+
*/
|
|
2134
|
+
export type RegisterAiAgentQuery = {
|
|
2135
|
+
/** Agent name (unique identifier within the extension) */
|
|
2136
|
+
'n': string;
|
|
2137
|
+
/** High-level overview of this agent for other agents/planning (1-2 sentences) */
|
|
2138
|
+
'ab': string;
|
|
2139
|
+
/** Built-in tool names this agent can access (subset of AiToolName values) */
|
|
2140
|
+
'bt'?: string[] | undefined;
|
|
2141
|
+
/** Custom tools defined by this extension */
|
|
2142
|
+
'ct': ExtensionToolDefinition[];
|
|
2143
|
+
/** System prompt for the agent */
|
|
2144
|
+
'sp': string;
|
|
2145
|
+
};
|
|
2146
|
+
/**
|
|
2147
|
+
* @ignore
|
|
2148
|
+
* Result of registering an AI agent.
|
|
2149
|
+
*/
|
|
2150
|
+
export type RegisterAiAgentResult = {
|
|
2151
|
+
/** Whether registration succeeded */
|
|
2152
|
+
's': boolean;
|
|
2153
|
+
/** Error message if registration failed */
|
|
2154
|
+
'e'?: string;
|
|
2155
|
+
};
|
|
2099
2156
|
export {};
|