lucid-extension-sdk 0.0.428 → 0.0.430
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
CHANGED
|
@@ -1015,6 +1015,8 @@ export type AddSpreadsheetIntegrationQuery = {
|
|
|
1015
1015
|
/** Dark Icon URl */
|
|
1016
1016
|
'di'?: string;
|
|
1017
1017
|
} | undefined;
|
|
1018
|
+
/** importDescription */
|
|
1019
|
+
'id'?: string | undefined;
|
|
1018
1020
|
/** addCardsIntegration */
|
|
1019
1021
|
'c'?: boolean;
|
|
1020
1022
|
/** getUpstreamSourceUrl */
|
|
@@ -73,6 +73,10 @@ export declare abstract class LucidSpreadsheetIntegration {
|
|
|
73
73
|
*/
|
|
74
74
|
darkIconUrl?: string;
|
|
75
75
|
};
|
|
76
|
+
/**
|
|
77
|
+
* Subtext to show for this import option in the import modal
|
|
78
|
+
*/
|
|
79
|
+
importDescription?: string;
|
|
76
80
|
abstract dataConnectorName: string;
|
|
77
81
|
addCardsIntegration: boolean;
|
|
78
82
|
abstract configChooser: ListChooser | CustomDetailsChooser;
|
|
@@ -94,6 +94,9 @@ class LucidSpreadsheetIntegrationRegistry {
|
|
|
94
94
|
'di': spreadsheetIntegration.iconConfiguration.darkIconUrl,
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
+
if (spreadsheetIntegration.importDescription) {
|
|
98
|
+
serialized['id'] = spreadsheetIntegration.importDescription;
|
|
99
|
+
}
|
|
97
100
|
if (spreadsheetIntegration.addCard) {
|
|
98
101
|
const addCard = spreadsheetIntegration.addCard;
|
|
99
102
|
serialized['ac'] = {
|
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DocumentElementType = void 0;
|
|
4
|
+
// NOTE: Please prefer using DocumentElementType.scala over this where possible
|
|
5
|
+
// NOTE: This must be kept in sync with DocumentElementType.scala
|
|
6
|
+
// NOTE: Please prefer to not rename any more keys here
|
|
4
7
|
/**
|
|
5
8
|
* An enumeration of document element types. A Document element represents a collection of data that is stored on a document.
|
|
6
9
|
*/
|
|
7
10
|
var DocumentElementType;
|
|
8
11
|
(function (DocumentElementType) {
|
|
9
12
|
DocumentElementType["AssetReference"] = "AssetReference";
|
|
13
|
+
// Renamed DataTransformation here but not in DocumentElementType.scala due to scalats
|
|
10
14
|
DocumentElementType["DataTransformation"] = "DerivedStructure";
|
|
11
15
|
DocumentElementType["Path"] = "Path";
|
|
12
16
|
DocumentElementType["Tag"] = "Tag";
|
|
17
|
+
// Renamed CommentThreadMetadata here but not in DocumentElementType.scala due to scalats
|
|
13
18
|
DocumentElementType["CommentThreadMetadata"] = "ThreadMetadata";
|
|
14
19
|
DocumentElementType["FontStylePreset"] = "FontStylePreset";
|
|
20
|
+
// Renamed IntraDocumentMutex here but not in DocumentElementType.scala due to scalats
|
|
15
21
|
DocumentElementType["IntraDocumentMutex"] = "Mutex";
|
|
16
22
|
DocumentElementType["Rule"] = "Rule";
|
|
23
|
+
// Renamed DocumentFormula here but not in DocumentElementType.scala due to scalats
|
|
24
|
+
// Is document level stored custom formula, currently used in footer
|
|
17
25
|
DocumentElementType["DocumentFormula"] = "Formula";
|
|
18
26
|
DocumentElementType["TaskCardFieldsConfig"] = "TaskCardFieldsConfig";
|
|
19
27
|
DocumentElementType["CachedExtensionMetadata"] = "CachedExtensionMetadata";
|