We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63d8840 commit fd4a614Copy full SHA for fd4a614
packages/types/src/index.ts
@@ -154,3 +154,4 @@ export type {
154
MetricInstance,
155
} from './metrics';
156
export type { ParameterizedString } from './parameterize';
157
+export type { ViewHierarchyData, ViewHierarchyWindow } from './view-hierarchy';
packages/types/src/view-hierarchy.ts
@@ -0,0 +1,18 @@
1
+export type ViewHierarchyWindow = {
2
+ alpha: number;
3
+ height: number;
4
+ type: string;
5
+ visible: boolean;
6
+ width: number;
7
+ x: number;
8
+ y: number;
9
+ z?: number;
10
+ children?: ViewHierarchyWindow[];
11
+ depth?: number;
12
+ identifier?: string;
13
+} & Record<string, string | number | boolean>;
14
+
15
+export type ViewHierarchyData = {
16
+ rendering_system: string;
17
+ windows: ViewHierarchyWindow[];
18
+};
0 commit comments