File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -107,17 +107,18 @@ export type MlModelInfo = {
107107/** The expected output of `codeql resolve ml-models`. */
108108export type MlModelsInfo = { models : MlModelInfo [ ] } ;
109109
110- export type DataExtensionInfo = {
110+ /** Information about a data extension predicate, as resolved by `codeql resolve extensions`. */
111+ export type DataExtensionResult = {
111112 predicate : string ;
112113 file : string ;
113114 index : number ;
114115} ;
115116
116117/** The expected output of `codeql resolve extensions`. */
117- export type ExtensionsInfo = {
118+ export type ResolveExtensionsResult = {
118119 models : MlModelInfo [ ] ;
119120 data : {
120- [ filename : string ] : DataExtensionInfo [ ] ;
121+ [ path : string ] : DataExtensionResult [ ] ;
121122 } ;
122123} ;
123124
@@ -1215,11 +1216,11 @@ export class CodeQLCliServer implements Disposable {
12151216 async resolveExtensions (
12161217 suite : string ,
12171218 additionalPacks : string [ ] ,
1218- ) : Promise < ExtensionsInfo > {
1219+ ) : Promise < ResolveExtensionsResult > {
12191220 const args = this . getAdditionalPacksArg ( additionalPacks ) ;
12201221 args . push ( suite ) ;
12211222
1222- return this . runJsonCodeQlCliCommand < ExtensionsInfo > (
1223+ return this . runJsonCodeQlCliCommand < ResolveExtensionsResult > (
12231224 [ "resolve" , "extensions" ] ,
12241225 args ,
12251226 "Resolving extensions" ,
You can’t perform that action at this time.
0 commit comments