File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
extensions/ql-vscode/src/remote-queries Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -187,14 +187,25 @@ async function getPackedBundlePath(queryPackDir: string) {
187187 } ) ;
188188}
189189
190+ export interface PreparedRemoteQuery {
191+ actionBranch : string ;
192+ base64Pack : string ;
193+ repoSelection : RepositorySelection ;
194+ queryFile : string ;
195+ queryMetadata : QueryMetadata | undefined ;
196+ controllerRepo : Repository ;
197+ queryStartTime : number ;
198+ language : string ;
199+ }
200+
190201export async function prepareRemoteQueryRun (
191202 cliServer : cli . CodeQLCliServer ,
192203 credentials : Credentials ,
193204 uri : Uri | undefined ,
194205 queryPackDir : string ,
195206 progress : ProgressCallback ,
196207 token : CancellationToken ,
197- ) {
208+ ) : Promise < PreparedRemoteQuery > {
198209 if ( ! ( await cliServer . cliConstraints . supportsRemoteQueries ( ) ) ) {
199210 throw new Error ( `Variant analysis is not supported by this version of CodeQL. Please upgrade to v${ cli . CliVersionConstraint . CLI_VERSION_REMOTE_QUERIES
200211 } or later.`) ;
You can’t perform that action at this time.
0 commit comments