@bilig/protocol 0.1.50 → 0.1.51

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
@@ -354,6 +354,27 @@ export interface WorkbookDataValidationSnapshot {
354
354
  errorTitle?: string;
355
355
  errorMessage?: string;
356
356
  }
357
+ export interface WorkbookCommentEntrySnapshot {
358
+ id: string;
359
+ body: string;
360
+ authorUserId?: string;
361
+ authorDisplayName?: string;
362
+ createdAtUnixMs?: number;
363
+ }
364
+ export interface WorkbookCommentThreadSnapshot {
365
+ threadId: string;
366
+ sheetName: string;
367
+ address: string;
368
+ comments: WorkbookCommentEntrySnapshot[];
369
+ resolved?: boolean;
370
+ resolvedByUserId?: string;
371
+ resolvedAtUnixMs?: number;
372
+ }
373
+ export interface WorkbookNoteSnapshot {
374
+ sheetName: string;
375
+ address: string;
376
+ text: string;
377
+ }
357
378
  export interface WorkbookMetadataSnapshot {
358
379
  properties?: WorkbookPropertySnapshot[];
359
380
  definedNames?: WorkbookDefinedNameSnapshot[];
@@ -376,6 +397,8 @@ export interface SheetMetadataSnapshot {
376
397
  filters?: CellRangeRef[];
377
398
  sorts?: WorkbookSortSnapshot[];
378
399
  validations?: WorkbookDataValidationSnapshot[];
400
+ commentThreads?: WorkbookCommentThreadSnapshot[];
401
+ notes?: WorkbookNoteSnapshot[];
379
402
  }
380
403
  export interface WorkbookSnapshot {
381
404
  version: 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bilig/protocol",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "description": "Shared protocol types, enums, opcodes, and spreadsheet limits for bilig.",
5
5
  "keywords": [
6
6
  "bilig",