@gooddata/sdk-code-convertors 11.62.0-alpha.0 → 11.62.0-alpha.2

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.
Files changed (42) hide show
  1. package/esm/configs/areaChart.d.ts +2 -0
  2. package/esm/configs/areaChart.d.ts.map +1 -1
  3. package/esm/configs/areaChart.js +4 -0
  4. package/esm/configs/comboChart.d.ts +2 -0
  5. package/esm/configs/comboChart.d.ts.map +1 -1
  6. package/esm/configs/comboChart.js +4 -0
  7. package/esm/configs/lineChart.d.ts +2 -0
  8. package/esm/configs/lineChart.d.ts.map +1 -1
  9. package/esm/configs/lineChart.js +4 -0
  10. package/esm/from/{declarativeReportPageToYaml.d.ts → declarativePublisherDocumentPageToYaml.d.ts} +5 -5
  11. package/esm/from/declarativePublisherDocumentPageToYaml.d.ts.map +1 -0
  12. package/esm/from/{declarativeReportPageToYaml.js → declarativePublisherDocumentPageToYaml.js} +13 -13
  13. package/esm/from/declarativePublisherDocumentToYaml.d.ts +45 -0
  14. package/esm/from/declarativePublisherDocumentToYaml.d.ts.map +1 -0
  15. package/esm/from/{declarativeReportToYaml.js → declarativePublisherDocumentToYaml.js} +40 -36
  16. package/esm/index.d.ts +3 -3
  17. package/esm/index.d.ts.map +1 -1
  18. package/esm/index.js +2 -2
  19. package/esm/schemas/types.d.ts +3 -3
  20. package/esm/schemas/types.d.ts.map +1 -1
  21. package/esm/sdk-code-convertors.d.ts +78 -72
  22. package/esm/to/{yamlReportPageToDeclarative.d.ts → yamlPublisherDocumentPageToDeclarative.d.ts} +6 -6
  23. package/esm/to/yamlPublisherDocumentPageToDeclarative.d.ts.map +1 -0
  24. package/esm/to/{yamlReportPageToDeclarative.js → yamlPublisherDocumentPageToDeclarative.js} +7 -7
  25. package/esm/to/yamlPublisherDocumentToDeclarative.d.ts +25 -0
  26. package/esm/to/yamlPublisherDocumentToDeclarative.d.ts.map +1 -0
  27. package/esm/to/{yamlReportToDeclarative.js → yamlPublisherDocumentToDeclarative.js} +11 -11
  28. package/esm/utils/convertBucketToTitle.js +9 -1
  29. package/esm/utils/{reportFilterRefs.d.ts → publisherFilterRefs.d.ts} +1 -1
  30. package/esm/utils/publisherFilterRefs.d.ts.map +1 -0
  31. package/esm/utils/{reportFilterRefs.js → publisherFilterRefs.js} +1 -1
  32. package/esm/utils/texts.d.ts +3 -3
  33. package/esm/utils/texts.d.ts.map +1 -1
  34. package/esm/utils/texts.js +8 -8
  35. package/package.json +6 -6
  36. package/esm/from/declarativeReportPageToYaml.d.ts.map +0 -1
  37. package/esm/from/declarativeReportToYaml.d.ts +0 -45
  38. package/esm/from/declarativeReportToYaml.d.ts.map +0 -1
  39. package/esm/to/yamlReportPageToDeclarative.d.ts.map +0 -1
  40. package/esm/to/yamlReportToDeclarative.d.ts +0 -25
  41. package/esm/to/yamlReportToDeclarative.d.ts.map +0 -1
  42. package/esm/utils/reportFilterRefs.d.ts.map +0 -1
@@ -1,25 +0,0 @@
1
- import { type DeclarativeReport, type DeclarativeReportPageLayout } from "@gooddata/api-client-tiger";
2
- import type { Report, ReportPageLayout, ReportTemplate } from "@gooddata/sdk-code-schemas/v1";
3
- import { type IReportDefinition, type IReportPageLayoutDefinition, type IReportTemplateDefinition } from "@gooddata/sdk-model";
4
- import { type IErrorContext } from "../utils/errors.js";
5
- /**
6
- * Named for the document it reads, because a visualisation's query convertor already owns the
7
- * shorter name.
8
- *
9
- * @alpha
10
- */
11
- export declare function yamlReportDocumentToDeclarative(input: Report, errorContext?: IErrorContext): DeclarativeReport;
12
- /**
13
- * The same report, as the frontend holds it: an object reference in place of the bare id the
14
- * document names it by.
15
- *
16
- * @alpha
17
- */
18
- export declare function yamlReportToDefinition(input: Report, errorContext?: IErrorContext): IReportDefinition;
19
- /** @alpha */
20
- export declare function yamlReportTemplateToDefinition(input: ReportTemplate, errorContext?: IErrorContext): IReportTemplateDefinition;
21
- /** @alpha */
22
- export declare function yamlReportPageLayoutToDefinition(input: ReportPageLayout, errorContext?: IErrorContext): IReportPageLayoutDefinition;
23
- /** @alpha */
24
- export declare function yamlReportPageLayoutToDeclarative(input: ReportPageLayout, errorContext?: IErrorContext): DeclarativeReportPageLayout;
25
- //# sourceMappingURL=yamlReportToDeclarative.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"yamlReportToDeclarative.d.ts","sourceRoot":"","sources":["../../src/to/yamlReportToDeclarative.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AACtG,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,cAAc,EAAkB,MAAM,+BAA+B,CAAC;AAC9G,OAAO,EAEH,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAIjC,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAwCxD;;;;;GAKG;AACH,wBAAgB,+BAA+B,CAC3C,KAAK,EAAE,MAAM,EACb,YAAY,CAAC,EAAE,aAAa,GAC7B,iBAAiB,CAWnB;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,aAAa,GAAG,iBAAiB,CAYrG;AAED,aAAa;AACb,wBAAgB,8BAA8B,CAC1C,KAAK,EAAE,cAAc,EACrB,YAAY,CAAC,EAAE,aAAa,GAC7B,yBAAyB,CAS3B;AAED,aAAa;AACb,wBAAgB,gCAAgC,CAC5C,KAAK,EAAE,gBAAgB,EACvB,YAAY,CAAC,EAAE,aAAa,GAC7B,2BAA2B,CAY7B;AAED,aAAa;AACb,wBAAgB,iCAAiC,CAC7C,KAAK,EAAE,gBAAgB,EACvB,YAAY,CAAC,EAAE,aAAa,GAC7B,2BAA2B,CAW7B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"reportFilterRefs.d.ts","sourceRoot":"","sources":["../../src/utils/reportFilterRefs.ts"],"names":[],"mappings":"AAoDA;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAQlD;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAQjD"}