lucid-extension-sdk 0.0.388 → 0.0.389
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
|
@@ -744,6 +744,8 @@ export type AddCardIntegrationQuery = {
|
|
|
744
744
|
'il': string;
|
|
745
745
|
/** Items label */
|
|
746
746
|
'isl': string;
|
|
747
|
+
/** Item collection label */
|
|
748
|
+
'icl': string;
|
|
747
749
|
/** Icon url. Replaced by iconConfiguration.primaryIconUrl */
|
|
748
750
|
'u': string;
|
|
749
751
|
/** Text style */
|
|
@@ -35,6 +35,11 @@ export declare abstract class LucidCardIntegration {
|
|
|
35
35
|
* Label used to identify multiple cards worth of data, e.g. "Jira tasks"
|
|
36
36
|
*/
|
|
37
37
|
abstract itemsLabel: string;
|
|
38
|
+
/**
|
|
39
|
+
* Label used to identify a collection of cards worth of data ("project" is the default if you don't
|
|
40
|
+
* override and provide a different label)
|
|
41
|
+
*/
|
|
42
|
+
readonly itemCollectionLabel: string;
|
|
38
43
|
/**
|
|
39
44
|
* @deprecated Use iconConfiguration.primaryIconUrl.
|
|
40
45
|
* URL for an icon to display in toolbars, etc. Should be at least 24x24.
|
|
@@ -11,6 +11,11 @@ exports.isFieldDescriptor = (0, validators_1.objectValidator)({
|
|
|
11
11
|
class LucidCardIntegration {
|
|
12
12
|
constructor(client) {
|
|
13
13
|
this.client = client;
|
|
14
|
+
/**
|
|
15
|
+
* Label used to identify a collection of cards worth of data ("project" is the default if you don't
|
|
16
|
+
* override and provide a different label)
|
|
17
|
+
*/
|
|
18
|
+
this.itemCollectionLabel = 'project';
|
|
14
19
|
}
|
|
15
20
|
showCardImport(name) {
|
|
16
21
|
return this.client.sendCommand("ic" /* CommandName.ImportCards */, name);
|
|
@@ -186,6 +186,7 @@ class LucidCardIntegrationRegistry {
|
|
|
186
186
|
'dcn': cardIntegration.dataConnectorName,
|
|
187
187
|
'il': cardIntegration.itemLabel,
|
|
188
188
|
'isl': cardIntegration.itemsLabel,
|
|
189
|
+
'icl': cardIntegration.itemCollectionLabel,
|
|
189
190
|
'u': cardIntegration.iconUrl,
|
|
190
191
|
'ts': cardIntegration.textStyle,
|
|
191
192
|
'fc': {
|