@bilig/protocol 0.1.51 → 0.1.53
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/types.d.ts +41 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -354,6 +354,44 @@ export interface WorkbookDataValidationSnapshot {
|
|
|
354
354
|
errorTitle?: string;
|
|
355
355
|
errorMessage?: string;
|
|
356
356
|
}
|
|
357
|
+
export interface WorkbookConditionalFormatCellIsRuleSnapshot {
|
|
358
|
+
kind: "cellIs";
|
|
359
|
+
operator: WorkbookValidationComparisonOperator;
|
|
360
|
+
values: LiteralInput[];
|
|
361
|
+
}
|
|
362
|
+
export interface WorkbookConditionalFormatTextContainsRuleSnapshot {
|
|
363
|
+
kind: "textContains";
|
|
364
|
+
text: string;
|
|
365
|
+
caseSensitive?: boolean;
|
|
366
|
+
}
|
|
367
|
+
export interface WorkbookConditionalFormatFormulaRuleSnapshot {
|
|
368
|
+
kind: "formula";
|
|
369
|
+
formula: string;
|
|
370
|
+
}
|
|
371
|
+
export interface WorkbookConditionalFormatBlanksRuleSnapshot {
|
|
372
|
+
kind: "blanks";
|
|
373
|
+
}
|
|
374
|
+
export interface WorkbookConditionalFormatNotBlanksRuleSnapshot {
|
|
375
|
+
kind: "notBlanks";
|
|
376
|
+
}
|
|
377
|
+
export type WorkbookConditionalFormatRuleSnapshot = WorkbookConditionalFormatCellIsRuleSnapshot | WorkbookConditionalFormatTextContainsRuleSnapshot | WorkbookConditionalFormatFormulaRuleSnapshot | WorkbookConditionalFormatBlanksRuleSnapshot | WorkbookConditionalFormatNotBlanksRuleSnapshot;
|
|
378
|
+
export interface WorkbookConditionalFormatSnapshot {
|
|
379
|
+
id: string;
|
|
380
|
+
range: CellRangeRef;
|
|
381
|
+
rule: WorkbookConditionalFormatRuleSnapshot;
|
|
382
|
+
style: CellStylePatch;
|
|
383
|
+
stopIfTrue?: boolean;
|
|
384
|
+
priority?: number;
|
|
385
|
+
}
|
|
386
|
+
export interface WorkbookSheetProtectionSnapshot {
|
|
387
|
+
sheetName: string;
|
|
388
|
+
hideFormulas?: boolean;
|
|
389
|
+
}
|
|
390
|
+
export interface WorkbookRangeProtectionSnapshot {
|
|
391
|
+
id: string;
|
|
392
|
+
range: CellRangeRef;
|
|
393
|
+
hideFormulas?: boolean;
|
|
394
|
+
}
|
|
357
395
|
export interface WorkbookCommentEntrySnapshot {
|
|
358
396
|
id: string;
|
|
359
397
|
body: string;
|
|
@@ -394,9 +432,12 @@ export interface SheetMetadataSnapshot {
|
|
|
394
432
|
styleRanges?: SheetStyleRangeSnapshot[];
|
|
395
433
|
formatRanges?: SheetFormatRangeSnapshot[];
|
|
396
434
|
freezePane?: WorkbookFreezePaneSnapshot;
|
|
435
|
+
sheetProtection?: WorkbookSheetProtectionSnapshot;
|
|
397
436
|
filters?: CellRangeRef[];
|
|
398
437
|
sorts?: WorkbookSortSnapshot[];
|
|
399
438
|
validations?: WorkbookDataValidationSnapshot[];
|
|
439
|
+
conditionalFormats?: WorkbookConditionalFormatSnapshot[];
|
|
440
|
+
protectedRanges?: WorkbookRangeProtectionSnapshot[];
|
|
400
441
|
commentThreads?: WorkbookCommentThreadSnapshot[];
|
|
401
442
|
notes?: WorkbookNoteSnapshot[];
|
|
402
443
|
}
|