gm-datagrid 0.1.6 → 0.1.7

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.
@@ -75,7 +75,15 @@ export interface SortKey {
75
75
  dir: 'asc' | 'desc';
76
76
  }
77
77
  export type FilterLogic = 'AND' | 'OR';
78
- export type FilterOperator = 'contains' | 'notContains' | 'equals' | 'startsWith' | 'gt' | 'gte' | 'lt' | 'lte' | 'between' | 'isNull' | 'isNotNull';
78
+ export type FilterOperator = 'contains' | 'notContains' | 'equals' | 'notEquals' | 'startsWith' | 'gt' | 'gte' | 'lt' | 'lte' | 'between' | 'isNull' | 'isNotNull';
79
+ /** Operator options available for date / dateTime columns. */
80
+ export type DateFilterOp = 'equals' | 'notEquals' | 'gt' | 'gte' | 'lt' | 'lte' | 'isNull' | 'isNotNull';
81
+ /** Value used for date/dateTime filter cells — carries the operator alongside the date string. */
82
+ export interface DateFilterValue {
83
+ op: DateFilterOp;
84
+ /** ISO date string (YYYY-MM-DD) or datetime-local string; empty for isNull/isNotNull. */
85
+ value: string;
86
+ }
79
87
  export interface FilterCondition {
80
88
  field: string;
81
89
  op: FilterOperator;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-datagrid",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Enterprise Excel-like data grid powered by a Rust/Wasm core engine and React",
5
5
  "keywords": [
6
6
  "datagrid",