@bilig/protocol 0.11.23 → 0.11.25

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 -1
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -275,10 +275,24 @@ export interface WorkbookTableSnapshot {
275
275
  startAddress: string;
276
276
  endAddress: string;
277
277
  columnNames: string[];
278
+ columns?: WorkbookTableColumnSnapshot[];
278
279
  headerRow: boolean;
279
280
  totalsRow: boolean;
281
+ style?: WorkbookTableStyleSnapshot;
280
282
  sortState?: string;
281
283
  }
284
+ export interface WorkbookTableColumnSnapshot {
285
+ name: string;
286
+ totalsRowLabel?: string;
287
+ totalsRowFunction?: string;
288
+ }
289
+ export interface WorkbookTableStyleSnapshot {
290
+ name?: string;
291
+ showFirstColumn?: boolean;
292
+ showLastColumn?: boolean;
293
+ showRowStripes?: boolean;
294
+ showColumnStripes?: boolean;
295
+ }
282
296
  export interface WorkbookAxisMetadataSnapshot {
283
297
  start: number;
284
298
  count: number;
@@ -523,12 +537,15 @@ export interface WorkbookCheckboxValidationRuleSnapshot {
523
537
  checkedValue?: LiteralInput;
524
538
  uncheckedValue?: LiteralInput;
525
539
  }
540
+ export interface WorkbookAnyValidationRuleSnapshot {
541
+ kind: 'any';
542
+ }
526
543
  export interface WorkbookScalarValidationRuleSnapshot {
527
544
  kind: 'whole' | 'decimal' | 'date' | 'time' | 'textLength';
528
545
  operator: WorkbookValidationComparisonOperator;
529
546
  values: LiteralInput[];
530
547
  }
531
- export type WorkbookDataValidationRuleSnapshot = WorkbookListValidationRuleSnapshot | WorkbookCheckboxValidationRuleSnapshot | WorkbookScalarValidationRuleSnapshot;
548
+ export type WorkbookDataValidationRuleSnapshot = WorkbookListValidationRuleSnapshot | WorkbookCheckboxValidationRuleSnapshot | WorkbookAnyValidationRuleSnapshot | WorkbookScalarValidationRuleSnapshot;
532
549
  export interface WorkbookDataValidationSnapshot {
533
550
  range: CellRangeRef;
534
551
  rule: WorkbookDataValidationRuleSnapshot;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bilig/protocol",
3
- "version": "0.11.23",
3
+ "version": "0.11.25",
4
4
  "description": "Shared protocol types, enums, opcodes, and spreadsheet limits for bilig.",
5
5
  "keywords": [
6
6
  "bilig",