@xh/hoist 75.0.0 → 76.0.0-SNAPSHOT.1754918963825

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/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Changelog
2
2
 
3
+ ## 76.0.0-SNAPSHOT - unreleased
4
+
3
5
  ## 75.0.0 - 2025-08-08
4
6
 
5
7
  ### 🎁 New Features
@@ -1,9 +1,9 @@
1
- import { PlainObject, Some } from '@xh/hoist/core';
1
+ import { Some } from '@xh/hoist/core';
2
2
  /**
3
3
  * Grouped node data, as returned by {@link Cube.executeQuery} or exposed via {@link View.result}.
4
4
  * Designed for direct consumption by hierarchical stores and their associated tree grids.
5
5
  */
6
- export declare class ViewRowData implements PlainObject {
6
+ export declare class ViewRowData {
7
7
  constructor(id: string);
8
8
  /** Unique id. */
9
9
  id: string;
@@ -35,6 +35,10 @@ export declare class ViewRowData implements PlainObject {
35
35
  * must have been set on the underlying Query.
36
36
  */
37
37
  get cubeLeaves(): Some<ViewRowData>;
38
+ /**
39
+ * Support all other string keys for application fields in source data.
40
+ */
41
+ [key: string]: any;
38
42
  /** @internal */
39
43
  _cubeLeafChildren: ViewRowData[];
40
44
  }
@@ -4,14 +4,14 @@
4
4
  *
5
5
  * Copyright © 2025 Extremely Heavy Industries Inc.
6
6
  */
7
- import {PlainObject, Some} from '@xh/hoist/core';
7
+ import {Some} from '@xh/hoist/core';
8
8
  import {flatMap} from 'lodash';
9
9
 
10
10
  /**
11
11
  * Grouped node data, as returned by {@link Cube.executeQuery} or exposed via {@link View.result}.
12
12
  * Designed for direct consumption by hierarchical stores and their associated tree grids.
13
13
  */
14
- export class ViewRowData implements PlainObject {
14
+ export class ViewRowData {
15
15
  constructor(id: string) {
16
16
  this.id = id;
17
17
  }
@@ -58,6 +58,11 @@ export class ViewRowData implements PlainObject {
58
58
  return this._cubeLeafChildren ?? flatMap(this.children, 'cubeLeaves');
59
59
  }
60
60
 
61
+ /**
62
+ * Support all other string keys for application fields in source data.
63
+ */
64
+ [key: string]: any;
65
+
61
66
  //------------------
62
67
  // Implementation
63
68
  //-----------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "75.0.0",
3
+ "version": "76.0.0-SNAPSHOT.1754918963825",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",