Skip to content

Commit a54ed01

Browse files
committed
Fix Typescript for ViewRowData
cr: Greg (pending)
1 parent d57379d commit a54ed01

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

data/cube/ViewRowData.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
*
55
* Copyright © 2025 Extremely Heavy Industries Inc.
66
*/
7-
import {PlainObject, Some} from '@xh/hoist/core';
7+
import {Some} from '@xh/hoist/core';
88
import {flatMap} from 'lodash';
99

1010
/**
1111
* Grouped node data, as returned by {@link Cube.executeQuery} or exposed via {@link View.result}.
1212
* Designed for direct consumption by hierarchical stores and their associated tree grids.
1313
*/
14-
export class ViewRowData implements PlainObject {
14+
export class ViewRowData {
1515
constructor(id: string) {
1616
this.id = id;
1717
}
@@ -58,6 +58,11 @@ export class ViewRowData implements PlainObject {
5858
return this._cubeLeafChildren ?? flatMap(this.children, 'cubeLeaves');
5959
}
6060

61+
/**
62+
* Support all other string keys for application fields in source data.
63+
*/
64+
[key: string]: any;
65+
6166
//------------------
6267
// Implementation
6368
//-----------------

0 commit comments

Comments
 (0)