@starasia/admin 12.35.0 → 12.36.0

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.
@@ -85,6 +85,14 @@ export interface DateCompactFilterField extends BaseFilterField {
85
85
  * is used instead.
86
86
  */
87
87
  defaultOp?: DateCompactOp;
88
+ /**
89
+ * Calendar granularity for the operator bodies (single & range), mirroring
90
+ * the `date` field's `mode`. `'months'` → month picker, `'years'` → year
91
+ * picker. Default `'days'`. The emitted `DateCompactValue` still carries ISO
92
+ * dates (first day of the picked month/year); the pill label is formatted to
93
+ * match the granularity. `is-relative-to-today` keeps its day-based preview.
94
+ */
95
+ mode?: 'days' | 'months' | 'years';
88
96
  }
89
97
  export type FilterFieldConfig = SelectFilterField | CheckboxMultipleFilterField | DateFilterField | DateCompactFilterField;
90
98
  /** A single column entry fed to the Customize Column panel. */