You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/ql-vscode/src/data-extensions-editor/queries/query.ts
+16-3Lines changed: 16 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,29 @@
1
1
exporttypeQuery={
2
2
/**
3
-
* The main query.
3
+
* The application query.
4
4
*
5
5
* It should select all usages of external APIs, and return the following result pattern:
6
6
* - usage: the usage of the external API. This is an entity.
7
7
* - apiName: the name of the external API. This is a string.
8
-
* - supported: whether the external API is supported by the extension. This should be a string representation of a boolean to satify the result pattern for a problem query.
8
+
* - supported: whether the external API is modeled. This should be a string representation of a boolean to satify the result pattern for a problem query.
9
9
* - "supported": a string literal. This is required to make the query a valid problem query.
10
10
* - libraryName: the name of the library that contains the external API. This is a string and usually the basename of a file.
11
11
* - "library": a string literal. This is required to make the query a valid problem query.
12
12
*/
13
-
mainQuery: string;
13
+
applicationModeQuery: string;
14
+
/**
15
+
* The framework query.
16
+
*
17
+
* It should select all methods that are callable by applications, which is usually all public methods (and constructors).
18
+
* The result pattern should be as follows:
19
+
* - method: the method that is callable by applications. This is an entity.
20
+
* - apiName: the name of the external API. This is a string.
21
+
* - supported: whether this method is modeled. This should be a string representation of a boolean to satify the result pattern for a problem query.
22
+
* - "supported": a string literal. This is required to make the query a valid problem query.
23
+
* - libraryName: an arbitrary string. This is required to make it match the structure of the application query.
24
+
* - "library": a string literal. This is required to make the query a valid problem query.
Copy file name to clipboardExpand all lines: extensions/ql-vscode/test/vscode-tests/no-workspace/data-extensions-editor/external-api-usage-query.test.ts
0 commit comments