@xh/hoist 77.0.0-SNAPSHOT.1760710210101 → 77.0.0-SNAPSHOT.1761095335630
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 +2 -0
- package/build/types/data/cube/ViewRowData.d.ts +2 -0
- package/data/cube/ViewRowData.ts +3 -0
- package/data/cube/row/AggregateRow.ts +1 -0
- package/data/cube/row/BucketRow.ts +1 -0
- package/data/cube/row/LeafRow.ts +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,8 @@ export declare class ViewRowData {
|
|
|
7
7
|
constructor(id: string);
|
|
8
8
|
/** Unique id. */
|
|
9
9
|
id: string;
|
|
10
|
+
/** Denotes a type for the row */
|
|
11
|
+
cubeRowType: 'leaf' | 'aggregate' | 'bucket';
|
|
10
12
|
/**
|
|
11
13
|
* Label of the row. The dimension value or, for leaf rows. the underlying cubeId.
|
|
12
14
|
* Suitable for display, although apps will typically wish to customize leaf row rendering.
|
package/data/cube/ViewRowData.ts
CHANGED
|
@@ -19,6 +19,9 @@ export class ViewRowData {
|
|
|
19
19
|
/** Unique id. */
|
|
20
20
|
id: string;
|
|
21
21
|
|
|
22
|
+
/** Denotes a type for the row */
|
|
23
|
+
cubeRowType: 'leaf' | 'aggregate' | 'bucket';
|
|
24
|
+
|
|
22
25
|
/**
|
|
23
26
|
* Label of the row. The dimension value or, for leaf rows. the underlying cubeId.
|
|
24
27
|
* Suitable for display, although apps will typically wish to customize leaf row rendering.
|
package/data/cube/row/LeafRow.ts
CHANGED
|
@@ -33,8 +33,8 @@ export class LeafRow extends BaseRow {
|
|
|
33
33
|
|
|
34
34
|
constructor(view: View, id: string, rawRecord: StoreRecord) {
|
|
35
35
|
super(view, id);
|
|
36
|
-
|
|
37
36
|
this.cubeRecordId = rawRecord.id;
|
|
37
|
+
this.data.cubeRowType = 'leaf';
|
|
38
38
|
this.data.cubeLabel = rawRecord.id.toString();
|
|
39
39
|
this.data.cubeDimension = null;
|
|
40
40
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "77.0.0-SNAPSHOT.
|
|
3
|
+
"version": "77.0.0-SNAPSHOT.1761095335630",
|
|
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",
|