@daytonaio/api-client 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +10 -0
- package/README.md +2 -2
- package/api/toolbox-api.ts +626 -0
- package/dist/api/toolbox-api.d.ts +280 -0
- package/dist/api/toolbox-api.js +577 -0
- package/dist/esm/api/toolbox-api.d.ts +280 -0
- package/dist/esm/api/toolbox-api.js +577 -0
- package/dist/esm/models/completion-context.d.ts +30 -0
- package/dist/esm/models/completion-context.js +14 -0
- package/dist/esm/models/completion-item.d.ts +60 -0
- package/dist/esm/models/completion-item.js +14 -0
- package/dist/esm/models/completion-list.d.ts +31 -0
- package/dist/esm/models/completion-list.js +14 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/esm/models/lsp-completion-params.d.ts +50 -0
- package/dist/esm/models/lsp-completion-params.js +14 -0
- package/dist/esm/models/lsp-document-request.d.ts +36 -0
- package/dist/esm/models/lsp-document-request.js +14 -0
- package/dist/esm/models/lsp-location.d.ts +31 -0
- package/dist/esm/models/lsp-location.js +14 -0
- package/dist/esm/models/lsp-server-request.d.ts +30 -0
- package/dist/esm/models/lsp-server-request.js +14 -0
- package/dist/esm/models/lsp-symbol.d.ts +37 -0
- package/dist/esm/models/lsp-symbol.js +14 -0
- package/dist/esm/models/position.d.ts +30 -0
- package/dist/esm/models/position.js +14 -0
- package/dist/esm/models/range.d.ts +31 -0
- package/dist/esm/models/range.js +14 -0
- package/dist/models/completion-context.d.ts +30 -0
- package/dist/models/completion-context.js +15 -0
- package/dist/models/completion-item.d.ts +60 -0
- package/dist/models/completion-item.js +15 -0
- package/dist/models/completion-list.d.ts +31 -0
- package/dist/models/completion-list.js +15 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/dist/models/lsp-completion-params.d.ts +50 -0
- package/dist/models/lsp-completion-params.js +15 -0
- package/dist/models/lsp-document-request.d.ts +36 -0
- package/dist/models/lsp-document-request.js +15 -0
- package/dist/models/lsp-location.d.ts +31 -0
- package/dist/models/lsp-location.js +15 -0
- package/dist/models/lsp-server-request.d.ts +30 -0
- package/dist/models/lsp-server-request.js +15 -0
- package/dist/models/lsp-symbol.d.ts +37 -0
- package/dist/models/lsp-symbol.js +15 -0
- package/dist/models/position.d.ts +30 -0
- package/dist/models/position.js +15 -0
- package/dist/models/range.d.ts +31 -0
- package/dist/models/range.js +15 -0
- package/models/completion-context.ts +36 -0
- package/models/completion-item.ts +66 -0
- package/models/completion-list.ts +39 -0
- package/models/index.ts +10 -0
- package/models/lsp-completion-params.ts +60 -0
- package/models/lsp-document-request.ts +42 -0
- package/models/lsp-location.ts +39 -0
- package/models/lsp-server-request.ts +36 -0
- package/models/lsp-symbol.ts +45 -0
- package/models/position.ts +36 -0
- package/models/range.ts +39 -0
- package/package.json +1 -1
package/dist/api/toolbox-api.js
CHANGED
|
@@ -864,6 +864,291 @@ const ToolboxApiAxiosParamCreator = function (configuration) {
|
|
|
864
864
|
options: localVarRequestOptions,
|
|
865
865
|
};
|
|
866
866
|
}),
|
|
867
|
+
/**
|
|
868
|
+
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
869
|
+
* @summary Get Lsp Completions
|
|
870
|
+
* @param {string} workspaceId
|
|
871
|
+
* @param {LspCompletionParams} lspCompletionParams
|
|
872
|
+
* @param {*} [options] Override http request option.
|
|
873
|
+
* @throws {RequiredError}
|
|
874
|
+
*/
|
|
875
|
+
lspCompletions: (workspaceId_1, lspCompletionParams_1, ...args_1) => __awaiter(this, [workspaceId_1, lspCompletionParams_1, ...args_1], void 0, function* (workspaceId, lspCompletionParams, options = {}) {
|
|
876
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
877
|
+
(0, common_1.assertParamExists)('lspCompletions', 'workspaceId', workspaceId);
|
|
878
|
+
// verify required parameter 'lspCompletionParams' is not null or undefined
|
|
879
|
+
(0, common_1.assertParamExists)('lspCompletions', 'lspCompletionParams', lspCompletionParams);
|
|
880
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/completions`
|
|
881
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
882
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
883
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
884
|
+
let baseOptions;
|
|
885
|
+
if (configuration) {
|
|
886
|
+
baseOptions = configuration.baseOptions;
|
|
887
|
+
}
|
|
888
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
889
|
+
const localVarHeaderParameter = {};
|
|
890
|
+
const localVarQueryParameter = {};
|
|
891
|
+
// authentication oauth2 required
|
|
892
|
+
// oauth required
|
|
893
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
894
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
895
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
896
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
897
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
898
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lspCompletionParams, localVarRequestOptions, configuration);
|
|
899
|
+
return {
|
|
900
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
901
|
+
options: localVarRequestOptions,
|
|
902
|
+
};
|
|
903
|
+
}),
|
|
904
|
+
/**
|
|
905
|
+
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
906
|
+
* @summary Call Lsp DidClose
|
|
907
|
+
* @param {string} workspaceId
|
|
908
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
909
|
+
* @param {*} [options] Override http request option.
|
|
910
|
+
* @throws {RequiredError}
|
|
911
|
+
*/
|
|
912
|
+
lspDidClose: (workspaceId_1, lspDocumentRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, lspDocumentRequest_1, ...args_1], void 0, function* (workspaceId, lspDocumentRequest, options = {}) {
|
|
913
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
914
|
+
(0, common_1.assertParamExists)('lspDidClose', 'workspaceId', workspaceId);
|
|
915
|
+
// verify required parameter 'lspDocumentRequest' is not null or undefined
|
|
916
|
+
(0, common_1.assertParamExists)('lspDidClose', 'lspDocumentRequest', lspDocumentRequest);
|
|
917
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-close`
|
|
918
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
919
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
920
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
921
|
+
let baseOptions;
|
|
922
|
+
if (configuration) {
|
|
923
|
+
baseOptions = configuration.baseOptions;
|
|
924
|
+
}
|
|
925
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
926
|
+
const localVarHeaderParameter = {};
|
|
927
|
+
const localVarQueryParameter = {};
|
|
928
|
+
// authentication oauth2 required
|
|
929
|
+
// oauth required
|
|
930
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
931
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
932
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
933
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
934
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
935
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lspDocumentRequest, localVarRequestOptions, configuration);
|
|
936
|
+
return {
|
|
937
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
938
|
+
options: localVarRequestOptions,
|
|
939
|
+
};
|
|
940
|
+
}),
|
|
941
|
+
/**
|
|
942
|
+
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
943
|
+
* @summary Call Lsp DidOpen
|
|
944
|
+
* @param {string} workspaceId
|
|
945
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
946
|
+
* @param {*} [options] Override http request option.
|
|
947
|
+
* @throws {RequiredError}
|
|
948
|
+
*/
|
|
949
|
+
lspDidOpen: (workspaceId_1, lspDocumentRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, lspDocumentRequest_1, ...args_1], void 0, function* (workspaceId, lspDocumentRequest, options = {}) {
|
|
950
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
951
|
+
(0, common_1.assertParamExists)('lspDidOpen', 'workspaceId', workspaceId);
|
|
952
|
+
// verify required parameter 'lspDocumentRequest' is not null or undefined
|
|
953
|
+
(0, common_1.assertParamExists)('lspDidOpen', 'lspDocumentRequest', lspDocumentRequest);
|
|
954
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/did-open`
|
|
955
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
956
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
957
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
958
|
+
let baseOptions;
|
|
959
|
+
if (configuration) {
|
|
960
|
+
baseOptions = configuration.baseOptions;
|
|
961
|
+
}
|
|
962
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
963
|
+
const localVarHeaderParameter = {};
|
|
964
|
+
const localVarQueryParameter = {};
|
|
965
|
+
// authentication oauth2 required
|
|
966
|
+
// oauth required
|
|
967
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
968
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
969
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
970
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
971
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
972
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lspDocumentRequest, localVarRequestOptions, configuration);
|
|
973
|
+
return {
|
|
974
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
975
|
+
options: localVarRequestOptions,
|
|
976
|
+
};
|
|
977
|
+
}),
|
|
978
|
+
/**
|
|
979
|
+
* The document symbol request is sent from the client to the server.
|
|
980
|
+
* @summary Call Lsp DocumentSymbols
|
|
981
|
+
* @param {string} workspaceId
|
|
982
|
+
* @param {string} languageId
|
|
983
|
+
* @param {string} pathToProject
|
|
984
|
+
* @param {string} uri
|
|
985
|
+
* @param {*} [options] Override http request option.
|
|
986
|
+
* @throws {RequiredError}
|
|
987
|
+
*/
|
|
988
|
+
lspDocumentSymbols: (workspaceId_1, languageId_1, pathToProject_1, uri_1, ...args_1) => __awaiter(this, [workspaceId_1, languageId_1, pathToProject_1, uri_1, ...args_1], void 0, function* (workspaceId, languageId, pathToProject, uri, options = {}) {
|
|
989
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
990
|
+
(0, common_1.assertParamExists)('lspDocumentSymbols', 'workspaceId', workspaceId);
|
|
991
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
992
|
+
(0, common_1.assertParamExists)('lspDocumentSymbols', 'languageId', languageId);
|
|
993
|
+
// verify required parameter 'pathToProject' is not null or undefined
|
|
994
|
+
(0, common_1.assertParamExists)('lspDocumentSymbols', 'pathToProject', pathToProject);
|
|
995
|
+
// verify required parameter 'uri' is not null or undefined
|
|
996
|
+
(0, common_1.assertParamExists)('lspDocumentSymbols', 'uri', uri);
|
|
997
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/document-symbols`
|
|
998
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
999
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1000
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1001
|
+
let baseOptions;
|
|
1002
|
+
if (configuration) {
|
|
1003
|
+
baseOptions = configuration.baseOptions;
|
|
1004
|
+
}
|
|
1005
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1006
|
+
const localVarHeaderParameter = {};
|
|
1007
|
+
const localVarQueryParameter = {};
|
|
1008
|
+
// authentication oauth2 required
|
|
1009
|
+
// oauth required
|
|
1010
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
1011
|
+
if (languageId !== undefined) {
|
|
1012
|
+
localVarQueryParameter['languageId'] = languageId;
|
|
1013
|
+
}
|
|
1014
|
+
if (pathToProject !== undefined) {
|
|
1015
|
+
localVarQueryParameter['pathToProject'] = pathToProject;
|
|
1016
|
+
}
|
|
1017
|
+
if (uri !== undefined) {
|
|
1018
|
+
localVarQueryParameter['uri'] = uri;
|
|
1019
|
+
}
|
|
1020
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1021
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1022
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1023
|
+
return {
|
|
1024
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1025
|
+
options: localVarRequestOptions,
|
|
1026
|
+
};
|
|
1027
|
+
}),
|
|
1028
|
+
/**
|
|
1029
|
+
* Start Lsp server process inside workspace project
|
|
1030
|
+
* @summary Start Lsp server
|
|
1031
|
+
* @param {string} workspaceId
|
|
1032
|
+
* @param {LspServerRequest} lspServerRequest
|
|
1033
|
+
* @param {*} [options] Override http request option.
|
|
1034
|
+
* @throws {RequiredError}
|
|
1035
|
+
*/
|
|
1036
|
+
lspStart: (workspaceId_1, lspServerRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, lspServerRequest_1, ...args_1], void 0, function* (workspaceId, lspServerRequest, options = {}) {
|
|
1037
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1038
|
+
(0, common_1.assertParamExists)('lspStart', 'workspaceId', workspaceId);
|
|
1039
|
+
// verify required parameter 'lspServerRequest' is not null or undefined
|
|
1040
|
+
(0, common_1.assertParamExists)('lspStart', 'lspServerRequest', lspServerRequest);
|
|
1041
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/start`
|
|
1042
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1043
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1044
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1045
|
+
let baseOptions;
|
|
1046
|
+
if (configuration) {
|
|
1047
|
+
baseOptions = configuration.baseOptions;
|
|
1048
|
+
}
|
|
1049
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1050
|
+
const localVarHeaderParameter = {};
|
|
1051
|
+
const localVarQueryParameter = {};
|
|
1052
|
+
// authentication oauth2 required
|
|
1053
|
+
// oauth required
|
|
1054
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
1055
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1056
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1057
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1058
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1059
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lspServerRequest, localVarRequestOptions, configuration);
|
|
1060
|
+
return {
|
|
1061
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1062
|
+
options: localVarRequestOptions,
|
|
1063
|
+
};
|
|
1064
|
+
}),
|
|
1065
|
+
/**
|
|
1066
|
+
* Stop Lsp server process inside workspace project
|
|
1067
|
+
* @summary Stop Lsp server
|
|
1068
|
+
* @param {string} workspaceId
|
|
1069
|
+
* @param {LspServerRequest} lspServerRequest
|
|
1070
|
+
* @param {*} [options] Override http request option.
|
|
1071
|
+
* @throws {RequiredError}
|
|
1072
|
+
*/
|
|
1073
|
+
lspStop: (workspaceId_1, lspServerRequest_1, ...args_1) => __awaiter(this, [workspaceId_1, lspServerRequest_1, ...args_1], void 0, function* (workspaceId, lspServerRequest, options = {}) {
|
|
1074
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1075
|
+
(0, common_1.assertParamExists)('lspStop', 'workspaceId', workspaceId);
|
|
1076
|
+
// verify required parameter 'lspServerRequest' is not null or undefined
|
|
1077
|
+
(0, common_1.assertParamExists)('lspStop', 'lspServerRequest', lspServerRequest);
|
|
1078
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/stop`
|
|
1079
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1080
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1081
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1082
|
+
let baseOptions;
|
|
1083
|
+
if (configuration) {
|
|
1084
|
+
baseOptions = configuration.baseOptions;
|
|
1085
|
+
}
|
|
1086
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1087
|
+
const localVarHeaderParameter = {};
|
|
1088
|
+
const localVarQueryParameter = {};
|
|
1089
|
+
// authentication oauth2 required
|
|
1090
|
+
// oauth required
|
|
1091
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
1092
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1093
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1094
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1095
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1096
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(lspServerRequest, localVarRequestOptions, configuration);
|
|
1097
|
+
return {
|
|
1098
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1099
|
+
options: localVarRequestOptions,
|
|
1100
|
+
};
|
|
1101
|
+
}),
|
|
1102
|
+
/**
|
|
1103
|
+
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
1104
|
+
* @summary Call Lsp WorkspaceSymbols
|
|
1105
|
+
* @param {string} workspaceId
|
|
1106
|
+
* @param {string} languageId
|
|
1107
|
+
* @param {string} pathToProject
|
|
1108
|
+
* @param {string} query
|
|
1109
|
+
* @param {*} [options] Override http request option.
|
|
1110
|
+
* @throws {RequiredError}
|
|
1111
|
+
*/
|
|
1112
|
+
lspWorkspaceSymbols: (workspaceId_1, languageId_1, pathToProject_1, query_1, ...args_1) => __awaiter(this, [workspaceId_1, languageId_1, pathToProject_1, query_1, ...args_1], void 0, function* (workspaceId, languageId, pathToProject, query, options = {}) {
|
|
1113
|
+
// verify required parameter 'workspaceId' is not null or undefined
|
|
1114
|
+
(0, common_1.assertParamExists)('lspWorkspaceSymbols', 'workspaceId', workspaceId);
|
|
1115
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
1116
|
+
(0, common_1.assertParamExists)('lspWorkspaceSymbols', 'languageId', languageId);
|
|
1117
|
+
// verify required parameter 'pathToProject' is not null or undefined
|
|
1118
|
+
(0, common_1.assertParamExists)('lspWorkspaceSymbols', 'pathToProject', pathToProject);
|
|
1119
|
+
// verify required parameter 'query' is not null or undefined
|
|
1120
|
+
(0, common_1.assertParamExists)('lspWorkspaceSymbols', 'query', query);
|
|
1121
|
+
const localVarPath = `/toolbox/{workspaceId}/toolbox/lsp/workspace-symbols`
|
|
1122
|
+
.replace(`{${"workspaceId"}}`, encodeURIComponent(String(workspaceId)));
|
|
1123
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1124
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1125
|
+
let baseOptions;
|
|
1126
|
+
if (configuration) {
|
|
1127
|
+
baseOptions = configuration.baseOptions;
|
|
1128
|
+
}
|
|
1129
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1130
|
+
const localVarHeaderParameter = {};
|
|
1131
|
+
const localVarQueryParameter = {};
|
|
1132
|
+
// authentication oauth2 required
|
|
1133
|
+
// oauth required
|
|
1134
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["openid", "profile", "email"], configuration);
|
|
1135
|
+
if (languageId !== undefined) {
|
|
1136
|
+
localVarQueryParameter['languageId'] = languageId;
|
|
1137
|
+
}
|
|
1138
|
+
if (pathToProject !== undefined) {
|
|
1139
|
+
localVarQueryParameter['pathToProject'] = pathToProject;
|
|
1140
|
+
}
|
|
1141
|
+
if (query !== undefined) {
|
|
1142
|
+
localVarQueryParameter['query'] = query;
|
|
1143
|
+
}
|
|
1144
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1145
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1146
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1147
|
+
return {
|
|
1148
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1149
|
+
options: localVarRequestOptions,
|
|
1150
|
+
};
|
|
1151
|
+
}),
|
|
867
1152
|
/**
|
|
868
1153
|
* Move file inside workspace
|
|
869
1154
|
* @summary Move file
|
|
@@ -1470,6 +1755,129 @@ const ToolboxApiFp = function (configuration) {
|
|
|
1470
1755
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1471
1756
|
});
|
|
1472
1757
|
},
|
|
1758
|
+
/**
|
|
1759
|
+
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
1760
|
+
* @summary Get Lsp Completions
|
|
1761
|
+
* @param {string} workspaceId
|
|
1762
|
+
* @param {LspCompletionParams} lspCompletionParams
|
|
1763
|
+
* @param {*} [options] Override http request option.
|
|
1764
|
+
* @throws {RequiredError}
|
|
1765
|
+
*/
|
|
1766
|
+
lspCompletions(workspaceId, lspCompletionParams, options) {
|
|
1767
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1768
|
+
var _a, _b, _c;
|
|
1769
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspCompletions(workspaceId, lspCompletionParams, options);
|
|
1770
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1771
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspCompletions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1772
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1773
|
+
});
|
|
1774
|
+
},
|
|
1775
|
+
/**
|
|
1776
|
+
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
1777
|
+
* @summary Call Lsp DidClose
|
|
1778
|
+
* @param {string} workspaceId
|
|
1779
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
1780
|
+
* @param {*} [options] Override http request option.
|
|
1781
|
+
* @throws {RequiredError}
|
|
1782
|
+
*/
|
|
1783
|
+
lspDidClose(workspaceId, lspDocumentRequest, options) {
|
|
1784
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1785
|
+
var _a, _b, _c;
|
|
1786
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDidClose(workspaceId, lspDocumentRequest, options);
|
|
1787
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1788
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspDidClose']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1789
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1790
|
+
});
|
|
1791
|
+
},
|
|
1792
|
+
/**
|
|
1793
|
+
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
1794
|
+
* @summary Call Lsp DidOpen
|
|
1795
|
+
* @param {string} workspaceId
|
|
1796
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
1797
|
+
* @param {*} [options] Override http request option.
|
|
1798
|
+
* @throws {RequiredError}
|
|
1799
|
+
*/
|
|
1800
|
+
lspDidOpen(workspaceId, lspDocumentRequest, options) {
|
|
1801
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1802
|
+
var _a, _b, _c;
|
|
1803
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDidOpen(workspaceId, lspDocumentRequest, options);
|
|
1804
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1805
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspDidOpen']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1806
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1807
|
+
});
|
|
1808
|
+
},
|
|
1809
|
+
/**
|
|
1810
|
+
* The document symbol request is sent from the client to the server.
|
|
1811
|
+
* @summary Call Lsp DocumentSymbols
|
|
1812
|
+
* @param {string} workspaceId
|
|
1813
|
+
* @param {string} languageId
|
|
1814
|
+
* @param {string} pathToProject
|
|
1815
|
+
* @param {string} uri
|
|
1816
|
+
* @param {*} [options] Override http request option.
|
|
1817
|
+
* @throws {RequiredError}
|
|
1818
|
+
*/
|
|
1819
|
+
lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options) {
|
|
1820
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1821
|
+
var _a, _b, _c;
|
|
1822
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options);
|
|
1823
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1824
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspDocumentSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1825
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1826
|
+
});
|
|
1827
|
+
},
|
|
1828
|
+
/**
|
|
1829
|
+
* Start Lsp server process inside workspace project
|
|
1830
|
+
* @summary Start Lsp server
|
|
1831
|
+
* @param {string} workspaceId
|
|
1832
|
+
* @param {LspServerRequest} lspServerRequest
|
|
1833
|
+
* @param {*} [options] Override http request option.
|
|
1834
|
+
* @throws {RequiredError}
|
|
1835
|
+
*/
|
|
1836
|
+
lspStart(workspaceId, lspServerRequest, options) {
|
|
1837
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1838
|
+
var _a, _b, _c;
|
|
1839
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspStart(workspaceId, lspServerRequest, options);
|
|
1840
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1841
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspStart']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1842
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1843
|
+
});
|
|
1844
|
+
},
|
|
1845
|
+
/**
|
|
1846
|
+
* Stop Lsp server process inside workspace project
|
|
1847
|
+
* @summary Stop Lsp server
|
|
1848
|
+
* @param {string} workspaceId
|
|
1849
|
+
* @param {LspServerRequest} lspServerRequest
|
|
1850
|
+
* @param {*} [options] Override http request option.
|
|
1851
|
+
* @throws {RequiredError}
|
|
1852
|
+
*/
|
|
1853
|
+
lspStop(workspaceId, lspServerRequest, options) {
|
|
1854
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1855
|
+
var _a, _b, _c;
|
|
1856
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspStop(workspaceId, lspServerRequest, options);
|
|
1857
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1858
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspStop']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1859
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1860
|
+
});
|
|
1861
|
+
},
|
|
1862
|
+
/**
|
|
1863
|
+
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
1864
|
+
* @summary Call Lsp WorkspaceSymbols
|
|
1865
|
+
* @param {string} workspaceId
|
|
1866
|
+
* @param {string} languageId
|
|
1867
|
+
* @param {string} pathToProject
|
|
1868
|
+
* @param {string} query
|
|
1869
|
+
* @param {*} [options] Override http request option.
|
|
1870
|
+
* @throws {RequiredError}
|
|
1871
|
+
*/
|
|
1872
|
+
lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options) {
|
|
1873
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1874
|
+
var _a, _b, _c;
|
|
1875
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options);
|
|
1876
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1877
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ToolboxApi.lspWorkspaceSymbols']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1878
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1879
|
+
});
|
|
1880
|
+
},
|
|
1473
1881
|
/**
|
|
1474
1882
|
* Move file inside workspace
|
|
1475
1883
|
* @summary Move file
|
|
@@ -1815,6 +2223,87 @@ const ToolboxApiFactory = function (configuration, basePath, axios) {
|
|
|
1815
2223
|
listSessions(workspaceId, options) {
|
|
1816
2224
|
return localVarFp.listSessions(workspaceId, options).then((request) => request(axios, basePath));
|
|
1817
2225
|
},
|
|
2226
|
+
/**
|
|
2227
|
+
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
2228
|
+
* @summary Get Lsp Completions
|
|
2229
|
+
* @param {string} workspaceId
|
|
2230
|
+
* @param {LspCompletionParams} lspCompletionParams
|
|
2231
|
+
* @param {*} [options] Override http request option.
|
|
2232
|
+
* @throws {RequiredError}
|
|
2233
|
+
*/
|
|
2234
|
+
lspCompletions(workspaceId, lspCompletionParams, options) {
|
|
2235
|
+
return localVarFp.lspCompletions(workspaceId, lspCompletionParams, options).then((request) => request(axios, basePath));
|
|
2236
|
+
},
|
|
2237
|
+
/**
|
|
2238
|
+
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
2239
|
+
* @summary Call Lsp DidClose
|
|
2240
|
+
* @param {string} workspaceId
|
|
2241
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
2242
|
+
* @param {*} [options] Override http request option.
|
|
2243
|
+
* @throws {RequiredError}
|
|
2244
|
+
*/
|
|
2245
|
+
lspDidClose(workspaceId, lspDocumentRequest, options) {
|
|
2246
|
+
return localVarFp.lspDidClose(workspaceId, lspDocumentRequest, options).then((request) => request(axios, basePath));
|
|
2247
|
+
},
|
|
2248
|
+
/**
|
|
2249
|
+
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
2250
|
+
* @summary Call Lsp DidOpen
|
|
2251
|
+
* @param {string} workspaceId
|
|
2252
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
2253
|
+
* @param {*} [options] Override http request option.
|
|
2254
|
+
* @throws {RequiredError}
|
|
2255
|
+
*/
|
|
2256
|
+
lspDidOpen(workspaceId, lspDocumentRequest, options) {
|
|
2257
|
+
return localVarFp.lspDidOpen(workspaceId, lspDocumentRequest, options).then((request) => request(axios, basePath));
|
|
2258
|
+
},
|
|
2259
|
+
/**
|
|
2260
|
+
* The document symbol request is sent from the client to the server.
|
|
2261
|
+
* @summary Call Lsp DocumentSymbols
|
|
2262
|
+
* @param {string} workspaceId
|
|
2263
|
+
* @param {string} languageId
|
|
2264
|
+
* @param {string} pathToProject
|
|
2265
|
+
* @param {string} uri
|
|
2266
|
+
* @param {*} [options] Override http request option.
|
|
2267
|
+
* @throws {RequiredError}
|
|
2268
|
+
*/
|
|
2269
|
+
lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options) {
|
|
2270
|
+
return localVarFp.lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options).then((request) => request(axios, basePath));
|
|
2271
|
+
},
|
|
2272
|
+
/**
|
|
2273
|
+
* Start Lsp server process inside workspace project
|
|
2274
|
+
* @summary Start Lsp server
|
|
2275
|
+
* @param {string} workspaceId
|
|
2276
|
+
* @param {LspServerRequest} lspServerRequest
|
|
2277
|
+
* @param {*} [options] Override http request option.
|
|
2278
|
+
* @throws {RequiredError}
|
|
2279
|
+
*/
|
|
2280
|
+
lspStart(workspaceId, lspServerRequest, options) {
|
|
2281
|
+
return localVarFp.lspStart(workspaceId, lspServerRequest, options).then((request) => request(axios, basePath));
|
|
2282
|
+
},
|
|
2283
|
+
/**
|
|
2284
|
+
* Stop Lsp server process inside workspace project
|
|
2285
|
+
* @summary Stop Lsp server
|
|
2286
|
+
* @param {string} workspaceId
|
|
2287
|
+
* @param {LspServerRequest} lspServerRequest
|
|
2288
|
+
* @param {*} [options] Override http request option.
|
|
2289
|
+
* @throws {RequiredError}
|
|
2290
|
+
*/
|
|
2291
|
+
lspStop(workspaceId, lspServerRequest, options) {
|
|
2292
|
+
return localVarFp.lspStop(workspaceId, lspServerRequest, options).then((request) => request(axios, basePath));
|
|
2293
|
+
},
|
|
2294
|
+
/**
|
|
2295
|
+
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
2296
|
+
* @summary Call Lsp WorkspaceSymbols
|
|
2297
|
+
* @param {string} workspaceId
|
|
2298
|
+
* @param {string} languageId
|
|
2299
|
+
* @param {string} pathToProject
|
|
2300
|
+
* @param {string} query
|
|
2301
|
+
* @param {*} [options] Override http request option.
|
|
2302
|
+
* @throws {RequiredError}
|
|
2303
|
+
*/
|
|
2304
|
+
lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options) {
|
|
2305
|
+
return localVarFp.lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options).then((request) => request(axios, basePath));
|
|
2306
|
+
},
|
|
1818
2307
|
/**
|
|
1819
2308
|
* Move file inside workspace
|
|
1820
2309
|
* @summary Move file
|
|
@@ -2152,6 +2641,94 @@ class ToolboxApi extends base_1.BaseAPI {
|
|
|
2152
2641
|
listSessions(workspaceId, options) {
|
|
2153
2642
|
return (0, exports.ToolboxApiFp)(this.configuration).listSessions(workspaceId, options).then((request) => request(this.axios, this.basePath));
|
|
2154
2643
|
}
|
|
2644
|
+
/**
|
|
2645
|
+
* The Completion request is sent from the client to the server to compute completion items at a given cursor position.
|
|
2646
|
+
* @summary Get Lsp Completions
|
|
2647
|
+
* @param {string} workspaceId
|
|
2648
|
+
* @param {LspCompletionParams} lspCompletionParams
|
|
2649
|
+
* @param {*} [options] Override http request option.
|
|
2650
|
+
* @throws {RequiredError}
|
|
2651
|
+
* @memberof ToolboxApi
|
|
2652
|
+
*/
|
|
2653
|
+
lspCompletions(workspaceId, lspCompletionParams, options) {
|
|
2654
|
+
return (0, exports.ToolboxApiFp)(this.configuration).lspCompletions(workspaceId, lspCompletionParams, options).then((request) => request(this.axios, this.basePath));
|
|
2655
|
+
}
|
|
2656
|
+
/**
|
|
2657
|
+
* The document close notification is sent from the client to the server when the document got closed in the client.
|
|
2658
|
+
* @summary Call Lsp DidClose
|
|
2659
|
+
* @param {string} workspaceId
|
|
2660
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
2661
|
+
* @param {*} [options] Override http request option.
|
|
2662
|
+
* @throws {RequiredError}
|
|
2663
|
+
* @memberof ToolboxApi
|
|
2664
|
+
*/
|
|
2665
|
+
lspDidClose(workspaceId, lspDocumentRequest, options) {
|
|
2666
|
+
return (0, exports.ToolboxApiFp)(this.configuration).lspDidClose(workspaceId, lspDocumentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2667
|
+
}
|
|
2668
|
+
/**
|
|
2669
|
+
* The document open notification is sent from the client to the server to signal newly opened text documents.
|
|
2670
|
+
* @summary Call Lsp DidOpen
|
|
2671
|
+
* @param {string} workspaceId
|
|
2672
|
+
* @param {LspDocumentRequest} lspDocumentRequest
|
|
2673
|
+
* @param {*} [options] Override http request option.
|
|
2674
|
+
* @throws {RequiredError}
|
|
2675
|
+
* @memberof ToolboxApi
|
|
2676
|
+
*/
|
|
2677
|
+
lspDidOpen(workspaceId, lspDocumentRequest, options) {
|
|
2678
|
+
return (0, exports.ToolboxApiFp)(this.configuration).lspDidOpen(workspaceId, lspDocumentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2679
|
+
}
|
|
2680
|
+
/**
|
|
2681
|
+
* The document symbol request is sent from the client to the server.
|
|
2682
|
+
* @summary Call Lsp DocumentSymbols
|
|
2683
|
+
* @param {string} workspaceId
|
|
2684
|
+
* @param {string} languageId
|
|
2685
|
+
* @param {string} pathToProject
|
|
2686
|
+
* @param {string} uri
|
|
2687
|
+
* @param {*} [options] Override http request option.
|
|
2688
|
+
* @throws {RequiredError}
|
|
2689
|
+
* @memberof ToolboxApi
|
|
2690
|
+
*/
|
|
2691
|
+
lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options) {
|
|
2692
|
+
return (0, exports.ToolboxApiFp)(this.configuration).lspDocumentSymbols(workspaceId, languageId, pathToProject, uri, options).then((request) => request(this.axios, this.basePath));
|
|
2693
|
+
}
|
|
2694
|
+
/**
|
|
2695
|
+
* Start Lsp server process inside workspace project
|
|
2696
|
+
* @summary Start Lsp server
|
|
2697
|
+
* @param {string} workspaceId
|
|
2698
|
+
* @param {LspServerRequest} lspServerRequest
|
|
2699
|
+
* @param {*} [options] Override http request option.
|
|
2700
|
+
* @throws {RequiredError}
|
|
2701
|
+
* @memberof ToolboxApi
|
|
2702
|
+
*/
|
|
2703
|
+
lspStart(workspaceId, lspServerRequest, options) {
|
|
2704
|
+
return (0, exports.ToolboxApiFp)(this.configuration).lspStart(workspaceId, lspServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2705
|
+
}
|
|
2706
|
+
/**
|
|
2707
|
+
* Stop Lsp server process inside workspace project
|
|
2708
|
+
* @summary Stop Lsp server
|
|
2709
|
+
* @param {string} workspaceId
|
|
2710
|
+
* @param {LspServerRequest} lspServerRequest
|
|
2711
|
+
* @param {*} [options] Override http request option.
|
|
2712
|
+
* @throws {RequiredError}
|
|
2713
|
+
* @memberof ToolboxApi
|
|
2714
|
+
*/
|
|
2715
|
+
lspStop(workspaceId, lspServerRequest, options) {
|
|
2716
|
+
return (0, exports.ToolboxApiFp)(this.configuration).lspStop(workspaceId, lspServerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2717
|
+
}
|
|
2718
|
+
/**
|
|
2719
|
+
* The workspace symbol request is sent from the client to the server to list project-wide symbols matching the query string.
|
|
2720
|
+
* @summary Call Lsp WorkspaceSymbols
|
|
2721
|
+
* @param {string} workspaceId
|
|
2722
|
+
* @param {string} languageId
|
|
2723
|
+
* @param {string} pathToProject
|
|
2724
|
+
* @param {string} query
|
|
2725
|
+
* @param {*} [options] Override http request option.
|
|
2726
|
+
* @throws {RequiredError}
|
|
2727
|
+
* @memberof ToolboxApi
|
|
2728
|
+
*/
|
|
2729
|
+
lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options) {
|
|
2730
|
+
return (0, exports.ToolboxApiFp)(this.configuration).lspWorkspaceSymbols(workspaceId, languageId, pathToProject, query, options).then((request) => request(this.axios, this.basePath));
|
|
2731
|
+
}
|
|
2155
2732
|
/**
|
|
2156
2733
|
* Move file inside workspace
|
|
2157
2734
|
* @summary Move file
|