lucid-extension-sdk 0.0.173 → 0.0.175
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 +233 -217
- package/commandtypes.js +1 -0
- package/core/cardintegration/cardfielddisplaysettings.d.ts +2 -2
- package/core/cardintegration/cardintegrationconfig.d.ts +1 -1
- package/core/cardintegration/cardintegrationdefinitions.d.ts +2 -2
- package/core/checks.d.ts +1 -1
- package/core/data/fieldspecification.d.ts +4 -4
- package/core/data/fieldtypedefinition/basefieldtypedefinition.d.ts +3 -3
- package/core/data/fieldtypedefinition/collectionenumfieldtype.d.ts +1 -1
- package/core/data/fieldtypedefinition/fieldtypearray.d.ts +3 -3
- package/core/data/fieldtypedefinition/fieldtypedefinition.d.ts +2 -2
- package/core/data/fieldtypedefinition/literalfieldtype.d.ts +1 -1
- package/core/data/fieldtypedefinition/ndimensionalfieldtypearray.d.ts +1 -1
- package/core/data/referencekeys/serializedreferencekey.d.ts +4 -4
- package/core/data/serializedfield/serializedfielddefinition.d.ts +2 -2
- package/core/data/serializedfield/serializedfields.d.ts +15 -15
- package/core/data/serializedfield/serializedschema.d.ts +2 -2
- package/core/guards.d.ts +3 -3
- package/core/jsonserializable.d.ts +2 -2
- package/core/linkimporter/linkimporter.d.ts +16 -0
- package/core/linkimporter/linkimporter.js +2 -0
- package/core/offsettype.d.ts +1 -1
- package/core/optionalkey.d.ts +4 -4
- package/core/properties/datagraphic/badgeposition.d.ts +1 -1
- package/core/properties/datagraphic/datagraphicindexes.d.ts +3 -3
- package/core/properties/datagraphic/staticdatagraphicsettings.d.ts +2 -2
- package/core/properties/fillcolor.d.ts +4 -4
- package/core/properties/shadow.d.ts +1 -1
- package/core/result.d.ts +1 -1
- package/core/rules/conditions.d.ts +1 -1
- package/core/rules/serializedcondition.d.ts +3 -3
- package/core/rules/serializeddatagraphic.d.ts +2 -2
- package/core/rules/serializedeffect.d.ts +3 -3
- package/core/rules/serializedstencilgraphic.d.ts +1 -1
- package/core/serializeddataerror.d.ts +1 -1
- package/core/spreadsheetintegration/lucidspreadsheetintegration.d.ts +1 -1
- package/core/validators/validators.d.ts +1 -1
- package/core/xhr.d.ts +1 -1
- package/data/referencekeydefinition.d.ts +1 -1
- package/data/schemadefinition.d.ts +1 -1
- package/dataconnector/actions/action.d.ts +3 -3
- package/dataconnector/actions/managewebhookresponsebody.d.ts +1 -1
- package/dataconnector/actions/patchresponsebody.d.ts +4 -4
- package/dataconnector/cryptodependencies.d.ts +1 -1
- package/dataconnector/dataconnector.d.ts +3 -3
- package/dataconnector/dataconnectorclient.d.ts +1 -1
- package/dataconnector/datasourcemetadatatypes.d.ts +1 -1
- package/dataconnector/datasourceupdatetypes.d.ts +4 -4
- package/dataconnector/debugserver.d.ts +3 -3
- package/dataconnector/defaultfetchfunction.d.ts +1 -1
- package/document/blockclasses/blockproxyregistry.d.ts +1 -1
- package/document/blockclasses/customblockproxy.d.ts +1 -1
- package/document/blockclasses/linkunfurlblockproxy.d.ts +1 -1
- package/document/documentproxy.js +3 -3
- package/document/elementproxy.js +20 -20
- package/document/linedefinition.d.ts +1 -1
- package/document/linetextareapositioning.d.ts +1 -1
- package/document/mapproxy.d.ts +1 -1
- package/document/ruledefinition.d.ts +2 -2
- package/editorclient.d.ts +8 -2
- package/editorclient.js +19 -5
- package/math.d.ts +2 -2
- package/package.json +1 -1
- package/ui/modal.d.ts +1 -1
- package/ui/panel.d.ts +1 -1
- package/ui/viewport.d.ts +1 -1
package/commandtypes.d.ts
CHANGED
|
@@ -98,6 +98,7 @@ export declare const enum CommandName {
|
|
|
98
98
|
OffsetItems = "oi",
|
|
99
99
|
PatchDataItems = "pdi",
|
|
100
100
|
Prompt = "p",
|
|
101
|
+
RegisterLinkImporter = "rli",
|
|
101
102
|
RegisterPanel = "rp",
|
|
102
103
|
RegisterUnfurl = "ru",
|
|
103
104
|
ReloadExtension = "r",
|
|
@@ -136,7 +137,7 @@ export declare const commandTitles: Map<CommandName, string>;
|
|
|
136
137
|
* return types from [EditorClient.sendCommand](#classes_editorclient-EditorClient_sendcommand) based on
|
|
137
138
|
* which command name you pass in as the first parameter.
|
|
138
139
|
*/
|
|
139
|
-
export
|
|
140
|
+
export type CommandArgs = {
|
|
140
141
|
[CommandName.AddCardIntegration]: {
|
|
141
142
|
query: AddCardIntegrationQuery;
|
|
142
143
|
result: AddCardIntegrationResult;
|
|
@@ -449,6 +450,10 @@ export declare type CommandArgs = {
|
|
|
449
450
|
query: PromptQuery;
|
|
450
451
|
result: PromptResult;
|
|
451
452
|
};
|
|
453
|
+
[CommandName.RegisterLinkImporter]: {
|
|
454
|
+
query: RegisterLinkImporterQuery;
|
|
455
|
+
result: RegisterLinkImporterResult;
|
|
456
|
+
};
|
|
452
457
|
[CommandName.RegisterPanel]: {
|
|
453
458
|
query: RegisterPanelQuery;
|
|
454
459
|
result: RegisterPanelResult;
|
|
@@ -570,7 +575,7 @@ export declare type CommandArgs = {
|
|
|
570
575
|
result: ZOrderResult;
|
|
571
576
|
};
|
|
572
577
|
};
|
|
573
|
-
export
|
|
578
|
+
export type AddCardIntegrationQuery = {
|
|
574
579
|
/** Title/name */
|
|
575
580
|
'n': string;
|
|
576
581
|
/** Data connector name */
|
|
@@ -615,8 +620,8 @@ export declare type AddCardIntegrationQuery = {
|
|
|
615
620
|
'cc': string;
|
|
616
621
|
} | undefined;
|
|
617
622
|
};
|
|
618
|
-
export
|
|
619
|
-
export
|
|
623
|
+
export type AddCardIntegrationResult = undefined;
|
|
624
|
+
export type AddLineTextAreaQuery = {
|
|
620
625
|
/** Which line */
|
|
621
626
|
'id': string;
|
|
622
627
|
/** Where to place the text along the line */
|
|
@@ -625,10 +630,10 @@ export declare type AddLineTextAreaQuery = {
|
|
|
625
630
|
't': string;
|
|
626
631
|
};
|
|
627
632
|
/** The name of the created text area */
|
|
628
|
-
export
|
|
633
|
+
export type AddLineTextAreaResult = string;
|
|
629
634
|
/** @ignore */
|
|
630
|
-
export
|
|
631
|
-
export
|
|
635
|
+
export type UnionToIntersection<T> = (T extends any ? (x: T) => unknown : never) extends (x: infer R) => unknown ? R : never;
|
|
636
|
+
export type AddMenuItemQuery = {
|
|
632
637
|
/** Label to display on the menu item */
|
|
633
638
|
'l': string;
|
|
634
639
|
/** Named action to run when the menu item is clicked */
|
|
@@ -653,8 +658,8 @@ export declare type AddMenuItemQuery = {
|
|
|
653
658
|
'b'?: boolean;
|
|
654
659
|
} | undefined;
|
|
655
660
|
};
|
|
656
|
-
export
|
|
657
|
-
export
|
|
661
|
+
export type AddMenuItemResult = undefined;
|
|
662
|
+
export type AddShapeDataQuery = {
|
|
658
663
|
/** ID of the element to add this shape data to */
|
|
659
664
|
'id'?: string | undefined;
|
|
660
665
|
/** Name for this shape data */
|
|
@@ -664,9 +669,9 @@ export declare type AddShapeDataQuery = {
|
|
|
664
669
|
/** Initial value of this shape data; use a string beginning with '=' for a formula */
|
|
665
670
|
'v'?: SerializedFieldType;
|
|
666
671
|
};
|
|
667
|
-
export
|
|
672
|
+
export type AddShapeDataResult = undefined;
|
|
668
673
|
/** @ignore until spreadsheet integration is ready for launch (CHART-51946) */
|
|
669
|
-
export
|
|
674
|
+
export type AddSpreadsheetIntegrationQuery = {
|
|
670
675
|
/** labelDescription */
|
|
671
676
|
'ld': string;
|
|
672
677
|
/** labelIconUrl */
|
|
@@ -683,8 +688,8 @@ export declare type AddSpreadsheetIntegrationQuery = {
|
|
|
683
688
|
'ic': string;
|
|
684
689
|
};
|
|
685
690
|
/** @ignore until spreadsheet integration is ready for launch (CHART-51946) */
|
|
686
|
-
export
|
|
687
|
-
export
|
|
691
|
+
export type AddSpreadsheetIntegrationResult = undefined;
|
|
692
|
+
export type AlertQuery = {
|
|
688
693
|
/** Title; defaults to extension title */
|
|
689
694
|
't'?: string | undefined;
|
|
690
695
|
/** Body text */
|
|
@@ -693,16 +698,16 @@ export declare type AlertQuery = {
|
|
|
693
698
|
'bt'?: string | undefined;
|
|
694
699
|
};
|
|
695
700
|
/** True if they click OK, false otherwise */
|
|
696
|
-
export
|
|
697
|
-
export
|
|
701
|
+
export type AlertResult = Promise<boolean>;
|
|
702
|
+
export type AwaitDataSourceImportQuery = {
|
|
698
703
|
/** Data Connector Name */
|
|
699
704
|
'n': string;
|
|
700
705
|
/** Sync data source ID Nonce */
|
|
701
706
|
's': string;
|
|
702
707
|
};
|
|
703
708
|
/** Promise resolving to the data source ID where the data arrived */
|
|
704
|
-
export
|
|
705
|
-
export
|
|
709
|
+
export type AwaitDataSourceImportResult = Promise<string>;
|
|
710
|
+
export type AwaitImportQuery = {
|
|
706
711
|
/** Data Connector Name */
|
|
707
712
|
'n': string;
|
|
708
713
|
/** Sync data source ID Nonce */
|
|
@@ -715,8 +720,8 @@ export declare type AwaitImportQuery = {
|
|
|
715
720
|
't': number;
|
|
716
721
|
};
|
|
717
722
|
/** Promise resolving to the collection ID where the data arrived */
|
|
718
|
-
export
|
|
719
|
-
export
|
|
723
|
+
export type AwaitImportResult = Promise<string>;
|
|
724
|
+
export type BootstrapQuery = {
|
|
720
725
|
/**
|
|
721
726
|
* Named action that accepts the bootstrap data, and which may return a Promise or void. After awaiting\
|
|
722
727
|
* the result of the callback, the bootstrap data is cleared.
|
|
@@ -727,21 +732,21 @@ export declare type BootstrapQuery = {
|
|
|
727
732
|
*/
|
|
728
733
|
'm'?: boolean | undefined;
|
|
729
734
|
};
|
|
730
|
-
export
|
|
735
|
+
export type BootstrapResult = Promise<void>;
|
|
731
736
|
export declare enum HashAlgorithmEnum {
|
|
732
737
|
/** Use the SHA 256 hashing algorithm */
|
|
733
738
|
sha256 = "SHA256"
|
|
734
739
|
}
|
|
735
|
-
export
|
|
740
|
+
export type CalculateHashQuery = {
|
|
736
741
|
'a': HashAlgorithmEnum;
|
|
737
742
|
's': string;
|
|
738
743
|
};
|
|
739
|
-
export
|
|
740
|
-
export
|
|
741
|
-
export
|
|
742
|
-
export
|
|
743
|
-
export
|
|
744
|
-
export
|
|
744
|
+
export type CalculateHashResult = string;
|
|
745
|
+
export type CanEditPackageSettingsQuery = undefined;
|
|
746
|
+
export type CanEditPackageSettingsResult = Promise<boolean>;
|
|
747
|
+
export type CancelDragBlockToCanvasQuery = void;
|
|
748
|
+
export type CancelDragBlockToCanvasResult = undefined;
|
|
749
|
+
export type ConfirmQuery = {
|
|
745
750
|
/** Title; defaults to extension title */
|
|
746
751
|
't'?: string | undefined;
|
|
747
752
|
/** Body text */
|
|
@@ -752,8 +757,8 @@ export declare type ConfirmQuery = {
|
|
|
752
757
|
'c'?: string | undefined;
|
|
753
758
|
};
|
|
754
759
|
/** True if they click OK, false otherwise */
|
|
755
|
-
export
|
|
756
|
-
export
|
|
760
|
+
export type ConfirmResult = Promise<boolean>;
|
|
761
|
+
export type CreateBlockQuery = {
|
|
757
762
|
/**
|
|
758
763
|
* By default, we add the block to the current page & currently active group. If specified, the
|
|
759
764
|
* block will instead be created as a direct child of the given page.
|
|
@@ -764,14 +769,14 @@ export declare type CreateBlockQuery = {
|
|
|
764
769
|
/** If specified, the stencil for a custom shape. Only valid if the class name is 'CustomBlock' */
|
|
765
770
|
's'?: JsonSerializable | undefined;
|
|
766
771
|
};
|
|
767
|
-
export
|
|
768
|
-
export
|
|
772
|
+
export type CreateBlockResult = string;
|
|
773
|
+
export type CreateCollectionFieldDefinition = {
|
|
769
774
|
/** Name of the field */
|
|
770
775
|
'n': string;
|
|
771
776
|
/** Type of the values in this field */
|
|
772
777
|
't': SerializedFieldTypeDefinition;
|
|
773
778
|
};
|
|
774
|
-
export
|
|
779
|
+
export type CreateCollectionQuery = {
|
|
775
780
|
/** ID of the data source to add this collection to */
|
|
776
781
|
's': string;
|
|
777
782
|
/** Name of the collection */
|
|
@@ -782,8 +787,8 @@ export declare type CreateCollectionQuery = {
|
|
|
782
787
|
'p': string[];
|
|
783
788
|
'fl'?: Record<string, string> | undefined;
|
|
784
789
|
};
|
|
785
|
-
export
|
|
786
|
-
export
|
|
790
|
+
export type CreateCollectionResult = string;
|
|
791
|
+
export type CreateDataSourceQuery = {
|
|
787
792
|
/** Name of the data source */
|
|
788
793
|
'n': string;
|
|
789
794
|
/** Source configuration for this data source--information about where it came from, or any metadata that might be useful */
|
|
@@ -791,36 +796,36 @@ export declare type CreateDataSourceQuery = {
|
|
|
791
796
|
[key: string]: JsonSerializable;
|
|
792
797
|
};
|
|
793
798
|
};
|
|
794
|
-
export
|
|
795
|
-
export
|
|
799
|
+
export type CreateDataSourceResult = string;
|
|
800
|
+
export type CreateDocumentElementQuery = {
|
|
796
801
|
/** Type of element to create */
|
|
797
802
|
't': DocumentElementType;
|
|
798
803
|
/** Properties to set on that element */
|
|
799
804
|
'p': Record<string, any>;
|
|
800
805
|
};
|
|
801
|
-
export
|
|
802
|
-
export
|
|
806
|
+
export type CreateDocumentElementResult = string | undefined;
|
|
807
|
+
export type CreateLineQuery = {
|
|
803
808
|
/**
|
|
804
809
|
* By default, we add the line to the current page & currently active group. If specified, the
|
|
805
810
|
* line will instead be created as a direct child of the given page.
|
|
806
811
|
*/
|
|
807
812
|
'p'?: string | undefined;
|
|
808
813
|
};
|
|
809
|
-
export
|
|
810
|
-
export
|
|
811
|
-
export
|
|
812
|
-
export
|
|
814
|
+
export type CreateLineResult = string;
|
|
815
|
+
export type CreatePageQuery = void;
|
|
816
|
+
export type CreatePageResult = string;
|
|
817
|
+
export type CreateUserImageQuery = {
|
|
813
818
|
/** media type */
|
|
814
819
|
't': string;
|
|
815
820
|
/** base64-encoded image data */
|
|
816
821
|
'd': string;
|
|
817
822
|
};
|
|
818
|
-
export
|
|
823
|
+
export type RawCreateUserImageResult = {
|
|
819
824
|
/** The resulting image URL */
|
|
820
825
|
'u': string;
|
|
821
826
|
};
|
|
822
|
-
export
|
|
823
|
-
export
|
|
827
|
+
export type CreateUserImageResult = Promise<RawCreateUserImageResult>;
|
|
828
|
+
export type DataActionQuery = {
|
|
824
829
|
/** Flow Name */
|
|
825
830
|
'fn': string;
|
|
826
831
|
/** Is Async */
|
|
@@ -832,7 +837,7 @@ export declare type DataActionQuery = {
|
|
|
832
837
|
/** Data Connector Name */
|
|
833
838
|
'n': string;
|
|
834
839
|
};
|
|
835
|
-
export
|
|
840
|
+
export type RawDataActionResult = {
|
|
836
841
|
/** The external service responded with this code */
|
|
837
842
|
'c': number;
|
|
838
843
|
} & ({
|
|
@@ -842,28 +847,28 @@ export declare type RawDataActionResult = {
|
|
|
842
847
|
/** Or this JSON */
|
|
843
848
|
'j': unknown;
|
|
844
849
|
});
|
|
845
|
-
export
|
|
846
|
-
export
|
|
850
|
+
export type DataActionResult = Promise<RawDataActionResult>;
|
|
851
|
+
export type DataItemExistsQuery = {
|
|
847
852
|
/** Collection ID to check */
|
|
848
853
|
'c': string;
|
|
849
854
|
/** Primary key to check */
|
|
850
855
|
'pk': string;
|
|
851
856
|
};
|
|
852
|
-
export
|
|
853
|
-
export
|
|
854
|
-
export
|
|
855
|
-
export
|
|
856
|
-
export
|
|
857
|
-
export
|
|
858
|
-
export
|
|
859
|
-
export
|
|
857
|
+
export type DataItemExistsResult = boolean;
|
|
858
|
+
export type DeleteDocumentElementQuery = string;
|
|
859
|
+
export type DeleteDocumentElementResult = boolean;
|
|
860
|
+
export type DeleteItemQuery = string;
|
|
861
|
+
export type DeleteItemResult = boolean;
|
|
862
|
+
export type DeletePageQuery = string;
|
|
863
|
+
export type DeletePageResult = boolean;
|
|
864
|
+
export type DeleteShapeDataQuery = {
|
|
860
865
|
/** ID of the element to delete this shape data from */
|
|
861
866
|
'id'?: string | undefined;
|
|
862
867
|
/** Name for this shape data */
|
|
863
868
|
'n': string;
|
|
864
869
|
};
|
|
865
|
-
export
|
|
866
|
-
export
|
|
870
|
+
export type DeleteShapeDataResult = undefined;
|
|
871
|
+
export type DownloadQuery = {
|
|
867
872
|
/** Filename of the download */
|
|
868
873
|
'f': string;
|
|
869
874
|
/** Data to put in the file */
|
|
@@ -873,50 +878,50 @@ export declare type DownloadQuery = {
|
|
|
873
878
|
/** If true, data is base64-encoded and should be converted to binary for download */
|
|
874
879
|
'b64': boolean;
|
|
875
880
|
};
|
|
876
|
-
export
|
|
877
|
-
export
|
|
881
|
+
export type DownloadResult = undefined;
|
|
882
|
+
export type DragPointerMoveQuery = {
|
|
878
883
|
'x': number;
|
|
879
884
|
'y': number;
|
|
880
885
|
};
|
|
881
|
-
export
|
|
882
|
-
export
|
|
886
|
+
export type DragPointerMoveResult = undefined;
|
|
887
|
+
export type DragPointerUpQuery = {
|
|
883
888
|
'x': number;
|
|
884
889
|
'y': number;
|
|
885
890
|
};
|
|
886
|
-
export
|
|
887
|
-
export
|
|
891
|
+
export type DragPointerUpResult = undefined;
|
|
892
|
+
export type ElementExistsQuery = {
|
|
888
893
|
'id'?: string | undefined;
|
|
889
894
|
};
|
|
890
|
-
export
|
|
891
|
-
export
|
|
895
|
+
export type ElementExistsResult = boolean;
|
|
896
|
+
export type ExecuteFormulaQuery = {
|
|
892
897
|
/** ID of the element to execute a formula on */
|
|
893
898
|
'id': string;
|
|
894
899
|
/** Formula to execute, e.g. '@a + @b' or 'CONTAINEDBY' */
|
|
895
900
|
'f': string;
|
|
896
901
|
};
|
|
897
|
-
export
|
|
898
|
-
export
|
|
902
|
+
export type ExecuteFormulaResult = SerializedFieldType | SerializedDataError;
|
|
903
|
+
export type AnimateViewportQuery = {
|
|
899
904
|
/** ID of the page to view */
|
|
900
905
|
'p': string;
|
|
901
906
|
/** Bounding box on that page that will fill as much of the viewport as possible */
|
|
902
907
|
'bb': Box;
|
|
903
908
|
};
|
|
904
|
-
export
|
|
905
|
-
export
|
|
909
|
+
export type AnimateViewportResult = Promise<void>;
|
|
910
|
+
export type GetElementTypeQuery = {
|
|
906
911
|
'id'?: string | undefined;
|
|
907
912
|
};
|
|
908
|
-
export
|
|
909
|
-
export
|
|
910
|
-
export
|
|
911
|
-
export
|
|
912
|
-
export
|
|
913
|
-
export
|
|
913
|
+
export type GetElementTypeResult = 'block' | 'line' | 'group' | 'visual-activity' | 'page' | 'document' | 'generator' | 'panel';
|
|
914
|
+
export type GetConnectedLinesQuery = string;
|
|
915
|
+
export type GetConnectedLinesResult = string[];
|
|
916
|
+
export type GetCurrentPageQuery = void;
|
|
917
|
+
export type GetCurrentPageResult = string | undefined;
|
|
918
|
+
export type GetCustomShapeQuery = {
|
|
914
919
|
/** Name of the custom shape library in this same extension package */
|
|
915
920
|
'l': string;
|
|
916
921
|
/** Name of the shape in that library to find */
|
|
917
922
|
's': string;
|
|
918
923
|
};
|
|
919
|
-
export
|
|
924
|
+
export type GetCustomShapeResult = Promise<{
|
|
920
925
|
/** Value which can be used as the Stencil property on a dynamic shape */
|
|
921
926
|
's': JsonSerializable;
|
|
922
927
|
/** Default size (x:0, y:0) of this custom shape */
|
|
@@ -924,7 +929,7 @@ export declare type GetCustomShapeResult = Promise<{
|
|
|
924
929
|
/** Other default property values */
|
|
925
930
|
'p': JsonObject;
|
|
926
931
|
} | undefined>;
|
|
927
|
-
export
|
|
932
|
+
export type GetDataItemFieldQuery = {
|
|
928
933
|
/** Collection ID to query */
|
|
929
934
|
'c': string;
|
|
930
935
|
/** Primary key of the data item to read */
|
|
@@ -932,17 +937,17 @@ export declare type GetDataItemFieldQuery = {
|
|
|
932
937
|
/** Name of field to read */
|
|
933
938
|
'f': string;
|
|
934
939
|
};
|
|
935
|
-
export
|
|
936
|
-
export
|
|
937
|
-
export
|
|
938
|
-
export
|
|
939
|
-
export
|
|
940
|
+
export type GetDataItemFieldResult = SerializedFieldType;
|
|
941
|
+
export type GetDocumentIdQuery = void;
|
|
942
|
+
export type GetDocumentIdResult = string;
|
|
943
|
+
export type GetItemPageIdQuery = string;
|
|
944
|
+
export type GetItemPageIdResult = string;
|
|
940
945
|
export declare enum GetItemsAtSearchType {
|
|
941
946
|
PossiblyOverlapping = 0,
|
|
942
947
|
Overlapping = 1,
|
|
943
948
|
Contained = 2
|
|
944
949
|
}
|
|
945
|
-
export
|
|
950
|
+
export type GetItemsAtQuery = {
|
|
946
951
|
/** Page ID to search */
|
|
947
952
|
'p': string;
|
|
948
953
|
/** Bounding box to search */
|
|
@@ -951,155 +956,155 @@ export declare type GetItemsAtQuery = {
|
|
|
951
956
|
's': GetItemsAtSearchType;
|
|
952
957
|
};
|
|
953
958
|
/** IDs of the items found */
|
|
954
|
-
export
|
|
955
|
-
export
|
|
959
|
+
export type GetItemsAtResult = string[];
|
|
960
|
+
export type GetReferenceKeyQuery = {
|
|
956
961
|
/** ID of the LucidElement to read a reference key from, or undefined to read from the LucidDocument */
|
|
957
962
|
'id'?: string | undefined;
|
|
958
963
|
/** Reference key to get */
|
|
959
964
|
'k': number | string;
|
|
960
965
|
};
|
|
961
|
-
export
|
|
962
|
-
export
|
|
963
|
-
export
|
|
964
|
-
export
|
|
966
|
+
export type GetReferenceKeyResult = SerializedReferenceKeyType;
|
|
967
|
+
export type GetProductQuery = undefined;
|
|
968
|
+
export type GetProductResult = LucidProduct;
|
|
969
|
+
export type GetPropertyQuery = {
|
|
965
970
|
/** ID of the LucidElement to read a property from, or undefined to read from the LucidDocument */
|
|
966
971
|
'id'?: string | undefined;
|
|
967
972
|
/** Name of the property to read */
|
|
968
973
|
'p': string;
|
|
969
974
|
};
|
|
970
|
-
export
|
|
971
|
-
export
|
|
972
|
-
export
|
|
973
|
-
export
|
|
975
|
+
export type GetPropertyResult = JsonSerializable;
|
|
976
|
+
export type GetPackageSettingsQuery = undefined;
|
|
977
|
+
export type GetPackageSettingsResult = Promise<Record<string, JsonSerializable>>;
|
|
978
|
+
export type GetRelativeLinePositionQuery = {
|
|
974
979
|
/** Block or line ID to check the connections on */
|
|
975
980
|
'id': string;
|
|
976
981
|
/** Relative position in range of [0,1] along the line */
|
|
977
982
|
'p': number;
|
|
978
983
|
};
|
|
979
|
-
export
|
|
980
|
-
export
|
|
984
|
+
export type GetRelativeLinePositionResult = Point;
|
|
985
|
+
export type GetSelectionQuery = {
|
|
981
986
|
/** If set, additionally return all items inside selected groups */
|
|
982
987
|
'd'?: boolean | undefined;
|
|
983
988
|
};
|
|
984
|
-
export
|
|
985
|
-
export
|
|
989
|
+
export type GetSelectionResult = string[];
|
|
990
|
+
export type GetShapeDataQuery = {
|
|
986
991
|
/** ID of the element to query shape data from */
|
|
987
992
|
'id'?: string | undefined;
|
|
988
993
|
/** Name of the shape data to read */
|
|
989
994
|
'n': string;
|
|
990
995
|
};
|
|
991
|
-
export
|
|
992
|
-
export
|
|
996
|
+
export type GetShapeDataResult = SerializedFieldType | SerializedDataError;
|
|
997
|
+
export type GetTextStyleQuery = {
|
|
993
998
|
/** ID of the element to get text style from */
|
|
994
999
|
'id': string;
|
|
995
1000
|
/** Name of the text area to get text style from */
|
|
996
1001
|
'n': string;
|
|
997
1002
|
};
|
|
998
|
-
export
|
|
999
|
-
export
|
|
1000
|
-
export
|
|
1001
|
-
export
|
|
1002
|
-
export
|
|
1003
|
-
export
|
|
1003
|
+
export type GetTextStyleResult = TextStyle;
|
|
1004
|
+
export type GetUserIdQuery = void;
|
|
1005
|
+
export type GetUserIdResult = string;
|
|
1006
|
+
export type GetVisibleRectQuery = void;
|
|
1007
|
+
export type GetVisibleRectResult = Box;
|
|
1008
|
+
export type HideModalQuery = {
|
|
1004
1009
|
/** Name of the modal's action for receiving events, i.e. ShowModalQuery['n'] */
|
|
1005
1010
|
'n': string;
|
|
1006
1011
|
};
|
|
1007
|
-
export
|
|
1008
|
-
export
|
|
1012
|
+
export type HideModalResult = undefined;
|
|
1013
|
+
export type HidePanelQuery = {
|
|
1009
1014
|
/** Name of the panel's action for receiving events, i.e. RegisterPanelQuery['n'] */
|
|
1010
1015
|
'n': string;
|
|
1011
1016
|
};
|
|
1012
|
-
export
|
|
1013
|
-
export
|
|
1017
|
+
export type HidePanelResult = undefined;
|
|
1018
|
+
export type HookAllChangesQuery = {
|
|
1014
1019
|
/** Name of the action for receiving events. Will be called with no parameters periodically as changes are made to the document */
|
|
1015
1020
|
'n': string;
|
|
1016
1021
|
};
|
|
1017
|
-
export
|
|
1018
|
-
export
|
|
1022
|
+
export type HookAllChangesResult = undefined;
|
|
1023
|
+
export type HookCreateItemsQuery = {
|
|
1019
1024
|
/** Name of the action for receiving events. Will be called with an array of strings of all recently created item IDs. */
|
|
1020
1025
|
'n': string;
|
|
1021
1026
|
};
|
|
1022
|
-
export
|
|
1023
|
-
export
|
|
1027
|
+
export type HookCreateItemsResult = undefined;
|
|
1028
|
+
export type HookDeleteItemsQuery = {
|
|
1024
1029
|
/** Name of the action for receiving events. Will be called with an array of strings of all recently deleted item IDs. */
|
|
1025
1030
|
'n': string;
|
|
1026
1031
|
};
|
|
1027
|
-
export
|
|
1028
|
-
export
|
|
1032
|
+
export type HookDeleteItemsResult = undefined;
|
|
1033
|
+
export type HookSelectionQuery = {
|
|
1029
1034
|
/** Name of the action for receiving events. Will be called with an array of strings of all selected item IDs. */
|
|
1030
1035
|
'n': string;
|
|
1031
1036
|
};
|
|
1032
|
-
export
|
|
1033
|
-
export
|
|
1037
|
+
export type HookSelectionResult = undefined;
|
|
1038
|
+
export type HookTextEditQuery = {
|
|
1034
1039
|
/** Name of the action for receiving these events */
|
|
1035
1040
|
'n': string;
|
|
1036
1041
|
};
|
|
1037
|
-
export
|
|
1042
|
+
export type HookTextEditResult = undefined;
|
|
1038
1043
|
/** Name of the card integration registered by this extension to show the import dialog for */
|
|
1039
|
-
export
|
|
1044
|
+
export type ImportCardsQuery = string;
|
|
1040
1045
|
/** Resolves when the import dialog is closed */
|
|
1041
|
-
export
|
|
1042
|
-
export
|
|
1046
|
+
export type ImportCardsResult = Promise<void>;
|
|
1047
|
+
export type ImportPageQuery = {
|
|
1043
1048
|
/** The ID of the document or template to import */
|
|
1044
1049
|
'id': string;
|
|
1045
1050
|
/** Page numbers of specified document or template to import (zero-indexed) */
|
|
1046
1051
|
'n': number[];
|
|
1047
1052
|
};
|
|
1048
1053
|
/** Resolves when the import succeeds or fails */
|
|
1049
|
-
export
|
|
1050
|
-
export
|
|
1051
|
-
export
|
|
1052
|
-
export
|
|
1054
|
+
export type ImportPageResult = Promise<void>;
|
|
1055
|
+
export type KillExtensionQuery = void;
|
|
1056
|
+
export type KillExtensionResult = undefined;
|
|
1057
|
+
export type ListChildrenQuery = {
|
|
1053
1058
|
/** Parent ID to search inside */
|
|
1054
1059
|
'id': string;
|
|
1055
1060
|
/** "deep" - If true, get all children at any level of group nesting; otherwise only immediate children */
|
|
1056
1061
|
'd'?: boolean;
|
|
1057
1062
|
};
|
|
1058
|
-
export
|
|
1059
|
-
export
|
|
1063
|
+
export type ListChildrenResult = string[];
|
|
1064
|
+
export type ListCollectionsQuery = {
|
|
1060
1065
|
/** ID of the data source to list collections for */
|
|
1061
1066
|
'id': string;
|
|
1062
1067
|
};
|
|
1063
|
-
export
|
|
1064
|
-
export
|
|
1068
|
+
export type ListCollectionsResult = string[];
|
|
1069
|
+
export type ListDataItemsQuery = {
|
|
1065
1070
|
/** Collection ID to list items from */
|
|
1066
1071
|
'id': string;
|
|
1067
1072
|
};
|
|
1068
|
-
export
|
|
1069
|
-
export
|
|
1073
|
+
export type ListDataItemsResult = string[];
|
|
1074
|
+
export type ListCollectionFieldsQuery = {
|
|
1070
1075
|
/** Collection ID to query */
|
|
1071
1076
|
'id': string;
|
|
1072
1077
|
};
|
|
1073
|
-
export
|
|
1074
|
-
export
|
|
1075
|
-
export
|
|
1076
|
-
export
|
|
1078
|
+
export type ListCollectionFieldsResult = string[];
|
|
1079
|
+
export type ListDataSourcesQuery = undefined;
|
|
1080
|
+
export type ListDataSourcesResult = string[];
|
|
1081
|
+
export type ListDocumentElementsQuery = {
|
|
1077
1082
|
't': DocumentElementType;
|
|
1078
1083
|
};
|
|
1079
|
-
export
|
|
1080
|
-
export
|
|
1081
|
-
export
|
|
1082
|
-
export
|
|
1084
|
+
export type ListDocumentElementsResult = string[];
|
|
1085
|
+
export type ListPagesQuery = void;
|
|
1086
|
+
export type ListPagesResult = string[];
|
|
1087
|
+
export type ListReferenceKeysQuery = {
|
|
1083
1088
|
/** ID of the element to list reference keys for, or undefined for the document */
|
|
1084
1089
|
'id'?: string | undefined;
|
|
1085
1090
|
};
|
|
1086
1091
|
/** Reference key IDs */
|
|
1087
|
-
export
|
|
1088
|
-
export
|
|
1092
|
+
export type ListReferenceKeysResult = (string | number)[];
|
|
1093
|
+
export type ListPropertiesQuery = {
|
|
1089
1094
|
'id'?: string | undefined;
|
|
1090
1095
|
};
|
|
1091
|
-
export
|
|
1092
|
-
export
|
|
1096
|
+
export type ListPropertiesResult = string[];
|
|
1097
|
+
export type ListShapeDataQuery = {
|
|
1093
1098
|
'id'?: string | undefined;
|
|
1094
1099
|
/** True to include inherited shape data from containing groups and/or page */
|
|
1095
1100
|
'i'?: boolean | undefined;
|
|
1096
1101
|
};
|
|
1097
|
-
export
|
|
1098
|
-
export
|
|
1099
|
-
export
|
|
1100
|
-
export
|
|
1101
|
-
export
|
|
1102
|
-
export
|
|
1102
|
+
export type ListShapeDataResult = string[];
|
|
1103
|
+
export type ListTextAreasQuery = string;
|
|
1104
|
+
export type ListTextAreasResult = string[];
|
|
1105
|
+
export type LoadBlockClassesQuery = string[];
|
|
1106
|
+
export type LoadBlockClassesResult = Promise<undefined>;
|
|
1107
|
+
export type OffsetItemsQuery = {
|
|
1103
1108
|
/** IDs of the items (blocks, lines, groups) to move */
|
|
1104
1109
|
'ids': string[];
|
|
1105
1110
|
/** What kind of offset to perform */
|
|
@@ -1107,8 +1112,8 @@ export declare type OffsetItemsQuery = {
|
|
|
1107
1112
|
/** How far to offset */
|
|
1108
1113
|
'o': Point;
|
|
1109
1114
|
};
|
|
1110
|
-
export
|
|
1111
|
-
export
|
|
1115
|
+
export type OffsetItemsResult = undefined;
|
|
1116
|
+
export type PatchDataItemsQuery = {
|
|
1112
1117
|
/** ID of the data collection to patch */
|
|
1113
1118
|
'id': string;
|
|
1114
1119
|
/** Data items to add to the collection */
|
|
@@ -1119,15 +1124,26 @@ export declare type PatchDataItemsQuery = {
|
|
|
1119
1124
|
'd': string[];
|
|
1120
1125
|
};
|
|
1121
1126
|
/** Primary keys inserted, if any */
|
|
1122
|
-
export
|
|
1123
|
-
export
|
|
1127
|
+
export type PatchDataItemsResult = string[];
|
|
1128
|
+
export type PromptQuery = {
|
|
1124
1129
|
/** Title; defaults to extension title */
|
|
1125
1130
|
't'?: string | undefined;
|
|
1126
1131
|
/** Body text */
|
|
1127
1132
|
'b': string;
|
|
1128
1133
|
};
|
|
1129
|
-
export
|
|
1130
|
-
export
|
|
1134
|
+
export type PromptResult = Promise<string | undefined>;
|
|
1135
|
+
export type RegisterLinkImporterQuery = {
|
|
1136
|
+
/** ID of the link importer*/
|
|
1137
|
+
'id': string;
|
|
1138
|
+
/** Action to call to get links for bulk import */
|
|
1139
|
+
'a': string;
|
|
1140
|
+
/** Label for the menu item */
|
|
1141
|
+
'l': string;
|
|
1142
|
+
/** Icon URL of the menu item, preferably a base64-encoded URL */
|
|
1143
|
+
'i': string;
|
|
1144
|
+
};
|
|
1145
|
+
export type RegisterLinkImporterResult = void;
|
|
1146
|
+
export type RegisterPanelQuery = {
|
|
1131
1147
|
/** Name of the panel's action for receiving events; generated automatically by Panel base class */
|
|
1132
1148
|
'n': string;
|
|
1133
1149
|
/** Title to show on the panel */
|
|
@@ -1147,41 +1163,41 @@ export declare type RegisterPanelQuery = {
|
|
|
1147
1163
|
/** If true, we will persist the panel's iframe */
|
|
1148
1164
|
'p'?: boolean;
|
|
1149
1165
|
};
|
|
1150
|
-
export
|
|
1151
|
-
export
|
|
1166
|
+
export type RegisterPanelResult = undefined;
|
|
1167
|
+
export type RegisterUnfurlQuery = {
|
|
1152
1168
|
/** Domain to unfurl, e.g. www.google.com */
|
|
1153
1169
|
'd': string;
|
|
1154
1170
|
/** Action to call to configure the unfurl */
|
|
1155
1171
|
'a': string;
|
|
1156
1172
|
};
|
|
1157
|
-
export
|
|
1158
|
-
export
|
|
1159
|
-
export
|
|
1160
|
-
export
|
|
1173
|
+
export type RegisterUnfurlResult = boolean;
|
|
1174
|
+
export type ReloadExtensionQuery = void;
|
|
1175
|
+
export type ReloadExtensionResult = undefined;
|
|
1176
|
+
export type SendOAuthRequestQuery = SendXHRQuery & {
|
|
1161
1177
|
/** OAuth provider name as specified in the package manifest */
|
|
1162
1178
|
'p': string;
|
|
1163
1179
|
/** Post Result To */
|
|
1164
1180
|
'prt'?: string | undefined;
|
|
1165
1181
|
};
|
|
1166
|
-
export
|
|
1182
|
+
export type SendAsyncOAuthRequestQuery = SendXHRQuery & {
|
|
1167
1183
|
/** OAuth provider name as specified in the package manifest */
|
|
1168
1184
|
'p': string;
|
|
1169
1185
|
};
|
|
1170
|
-
export
|
|
1186
|
+
export type SendPermanentTokenRequestQuery = SendXHRQuery & {
|
|
1171
1187
|
/** Permanent token provider name as specified in the package manifest */
|
|
1172
1188
|
'p': string;
|
|
1173
1189
|
};
|
|
1174
|
-
export
|
|
1175
|
-
export
|
|
1176
|
-
export
|
|
1190
|
+
export type SendOAuthRequestResponse = SendXHRResponse;
|
|
1191
|
+
export type SendPermanentTokenRequestResponse = SendXHRResponse;
|
|
1192
|
+
export type SendUIMessageQuery = {
|
|
1177
1193
|
/** Name of the UI component's action for receiving events, e.g. ShowModalQuery['n'] */
|
|
1178
1194
|
'n': string;
|
|
1179
1195
|
/** Content of the message to send to the custom UI component */
|
|
1180
1196
|
'd'?: JsonSerializable;
|
|
1181
1197
|
};
|
|
1182
|
-
export
|
|
1183
|
-
export
|
|
1184
|
-
export
|
|
1198
|
+
export type SendUIMessageResult = undefined;
|
|
1199
|
+
export type SendXHRResponseFormat = 'utf8' | 'binary';
|
|
1200
|
+
export type SendXHRQuery = {
|
|
1185
1201
|
'url': string;
|
|
1186
1202
|
/** HTTP method, e.g. 'GET', 'FETCH', etc. Defaults to GET */
|
|
1187
1203
|
'm'?: string | undefined;
|
|
@@ -1208,7 +1224,7 @@ export declare type SendXHRQuery = {
|
|
|
1208
1224
|
*/
|
|
1209
1225
|
'f'?: SendXHRResponseFormat | undefined;
|
|
1210
1226
|
};
|
|
1211
|
-
export
|
|
1227
|
+
export type RawSendXHRResponse = {
|
|
1212
1228
|
/** URL of the response after any redirects */
|
|
1213
1229
|
'url': string;
|
|
1214
1230
|
/** Plain-text or base64-encoded response body */
|
|
@@ -1222,11 +1238,11 @@ export declare type RawSendXHRResponse = {
|
|
|
1222
1238
|
/** true if the request timed out */
|
|
1223
1239
|
'to'?: boolean;
|
|
1224
1240
|
};
|
|
1225
|
-
export
|
|
1241
|
+
export type SendXHRResponse = Promise<RawSendXHRResponse>;
|
|
1226
1242
|
export declare function isRawSendXHRResponse(val: any): val is RawSendXHRResponse;
|
|
1227
|
-
export
|
|
1228
|
-
export
|
|
1229
|
-
export
|
|
1243
|
+
export type SetCurrentPageQuery = string;
|
|
1244
|
+
export type SetCurrentPageResult = Promise<void>;
|
|
1245
|
+
export type SetPropertyQuery = {
|
|
1230
1246
|
/** ID of the element to change */
|
|
1231
1247
|
'id'?: string | undefined;
|
|
1232
1248
|
/** Name of the property to change */
|
|
@@ -1234,8 +1250,8 @@ export declare type SetPropertyQuery = {
|
|
|
1234
1250
|
/** New value of the property */
|
|
1235
1251
|
'v'?: JsonSerializable;
|
|
1236
1252
|
};
|
|
1237
|
-
export
|
|
1238
|
-
export
|
|
1253
|
+
export type SetPropertyResult = undefined;
|
|
1254
|
+
export type SetReferenceKeyQuery = {
|
|
1239
1255
|
/** ID of the element to set the reference key on */
|
|
1240
1256
|
'id'?: string | undefined;
|
|
1241
1257
|
/** ID of the reference key to set */
|
|
@@ -1243,8 +1259,8 @@ export declare type SetReferenceKeyQuery = {
|
|
|
1243
1259
|
/** New reference key settings, or undefined to remove the reference key */
|
|
1244
1260
|
'v'?: SerializedReferenceKeyType | undefined;
|
|
1245
1261
|
};
|
|
1246
|
-
export
|
|
1247
|
-
export
|
|
1262
|
+
export type SetReferenceKeyResult = undefined;
|
|
1263
|
+
export type SetShapeDataQuery = {
|
|
1248
1264
|
/** ID of the element to set this shape data on */
|
|
1249
1265
|
'id'?: string | undefined;
|
|
1250
1266
|
/** Name for the already-existing shape data to update */
|
|
@@ -1252,8 +1268,8 @@ export declare type SetShapeDataQuery = {
|
|
|
1252
1268
|
/** Value to set; use a string beginning with '=' for a formula */
|
|
1253
1269
|
'v'?: SerializedFieldType;
|
|
1254
1270
|
};
|
|
1255
|
-
export
|
|
1256
|
-
export
|
|
1271
|
+
export type SetShapeDataResult = undefined;
|
|
1272
|
+
export type SetTextQuery = {
|
|
1257
1273
|
/** ID of the element to change text on */
|
|
1258
1274
|
'id': string;
|
|
1259
1275
|
/** Name of the text area to update */
|
|
@@ -1263,8 +1279,8 @@ export declare type SetTextQuery = {
|
|
|
1263
1279
|
/** Optional force boolean for extension to update uneditable items*/
|
|
1264
1280
|
'f'?: boolean | undefined;
|
|
1265
1281
|
};
|
|
1266
|
-
export
|
|
1267
|
-
export
|
|
1282
|
+
export type SetTextResult = undefined;
|
|
1283
|
+
export type SetTextStyleQuery = {
|
|
1268
1284
|
/** ID of the element to set text style on */
|
|
1269
1285
|
'id': string;
|
|
1270
1286
|
/** Name of the text area to set text style on */
|
|
@@ -1272,8 +1288,8 @@ export declare type SetTextStyleQuery = {
|
|
|
1272
1288
|
/** Text styles to set */
|
|
1273
1289
|
's': Partial<TextStyle>;
|
|
1274
1290
|
};
|
|
1275
|
-
export
|
|
1276
|
-
export
|
|
1291
|
+
export type SetTextStyleResult = Promise<undefined>;
|
|
1292
|
+
export type ShowModalQuery = {
|
|
1277
1293
|
/** Name of the modal's action for receiving events; generated automatically by Modal base class */
|
|
1278
1294
|
'n': string;
|
|
1279
1295
|
/** Title to show on the modal */
|
|
@@ -1293,17 +1309,17 @@ export declare type ShowModalQuery = {
|
|
|
1293
1309
|
/** URL to display in the modal (this or c is required). Can be relative to /public directory in the package */
|
|
1294
1310
|
'u'?: string | undefined;
|
|
1295
1311
|
};
|
|
1296
|
-
export
|
|
1297
|
-
export
|
|
1298
|
-
export
|
|
1299
|
-
export
|
|
1312
|
+
export type ShowModalResult = undefined;
|
|
1313
|
+
export type ShowPackageSettingsModalQuery = undefined;
|
|
1314
|
+
export type ShowPackageSettingsModalResult = Promise<void>;
|
|
1315
|
+
export type ShowPanelQuery = {
|
|
1300
1316
|
/** Name of the panel's action for receiving events, i.e. RegisterPanelQuery['n'] */
|
|
1301
1317
|
'n': string;
|
|
1302
1318
|
};
|
|
1303
|
-
export
|
|
1304
|
-
export
|
|
1305
|
-
export
|
|
1306
|
-
export
|
|
1319
|
+
export type ShowPanelResult = undefined;
|
|
1320
|
+
export type SleepForTestCaseQuery = number;
|
|
1321
|
+
export type SleepForTestCaseResult = Promise<void>;
|
|
1322
|
+
export type StartDragBlockToCanvasQuery = {
|
|
1307
1323
|
/** Class name of the block to create */
|
|
1308
1324
|
'c': string;
|
|
1309
1325
|
/** Size of the block to create */
|
|
@@ -1318,72 +1334,72 @@ export declare type StartDragBlockToCanvasQuery = {
|
|
|
1318
1334
|
/** If specified, the stencil for a custom shape. Only valid if the class name is 'CustomBlock' */
|
|
1319
1335
|
's'?: JsonSerializable | undefined;
|
|
1320
1336
|
};
|
|
1321
|
-
export
|
|
1322
|
-
export
|
|
1337
|
+
export type StartDragBlockToCanvasResult = Promise<string | undefined>;
|
|
1338
|
+
export type StartPDFUploadRequestQuery = string;
|
|
1323
1339
|
/**
|
|
1324
1340
|
* @ignore
|
|
1325
1341
|
* A signed URL you can upload the pdf to. You can do this manually (via the client, your own service) or via the
|
|
1326
1342
|
* oauth proxy.
|
|
1327
1343
|
*/
|
|
1328
|
-
export
|
|
1329
|
-
export
|
|
1330
|
-
export
|
|
1331
|
-
export
|
|
1344
|
+
export type StartPDFUploadRequestResponse = Promise<string>;
|
|
1345
|
+
export type ThrowForTestCaseQuery = number;
|
|
1346
|
+
export type ThrowForTestCaseResult = undefined | Promise<void>;
|
|
1347
|
+
export type TriggerAuthFlowQuery = {
|
|
1332
1348
|
/** OAuth or merge provider name as specified in the package manifest */
|
|
1333
1349
|
'p': string;
|
|
1334
1350
|
};
|
|
1335
|
-
export
|
|
1336
|
-
export
|
|
1351
|
+
export type TriggerAuthFlowResult = Promise<RawTriggerAuthFlowResult>;
|
|
1352
|
+
export type RawTriggerAuthFlowResult = {
|
|
1337
1353
|
's': boolean;
|
|
1338
1354
|
};
|
|
1339
|
-
export
|
|
1355
|
+
export type UnhookAllChangesQuery = {
|
|
1340
1356
|
/** Name of the action passed to HookAllChanges */
|
|
1341
1357
|
'n': string;
|
|
1342
1358
|
};
|
|
1343
|
-
export
|
|
1344
|
-
export
|
|
1359
|
+
export type UnhookAllChangesResult = undefined;
|
|
1360
|
+
export type UnhookCreateItemsQuery = {
|
|
1345
1361
|
/** Name of the action passed to HookCreateItems */
|
|
1346
1362
|
'n': string;
|
|
1347
1363
|
};
|
|
1348
|
-
export
|
|
1349
|
-
export
|
|
1364
|
+
export type UnhookCreateItemsResult = undefined;
|
|
1365
|
+
export type UnhookDeleteItemsQuery = {
|
|
1350
1366
|
/** Name of the action passed to HookDeleteItems */
|
|
1351
1367
|
'n': string;
|
|
1352
1368
|
};
|
|
1353
|
-
export
|
|
1354
|
-
export
|
|
1369
|
+
export type UnhookDeleteItemsResult = undefined;
|
|
1370
|
+
export type UnhookSelectionQuery = {
|
|
1355
1371
|
/** Name of the action for receiving these events */
|
|
1356
1372
|
'n': string;
|
|
1357
1373
|
};
|
|
1358
|
-
export
|
|
1359
|
-
export
|
|
1374
|
+
export type UnhookSelectionResult = undefined;
|
|
1375
|
+
export type UnhookTextEditQuery = {
|
|
1360
1376
|
/** Name of the action for receiving these events */
|
|
1361
1377
|
'n': string;
|
|
1362
1378
|
};
|
|
1363
|
-
export
|
|
1364
|
-
export
|
|
1379
|
+
export type UnhookTextEditResult = undefined;
|
|
1380
|
+
export type WithMutexQuery = {
|
|
1365
1381
|
/** Name of the intra-document mutex to hold for the duration of this action */
|
|
1366
1382
|
'n': string;
|
|
1367
1383
|
/** Name of the action to run within the given mutex */
|
|
1368
1384
|
'a': string;
|
|
1369
1385
|
};
|
|
1370
1386
|
/** Resolves true if operation succeeded, or false if the mutex was held by someone else */
|
|
1371
|
-
export
|
|
1372
|
-
export
|
|
1387
|
+
export type WithMutexResult = Promise<boolean>;
|
|
1388
|
+
export type WithSilentActionsQuery = {
|
|
1373
1389
|
/** Name of the synchronous action to run with undo/redo history suppressed */
|
|
1374
1390
|
'a': string;
|
|
1375
1391
|
};
|
|
1376
|
-
export
|
|
1392
|
+
export type WithSilentActionsResult = void;
|
|
1377
1393
|
export declare enum ZOrderOperation {
|
|
1378
1394
|
UP = 1,
|
|
1379
1395
|
TOP = 2,
|
|
1380
1396
|
DOWN = 3,
|
|
1381
1397
|
BOTTOM = 4
|
|
1382
1398
|
}
|
|
1383
|
-
export
|
|
1399
|
+
export type ZOrderQuery = {
|
|
1384
1400
|
/** IDs of the items to adjust Z order */
|
|
1385
1401
|
'i': string[];
|
|
1386
1402
|
/** Operation to perform on these items */
|
|
1387
1403
|
'o': ZOrderOperation;
|
|
1388
1404
|
};
|
|
1389
|
-
export
|
|
1405
|
+
export type ZOrderResult = undefined;
|