@bilig/protocol 0.1.55 → 0.1.57

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 +23 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -179,6 +179,27 @@ export interface WorkbookChartSnapshot {
179
179
  rows: number;
180
180
  cols: number;
181
181
  }
182
+ export interface WorkbookImageSnapshot {
183
+ id: string;
184
+ sheetName: string;
185
+ address: string;
186
+ sourceUrl: string;
187
+ rows: number;
188
+ cols: number;
189
+ altText?: string;
190
+ }
191
+ export type WorkbookShapeType = "rectangle" | "roundedRectangle" | "ellipse" | "line" | "arrow" | "textBox";
192
+ export interface WorkbookShapeSnapshot {
193
+ id: string;
194
+ sheetName: string;
195
+ address: string;
196
+ shapeType: WorkbookShapeType;
197
+ rows: number;
198
+ cols: number;
199
+ text?: string;
200
+ fillColor?: string;
201
+ strokeColor?: string;
202
+ }
182
203
  export interface WorkbookTableSnapshot {
183
204
  name: string;
184
205
  sheetName: string;
@@ -437,6 +458,8 @@ export interface WorkbookMetadataSnapshot {
437
458
  spills?: WorkbookSpillSnapshot[];
438
459
  pivots?: WorkbookPivotSnapshot[];
439
460
  charts?: WorkbookChartSnapshot[];
461
+ images?: WorkbookImageSnapshot[];
462
+ shapes?: WorkbookShapeSnapshot[];
440
463
  styles?: CellStyleRecord[];
441
464
  formats?: CellNumberFormatRecord[];
442
465
  calculationSettings?: WorkbookCalculationSettingsSnapshot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bilig/protocol",
3
- "version": "0.1.55",
3
+ "version": "0.1.57",
4
4
  "description": "Shared protocol types, enums, opcodes, and spreadsheet limits for bilig.",
5
5
  "keywords": [
6
6
  "bilig",