@@ -70,7 +70,7 @@ import { InterfaceManager } from './interface';
7070import { WebviewReveal } from './interface-utils' ;
7171import { ideServerLogger , logger , queryServerLogger } from './logging' ;
7272import { QueryHistoryManager } from './query-history' ;
73- import { FullCompletedQueryInfo , FullQueryInfo } from './query-results' ;
73+ import { CompletedLocalQueryInfo , LocalQueryInfo } from './query-results' ;
7474import * as qsClient from './queryserver-client' ;
7575import { displayQuickQuery } from './quick-query' ;
7676import { compileAndRunQueryAgainstDatabase , createInitialQueryInfo } from './run-queries' ;
@@ -443,7 +443,7 @@ async function activateWithInstalledDistribution(
443443 void logger . log ( 'Initializing query history manager.' ) ;
444444 const queryHistoryConfigurationListener = new QueryHistoryConfigListener ( ) ;
445445 ctx . subscriptions . push ( queryHistoryConfigurationListener ) ;
446- const showResults = async ( item : FullCompletedQueryInfo ) =>
446+ const showResults = async ( item : CompletedLocalQueryInfo ) =>
447447 showResultsForCompletedQuery ( item , WebviewReveal . Forced ) ;
448448 const queryStorageDir = path . join ( ctx . globalStorageUri . fsPath , 'queries' ) ;
449449 await fs . ensureDir ( queryStorageDir ) ;
@@ -456,7 +456,7 @@ async function activateWithInstalledDistribution(
456456 ctx ,
457457 queryHistoryConfigurationListener ,
458458 showResults ,
459- async ( from : FullCompletedQueryInfo , to : FullCompletedQueryInfo ) =>
459+ async ( from : CompletedLocalQueryInfo , to : CompletedLocalQueryInfo ) =>
460460 showResultsForComparison ( from , to ) ,
461461 ) ;
462462 await qhm . readQueryHistory ( ) ;
@@ -480,8 +480,8 @@ async function activateWithInstalledDistribution(
480480 archiveFilesystemProvider . activate ( ctx ) ;
481481
482482 async function showResultsForComparison (
483- from : FullCompletedQueryInfo ,
484- to : FullCompletedQueryInfo
483+ from : CompletedLocalQueryInfo ,
484+ to : CompletedLocalQueryInfo
485485 ) : Promise < void > {
486486 try {
487487 await cmpm . showResults ( from , to ) ;
@@ -491,7 +491,7 @@ async function activateWithInstalledDistribution(
491491 }
492492
493493 async function showResultsForCompletedQuery (
494- query : FullCompletedQueryInfo ,
494+ query : CompletedLocalQueryInfo ,
495495 forceReveal : WebviewReveal
496496 ) : Promise < void > {
497497 await intm . showResults ( query , forceReveal , false ) ;
@@ -521,7 +521,7 @@ async function activateWithInstalledDistribution(
521521 token . onCancellationRequested ( ( ) => source . cancel ( ) ) ;
522522
523523 const initialInfo = await createInitialQueryInfo ( selectedQuery , databaseInfo , quickEval , range ) ;
524- const item = new FullQueryInfo ( initialInfo , queryHistoryConfigurationListener , source ) ;
524+ const item = new LocalQueryInfo ( initialInfo , queryHistoryConfigurationListener , source ) ;
525525 qhm . addQuery ( item ) ;
526526 try {
527527 const completedQueryInfo = await compileAndRunQueryAgainstDatabase (
@@ -535,7 +535,7 @@ async function activateWithInstalledDistribution(
535535 ) ;
536536 item . completeThisQuery ( completedQueryInfo ) ;
537537 await qhm . writeQueryHistory ( ) ;
538- await showResultsForCompletedQuery ( item as FullCompletedQueryInfo , WebviewReveal . NotForced ) ;
538+ await showResultsForCompletedQuery ( item as CompletedLocalQueryInfo , WebviewReveal . NotForced ) ;
539539 // Note we must update the query history view after showing results as the
540540 // display and sorting might depend on the number of results
541541 } catch ( e ) {
0 commit comments