@daytonaio/sdk 0.7.1
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/LICENCE +43 -0
- package/README.md +181 -0
- package/dist/Daytona.d.ts +106 -0
- package/dist/Daytona.js +141 -0
- package/dist/FileSystem.d.ts +97 -0
- package/dist/FileSystem.js +126 -0
- package/dist/Git.d.ts +67 -0
- package/dist/Git.js +109 -0
- package/dist/LspServer.d.ts +68 -0
- package/dist/LspServer.js +93 -0
- package/dist/Process.d.ts +54 -0
- package/dist/Process.js +84 -0
- package/dist/Workspace.d.ts +53 -0
- package/dist/Workspace.js +51 -0
- package/dist/client/apis/ApiKeyApi.d.ts +54 -0
- package/dist/client/apis/ApiKeyApi.js +135 -0
- package/dist/client/apis/BuildApi.d.ts +95 -0
- package/dist/client/apis/BuildApi.js +228 -0
- package/dist/client/apis/ContainerRegistryApi.d.ts +68 -0
- package/dist/client/apis/ContainerRegistryApi.js +163 -0
- package/dist/client/apis/DefaultApi.d.ts +31 -0
- package/dist/client/apis/DefaultApi.js +72 -0
- package/dist/client/apis/GitProviderApi.d.ts +197 -0
- package/dist/client/apis/GitProviderApi.js +477 -0
- package/dist/client/apis/PrebuildApi.d.ts +97 -0
- package/dist/client/apis/PrebuildApi.js +241 -0
- package/dist/client/apis/ProfileApi.d.ts +51 -0
- package/dist/client/apis/ProfileApi.js +128 -0
- package/dist/client/apis/ProjectConfigApi.d.ts +94 -0
- package/dist/client/apis/ProjectConfigApi.js +220 -0
- package/dist/client/apis/ProviderApi.d.ts +71 -0
- package/dist/client/apis/ProviderApi.js +160 -0
- package/dist/client/apis/SampleApi.d.ts +28 -0
- package/dist/client/apis/SampleApi.js +73 -0
- package/dist/client/apis/ServerApi.d.ts +61 -0
- package/dist/client/apis/ServerApi.js +156 -0
- package/dist/client/apis/TargetApi.d.ts +67 -0
- package/dist/client/apis/TargetApi.js +159 -0
- package/dist/client/apis/WorkspaceApi.d.ts +141 -0
- package/dist/client/apis/WorkspaceApi.js +330 -0
- package/dist/client/apis/WorkspaceToolboxApi.d.ts +464 -0
- package/dist/client/apis/WorkspaceToolboxApi.js +1248 -0
- package/dist/client/apis/index.d.ts +14 -0
- package/dist/client/apis/index.js +32 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.js +21 -0
- package/dist/client/models/ApiKey.d.ts +45 -0
- package/dist/client/models/ApiKey.js +60 -0
- package/dist/client/models/ApikeyApiKeyType.d.ts +26 -0
- package/dist/client/models/ApikeyApiKeyType.js +52 -0
- package/dist/client/models/Build.d.ts +98 -0
- package/dist/client/models/Build.js +91 -0
- package/dist/client/models/BuildBuildState.d.ts +31 -0
- package/dist/client/models/BuildBuildState.js +57 -0
- package/dist/client/models/BuildConfig.d.ts +40 -0
- package/dist/client/models/BuildConfig.js +57 -0
- package/dist/client/models/CachedBuild.d.ts +38 -0
- package/dist/client/models/CachedBuild.js +55 -0
- package/dist/client/models/CloneTarget.d.ts +25 -0
- package/dist/client/models/CloneTarget.js +51 -0
- package/dist/client/models/CompletionContext.d.ts +38 -0
- package/dist/client/models/CompletionContext.js +53 -0
- package/dist/client/models/CompletionItem.d.ts +68 -0
- package/dist/client/models/CompletionItem.js +63 -0
- package/dist/client/models/CompletionList.d.ts +39 -0
- package/dist/client/models/CompletionList.js +56 -0
- package/dist/client/models/ContainerConfig.d.ts +38 -0
- package/dist/client/models/ContainerConfig.js +55 -0
- package/dist/client/models/ContainerRegistry.d.ts +44 -0
- package/dist/client/models/ContainerRegistry.js +59 -0
- package/dist/client/models/CreateBuildDTO.d.ts +52 -0
- package/dist/client/models/CreateBuildDTO.js +62 -0
- package/dist/client/models/CreatePrebuildDTO.d.ts +56 -0
- package/dist/client/models/CreatePrebuildDTO.js +59 -0
- package/dist/client/models/CreateProjectConfigDTO.d.ts +71 -0
- package/dist/client/models/CreateProjectConfigDTO.js +72 -0
- package/dist/client/models/CreateProjectDTO.d.ts +72 -0
- package/dist/client/models/CreateProjectDTO.js +73 -0
- package/dist/client/models/CreateProjectSourceDTO.d.ts +33 -0
- package/dist/client/models/CreateProjectSourceDTO.js +52 -0
- package/dist/client/models/CreateProviderTargetDTO.d.ts +45 -0
- package/dist/client/models/CreateProviderTargetDTO.js +60 -0
- package/dist/client/models/CreateWorkspaceDTO.d.ts +51 -0
- package/dist/client/models/CreateWorkspaceDTO.js +64 -0
- package/dist/client/models/DevcontainerConfig.d.ts +32 -0
- package/dist/client/models/DevcontainerConfig.js +51 -0
- package/dist/client/models/ExecuteRequest.d.ts +38 -0
- package/dist/client/models/ExecuteRequest.js +53 -0
- package/dist/client/models/ExecuteResponse.d.ts +38 -0
- package/dist/client/models/ExecuteResponse.js +55 -0
- package/dist/client/models/FRPSConfig.d.ts +44 -0
- package/dist/client/models/FRPSConfig.js +59 -0
- package/dist/client/models/FileInfo.d.ts +74 -0
- package/dist/client/models/FileInfo.js +79 -0
- package/dist/client/models/FileStatus.d.ts +51 -0
- package/dist/client/models/FileStatus.js +64 -0
- package/dist/client/models/GetRepositoryContext.d.ts +80 -0
- package/dist/client/models/GetRepositoryContext.js +67 -0
- package/dist/client/models/GitAddRequest.d.ts +38 -0
- package/dist/client/models/GitAddRequest.js +55 -0
- package/dist/client/models/GitBranch.d.ts +38 -0
- package/dist/client/models/GitBranch.js +55 -0
- package/dist/client/models/GitBranchRequest.d.ts +38 -0
- package/dist/client/models/GitBranchRequest.js +55 -0
- package/dist/client/models/GitCloneRequest.d.ts +62 -0
- package/dist/client/models/GitCloneRequest.js +63 -0
- package/dist/client/models/GitCommitInfo.d.ts +56 -0
- package/dist/client/models/GitCommitInfo.js +67 -0
- package/dist/client/models/GitCommitRequest.d.ts +50 -0
- package/dist/client/models/GitCommitRequest.js +63 -0
- package/dist/client/models/GitCommitResponse.d.ts +32 -0
- package/dist/client/models/GitCommitResponse.js +51 -0
- package/dist/client/models/GitNamespace.d.ts +38 -0
- package/dist/client/models/GitNamespace.js +55 -0
- package/dist/client/models/GitProvider.d.ts +75 -0
- package/dist/client/models/GitProvider.js +76 -0
- package/dist/client/models/GitPullRequest.d.ts +68 -0
- package/dist/client/models/GitPullRequest.js +75 -0
- package/dist/client/models/GitRepoRequest.d.ts +44 -0
- package/dist/client/models/GitRepoRequest.js +55 -0
- package/dist/client/models/GitRepository.d.ts +87 -0
- package/dist/client/models/GitRepository.js +84 -0
- package/dist/client/models/GitStatus.d.ts +57 -0
- package/dist/client/models/GitStatus.js +62 -0
- package/dist/client/models/GitUser.d.ts +50 -0
- package/dist/client/models/GitUser.js +63 -0
- package/dist/client/models/InstallProviderRequest.d.ts +40 -0
- package/dist/client/models/InstallProviderRequest.js +55 -0
- package/dist/client/models/ListBranchResponse.d.ts +32 -0
- package/dist/client/models/ListBranchResponse.js +51 -0
- package/dist/client/models/LogFileConfig.d.ts +62 -0
- package/dist/client/models/LogFileConfig.js +67 -0
- package/dist/client/models/LspCompletionParams.d.ts +58 -0
- package/dist/client/models/LspCompletionParams.js +69 -0
- package/dist/client/models/LspDocumentRequest.d.ts +44 -0
- package/dist/client/models/LspDocumentRequest.js +59 -0
- package/dist/client/models/LspLocation.d.ts +39 -0
- package/dist/client/models/LspLocation.js +56 -0
- package/dist/client/models/LspPosition.d.ts +38 -0
- package/dist/client/models/LspPosition.js +55 -0
- package/dist/client/models/LspRange.d.ts +39 -0
- package/dist/client/models/LspRange.js +56 -0
- package/dist/client/models/LspServerRequest.d.ts +38 -0
- package/dist/client/models/LspServerRequest.js +55 -0
- package/dist/client/models/LspSymbol.d.ts +45 -0
- package/dist/client/models/LspSymbol.js +60 -0
- package/dist/client/models/Match.d.ts +44 -0
- package/dist/client/models/Match.js +59 -0
- package/dist/client/models/NetworkKey.d.ts +32 -0
- package/dist/client/models/NetworkKey.js +51 -0
- package/dist/client/models/Position.d.ts +38 -0
- package/dist/client/models/Position.js +55 -0
- package/dist/client/models/PrebuildConfig.d.ts +56 -0
- package/dist/client/models/PrebuildConfig.js +67 -0
- package/dist/client/models/PrebuildDTO.d.ts +62 -0
- package/dist/client/models/PrebuildDTO.js +68 -0
- package/dist/client/models/ProfileData.d.ts +34 -0
- package/dist/client/models/ProfileData.js +51 -0
- package/dist/client/models/Project.d.ts +91 -0
- package/dist/client/models/Project.js +88 -0
- package/dist/client/models/ProjectConfig.d.ts +84 -0
- package/dist/client/models/ProjectConfig.js +87 -0
- package/dist/client/models/ProjectDirResponse.d.ts +32 -0
- package/dist/client/models/ProjectDirResponse.js +49 -0
- package/dist/client/models/ProjectInfo.d.ts +56 -0
- package/dist/client/models/ProjectInfo.js +65 -0
- package/dist/client/models/ProjectState.d.ts +45 -0
- package/dist/client/models/ProjectState.js +60 -0
- package/dist/client/models/Provider.d.ts +44 -0
- package/dist/client/models/Provider.js +57 -0
- package/dist/client/models/ProviderProviderInfo.d.ts +44 -0
- package/dist/client/models/ProviderProviderInfo.js +57 -0
- package/dist/client/models/ProviderProviderTargetProperty.d.ts +72 -0
- package/dist/client/models/ProviderProviderTargetProperty.js +64 -0
- package/dist/client/models/ProviderProviderTargetPropertyType.d.ts +29 -0
- package/dist/client/models/ProviderProviderTargetPropertyType.js +55 -0
- package/dist/client/models/ProviderTarget.d.ts +51 -0
- package/dist/client/models/ProviderTarget.js +64 -0
- package/dist/client/models/ReplaceRequest.d.ts +44 -0
- package/dist/client/models/ReplaceRequest.js +59 -0
- package/dist/client/models/ReplaceResult.d.ts +44 -0
- package/dist/client/models/ReplaceResult.js +53 -0
- package/dist/client/models/RepositoryUrl.d.ts +32 -0
- package/dist/client/models/RepositoryUrl.js +51 -0
- package/dist/client/models/Sample.d.ts +44 -0
- package/dist/client/models/Sample.js +59 -0
- package/dist/client/models/SearchFilesResponse.d.ts +32 -0
- package/dist/client/models/SearchFilesResponse.js +51 -0
- package/dist/client/models/ServerConfig.d.ts +130 -0
- package/dist/client/models/ServerConfig.js +119 -0
- package/dist/client/models/SetGitProviderConfig.d.ts +75 -0
- package/dist/client/models/SetGitProviderConfig.js +70 -0
- package/dist/client/models/SetProjectState.d.ts +39 -0
- package/dist/client/models/SetProjectState.js +56 -0
- package/dist/client/models/SigningMethod.d.ts +25 -0
- package/dist/client/models/SigningMethod.js +51 -0
- package/dist/client/models/Status.d.ts +31 -0
- package/dist/client/models/Status.js +57 -0
- package/dist/client/models/Workspace.d.ts +51 -0
- package/dist/client/models/Workspace.js +64 -0
- package/dist/client/models/WorkspaceDTO.d.ts +58 -0
- package/dist/client/models/WorkspaceDTO.js +67 -0
- package/dist/client/models/WorkspaceInfo.d.ts +45 -0
- package/dist/client/models/WorkspaceInfo.js +58 -0
- package/dist/client/models/index.d.ts +79 -0
- package/dist/client/models/index.js +97 -0
- package/dist/client/runtime.d.ts +182 -0
- package/dist/client/runtime.js +340 -0
- package/dist/code-toolbox/WorkspacePythonCodeToolbox.d.ts +5 -0
- package/dist/code-toolbox/WorkspacePythonCodeToolbox.js +13 -0
- package/dist/code-toolbox/WorkspaceTsCodeToolbox.d.ts +5 -0
- package/dist/code-toolbox/WorkspaceTsCodeToolbox.js +13 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +13 -0
- package/package.json +42 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Server API
|
|
6
|
+
* Daytona Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.InstallProviderRequestToJSONTyped = exports.InstallProviderRequestToJSON = exports.InstallProviderRequestFromJSONTyped = exports.InstallProviderRequestFromJSON = exports.instanceOfInstallProviderRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the InstallProviderRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfInstallProviderRequest(value) {
|
|
21
|
+
if (!('downloadUrls' in value) || value['downloadUrls'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfInstallProviderRequest = instanceOfInstallProviderRequest;
|
|
28
|
+
function InstallProviderRequestFromJSON(json) {
|
|
29
|
+
return InstallProviderRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.InstallProviderRequestFromJSON = InstallProviderRequestFromJSON;
|
|
32
|
+
function InstallProviderRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
downloadUrls: json['downloadUrls'],
|
|
38
|
+
name: json['name'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.InstallProviderRequestFromJSONTyped = InstallProviderRequestFromJSONTyped;
|
|
42
|
+
function InstallProviderRequestToJSON(json) {
|
|
43
|
+
return InstallProviderRequestToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
exports.InstallProviderRequestToJSON = InstallProviderRequestToJSON;
|
|
46
|
+
function InstallProviderRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
downloadUrls: value['downloadUrls'],
|
|
52
|
+
name: value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.InstallProviderRequestToJSONTyped = InstallProviderRequestToJSONTyped;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Server API
|
|
3
|
+
* Daytona Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ListBranchResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ListBranchResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof ListBranchResponse
|
|
22
|
+
*/
|
|
23
|
+
branches: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ListBranchResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfListBranchResponse(value: object): value is ListBranchResponse;
|
|
29
|
+
export declare function ListBranchResponseFromJSON(json: any): ListBranchResponse;
|
|
30
|
+
export declare function ListBranchResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListBranchResponse;
|
|
31
|
+
export declare function ListBranchResponseToJSON(json: any): ListBranchResponse;
|
|
32
|
+
export declare function ListBranchResponseToJSONTyped(value?: ListBranchResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Server API
|
|
6
|
+
* Daytona Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ListBranchResponseToJSONTyped = exports.ListBranchResponseToJSON = exports.ListBranchResponseFromJSONTyped = exports.ListBranchResponseFromJSON = exports.instanceOfListBranchResponse = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ListBranchResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfListBranchResponse(value) {
|
|
21
|
+
if (!('branches' in value) || value['branches'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfListBranchResponse = instanceOfListBranchResponse;
|
|
26
|
+
function ListBranchResponseFromJSON(json) {
|
|
27
|
+
return ListBranchResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ListBranchResponseFromJSON = ListBranchResponseFromJSON;
|
|
30
|
+
function ListBranchResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
branches: json['branches'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.ListBranchResponseFromJSONTyped = ListBranchResponseFromJSONTyped;
|
|
39
|
+
function ListBranchResponseToJSON(json) {
|
|
40
|
+
return ListBranchResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
exports.ListBranchResponseToJSON = ListBranchResponseToJSON;
|
|
43
|
+
function ListBranchResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
branches: value['branches'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
exports.ListBranchResponseToJSONTyped = ListBranchResponseToJSONTyped;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Server API
|
|
3
|
+
* Daytona Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LogFileConfig
|
|
16
|
+
*/
|
|
17
|
+
export interface LogFileConfig {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof LogFileConfig
|
|
22
|
+
*/
|
|
23
|
+
compress?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof LogFileConfig
|
|
28
|
+
*/
|
|
29
|
+
localTime?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof LogFileConfig
|
|
34
|
+
*/
|
|
35
|
+
maxAge: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof LogFileConfig
|
|
40
|
+
*/
|
|
41
|
+
maxBackups: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof LogFileConfig
|
|
46
|
+
*/
|
|
47
|
+
maxSize: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof LogFileConfig
|
|
52
|
+
*/
|
|
53
|
+
path: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the LogFileConfig interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfLogFileConfig(value: object): value is LogFileConfig;
|
|
59
|
+
export declare function LogFileConfigFromJSON(json: any): LogFileConfig;
|
|
60
|
+
export declare function LogFileConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): LogFileConfig;
|
|
61
|
+
export declare function LogFileConfigToJSON(json: any): LogFileConfig;
|
|
62
|
+
export declare function LogFileConfigToJSONTyped(value?: LogFileConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Server API
|
|
6
|
+
* Daytona Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LogFileConfigToJSONTyped = exports.LogFileConfigToJSON = exports.LogFileConfigFromJSONTyped = exports.LogFileConfigFromJSON = exports.instanceOfLogFileConfig = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the LogFileConfig interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfLogFileConfig(value) {
|
|
21
|
+
if (!('maxAge' in value) || value['maxAge'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('maxBackups' in value) || value['maxBackups'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('maxSize' in value) || value['maxSize'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfLogFileConfig = instanceOfLogFileConfig;
|
|
32
|
+
function LogFileConfigFromJSON(json) {
|
|
33
|
+
return LogFileConfigFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.LogFileConfigFromJSON = LogFileConfigFromJSON;
|
|
36
|
+
function LogFileConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
compress: json['compress'] == null ? undefined : json['compress'],
|
|
42
|
+
localTime: json['localTime'] == null ? undefined : json['localTime'],
|
|
43
|
+
maxAge: json['maxAge'],
|
|
44
|
+
maxBackups: json['maxBackups'],
|
|
45
|
+
maxSize: json['maxSize'],
|
|
46
|
+
path: json['path'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
exports.LogFileConfigFromJSONTyped = LogFileConfigFromJSONTyped;
|
|
50
|
+
function LogFileConfigToJSON(json) {
|
|
51
|
+
return LogFileConfigToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
exports.LogFileConfigToJSON = LogFileConfigToJSON;
|
|
54
|
+
function LogFileConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
compress: value['compress'],
|
|
60
|
+
localTime: value['localTime'],
|
|
61
|
+
maxAge: value['maxAge'],
|
|
62
|
+
maxBackups: value['maxBackups'],
|
|
63
|
+
maxSize: value['maxSize'],
|
|
64
|
+
path: value['path'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
exports.LogFileConfigToJSONTyped = LogFileConfigToJSONTyped;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Server API
|
|
3
|
+
* Daytona Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CompletionContext } from './CompletionContext';
|
|
13
|
+
import type { Position } from './Position';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface LspCompletionParams
|
|
18
|
+
*/
|
|
19
|
+
export interface LspCompletionParams {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {CompletionContext}
|
|
23
|
+
* @memberof LspCompletionParams
|
|
24
|
+
*/
|
|
25
|
+
context?: CompletionContext;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof LspCompletionParams
|
|
30
|
+
*/
|
|
31
|
+
languageId: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof LspCompletionParams
|
|
36
|
+
*/
|
|
37
|
+
pathToProject: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Position}
|
|
41
|
+
* @memberof LspCompletionParams
|
|
42
|
+
*/
|
|
43
|
+
position: Position;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof LspCompletionParams
|
|
48
|
+
*/
|
|
49
|
+
uri: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the LspCompletionParams interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfLspCompletionParams(value: object): value is LspCompletionParams;
|
|
55
|
+
export declare function LspCompletionParamsFromJSON(json: any): LspCompletionParams;
|
|
56
|
+
export declare function LspCompletionParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): LspCompletionParams;
|
|
57
|
+
export declare function LspCompletionParamsToJSON(json: any): LspCompletionParams;
|
|
58
|
+
export declare function LspCompletionParamsToJSONTyped(value?: LspCompletionParams | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Server API
|
|
6
|
+
* Daytona Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LspCompletionParamsToJSONTyped = exports.LspCompletionParamsToJSON = exports.LspCompletionParamsFromJSONTyped = exports.LspCompletionParamsFromJSON = exports.instanceOfLspCompletionParams = void 0;
|
|
17
|
+
const CompletionContext_1 = require("./CompletionContext");
|
|
18
|
+
const Position_1 = require("./Position");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the LspCompletionParams interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfLspCompletionParams(value) {
|
|
23
|
+
if (!('languageId' in value) || value['languageId'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('pathToProject' in value) || value['pathToProject'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('position' in value) || value['position'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('uri' in value) || value['uri'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfLspCompletionParams = instanceOfLspCompletionParams;
|
|
34
|
+
function LspCompletionParamsFromJSON(json) {
|
|
35
|
+
return LspCompletionParamsFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.LspCompletionParamsFromJSON = LspCompletionParamsFromJSON;
|
|
38
|
+
function LspCompletionParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
context: json['context'] == null
|
|
44
|
+
? undefined
|
|
45
|
+
: (0, CompletionContext_1.CompletionContextFromJSON)(json['context']),
|
|
46
|
+
languageId: json['languageId'],
|
|
47
|
+
pathToProject: json['pathToProject'],
|
|
48
|
+
position: (0, Position_1.PositionFromJSON)(json['position']),
|
|
49
|
+
uri: json['uri'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.LspCompletionParamsFromJSONTyped = LspCompletionParamsFromJSONTyped;
|
|
53
|
+
function LspCompletionParamsToJSON(json) {
|
|
54
|
+
return LspCompletionParamsToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
exports.LspCompletionParamsToJSON = LspCompletionParamsToJSON;
|
|
57
|
+
function LspCompletionParamsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
context: (0, CompletionContext_1.CompletionContextToJSON)(value['context']),
|
|
63
|
+
languageId: value['languageId'],
|
|
64
|
+
pathToProject: value['pathToProject'],
|
|
65
|
+
position: (0, Position_1.PositionToJSON)(value['position']),
|
|
66
|
+
uri: value['uri'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
exports.LspCompletionParamsToJSONTyped = LspCompletionParamsToJSONTyped;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Server API
|
|
3
|
+
* Daytona Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LspDocumentRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface LspDocumentRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LspDocumentRequest
|
|
22
|
+
*/
|
|
23
|
+
languageId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LspDocumentRequest
|
|
28
|
+
*/
|
|
29
|
+
pathToProject: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LspDocumentRequest
|
|
34
|
+
*/
|
|
35
|
+
uri: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the LspDocumentRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfLspDocumentRequest(value: object): value is LspDocumentRequest;
|
|
41
|
+
export declare function LspDocumentRequestFromJSON(json: any): LspDocumentRequest;
|
|
42
|
+
export declare function LspDocumentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LspDocumentRequest;
|
|
43
|
+
export declare function LspDocumentRequestToJSON(json: any): LspDocumentRequest;
|
|
44
|
+
export declare function LspDocumentRequestToJSONTyped(value?: LspDocumentRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Server API
|
|
6
|
+
* Daytona Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LspDocumentRequestToJSONTyped = exports.LspDocumentRequestToJSON = exports.LspDocumentRequestFromJSONTyped = exports.LspDocumentRequestFromJSON = exports.instanceOfLspDocumentRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the LspDocumentRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfLspDocumentRequest(value) {
|
|
21
|
+
if (!('languageId' in value) || value['languageId'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('pathToProject' in value) || value['pathToProject'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('uri' in value) || value['uri'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfLspDocumentRequest = instanceOfLspDocumentRequest;
|
|
30
|
+
function LspDocumentRequestFromJSON(json) {
|
|
31
|
+
return LspDocumentRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.LspDocumentRequestFromJSON = LspDocumentRequestFromJSON;
|
|
34
|
+
function LspDocumentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
languageId: json['languageId'],
|
|
40
|
+
pathToProject: json['pathToProject'],
|
|
41
|
+
uri: json['uri'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.LspDocumentRequestFromJSONTyped = LspDocumentRequestFromJSONTyped;
|
|
45
|
+
function LspDocumentRequestToJSON(json) {
|
|
46
|
+
return LspDocumentRequestToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
exports.LspDocumentRequestToJSON = LspDocumentRequestToJSON;
|
|
49
|
+
function LspDocumentRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
languageId: value['languageId'],
|
|
55
|
+
pathToProject: value['pathToProject'],
|
|
56
|
+
uri: value['uri'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.LspDocumentRequestToJSONTyped = LspDocumentRequestToJSONTyped;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Server API
|
|
3
|
+
* Daytona Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { LspRange } from './LspRange';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LspLocation
|
|
17
|
+
*/
|
|
18
|
+
export interface LspLocation {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {LspRange}
|
|
22
|
+
* @memberof LspLocation
|
|
23
|
+
*/
|
|
24
|
+
range: LspRange;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof LspLocation
|
|
29
|
+
*/
|
|
30
|
+
uri: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the LspLocation interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfLspLocation(value: object): value is LspLocation;
|
|
36
|
+
export declare function LspLocationFromJSON(json: any): LspLocation;
|
|
37
|
+
export declare function LspLocationFromJSONTyped(json: any, ignoreDiscriminator: boolean): LspLocation;
|
|
38
|
+
export declare function LspLocationToJSON(json: any): LspLocation;
|
|
39
|
+
export declare function LspLocationToJSONTyped(value?: LspLocation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Daytona Server API
|
|
6
|
+
* Daytona Server API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LspLocationToJSONTyped = exports.LspLocationToJSON = exports.LspLocationFromJSONTyped = exports.LspLocationFromJSON = exports.instanceOfLspLocation = void 0;
|
|
17
|
+
const LspRange_1 = require("./LspRange");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the LspLocation interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfLspLocation(value) {
|
|
22
|
+
if (!('range' in value) || value['range'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('uri' in value) || value['uri'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfLspLocation = instanceOfLspLocation;
|
|
29
|
+
function LspLocationFromJSON(json) {
|
|
30
|
+
return LspLocationFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.LspLocationFromJSON = LspLocationFromJSON;
|
|
33
|
+
function LspLocationFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
range: (0, LspRange_1.LspRangeFromJSON)(json['range']),
|
|
39
|
+
uri: json['uri'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.LspLocationFromJSONTyped = LspLocationFromJSONTyped;
|
|
43
|
+
function LspLocationToJSON(json) {
|
|
44
|
+
return LspLocationToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
exports.LspLocationToJSON = LspLocationToJSON;
|
|
47
|
+
function LspLocationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
range: (0, LspRange_1.LspRangeToJSON)(value['range']),
|
|
53
|
+
uri: value['uri'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.LspLocationToJSONTyped = LspLocationToJSONTyped;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Daytona Server API
|
|
3
|
+
* Daytona Server API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0.0.0-dev
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LspPosition
|
|
16
|
+
*/
|
|
17
|
+
export interface LspPosition {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof LspPosition
|
|
22
|
+
*/
|
|
23
|
+
character: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof LspPosition
|
|
28
|
+
*/
|
|
29
|
+
line: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the LspPosition interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfLspPosition(value: object): value is LspPosition;
|
|
35
|
+
export declare function LspPositionFromJSON(json: any): LspPosition;
|
|
36
|
+
export declare function LspPositionFromJSONTyped(json: any, ignoreDiscriminator: boolean): LspPosition;
|
|
37
|
+
export declare function LspPositionToJSON(json: any): LspPosition;
|
|
38
|
+
export declare function LspPositionToJSONTyped(value?: LspPosition | null, ignoreDiscriminator?: boolean): any;
|