lucid-extension-sdk 0.0.286 → 0.0.287

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
@@ -807,6 +807,8 @@ export type AddSpreadsheetIntegrationQuery = {
807
807
  'gs': string;
808
808
  /** getMultipleSheetsForSpreadsheetDetails */
809
809
  'gm': string;
810
+ /** addCardsIntegration */
811
+ 'c'?: boolean;
810
812
  };
811
813
  /** @ignore until spreadsheet integration is ready for launch (CHART-51946) */
812
814
  export type AddSpreadsheetIntegrationResult = undefined;
@@ -25,6 +25,7 @@ export declare abstract class LucidSpreadsheetIntegration<CONFIG extends JsonSer
25
25
  abstract labelDescription: string;
26
26
  abstract labelIconUrl: string;
27
27
  abstract dataConnectorName: string;
28
+ addCardsIntegration: boolean;
28
29
  abstract getSpreadsheetDetailsToImport(): Promise<CONFIG | LucidSpreadsheetIntegrationFailureType>;
29
30
  abstract getMultipleSheetsForSpreadsheetDetails(spreadsheetDetails: CONFIG): Promise<Map<SHEET, string> | LucidSpreadsheetIntegrationFailureType>;
30
31
  }
@@ -26,5 +26,8 @@ exports.isImportedResults = (0, validators_1.strictObjectValidator)({
26
26
  });
27
27
  /** @ignore until spreadsheet integration is ready for launch (CHART-51946) */
28
28
  class LucidSpreadsheetIntegration {
29
+ constructor() {
30
+ this.addCardsIntegration = true;
31
+ }
29
32
  }
30
33
  exports.LucidSpreadsheetIntegration = LucidSpreadsheetIntegration;
@@ -38,6 +38,7 @@ class LucidSpreadsheetIntegrationRegistry {
38
38
  'ld': spreadsheetIntegration.labelDescription,
39
39
  'li': spreadsheetIntegration.labelIconUrl,
40
40
  'dc': spreadsheetIntegration.dataConnectorName,
41
+ 'c': spreadsheetIntegration.addCardsIntegration,
41
42
  'gs': getSpreadsheetDetailsToImportActionName,
42
43
  'gm': getMultipleSheetsForSpreadsheetDetailsActionName,
43
44
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lucid-extension-sdk",
3
- "version": "0.0.286",
3
+ "version": "0.0.287",
4
4
  "description": "Utility classes for writing Lucid Software editor extensions",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",