Skip to content

Commit

Permalink
export GridAggregationParams for use with custom aggregators (mui#12822)
Browse files Browse the repository at this point in the history
Signed-off-by: Gene Arch <[email protected]>
Co-authored-by: Rom Grk <[email protected]>
  • Loading branch information
2 people authored and jacrowland1 committed Jun 5, 2024
1 parent 13f286c commit 34f8f5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export interface GridAggregationFunction<V = any, AV = V> {
getCellValue?: (params: GridAggregationGetCellValueParams) => V;
}

interface GridAggregationParams<V = any> {
export interface GridAggregationParams<V = any> {
values: (V | undefined)[];
groupId: GridRowId;
field: GridColDef['field'];
Expand Down
1 change: 1 addition & 0 deletions scripts/x-data-grid-premium.exports.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
{ "name": "gridAggregationLookupSelector", "kind": "Variable" },
{ "name": "GridAggregationModel", "kind": "TypeAlias" },
{ "name": "gridAggregationModelSelector", "kind": "Variable" },
{ "name": "GridAggregationParams", "kind": "Interface" },
{ "name": "GridAggregationPosition", "kind": "TypeAlias" },
{ "name": "GridAggregationRule", "kind": "Interface" },
{ "name": "GridAggregationRules", "kind": "TypeAlias" },
Expand Down

0 comments on commit 34f8f5e

Please sign in to comment.