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 {
4444 * Uploads source code to the workspace.
4545 * @param sourceCode The source code to upload.
4646 */
47- fun uploadSourceCode (sourceCode : JsonObject ): Future <Void >
47+ fun uploadSourceCode (workspaceId : String , sourceCode : JsonObject ): Future <Void >
4848
4949 /* *
5050 * Uploads source code repository to the workspace.
5151 *
5252 * @param repository The source code repository to upload.
5353 */
54- fun uploadRepository (repository : JsonObject ): Future <Void >
54+ fun uploadRepository (workspaceId : String , repository : JsonObject ): Future <Void >
5555
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 >
5763}
You can’t perform that action at this time.
0 commit comments