@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,51 @@
|
|
|
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 { Project } from './Project';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Workspace
|
|
17
|
+
*/
|
|
18
|
+
export interface Workspace {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Workspace
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Workspace
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<Project>}
|
|
34
|
+
* @memberof Workspace
|
|
35
|
+
*/
|
|
36
|
+
projects: Array<Project>;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Workspace
|
|
41
|
+
*/
|
|
42
|
+
target: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the Workspace interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfWorkspace(value: object): value is Workspace;
|
|
48
|
+
export declare function WorkspaceFromJSON(json: any): Workspace;
|
|
49
|
+
export declare function WorkspaceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Workspace;
|
|
50
|
+
export declare function WorkspaceToJSON(json: any): Workspace;
|
|
51
|
+
export declare function WorkspaceToJSONTyped(value?: Workspace | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.WorkspaceToJSONTyped = exports.WorkspaceToJSON = exports.WorkspaceFromJSONTyped = exports.WorkspaceFromJSON = exports.instanceOfWorkspace = void 0;
|
|
17
|
+
const Project_1 = require("./Project");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Workspace interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfWorkspace(value) {
|
|
22
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('projects' in value) || value['projects'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('target' in value) || value['target'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfWorkspace = instanceOfWorkspace;
|
|
33
|
+
function WorkspaceFromJSON(json) {
|
|
34
|
+
return WorkspaceFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.WorkspaceFromJSON = WorkspaceFromJSON;
|
|
37
|
+
function WorkspaceFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
id: json['id'],
|
|
43
|
+
name: json['name'],
|
|
44
|
+
projects: json['projects'].map(Project_1.ProjectFromJSON),
|
|
45
|
+
target: json['target'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
exports.WorkspaceFromJSONTyped = WorkspaceFromJSONTyped;
|
|
49
|
+
function WorkspaceToJSON(json) {
|
|
50
|
+
return WorkspaceToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
exports.WorkspaceToJSON = WorkspaceToJSON;
|
|
53
|
+
function WorkspaceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
id: value['id'],
|
|
59
|
+
name: value['name'],
|
|
60
|
+
projects: value['projects'].map(Project_1.ProjectToJSON),
|
|
61
|
+
target: value['target'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
exports.WorkspaceToJSONTyped = WorkspaceToJSONTyped;
|
|
@@ -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 { Project } from './Project';
|
|
13
|
+
import type { WorkspaceInfo } from './WorkspaceInfo';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface WorkspaceDTO
|
|
18
|
+
*/
|
|
19
|
+
export interface WorkspaceDTO {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof WorkspaceDTO
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {WorkspaceInfo}
|
|
29
|
+
* @memberof WorkspaceDTO
|
|
30
|
+
*/
|
|
31
|
+
info?: WorkspaceInfo;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof WorkspaceDTO
|
|
36
|
+
*/
|
|
37
|
+
name: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Array<Project>}
|
|
41
|
+
* @memberof WorkspaceDTO
|
|
42
|
+
*/
|
|
43
|
+
projects: Array<Project>;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof WorkspaceDTO
|
|
48
|
+
*/
|
|
49
|
+
target: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the WorkspaceDTO interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfWorkspaceDTO(value: object): value is WorkspaceDTO;
|
|
55
|
+
export declare function WorkspaceDTOFromJSON(json: any): WorkspaceDTO;
|
|
56
|
+
export declare function WorkspaceDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkspaceDTO;
|
|
57
|
+
export declare function WorkspaceDTOToJSON(json: any): WorkspaceDTO;
|
|
58
|
+
export declare function WorkspaceDTOToJSONTyped(value?: WorkspaceDTO | 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.WorkspaceDTOToJSONTyped = exports.WorkspaceDTOToJSON = exports.WorkspaceDTOFromJSONTyped = exports.WorkspaceDTOFromJSON = exports.instanceOfWorkspaceDTO = void 0;
|
|
17
|
+
const Project_1 = require("./Project");
|
|
18
|
+
const WorkspaceInfo_1 = require("./WorkspaceInfo");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the WorkspaceDTO interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfWorkspaceDTO(value) {
|
|
23
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('projects' in value) || value['projects'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('target' in value) || value['target'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
exports.instanceOfWorkspaceDTO = instanceOfWorkspaceDTO;
|
|
34
|
+
function WorkspaceDTOFromJSON(json) {
|
|
35
|
+
return WorkspaceDTOFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
exports.WorkspaceDTOFromJSON = WorkspaceDTOFromJSON;
|
|
38
|
+
function WorkspaceDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
id: json['id'],
|
|
44
|
+
info: json['info'] == null ? undefined : (0, WorkspaceInfo_1.WorkspaceInfoFromJSON)(json['info']),
|
|
45
|
+
name: json['name'],
|
|
46
|
+
projects: json['projects'].map(Project_1.ProjectFromJSON),
|
|
47
|
+
target: json['target'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.WorkspaceDTOFromJSONTyped = WorkspaceDTOFromJSONTyped;
|
|
51
|
+
function WorkspaceDTOToJSON(json) {
|
|
52
|
+
return WorkspaceDTOToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
exports.WorkspaceDTOToJSON = WorkspaceDTOToJSON;
|
|
55
|
+
function WorkspaceDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
id: value['id'],
|
|
61
|
+
info: (0, WorkspaceInfo_1.WorkspaceInfoToJSON)(value['info']),
|
|
62
|
+
name: value['name'],
|
|
63
|
+
projects: value['projects'].map(Project_1.ProjectToJSON),
|
|
64
|
+
target: value['target'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
exports.WorkspaceDTOToJSONTyped = WorkspaceDTOToJSONTyped;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { ProjectInfo } from './ProjectInfo';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WorkspaceInfo
|
|
17
|
+
*/
|
|
18
|
+
export interface WorkspaceInfo {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WorkspaceInfo
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<ProjectInfo>}
|
|
28
|
+
* @memberof WorkspaceInfo
|
|
29
|
+
*/
|
|
30
|
+
projects: Array<ProjectInfo>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof WorkspaceInfo
|
|
35
|
+
*/
|
|
36
|
+
providerMetadata?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the WorkspaceInfo interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfWorkspaceInfo(value: object): value is WorkspaceInfo;
|
|
42
|
+
export declare function WorkspaceInfoFromJSON(json: any): WorkspaceInfo;
|
|
43
|
+
export declare function WorkspaceInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkspaceInfo;
|
|
44
|
+
export declare function WorkspaceInfoToJSON(json: any): WorkspaceInfo;
|
|
45
|
+
export declare function WorkspaceInfoToJSONTyped(value?: WorkspaceInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.WorkspaceInfoToJSONTyped = exports.WorkspaceInfoToJSON = exports.WorkspaceInfoFromJSONTyped = exports.WorkspaceInfoFromJSON = exports.instanceOfWorkspaceInfo = void 0;
|
|
17
|
+
const ProjectInfo_1 = require("./ProjectInfo");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the WorkspaceInfo interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfWorkspaceInfo(value) {
|
|
22
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('projects' in value) || value['projects'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfWorkspaceInfo = instanceOfWorkspaceInfo;
|
|
29
|
+
function WorkspaceInfoFromJSON(json) {
|
|
30
|
+
return WorkspaceInfoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.WorkspaceInfoFromJSON = WorkspaceInfoFromJSON;
|
|
33
|
+
function WorkspaceInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
name: json['name'],
|
|
39
|
+
projects: json['projects'].map(ProjectInfo_1.ProjectInfoFromJSON),
|
|
40
|
+
providerMetadata: json['providerMetadata'] == null ? undefined : json['providerMetadata'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.WorkspaceInfoFromJSONTyped = WorkspaceInfoFromJSONTyped;
|
|
44
|
+
function WorkspaceInfoToJSON(json) {
|
|
45
|
+
return WorkspaceInfoToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
exports.WorkspaceInfoToJSON = WorkspaceInfoToJSON;
|
|
48
|
+
function WorkspaceInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
name: value['name'],
|
|
54
|
+
projects: value['projects'].map(ProjectInfo_1.ProjectInfoToJSON),
|
|
55
|
+
providerMetadata: value['providerMetadata'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.WorkspaceInfoToJSONTyped = WorkspaceInfoToJSONTyped;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export * from './ApiKey';
|
|
2
|
+
export * from './ApikeyApiKeyType';
|
|
3
|
+
export * from './Build';
|
|
4
|
+
export * from './BuildBuildState';
|
|
5
|
+
export * from './BuildConfig';
|
|
6
|
+
export * from './CachedBuild';
|
|
7
|
+
export * from './CloneTarget';
|
|
8
|
+
export * from './CompletionContext';
|
|
9
|
+
export * from './CompletionItem';
|
|
10
|
+
export * from './CompletionList';
|
|
11
|
+
export * from './ContainerConfig';
|
|
12
|
+
export * from './ContainerRegistry';
|
|
13
|
+
export * from './CreateBuildDTO';
|
|
14
|
+
export * from './CreatePrebuildDTO';
|
|
15
|
+
export * from './CreateProjectConfigDTO';
|
|
16
|
+
export * from './CreateProjectDTO';
|
|
17
|
+
export * from './CreateProjectSourceDTO';
|
|
18
|
+
export * from './CreateProviderTargetDTO';
|
|
19
|
+
export * from './CreateWorkspaceDTO';
|
|
20
|
+
export * from './DevcontainerConfig';
|
|
21
|
+
export * from './ExecuteRequest';
|
|
22
|
+
export * from './ExecuteResponse';
|
|
23
|
+
export * from './FRPSConfig';
|
|
24
|
+
export * from './FileInfo';
|
|
25
|
+
export * from './FileStatus';
|
|
26
|
+
export * from './GetRepositoryContext';
|
|
27
|
+
export * from './GitAddRequest';
|
|
28
|
+
export * from './GitBranch';
|
|
29
|
+
export * from './GitBranchRequest';
|
|
30
|
+
export * from './GitCloneRequest';
|
|
31
|
+
export * from './GitCommitInfo';
|
|
32
|
+
export * from './GitCommitRequest';
|
|
33
|
+
export * from './GitCommitResponse';
|
|
34
|
+
export * from './GitNamespace';
|
|
35
|
+
export * from './GitProvider';
|
|
36
|
+
export * from './GitPullRequest';
|
|
37
|
+
export * from './GitRepoRequest';
|
|
38
|
+
export * from './GitRepository';
|
|
39
|
+
export * from './GitStatus';
|
|
40
|
+
export * from './GitUser';
|
|
41
|
+
export * from './InstallProviderRequest';
|
|
42
|
+
export * from './ListBranchResponse';
|
|
43
|
+
export * from './LogFileConfig';
|
|
44
|
+
export * from './LspCompletionParams';
|
|
45
|
+
export * from './LspDocumentRequest';
|
|
46
|
+
export * from './LspLocation';
|
|
47
|
+
export * from './LspPosition';
|
|
48
|
+
export * from './LspRange';
|
|
49
|
+
export * from './LspServerRequest';
|
|
50
|
+
export * from './LspSymbol';
|
|
51
|
+
export * from './Match';
|
|
52
|
+
export * from './NetworkKey';
|
|
53
|
+
export * from './Position';
|
|
54
|
+
export * from './PrebuildConfig';
|
|
55
|
+
export * from './PrebuildDTO';
|
|
56
|
+
export * from './ProfileData';
|
|
57
|
+
export * from './Project';
|
|
58
|
+
export * from './ProjectConfig';
|
|
59
|
+
export * from './ProjectDirResponse';
|
|
60
|
+
export * from './ProjectInfo';
|
|
61
|
+
export * from './ProjectState';
|
|
62
|
+
export * from './Provider';
|
|
63
|
+
export * from './ProviderProviderInfo';
|
|
64
|
+
export * from './ProviderProviderTargetProperty';
|
|
65
|
+
export * from './ProviderProviderTargetPropertyType';
|
|
66
|
+
export * from './ProviderTarget';
|
|
67
|
+
export * from './ReplaceRequest';
|
|
68
|
+
export * from './ReplaceResult';
|
|
69
|
+
export * from './RepositoryUrl';
|
|
70
|
+
export * from './Sample';
|
|
71
|
+
export * from './SearchFilesResponse';
|
|
72
|
+
export * from './ServerConfig';
|
|
73
|
+
export * from './SetGitProviderConfig';
|
|
74
|
+
export * from './SetProjectState';
|
|
75
|
+
export * from './SigningMethod';
|
|
76
|
+
export * from './Status';
|
|
77
|
+
export * from './Workspace';
|
|
78
|
+
export * from './WorkspaceDTO';
|
|
79
|
+
export * from './WorkspaceInfo';
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./ApiKey"), exports);
|
|
20
|
+
__exportStar(require("./ApikeyApiKeyType"), exports);
|
|
21
|
+
__exportStar(require("./Build"), exports);
|
|
22
|
+
__exportStar(require("./BuildBuildState"), exports);
|
|
23
|
+
__exportStar(require("./BuildConfig"), exports);
|
|
24
|
+
__exportStar(require("./CachedBuild"), exports);
|
|
25
|
+
__exportStar(require("./CloneTarget"), exports);
|
|
26
|
+
__exportStar(require("./CompletionContext"), exports);
|
|
27
|
+
__exportStar(require("./CompletionItem"), exports);
|
|
28
|
+
__exportStar(require("./CompletionList"), exports);
|
|
29
|
+
__exportStar(require("./ContainerConfig"), exports);
|
|
30
|
+
__exportStar(require("./ContainerRegistry"), exports);
|
|
31
|
+
__exportStar(require("./CreateBuildDTO"), exports);
|
|
32
|
+
__exportStar(require("./CreatePrebuildDTO"), exports);
|
|
33
|
+
__exportStar(require("./CreateProjectConfigDTO"), exports);
|
|
34
|
+
__exportStar(require("./CreateProjectDTO"), exports);
|
|
35
|
+
__exportStar(require("./CreateProjectSourceDTO"), exports);
|
|
36
|
+
__exportStar(require("./CreateProviderTargetDTO"), exports);
|
|
37
|
+
__exportStar(require("./CreateWorkspaceDTO"), exports);
|
|
38
|
+
__exportStar(require("./DevcontainerConfig"), exports);
|
|
39
|
+
__exportStar(require("./ExecuteRequest"), exports);
|
|
40
|
+
__exportStar(require("./ExecuteResponse"), exports);
|
|
41
|
+
__exportStar(require("./FRPSConfig"), exports);
|
|
42
|
+
__exportStar(require("./FileInfo"), exports);
|
|
43
|
+
__exportStar(require("./FileStatus"), exports);
|
|
44
|
+
__exportStar(require("./GetRepositoryContext"), exports);
|
|
45
|
+
__exportStar(require("./GitAddRequest"), exports);
|
|
46
|
+
__exportStar(require("./GitBranch"), exports);
|
|
47
|
+
__exportStar(require("./GitBranchRequest"), exports);
|
|
48
|
+
__exportStar(require("./GitCloneRequest"), exports);
|
|
49
|
+
__exportStar(require("./GitCommitInfo"), exports);
|
|
50
|
+
__exportStar(require("./GitCommitRequest"), exports);
|
|
51
|
+
__exportStar(require("./GitCommitResponse"), exports);
|
|
52
|
+
__exportStar(require("./GitNamespace"), exports);
|
|
53
|
+
__exportStar(require("./GitProvider"), exports);
|
|
54
|
+
__exportStar(require("./GitPullRequest"), exports);
|
|
55
|
+
__exportStar(require("./GitRepoRequest"), exports);
|
|
56
|
+
__exportStar(require("./GitRepository"), exports);
|
|
57
|
+
__exportStar(require("./GitStatus"), exports);
|
|
58
|
+
__exportStar(require("./GitUser"), exports);
|
|
59
|
+
__exportStar(require("./InstallProviderRequest"), exports);
|
|
60
|
+
__exportStar(require("./ListBranchResponse"), exports);
|
|
61
|
+
__exportStar(require("./LogFileConfig"), exports);
|
|
62
|
+
__exportStar(require("./LspCompletionParams"), exports);
|
|
63
|
+
__exportStar(require("./LspDocumentRequest"), exports);
|
|
64
|
+
__exportStar(require("./LspLocation"), exports);
|
|
65
|
+
__exportStar(require("./LspPosition"), exports);
|
|
66
|
+
__exportStar(require("./LspRange"), exports);
|
|
67
|
+
__exportStar(require("./LspServerRequest"), exports);
|
|
68
|
+
__exportStar(require("./LspSymbol"), exports);
|
|
69
|
+
__exportStar(require("./Match"), exports);
|
|
70
|
+
__exportStar(require("./NetworkKey"), exports);
|
|
71
|
+
__exportStar(require("./Position"), exports);
|
|
72
|
+
__exportStar(require("./PrebuildConfig"), exports);
|
|
73
|
+
__exportStar(require("./PrebuildDTO"), exports);
|
|
74
|
+
__exportStar(require("./ProfileData"), exports);
|
|
75
|
+
__exportStar(require("./Project"), exports);
|
|
76
|
+
__exportStar(require("./ProjectConfig"), exports);
|
|
77
|
+
__exportStar(require("./ProjectDirResponse"), exports);
|
|
78
|
+
__exportStar(require("./ProjectInfo"), exports);
|
|
79
|
+
__exportStar(require("./ProjectState"), exports);
|
|
80
|
+
__exportStar(require("./Provider"), exports);
|
|
81
|
+
__exportStar(require("./ProviderProviderInfo"), exports);
|
|
82
|
+
__exportStar(require("./ProviderProviderTargetProperty"), exports);
|
|
83
|
+
__exportStar(require("./ProviderProviderTargetPropertyType"), exports);
|
|
84
|
+
__exportStar(require("./ProviderTarget"), exports);
|
|
85
|
+
__exportStar(require("./ReplaceRequest"), exports);
|
|
86
|
+
__exportStar(require("./ReplaceResult"), exports);
|
|
87
|
+
__exportStar(require("./RepositoryUrl"), exports);
|
|
88
|
+
__exportStar(require("./Sample"), exports);
|
|
89
|
+
__exportStar(require("./SearchFilesResponse"), exports);
|
|
90
|
+
__exportStar(require("./ServerConfig"), exports);
|
|
91
|
+
__exportStar(require("./SetGitProviderConfig"), exports);
|
|
92
|
+
__exportStar(require("./SetProjectState"), exports);
|
|
93
|
+
__exportStar(require("./SigningMethod"), exports);
|
|
94
|
+
__exportStar(require("./Status"), exports);
|
|
95
|
+
__exportStar(require("./Workspace"), exports);
|
|
96
|
+
__exportStar(require("./WorkspaceDTO"), exports);
|
|
97
|
+
__exportStar(require("./WorkspaceInfo"), exports);
|