@bilig/protocol 0.1.54 → 0.1.55

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 (2) hide show
  1. package/dist/types.d.ts +18 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -162,6 +162,23 @@ export interface WorkbookPivotSnapshot {
162
162
  rows: number;
163
163
  cols: number;
164
164
  }
165
+ export type WorkbookChartType = "column" | "bar" | "line" | "area" | "pie" | "scatter";
166
+ export type WorkbookChartSeriesOrientation = "rows" | "columns";
167
+ export type WorkbookChartLegendPosition = "top" | "right" | "bottom" | "left" | "hidden";
168
+ export interface WorkbookChartSnapshot {
169
+ id: string;
170
+ sheetName: string;
171
+ address: string;
172
+ source: CellRangeRef;
173
+ chartType: WorkbookChartType;
174
+ seriesOrientation?: WorkbookChartSeriesOrientation;
175
+ firstRowAsHeaders?: boolean;
176
+ firstColumnAsLabels?: boolean;
177
+ title?: string;
178
+ legendPosition?: WorkbookChartLegendPosition;
179
+ rows: number;
180
+ cols: number;
181
+ }
165
182
  export interface WorkbookTableSnapshot {
166
183
  name: string;
167
184
  sheetName: string;
@@ -419,6 +436,7 @@ export interface WorkbookMetadataSnapshot {
419
436
  tables?: WorkbookTableSnapshot[];
420
437
  spills?: WorkbookSpillSnapshot[];
421
438
  pivots?: WorkbookPivotSnapshot[];
439
+ charts?: WorkbookChartSnapshot[];
422
440
  styles?: CellStyleRecord[];
423
441
  formats?: CellNumberFormatRecord[];
424
442
  calculationSettings?: WorkbookCalculationSettingsSnapshot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bilig/protocol",
3
- "version": "0.1.54",
3
+ "version": "0.1.55",
4
4
  "description": "Shared protocol types, enums, opcodes, and spreadsheet limits for bilig.",
5
5
  "keywords": [
6
6
  "bilig",