File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
extensions/ql-vscode/src/query-history/store Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 44import { QueryHistoryLocalQueryDto } from "./query-history-local-query-dto" ;
55import { QueryHistoryVariantAnalysisDto } from "./query-history-variant-analysis-dto" ;
66
7- export const ALLOWED_QUERY_HISTORY_VERSIONS = [ 1 , 2 ] ;
8-
97export interface QueryHistoryDto {
108 version : number ;
119 queries : QueryHistoryItemDto [ ] ;
Original file line number Diff line number Diff line change @@ -10,13 +10,11 @@ import {
1010} from "../../pure/helpers-pure" ;
1111import { QueryHistoryInfo } from "../query-history-info" ;
1212import { redactableError } from "../../pure/errors" ;
13- import {
14- ALLOWED_QUERY_HISTORY_VERSIONS ,
15- QueryHistoryDto ,
16- QueryHistoryItemDto ,
17- } from "./query-history-dto" ;
18- import { mapQueryHistoryToDomainModel } from "./data-mapper" ;
19- import { mapQueryHistoryToDto } from "./domain-mapper" ;
13+ import { QueryHistoryDto , QueryHistoryItemDto } from "./query-history-dto" ;
14+ import { mapQueryHistoryToDomainModel } from "./query-history-dto-mapper" ;
15+ import { mapQueryHistoryToDto } from "./query-history-domain-mapper" ;
16+
17+ const ALLOWED_QUERY_HISTORY_VERSIONS = [ 1 , 2 ] ;
2018
2119export async function readQueryHistoryFromFile (
2220 fsPath : string ,
You can’t perform that action at this time.
0 commit comments