lucid-extension-sdk 0.0.315 → 0.0.316
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
|
@@ -717,7 +717,7 @@ export type AddCardIntegrationQuery = {
|
|
|
717
717
|
'il': string;
|
|
718
718
|
/** Items label */
|
|
719
719
|
'isl': string;
|
|
720
|
-
/** Icon url */
|
|
720
|
+
/** Icon url. Replaced by iconConfiguration.primaryIconUrl */
|
|
721
721
|
'u': string;
|
|
722
722
|
/** Text style */
|
|
723
723
|
'ts'?: Partial<TextStyle> | undefined;
|
|
@@ -764,6 +764,13 @@ export type AddCardIntegrationQuery = {
|
|
|
764
764
|
} | undefined;
|
|
765
765
|
/** Whether to enable dependency mapping for this integration */
|
|
766
766
|
'sdm'?: boolean;
|
|
767
|
+
/** Icons to display throughout the card integration */
|
|
768
|
+
'icu'?: {
|
|
769
|
+
/** Primary Icon Url */
|
|
770
|
+
'pi'?: string;
|
|
771
|
+
/** Light Icon URl */
|
|
772
|
+
'li'?: string;
|
|
773
|
+
} | undefined;
|
|
767
774
|
/**
|
|
768
775
|
* If specified, the text phrases to show in the dependency mapping UI.
|
|
769
776
|
* If not specified, dependency mapping for this integration uses the default fallback phrases.
|
|
@@ -26,6 +26,7 @@ export declare abstract class LucidCardIntegration {
|
|
|
26
26
|
*/
|
|
27
27
|
abstract itemsLabel: string;
|
|
28
28
|
/**
|
|
29
|
+
* @deprecated Use iconConfiguration.primaryIconUrl.
|
|
29
30
|
* URL for an icon to display in toolbars, etc. Should be at least 24x24.
|
|
30
31
|
*/
|
|
31
32
|
abstract iconUrl: string;
|
|
@@ -63,6 +64,18 @@ export declare abstract class LucidCardIntegration {
|
|
|
63
64
|
*/
|
|
64
65
|
fieldValueSearchCallbacks?: Map<string, string>;
|
|
65
66
|
};
|
|
67
|
+
iconConfiguration?: {
|
|
68
|
+
/**
|
|
69
|
+
* URL for the primary icon to display in most components, usually on a white background.
|
|
70
|
+
* Should be at least 24x24.
|
|
71
|
+
*/
|
|
72
|
+
primaryIconUrl: string;
|
|
73
|
+
/**
|
|
74
|
+
* Optional. URL for an alternate light icon to show in colored components where the primary icon may appear too dark.
|
|
75
|
+
* If not provided, the primaryIconUrl will be used. Should be at least 24x24.
|
|
76
|
+
*/
|
|
77
|
+
lightIconUrl?: string;
|
|
78
|
+
};
|
|
66
79
|
/**
|
|
67
80
|
* @deprecated Use AuthorizationFlowHandlerRegistry.registerAuthorizationFlowHandler.
|
|
68
81
|
* WARNING: Currently unused and does nothing.
|