lucid-extension-sdk 0.0.200 → 0.0.201
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 +7 -0
- package/commandtypes.js +1 -0
- package/package.json +1 -1
package/commandtypes.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ export declare const enum CommandName {
|
|
|
64
64
|
GetDocumentAccessPermission = "gdap",
|
|
65
65
|
GetDocumentId = "gdid",
|
|
66
66
|
GetElementType = "get",
|
|
67
|
+
GetEnvironmentConfig = "gec",
|
|
67
68
|
GetItemPageId = "gip",
|
|
68
69
|
GetItemsAt = "gia",
|
|
69
70
|
GetOAuthToken = "got",
|
|
@@ -313,6 +314,10 @@ export type CommandArgs = {
|
|
|
313
314
|
query: GetElementTypeQuery;
|
|
314
315
|
result: GetElementTypeResult;
|
|
315
316
|
};
|
|
317
|
+
[CommandName.GetEnvironmentConfig]: {
|
|
318
|
+
query: GetEnvironmentConfigQuery;
|
|
319
|
+
result: GetEnvironmentConfigResult;
|
|
320
|
+
};
|
|
316
321
|
[CommandName.GetItemPageId]: {
|
|
317
322
|
query: GetItemPageIdQuery;
|
|
318
323
|
result: GetItemPageIdResult;
|
|
@@ -958,6 +963,8 @@ export type GetElementTypeQuery = {
|
|
|
958
963
|
'id'?: string | undefined;
|
|
959
964
|
};
|
|
960
965
|
export type GetElementTypeResult = 'block' | 'line' | 'group' | 'visual-activity' | 'page' | 'document' | 'generator' | 'panel';
|
|
966
|
+
export type GetEnvironmentConfigQuery = string;
|
|
967
|
+
export type GetEnvironmentConfigResult = JsonSerializable;
|
|
961
968
|
export type GetConnectedLinesQuery = string;
|
|
962
969
|
export type GetConnectedLinesResult = string[];
|
|
963
970
|
export type GetCurrentPageQuery = void;
|
package/commandtypes.js
CHANGED
|
@@ -42,6 +42,7 @@ exports.commandTitles = new Map([
|
|
|
42
42
|
["gdap" /* CommandName.GetDocumentAccessPermission */, 'GetDocumentAccessPermission'],
|
|
43
43
|
["gdid" /* CommandName.GetDocumentId */, 'GetDocumentId'],
|
|
44
44
|
["get" /* CommandName.GetElementType */, 'GetElementType'],
|
|
45
|
+
["gec" /* CommandName.GetEnvironmentConfig */, 'GetEnvironmentConfig'],
|
|
45
46
|
["gip" /* CommandName.GetItemPageId */, 'GetItemPageId'],
|
|
46
47
|
["gia" /* CommandName.GetItemsAt */, 'GetItemsAt'],
|
|
47
48
|
["got" /* CommandName.GetOAuthToken */, 'GetOAuthToken'],
|