@rundit-sdk/embed 0.3.1-rc.7 → 0.3.1-rc.9

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/dist/index.d.ts CHANGED
@@ -733,6 +733,22 @@ export interface SdkImageReportSectionDto {
733
733
  file: SdkCompanyReportAttachmentDto
734
734
  }
735
735
 
736
+ export interface SdkChartReportSectionDto {
737
+ id: number
738
+ type: SdkReportSectionType
739
+ order: number
740
+ title: string
741
+ content: { }
742
+ }
743
+
744
+ export interface SdkTableReportSectionDto {
745
+ id: number
746
+ type: SdkReportSectionType
747
+ order: number
748
+ title: string
749
+ content: { }
750
+ }
751
+
736
752
  export interface SdkSingleChoiceReportSectionDto {
737
753
  id: number
738
754
  type: SdkReportSectionType
@@ -759,7 +775,7 @@ export interface SdkCompanyReportDto {
759
775
  publishedAt: string | null
760
776
  company: SdkCompanyReferenceDto
761
777
  createdBy: SdkUserReferenceDto
762
- sections: (SdkTextReportSectionDto | SdkMarkdownReportSectionDto | SdkImageReportSectionDto | SdkSingleChoiceReportSectionDto | SdkMultiChoiceReportSectionDto)[]
778
+ sections: (SdkTextReportSectionDto | SdkMarkdownReportSectionDto | SdkImageReportSectionDto | SdkChartReportSectionDto | SdkTableReportSectionDto | SdkSingleChoiceReportSectionDto | SdkMultiChoiceReportSectionDto)[]
763
779
  attachments: SdkCompanyReportAttachmentDto[]
764
780
  }
765
781
 
package/openapi.json CHANGED
@@ -5549,6 +5549,78 @@
5549
5549
  "file"
5550
5550
  ]
5551
5551
  },
5552
+ "SdkChartReportSectionDto": {
5553
+ "type": "object",
5554
+ "properties": {
5555
+ "id": {
5556
+ "type": "number",
5557
+ "description": "Section identifier."
5558
+ },
5559
+ "type": {
5560
+ "description": "Dynamically rendered chart section.",
5561
+ "allOf": [
5562
+ {
5563
+ "$ref": "#/components/schemas/SdkReportSectionType"
5564
+ }
5565
+ ]
5566
+ },
5567
+ "order": {
5568
+ "type": "number",
5569
+ "description": "Position of the section within the report (0-based)."
5570
+ },
5571
+ "title": {
5572
+ "type": "string",
5573
+ "description": "Section title."
5574
+ },
5575
+ "content": {
5576
+ "type": "object",
5577
+ "description": "Versioned, materialized chart data and display configuration."
5578
+ }
5579
+ },
5580
+ "required": [
5581
+ "id",
5582
+ "type",
5583
+ "order",
5584
+ "title",
5585
+ "content"
5586
+ ]
5587
+ },
5588
+ "SdkTableReportSectionDto": {
5589
+ "type": "object",
5590
+ "properties": {
5591
+ "id": {
5592
+ "type": "number",
5593
+ "description": "Section identifier."
5594
+ },
5595
+ "type": {
5596
+ "description": "Dynamically rendered table section.",
5597
+ "allOf": [
5598
+ {
5599
+ "$ref": "#/components/schemas/SdkReportSectionType"
5600
+ }
5601
+ ]
5602
+ },
5603
+ "order": {
5604
+ "type": "number",
5605
+ "description": "Position of the section within the report (0-based)."
5606
+ },
5607
+ "title": {
5608
+ "type": "string",
5609
+ "description": "Section title."
5610
+ },
5611
+ "content": {
5612
+ "type": "object",
5613
+ "description": "Versioned, materialized table data."
5614
+ }
5615
+ },
5616
+ "required": [
5617
+ "id",
5618
+ "type",
5619
+ "order",
5620
+ "title",
5621
+ "content"
5622
+ ]
5623
+ },
5552
5624
  "SdkSingleChoiceReportSectionDto": {
5553
5625
  "type": "object",
5554
5626
  "properties": {
@@ -5734,6 +5806,12 @@
5734
5806
  {
5735
5807
  "$ref": "#/components/schemas/SdkImageReportSectionDto"
5736
5808
  },
5809
+ {
5810
+ "$ref": "#/components/schemas/SdkChartReportSectionDto"
5811
+ },
5812
+ {
5813
+ "$ref": "#/components/schemas/SdkTableReportSectionDto"
5814
+ },
5737
5815
  {
5738
5816
  "$ref": "#/components/schemas/SdkSingleChoiceReportSectionDto"
5739
5817
  },
@@ -5747,6 +5825,8 @@
5747
5825
  "text": "#/components/schemas/SdkTextReportSectionDto",
5748
5826
  "markdown": "#/components/schemas/SdkMarkdownReportSectionDto",
5749
5827
  "image": "#/components/schemas/SdkImageReportSectionDto",
5828
+ "chart": "#/components/schemas/SdkChartReportSectionDto",
5829
+ "table": "#/components/schemas/SdkTableReportSectionDto",
5750
5830
  "single-choice": "#/components/schemas/SdkSingleChoiceReportSectionDto",
5751
5831
  "multi-choice": "#/components/schemas/SdkMultiChoiceReportSectionDto"
5752
5832
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rundit-sdk/embed",
3
- "version": "0.3.1-rc.7",
3
+ "version": "0.3.1-rc.9",
4
4
  "description": "Public Rundit embed SDK for iframe and embedded module consumers.",
5
5
  "repository": {
6
6
  "type": "git",