@bilig/protocol 0.1.51 → 0.1.52
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 +30 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -354,6 +354,35 @@ 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
|
+
}
|
|
357
386
|
export interface WorkbookCommentEntrySnapshot {
|
|
358
387
|
id: string;
|
|
359
388
|
body: string;
|
|
@@ -397,6 +426,7 @@ export interface SheetMetadataSnapshot {
|
|
|
397
426
|
filters?: CellRangeRef[];
|
|
398
427
|
sorts?: WorkbookSortSnapshot[];
|
|
399
428
|
validations?: WorkbookDataValidationSnapshot[];
|
|
429
|
+
conditionalFormats?: WorkbookConditionalFormatSnapshot[];
|
|
400
430
|
commentThreads?: WorkbookCommentThreadSnapshot[];
|
|
401
431
|
notes?: WorkbookNoteSnapshot[];
|
|
402
432
|
}
|