File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
src/main/kotlin/spp/protocol/service Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,20 @@ interface LiveInsightService {
44
44
* Uploads source code to the workspace.
45
45
* @param sourceCode The source code to upload.
46
46
*/
47
- fun uploadSourceCode (sourceCode : JsonObject ): Future <Void >
47
+ fun uploadSourceCode (workspaceId : String , sourceCode : JsonObject ): Future <Void >
48
48
49
49
/* *
50
50
* Uploads source code repository to the workspace.
51
51
*
52
52
* @param repository The source code repository to upload.
53
53
*/
54
- fun uploadRepository (repository : JsonObject ): Future <Void >
54
+ fun uploadRepository (workspaceId : String , repository : JsonObject ): Future <Void >
55
55
56
- fun getArtifactInsights (artifact : ArtifactQualifiedName , types : JsonArray ): Future <JsonObject >
56
+ fun getArtifactInsights (workspaceId : String , artifact : ArtifactQualifiedName , types : JsonArray ): Future <JsonObject >
57
+
58
+ fun getProjectClasses (workspaceId : String , offset : Int , limit : Int ): Future <JsonArray >
59
+
60
+ fun getProjectFunctions (workspaceId : String , offset : Int , limit : Int ): Future <JsonArray >
61
+
62
+ fun getFunctionCode (workspaceId : String , function : ArtifactQualifiedName ): Future <JsonObject >
57
63
}
You can’t perform that action at this time.
0 commit comments