@gooddata/sdk-backend-spi 10.5.0-alpha.11 → 10.5.0-alpha.13

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.
@@ -1752,7 +1752,7 @@ export declare type IExplainResult = {
1752
1752
  };
1753
1753
 
1754
1754
  /**
1755
- * Configuration for exports of results into XLSX or CSV.
1755
+ * Configuration for exports of results into tabular formats.
1756
1756
  *
1757
1757
  * @public
1758
1758
  */
@@ -1771,19 +1771,30 @@ export declare interface IExportConfig {
1771
1771
  */
1772
1772
  mergeHeaders?: boolean;
1773
1773
  /**
1774
- * Applicable for XLSX format; specifies filters to include as comments / metadata in
1774
+ * Applicable for XLSX, and PDF format; specifies filters to include as comments / metadata in
1775
1775
  * the Excel sheet.
1776
1776
  *
1777
1777
  * @remarks
1778
1778
  * Filters provided here are purely to paint a better context for the
1779
- * person looking at the XLSX file. They serve no other purpose and are merely serialized
1780
- * into the XLSX in a human readable form.
1779
+ * person looking at the exported file. They serve no other purpose and are merely serialized
1780
+ * in the export in a human-readable form.
1781
+ * The visualizationObjectId has to be provided to make this work for PDF format.
1781
1782
  */
1782
1783
  showFilters?: boolean;
1783
1784
  /**
1784
- * Applicable for PDF format; specifies configuration for PDF export.
1785
+ * Applicable for PDF format; specifies configuration for PDF export.
1785
1786
  */
1786
1787
  pdfConfiguration?: IExportPdfConfig;
1788
+ /**
1789
+ * Visualization object identifier. Used to ensure the export result is generated based on
1790
+ * existing visualization in the PDF document. (PDF only)
1791
+ */
1792
+ visualizationObjectId?: string;
1793
+ /**
1794
+ * Optional custom filters (as array of IFilter objects defined in UI SDK) to be applied
1795
+ * when visualizationObject is given. (PDF only)
1796
+ */
1797
+ visualizationObjectCustomFilters?: Array<IFilter>;
1787
1798
  }
1788
1799
 
1789
1800
  /**
@@ -1,5 +1,6 @@
1
+ import { IFilter } from "@gooddata/sdk-model";
1
2
  /**
2
- * Configuration for exports of results into XLSX or CSV.
3
+ * Configuration for exports of results into tabular formats.
3
4
  *
4
5
  * @public
5
6
  */
@@ -18,19 +19,30 @@ export interface IExportConfig {
18
19
  */
19
20
  mergeHeaders?: boolean;
20
21
  /**
21
- * Applicable for XLSX format; specifies filters to include as comments / metadata in
22
+ * Applicable for XLSX, and PDF format; specifies filters to include as comments / metadata in
22
23
  * the Excel sheet.
23
24
  *
24
25
  * @remarks
25
26
  * Filters provided here are purely to paint a better context for the
26
- * person looking at the XLSX file. They serve no other purpose and are merely serialized
27
- * into the XLSX in a human readable form.
27
+ * person looking at the exported file. They serve no other purpose and are merely serialized
28
+ * in the export in a human-readable form.
29
+ * The visualizationObjectId has to be provided to make this work for PDF format.
28
30
  */
29
31
  showFilters?: boolean;
30
32
  /**
31
- * Applicable for PDF format; specifies configuration for PDF export.
33
+ * Applicable for PDF format; specifies configuration for PDF export.
32
34
  */
33
35
  pdfConfiguration?: IExportPdfConfig;
36
+ /**
37
+ * Visualization object identifier. Used to ensure the export result is generated based on
38
+ * existing visualization in the PDF document. (PDF only)
39
+ */
40
+ visualizationObjectId?: string;
41
+ /**
42
+ * Optional custom filters (as array of IFilter objects defined in UI SDK) to be applied
43
+ * when visualizationObject is given. (PDF only)
44
+ */
45
+ visualizationObjectCustomFilters?: Array<IFilter>;
34
46
  }
35
47
  /**
36
48
  * Configuration for PDF export.
@@ -1 +1 @@
1
- {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../src/workspace/execution/export.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAExC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACvC;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oCAAoC;IACpC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,aAAa;IAC1B,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAC;IACZ,kEAAkE;IAClE,SAAS,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../src/workspace/execution/export.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IAExC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;;;;;;OASG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IAEpC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,gCAAgC,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;CACrD;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC7B,uDAAuD;IACvD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oCAAoC;IACpC,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED;;;;;;;;;GASG;AACH,MAAM,WAAW,aAAa;IAC1B,qDAAqD;IACrD,GAAG,EAAE,MAAM,CAAC;IACZ,kEAAkE;IAClE,SAAS,EAAE,MAAM,CAAC;IAClB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-backend-spi",
3
- "version": "10.5.0-alpha.11",
3
+ "version": "10.5.0-alpha.13",
4
4
  "author": "GoodData",
5
5
  "description": "GoodData Backend SPI abstraction interfaces",
6
6
  "repository": {
@@ -24,7 +24,7 @@
24
24
  "lodash": "^4.17.21",
25
25
  "ts-invariant": "^0.7.5",
26
26
  "tslib": "^2.5.0",
27
- "@gooddata/sdk-model": "10.5.0-alpha.11"
27
+ "@gooddata/sdk-model": "10.5.0-alpha.13"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@gooddata/eslint-config": "^4.1.0",