lucid-extension-sdk 0.0.203 → 0.0.204
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 +10 -0
- package/commandtypes.js +1 -0
- package/package.json +1 -1
package/commandtypes.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export declare const enum CommandName {
|
|
|
56
56
|
ElementExists = "ee",
|
|
57
57
|
ExecuteFormula = "ef",
|
|
58
58
|
FindAvailableSpace = "fas",
|
|
59
|
+
FireBeaconEvent = "fbe",
|
|
59
60
|
GetOAuthClientId = "goci",
|
|
60
61
|
GetConnectedLines = "gcl",
|
|
61
62
|
GetCurrentPage = "gcp",
|
|
@@ -283,6 +284,10 @@ export type CommandArgs = {
|
|
|
283
284
|
query: FindAvailableSpaceQuery;
|
|
284
285
|
result: FindAvailableSpaceResult;
|
|
285
286
|
};
|
|
287
|
+
[CommandName.FireBeaconEvent]: {
|
|
288
|
+
query: FireBeaconEventQuery;
|
|
289
|
+
result: FireBeaconEventResult;
|
|
290
|
+
};
|
|
286
291
|
[CommandName.GetOAuthClientId]: {
|
|
287
292
|
query: GetOAuthClientIdQuery;
|
|
288
293
|
result: GetOAuthClientIdResult;
|
|
@@ -957,6 +962,11 @@ export type FindAvailableSpaceResult = {
|
|
|
957
962
|
/** Origin of the rectangle of empty space */
|
|
958
963
|
'y': number;
|
|
959
964
|
};
|
|
965
|
+
export type FireBeaconEventQuery = {
|
|
966
|
+
/** the beacon event to be sent */
|
|
967
|
+
'e': string;
|
|
968
|
+
};
|
|
969
|
+
export type FireBeaconEventResult = void;
|
|
960
970
|
export type AnimateViewportQuery = {
|
|
961
971
|
/** ID of the page to view */
|
|
962
972
|
'p': string;
|
package/commandtypes.js
CHANGED
|
@@ -34,6 +34,7 @@ exports.commandTitles = new Map([
|
|
|
34
34
|
["ee" /* CommandName.ElementExists */, 'ElementExists'],
|
|
35
35
|
["ef" /* CommandName.ExecuteFormula */, 'ExecuteFormula'],
|
|
36
36
|
["fas" /* CommandName.FindAvailableSpace */, 'FindAvailableSpace'],
|
|
37
|
+
["fbe" /* CommandName.FireBeaconEvent */, 'FireBeaconEvent'],
|
|
37
38
|
["goci" /* CommandName.GetOAuthClientId */, 'GetOAuthClientId'],
|
|
38
39
|
["gcl" /* CommandName.GetConnectedLines */, 'GetConnectedLines'],
|
|
39
40
|
["gcp" /* CommandName.GetCurrentPage */, 'GetCurrentPage'],
|