Skip to content

Commit 32f540c

Browse files
committed
fix: better code
1 parent 783064b commit 32f540c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/store/reducers/query/types.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ export interface SimplifiedPlanItem {
3838
aCpu?: number;
3939
aRows?: number;
4040
eCost?: string;
41+
eRows?: string;
42+
eSize?: string;
43+
children?: SimplifiedPlanItem[];
4144
}
4245

4346
export interface PreparedQueryData extends IQueryResult {
@@ -57,11 +60,11 @@ export interface QueryResult {
5760

5861
export interface QueryState {
5962
input: string;
60-
tenantPath?: string;
61-
result?: QueryResult;
63+
result?: QueryResult & {isTraceReady?: boolean};
6264
history: {
6365
queries: QueryInHistory[];
6466
currentIndex: number;
6567
filter?: string;
6668
};
69+
tenantPath?: string;
6770
}

src/types/store/streaming.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,4 @@ export interface QueryResponseChunk {
3232
ast?: string;
3333
}
3434

35-
// Make the union type explicit about the discriminant
3635
export type StreamingChunk = SessionChunk | StreamDataChunk | QueryResponseChunk;

0 commit comments

Comments
 (0)