lucid-extension-sdk 0.0.322 → 0.0.323
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
|
@@ -776,9 +776,9 @@ export type AddCardIntegrationQuery = {
|
|
|
776
776
|
/** Icons to display throughout the card integration */
|
|
777
777
|
'icu'?: {
|
|
778
778
|
/** Primary Icon Url */
|
|
779
|
-
'pi'
|
|
779
|
+
'pi': string;
|
|
780
780
|
/** Light Icon URl */
|
|
781
|
-
'li'?: string;
|
|
781
|
+
'li'?: string | undefined;
|
|
782
782
|
} | undefined;
|
|
783
783
|
/**
|
|
784
784
|
* If specified, the text phrases to show in the dependency mapping UI.
|
|
@@ -153,6 +153,12 @@ class LucidCardIntegrationRegistry {
|
|
|
153
153
|
'gdc': getDefaultConfigActionName,
|
|
154
154
|
'i': showIntroActionName,
|
|
155
155
|
};
|
|
156
|
+
if (cardIntegration.iconConfiguration) {
|
|
157
|
+
serialized['icu'] = {
|
|
158
|
+
'pi': cardIntegration.iconConfiguration.primaryIconUrl,
|
|
159
|
+
'li': cardIntegration.iconConfiguration.lightIconUrl,
|
|
160
|
+
};
|
|
161
|
+
}
|
|
156
162
|
if (cardIntegration.importModal) {
|
|
157
163
|
const importModal = cardIntegration.importModal;
|
|
158
164
|
if (importModal instanceof lucidcardintegrationcustomimportmodal_1.LucidCardIntegrationCustomImportModal) {
|