@dhbw-cloud/llm-client 0.2.3-test.1 → 0.2.11
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/dist/index.d.ts +2 -2
- package/dist/index.mjs +18 -50
- package/dist/sdk.gen.d.ts +18 -40
- package/dist/types.gen.d.ts +183 -218
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { blockMachine,
|
|
2
|
-
export type { AccessRole, BlockMachineData, BlockMachineError, BlockMachineErrors, BlockMachineResponse, BlockMachineResponses, ClientOptions,
|
|
1
|
+
export { blockMachine, createKey, deleteFleetPackage, deleteKey, deleteTreeProject, deleteWorkspaceProject, forgetMachine, getFleet, getFleetInference, getFleetInventoryCsv, getFleetPackage, getFleetProfile, getFleetReadme, getGpuHours, getMe, getMyWorkspaceUsage, getProjectImageLog, getTreeCatalog, getUsage, getWorkspaceCatalog, getWorkspaceStorage, getWorkspaceUsage, listGpuServers, listKeys, listTreeProjects, listWorkspaceProjects, type Options, putTreeProject, rebuildProjectImage, setDefaultProject, stopGpuServer, unblockMachine, updateWorkspaceProject } from './sdk.gen';
|
|
2
|
+
export type { AccessRole, BlockMachineData, BlockMachineError, BlockMachineErrors, BlockMachineResponse, BlockMachineResponses, ClientOptions, CreateKeyData, CreateKeyError, CreateKeyErrors, CreateKeyResponse, CreateKeyResponses, DeleteFleetPackageData, DeleteFleetPackageResponse, DeleteFleetPackageResponses, DeleteKeyData, DeleteKeyError, DeleteKeyErrors, DeleteKeyResponse, DeleteKeyResponses, DeleteTreeProjectData, DeleteTreeProjectError, DeleteTreeProjectErrors, DeleteTreeProjectResponse, DeleteTreeProjectResponses, DeleteWorkspaceProjectData, DeleteWorkspaceProjectError, DeleteWorkspaceProjectErrors, DeleteWorkspaceProjectResponse, DeleteWorkspaceProjectResponses, FleetFleetView, FleetPackageInfo, FleetPeerView, FleetProfile, ForgetMachineData, ForgetMachineError, ForgetMachineErrors, ForgetMachineResponse, ForgetMachineResponses, GetFleetData, GetFleetError, GetFleetErrors, GetFleetInferenceData, GetFleetInferenceError, GetFleetInferenceErrors, GetFleetInferenceResponse, GetFleetInferenceResponses, GetFleetInventoryCsvData, GetFleetInventoryCsvResponse, GetFleetInventoryCsvResponses, GetFleetPackageData, GetFleetPackageError, GetFleetPackageErrors, GetFleetPackageResponse, GetFleetPackageResponses, GetFleetProfileData, GetFleetProfileResponse, GetFleetProfileResponses, GetFleetReadmeData, GetFleetReadmeResponse, GetFleetReadmeResponses, GetFleetResponse, GetFleetResponses, GetGpuHoursData, GetGpuHoursError, GetGpuHoursErrors, GetGpuHoursResponse, GetGpuHoursResponses, GetMeData, GetMeError, GetMeErrors, GetMeResponse, GetMeResponses, GetMyWorkspaceUsageData, GetMyWorkspaceUsageError, GetMyWorkspaceUsageErrors, GetMyWorkspaceUsageResponse, GetMyWorkspaceUsageResponses, GetProjectImageLogData, GetProjectImageLogError, GetProjectImageLogErrors, GetProjectImageLogResponse, GetProjectImageLogResponses, GetTreeCatalogData, GetTreeCatalogError, GetTreeCatalogErrors, GetTreeCatalogResponse, GetTreeCatalogResponses, GetUsageData, GetUsageError, GetUsageErrors, GetUsageResponse, GetUsageResponses, GetWorkspaceCatalogData, GetWorkspaceCatalogError, GetWorkspaceCatalogErrors, GetWorkspaceCatalogResponse, GetWorkspaceCatalogResponses, GetWorkspaceStorageData, GetWorkspaceStorageError, GetWorkspaceStorageErrors, GetWorkspaceStorageResponse, GetWorkspaceStorageResponses, GetWorkspaceUsageData, GetWorkspaceUsageError, GetWorkspaceUsageErrors, GetWorkspaceUsageResponse, GetWorkspaceUsageResponses, GpuInferencePod, GpuInferencePool, GpuServer, KeysKeyView, KeysProjectUsage, KeysUsage, ListGpuServersData, ListGpuServersError, ListGpuServersErrors, ListGpuServersResponse, ListGpuServersResponses, ListKeysData, ListKeysError, ListKeysErrors, ListKeysResponse, ListKeysResponses, ListTreeProjectsData, ListTreeProjectsError, ListTreeProjectsErrors, ListTreeProjectsResponse, ListTreeProjectsResponses, ListWorkspaceProjectsData, ListWorkspaceProjectsResponse, ListWorkspaceProjectsResponses, PutTreeProjectData, PutTreeProjectError, PutTreeProjectErrors, PutTreeProjectResponse, PutTreeProjectResponses, RebuildProjectImageData, RebuildProjectImageError, RebuildProjectImageErrors, RebuildProjectImageResponse, RebuildProjectImageResponses, SetDefaultProjectData, SetDefaultProjectError, SetDefaultProjectErrors, SetDefaultProjectResponse, SetDefaultProjectResponses, StopGpuServerData, StopGpuServerError, StopGpuServerErrors, StopGpuServerResponse, StopGpuServerResponses, UnblockMachineData, UnblockMachineError, UnblockMachineErrors, UnblockMachineResponse, UnblockMachineResponses, UpdateWorkspaceProjectData, UpdateWorkspaceProjectError, UpdateWorkspaceProjectErrors, UpdateWorkspaceProjectResponse, UpdateWorkspaceProjectResponses, UsageGpuHour, UsageGpuHourPerson, UsageGpuReport, UsageReport, UsageTotal, WebserverBuildLogResponse, WebserverCreateKeyRequest, WebserverCreateKeyResponse, WebserverDefaultProjectRequest, WebserverDefaultProjectResponse, WebserverErrorResponse, WebserverMeResponse, WebserverTreeCatalog, WorkspaceBudget, WorkspaceBudgetStatus, WorkspaceConfig, WorkspaceImageBuild, WorkspaceLimits, WorkspaceMember, WorkspaceMine, WorkspaceProfile, WorkspaceProject, WorkspaceStorageDir, WorkspaceStorageReport, WorkspaceTreeBudget, WorkspaceTreeProject, WorkspaceTreeStatus, WorkspaceTreeUse, WorkspaceValkeyMemory } from './types.gen';
|
package/dist/index.mjs
CHANGED
|
@@ -837,49 +837,6 @@ var unblockMachine = (options) => (options.client ?? client).post({
|
|
|
837
837
|
url: "/v1/fleet/{serial}/unblock",
|
|
838
838
|
...options
|
|
839
839
|
});
|
|
840
|
-
var listGpuEnvironments = (options) => (options?.client ?? client).get({
|
|
841
|
-
security: [{ name: "Authorization", type: "apiKey" }],
|
|
842
|
-
url: "/v1/gpu/environments",
|
|
843
|
-
...options
|
|
844
|
-
});
|
|
845
|
-
var createGpuEnvironment = (options) => (options.client ?? client).post({
|
|
846
|
-
security: [{ name: "Authorization", type: "apiKey" }],
|
|
847
|
-
url: "/v1/gpu/environments",
|
|
848
|
-
...options,
|
|
849
|
-
headers: {
|
|
850
|
-
"Content-Type": "application/json",
|
|
851
|
-
...options.headers
|
|
852
|
-
}
|
|
853
|
-
});
|
|
854
|
-
var deleteGpuEnvironment = (options) => (options.client ?? client).delete({
|
|
855
|
-
security: [{ name: "Authorization", type: "apiKey" }],
|
|
856
|
-
url: "/v1/gpu/environments/{id}",
|
|
857
|
-
...options
|
|
858
|
-
});
|
|
859
|
-
var getGpuEnvironment = (options) => (options.client ?? client).get({
|
|
860
|
-
security: [{ name: "Authorization", type: "apiKey" }],
|
|
861
|
-
url: "/v1/gpu/environments/{id}",
|
|
862
|
-
...options
|
|
863
|
-
});
|
|
864
|
-
var getGpuEnvironmentLog = (options) => (options.client ?? client).get({
|
|
865
|
-
security: [{ name: "Authorization", type: "apiKey" }],
|
|
866
|
-
url: "/v1/gpu/environments/{id}/log",
|
|
867
|
-
...options
|
|
868
|
-
});
|
|
869
|
-
var rebuildGpuEnvironment = (options) => (options.client ?? client).post({
|
|
870
|
-
security: [{ name: "Authorization", type: "apiKey" }],
|
|
871
|
-
url: "/v1/gpu/environments/{id}/rebuild",
|
|
872
|
-
...options
|
|
873
|
-
});
|
|
874
|
-
var startGpuEnvironment = (options) => (options.client ?? client).post({
|
|
875
|
-
security: [{ name: "Authorization", type: "apiKey" }],
|
|
876
|
-
url: "/v1/gpu/environments/{id}/start",
|
|
877
|
-
...options,
|
|
878
|
-
headers: {
|
|
879
|
-
"Content-Type": "application/json",
|
|
880
|
-
...options.headers
|
|
881
|
-
}
|
|
882
|
-
});
|
|
883
840
|
var listGpuServers = (options) => (options?.client ?? client).get({
|
|
884
841
|
security: [{ name: "Authorization", type: "apiKey" }],
|
|
885
842
|
url: "/v1/gpu/servers",
|
|
@@ -957,6 +914,11 @@ var getWorkspaceCatalog = (options) => (options?.client ?? client).get({
|
|
|
957
914
|
url: "/v1/workspaces/catalog",
|
|
958
915
|
...options
|
|
959
916
|
});
|
|
917
|
+
var getGpuHours = (options) => (options?.client ?? client).get({
|
|
918
|
+
security: [{ name: "Authorization", type: "apiKey" }],
|
|
919
|
+
url: "/v1/workspaces/gpu-hours",
|
|
920
|
+
...options
|
|
921
|
+
});
|
|
960
922
|
var listWorkspaceProjects = (options) => (options?.client ?? client).get({
|
|
961
923
|
security: [{ name: "Authorization", type: "apiKey" }],
|
|
962
924
|
url: "/v1/workspaces/projects",
|
|
@@ -976,6 +938,16 @@ var updateWorkspaceProject = (options) => (options.client ?? client).put({
|
|
|
976
938
|
...options.headers
|
|
977
939
|
}
|
|
978
940
|
});
|
|
941
|
+
var getProjectImageLog = (options) => (options.client ?? client).get({
|
|
942
|
+
security: [{ name: "Authorization", type: "apiKey" }],
|
|
943
|
+
url: "/v1/workspaces/projects/{slug}/image/log",
|
|
944
|
+
...options
|
|
945
|
+
});
|
|
946
|
+
var rebuildProjectImage = (options) => (options.client ?? client).post({
|
|
947
|
+
security: [{ name: "Authorization", type: "apiKey" }],
|
|
948
|
+
url: "/v1/workspaces/projects/{slug}/image/rebuild",
|
|
949
|
+
...options
|
|
950
|
+
});
|
|
979
951
|
var getWorkspaceStorage = (options) => (options?.client ?? client).get({
|
|
980
952
|
security: [{ name: "Authorization", type: "apiKey" }],
|
|
981
953
|
url: "/v1/workspaces/storage",
|
|
@@ -994,10 +966,8 @@ var getMyWorkspaceUsage = (options) => (options?.client ?? client).get({
|
|
|
994
966
|
export {
|
|
995
967
|
blockMachine,
|
|
996
968
|
client,
|
|
997
|
-
createGpuEnvironment,
|
|
998
969
|
createKey,
|
|
999
970
|
deleteFleetPackage,
|
|
1000
|
-
deleteGpuEnvironment,
|
|
1001
971
|
deleteKey,
|
|
1002
972
|
deleteTreeProject,
|
|
1003
973
|
deleteWorkspaceProject,
|
|
@@ -1008,24 +978,22 @@ export {
|
|
|
1008
978
|
getFleetPackage,
|
|
1009
979
|
getFleetProfile,
|
|
1010
980
|
getFleetReadme,
|
|
1011
|
-
|
|
1012
|
-
getGpuEnvironmentLog,
|
|
981
|
+
getGpuHours,
|
|
1013
982
|
getMe,
|
|
1014
983
|
getMyWorkspaceUsage,
|
|
984
|
+
getProjectImageLog,
|
|
1015
985
|
getTreeCatalog,
|
|
1016
986
|
getUsage,
|
|
1017
987
|
getWorkspaceCatalog,
|
|
1018
988
|
getWorkspaceStorage,
|
|
1019
989
|
getWorkspaceUsage,
|
|
1020
|
-
listGpuEnvironments,
|
|
1021
990
|
listGpuServers,
|
|
1022
991
|
listKeys,
|
|
1023
992
|
listTreeProjects,
|
|
1024
993
|
listWorkspaceProjects,
|
|
1025
994
|
putTreeProject,
|
|
1026
|
-
|
|
995
|
+
rebuildProjectImage,
|
|
1027
996
|
setDefaultProject,
|
|
1028
|
-
startGpuEnvironment,
|
|
1029
997
|
stopGpuServer,
|
|
1030
998
|
unblockMachine,
|
|
1031
999
|
updateWorkspaceProject
|
package/dist/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client';
|
|
2
|
-
import type { BlockMachineData, BlockMachineErrors, BlockMachineResponses,
|
|
2
|
+
import type { BlockMachineData, BlockMachineErrors, BlockMachineResponses, CreateKeyData, CreateKeyErrors, CreateKeyResponses, DeleteFleetPackageData, DeleteFleetPackageResponses, DeleteKeyData, DeleteKeyErrors, DeleteKeyResponses, DeleteTreeProjectData, DeleteTreeProjectErrors, DeleteTreeProjectResponses, DeleteWorkspaceProjectData, DeleteWorkspaceProjectErrors, DeleteWorkspaceProjectResponses, ForgetMachineData, ForgetMachineErrors, ForgetMachineResponses, GetFleetData, GetFleetErrors, GetFleetInferenceData, GetFleetInferenceErrors, GetFleetInferenceResponses, GetFleetInventoryCsvData, GetFleetInventoryCsvResponses, GetFleetPackageData, GetFleetPackageErrors, GetFleetPackageResponses, GetFleetProfileData, GetFleetProfileResponses, GetFleetReadmeData, GetFleetReadmeResponses, GetFleetResponses, GetGpuHoursData, GetGpuHoursErrors, GetGpuHoursResponses, GetMeData, GetMeErrors, GetMeResponses, GetMyWorkspaceUsageData, GetMyWorkspaceUsageErrors, GetMyWorkspaceUsageResponses, GetProjectImageLogData, GetProjectImageLogErrors, GetProjectImageLogResponses, GetTreeCatalogData, GetTreeCatalogErrors, GetTreeCatalogResponses, GetUsageData, GetUsageErrors, GetUsageResponses, GetWorkspaceCatalogData, GetWorkspaceCatalogErrors, GetWorkspaceCatalogResponses, GetWorkspaceStorageData, GetWorkspaceStorageErrors, GetWorkspaceStorageResponses, GetWorkspaceUsageData, GetWorkspaceUsageErrors, GetWorkspaceUsageResponses, ListGpuServersData, ListGpuServersErrors, ListGpuServersResponses, ListKeysData, ListKeysErrors, ListKeysResponses, ListTreeProjectsData, ListTreeProjectsErrors, ListTreeProjectsResponses, ListWorkspaceProjectsData, ListWorkspaceProjectsResponses, PutTreeProjectData, PutTreeProjectErrors, PutTreeProjectResponses, RebuildProjectImageData, RebuildProjectImageErrors, RebuildProjectImageResponses, SetDefaultProjectData, SetDefaultProjectErrors, SetDefaultProjectResponses, StopGpuServerData, StopGpuServerErrors, StopGpuServerResponses, UnblockMachineData, UnblockMachineErrors, UnblockMachineResponses, UpdateWorkspaceProjectData, UpdateWorkspaceProjectErrors, UpdateWorkspaceProjectResponses } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -63,44 +63,6 @@ export declare const blockMachine: <ThrowOnError extends boolean = false>(option
|
|
|
63
63
|
* Unblock a machine
|
|
64
64
|
*/
|
|
65
65
|
export declare const unblockMachine: <ThrowOnError extends boolean = false>(options: Options<UnblockMachineData, ThrowOnError>) => RequestResult<UnblockMachineResponses, UnblockMachineErrors, ThrowOnError>;
|
|
66
|
-
/**
|
|
67
|
-
* My environments
|
|
68
|
-
*
|
|
69
|
-
* Environments built from Git repositories, newest first, with the current build status.
|
|
70
|
-
*/
|
|
71
|
-
export declare const listGpuEnvironments: <ThrowOnError extends boolean = false>(options?: Options<ListGpuEnvironmentsData, ThrowOnError>) => RequestResult<ListGpuEnvironmentsResponses, ListGpuEnvironmentsErrors, ThrowOnError>;
|
|
72
|
-
/**
|
|
73
|
-
* Add an environment from a Git repository
|
|
74
|
-
*
|
|
75
|
-
* Resolves the ref to a commit. If Harbor already has the image for that commit, the environment is ready at once; otherwise a build starts (status building). Public repositories on the allowed hosts only.
|
|
76
|
-
*/
|
|
77
|
-
export declare const createGpuEnvironment: <ThrowOnError extends boolean = false>(options: Options<CreateGpuEnvironmentData, ThrowOnError>) => RequestResult<CreateGpuEnvironmentResponses, CreateGpuEnvironmentErrors, ThrowOnError>;
|
|
78
|
-
/**
|
|
79
|
-
* Forget an environment
|
|
80
|
-
*
|
|
81
|
-
* The image stays in Harbor until its retention rules remove it.
|
|
82
|
-
*/
|
|
83
|
-
export declare const deleteGpuEnvironment: <ThrowOnError extends boolean = false>(options: Options<DeleteGpuEnvironmentData, ThrowOnError>) => RequestResult<DeleteGpuEnvironmentResponses, DeleteGpuEnvironmentErrors, ThrowOnError>;
|
|
84
|
-
/**
|
|
85
|
-
* One environment with its build status
|
|
86
|
-
*/
|
|
87
|
-
export declare const getGpuEnvironment: <ThrowOnError extends boolean = false>(options: Options<GetGpuEnvironmentData, ThrowOnError>) => RequestResult<GetGpuEnvironmentResponses, GetGpuEnvironmentErrors, ThrowOnError>;
|
|
88
|
-
/**
|
|
89
|
-
* Tail of the build log
|
|
90
|
-
*
|
|
91
|
-
* Available while the build job exists (one day after it finished).
|
|
92
|
-
*/
|
|
93
|
-
export declare const getGpuEnvironmentLog: <ThrowOnError extends boolean = false>(options: Options<GetGpuEnvironmentLogData, ThrowOnError>) => RequestResult<GetGpuEnvironmentLogResponses, GetGpuEnvironmentLogErrors, ThrowOnError>;
|
|
94
|
-
/**
|
|
95
|
-
* Build the environment again
|
|
96
|
-
*/
|
|
97
|
-
export declare const rebuildGpuEnvironment: <ThrowOnError extends boolean = false>(options: Options<RebuildGpuEnvironmentData, ThrowOnError>) => RequestResult<RebuildGpuEnvironmentResponses, RebuildGpuEnvironmentErrors, ThrowOnError>;
|
|
98
|
-
/**
|
|
99
|
-
* Start a JupyterHub server for the environment
|
|
100
|
-
*
|
|
101
|
-
* A named server per environment; the repository is checked out into ~/projekte/<repo>. With gpu=true it waits for a free GPU and counts against the GPU quota; JupyterHub's refusal comes back as 409 with its message.
|
|
102
|
-
*/
|
|
103
|
-
export declare const startGpuEnvironment: <ThrowOnError extends boolean = false>(options: Options<StartGpuEnvironmentData, ThrowOnError>) => RequestResult<StartGpuEnvironmentResponses, StartGpuEnvironmentErrors, ThrowOnError>;
|
|
104
66
|
/**
|
|
105
67
|
* My JupyterHub servers
|
|
106
68
|
*/
|
|
@@ -173,6 +135,12 @@ export declare const getUsage: <ThrowOnError extends boolean = false>(options?:
|
|
|
173
135
|
* What a project can allow: the JupyterHub profiles (with the GPU class they use) and the GPU classes.
|
|
174
136
|
*/
|
|
175
137
|
export declare const getWorkspaceCatalog: <ThrowOnError extends boolean = false>(options?: Options<GetWorkspaceCatalogData, ThrowOnError>) => RequestResult<GetWorkspaceCatalogResponses, GetWorkspaceCatalogErrors, ThrowOnError>;
|
|
138
|
+
/**
|
|
139
|
+
* GPU use per hour
|
|
140
|
+
*
|
|
141
|
+
* How full the GPUs were in each hour (UTC), sampled every minute: per GPU class the capacity, what workspaces and the inference pool held and how many pods waited (admins only), and per person, project and profile the GPU-hours held and the hours waited. Default period: the last 7 days including today; at most 365 days back (older hours are deleted). Admins see everything or one project; a project's managers see their project's people only.
|
|
142
|
+
*/
|
|
143
|
+
export declare const getGpuHours: <ThrowOnError extends boolean = false>(options?: Options<GetGpuHoursData, ThrowOnError>) => RequestResult<GetGpuHoursResponses, GetGpuHoursErrors, ThrowOnError>;
|
|
176
144
|
/**
|
|
177
145
|
* Workspace projects
|
|
178
146
|
*
|
|
@@ -188,9 +156,19 @@ export declare const deleteWorkspaceProject: <ThrowOnError extends boolean = fal
|
|
|
188
156
|
/**
|
|
189
157
|
* Change a workspace project
|
|
190
158
|
*
|
|
191
|
-
* Admins change everything; the project's managers only the description, the members and the
|
|
159
|
+
* Admins change everything; the project's managers only the description, the members and the project image (project_image, or image_git_url and image_git_ref to build it from Git).
|
|
192
160
|
*/
|
|
193
161
|
export declare const updateWorkspaceProject: <ThrowOnError extends boolean = false>(options: Options<UpdateWorkspaceProjectData, ThrowOnError>) => RequestResult<UpdateWorkspaceProjectResponses, UpdateWorkspaceProjectErrors, ThrowOnError>;
|
|
162
|
+
/**
|
|
163
|
+
* Build log of a project image from Git
|
|
164
|
+
*/
|
|
165
|
+
export declare const getProjectImageLog: <ThrowOnError extends boolean = false>(options: Options<GetProjectImageLogData, ThrowOnError>) => RequestResult<GetProjectImageLogResponses, GetProjectImageLogErrors, ThrowOnError>;
|
|
166
|
+
/**
|
|
167
|
+
* Build a project image from Git again
|
|
168
|
+
*
|
|
169
|
+
* Resolves the project's ref again (a branch's newest commit) and builds it on notebook-base; a failed commit is built anew. The project keeps its image until the build is ready.
|
|
170
|
+
*/
|
|
171
|
+
export declare const rebuildProjectImage: <ThrowOnError extends boolean = false>(options: Options<RebuildProjectImageData, ThrowOnError>) => RequestResult<RebuildProjectImageResponses, RebuildProjectImageErrors, ThrowOnError>;
|
|
194
172
|
/**
|
|
195
173
|
* Workspace storage
|
|
196
174
|
*
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -79,20 +79,6 @@ export type FleetProfile = {
|
|
|
79
79
|
weight?: number;
|
|
80
80
|
wiredLimitMb?: number;
|
|
81
81
|
};
|
|
82
|
-
export type GpuEnvironment = {
|
|
83
|
-
branch?: string;
|
|
84
|
-
commit?: string;
|
|
85
|
-
created_at?: string;
|
|
86
|
-
git_url?: string;
|
|
87
|
-
id?: number;
|
|
88
|
-
image?: string;
|
|
89
|
-
message?: string;
|
|
90
|
-
name?: string;
|
|
91
|
-
owner?: string;
|
|
92
|
-
ref?: string;
|
|
93
|
-
status?: GpuStatus;
|
|
94
|
-
updated_at?: string;
|
|
95
|
-
};
|
|
96
82
|
export type GpuInferencePod = {
|
|
97
83
|
gpu_class?: string;
|
|
98
84
|
model?: string;
|
|
@@ -123,7 +109,6 @@ export type GpuServer = {
|
|
|
123
109
|
ready?: boolean;
|
|
124
110
|
url?: string;
|
|
125
111
|
};
|
|
126
|
-
export type GpuStatus = 'building' | 'ready' | 'failed';
|
|
127
112
|
export type KeysKeyView = {
|
|
128
113
|
budget?: number;
|
|
129
114
|
budget_duration?: string;
|
|
@@ -156,6 +141,52 @@ export type KeysUsage = {
|
|
|
156
141
|
own_keys?: number;
|
|
157
142
|
projects?: Array<KeysProjectUsage>;
|
|
158
143
|
};
|
|
144
|
+
export type UsageGpuHour = {
|
|
145
|
+
/**
|
|
146
|
+
* GPUs × hours available
|
|
147
|
+
*/
|
|
148
|
+
capacity?: number;
|
|
149
|
+
gpu_class?: string;
|
|
150
|
+
hour?: string;
|
|
151
|
+
/**
|
|
152
|
+
* GPUs × hours held by the inference pool (vLLM)
|
|
153
|
+
*/
|
|
154
|
+
inference_hours?: number;
|
|
155
|
+
/**
|
|
156
|
+
* most pods waiting at one sample
|
|
157
|
+
*/
|
|
158
|
+
max_waiting?: number;
|
|
159
|
+
/**
|
|
160
|
+
* time covered by samples (≤ 1)
|
|
161
|
+
*/
|
|
162
|
+
sampled_hours?: number;
|
|
163
|
+
/**
|
|
164
|
+
* waiting workspace pods × hours
|
|
165
|
+
*/
|
|
166
|
+
wait_hours?: number;
|
|
167
|
+
/**
|
|
168
|
+
* GPUs × hours held by workspaces (servers, GPU kernels)
|
|
169
|
+
*/
|
|
170
|
+
workspace_hours?: number;
|
|
171
|
+
};
|
|
172
|
+
export type UsageGpuHourPerson = {
|
|
173
|
+
gpu_class?: string;
|
|
174
|
+
gpu_hours?: number;
|
|
175
|
+
hour?: string;
|
|
176
|
+
person?: string;
|
|
177
|
+
/**
|
|
178
|
+
* "gpu-kernel" for GPU kernels
|
|
179
|
+
*/
|
|
180
|
+
profile?: string;
|
|
181
|
+
project?: string;
|
|
182
|
+
wait_hours?: number;
|
|
183
|
+
};
|
|
184
|
+
export type UsageGpuReport = {
|
|
185
|
+
from?: string;
|
|
186
|
+
hours?: Array<UsageGpuHour>;
|
|
187
|
+
people?: Array<UsageGpuHourPerson>;
|
|
188
|
+
to?: string;
|
|
189
|
+
};
|
|
159
190
|
export type UsageReport = {
|
|
160
191
|
entries?: Array<UsageTotal>;
|
|
161
192
|
from?: string;
|
|
@@ -208,14 +239,6 @@ export type WebserverDefaultProjectResponse = {
|
|
|
208
239
|
project?: string;
|
|
209
240
|
project_name?: string;
|
|
210
241
|
};
|
|
211
|
-
export type WebserverEnvironmentRequest = {
|
|
212
|
-
git_url: string;
|
|
213
|
-
name?: string;
|
|
214
|
-
/**
|
|
215
|
-
* Branch, tag or commit; empty = default branch.
|
|
216
|
-
*/
|
|
217
|
-
ref?: string;
|
|
218
|
-
};
|
|
219
242
|
export type WebserverErrorResponse = {
|
|
220
243
|
/**
|
|
221
244
|
* Stable machine-readable reason.
|
|
@@ -256,20 +279,6 @@ export type WebserverMeResponse = {
|
|
|
256
279
|
*/
|
|
257
280
|
workspace_projects?: number;
|
|
258
281
|
};
|
|
259
|
-
export type WebserverStartRequest = {
|
|
260
|
-
/**
|
|
261
|
-
* With a GPU (waits in the queue if all GPUs are busy; counts against the GPU quota).
|
|
262
|
-
*/
|
|
263
|
-
gpu?: boolean;
|
|
264
|
-
/**
|
|
265
|
-
* Project the server runs in (its slug); empty = the first of the caller's projects that allows the profile.
|
|
266
|
-
*/
|
|
267
|
-
project?: string;
|
|
268
|
-
};
|
|
269
|
-
export type WebserverStartResponse = {
|
|
270
|
-
server?: string;
|
|
271
|
-
url?: string;
|
|
272
|
-
};
|
|
273
282
|
export type WebserverTreeCatalog = {
|
|
274
283
|
gpuClasses?: Array<string>;
|
|
275
284
|
llm_base_models?: Array<string>;
|
|
@@ -305,9 +314,13 @@ export type WorkspaceConfig = {
|
|
|
305
314
|
gpuClasses?: Array<string>;
|
|
306
315
|
profiles?: Array<WorkspaceProfile>;
|
|
307
316
|
};
|
|
308
|
-
export type
|
|
317
|
+
export type WorkspaceImageBuild = {
|
|
318
|
+
branch?: string;
|
|
319
|
+
commit?: string;
|
|
309
320
|
image?: string;
|
|
310
|
-
|
|
321
|
+
message?: string;
|
|
322
|
+
status?: 'building' | 'ready' | 'failed';
|
|
323
|
+
updated_at?: string;
|
|
311
324
|
};
|
|
312
325
|
export type WorkspaceLimits = {
|
|
313
326
|
/**
|
|
@@ -333,13 +346,17 @@ export type WorkspaceMine = {
|
|
|
333
346
|
budgets?: Array<WorkspaceBudget>;
|
|
334
347
|
created_at?: string;
|
|
335
348
|
created_by?: string;
|
|
349
|
+
/**
|
|
350
|
+
* DeleteAt is the day the budget tree deletes the project with its workspace storage (its end plus a grace period); nil = not planned.
|
|
351
|
+
*/
|
|
352
|
+
delete_at?: string;
|
|
336
353
|
description?: string;
|
|
337
354
|
/**
|
|
338
355
|
* after this day nobody can start in the project
|
|
339
356
|
*/
|
|
340
357
|
ends_at?: string;
|
|
341
358
|
/**
|
|
342
|
-
* W3: any image,
|
|
359
|
+
* W3: any image, with or without GPU (profiles free, free-gpu)
|
|
343
360
|
*/
|
|
344
361
|
free_images?: boolean;
|
|
345
362
|
gpu_classes?: Array<string>;
|
|
@@ -350,7 +367,15 @@ export type WorkspaceMine = {
|
|
|
350
367
|
[key: string]: number;
|
|
351
368
|
};
|
|
352
369
|
id?: number;
|
|
353
|
-
|
|
370
|
+
/**
|
|
371
|
+
* ImageBuild is the state of the project image's build from Git (ImageGitURL); nil = none.
|
|
372
|
+
*/
|
|
373
|
+
image_build?: WorkspaceImageBuild;
|
|
374
|
+
image_git_ref?: string;
|
|
375
|
+
/**
|
|
376
|
+
* ImageGitURL builds ProjectImage from a public repository (requirements.txt, environment.yml, apt.txt, postBuild) on notebook-base, rebuilt on its new releases; ImageGitRef is a branch, tag or commit (empty = default branch).
|
|
377
|
+
*/
|
|
378
|
+
image_git_url?: string;
|
|
354
379
|
limits?: WorkspaceLimits;
|
|
355
380
|
/**
|
|
356
381
|
* LLMModels are model groups the tree granted the project on top of the base models.
|
|
@@ -368,6 +393,10 @@ export type WorkspaceMine = {
|
|
|
368
393
|
members?: Array<WorkspaceMember>;
|
|
369
394
|
name?: string;
|
|
370
395
|
profiles?: Array<string>;
|
|
396
|
+
/**
|
|
397
|
+
* ProjectImage is the image of the profiles "CPU + GPU-Kernel" and "Projekt-Image (GPU)" instead of notebook-base (docs/bauplan.md 10.12): a finished image derived from notebook-base (label BaseLabel), or, with ImageGitURL, the last successful build from that repository; empty = notebook-base.
|
|
398
|
+
*/
|
|
399
|
+
project_image?: string;
|
|
371
400
|
role?: 'member' | 'manager' | 'admin';
|
|
372
401
|
/**
|
|
373
402
|
* short name, also the pod label dhbw.cloud/project
|
|
@@ -393,13 +422,17 @@ export type WorkspaceProject = {
|
|
|
393
422
|
budgets?: Array<WorkspaceBudget>;
|
|
394
423
|
created_at?: string;
|
|
395
424
|
created_by?: string;
|
|
425
|
+
/**
|
|
426
|
+
* DeleteAt is the day the budget tree deletes the project with its workspace storage (its end plus a grace period); nil = not planned.
|
|
427
|
+
*/
|
|
428
|
+
delete_at?: string;
|
|
396
429
|
description?: string;
|
|
397
430
|
/**
|
|
398
431
|
* after this day nobody can start in the project
|
|
399
432
|
*/
|
|
400
433
|
ends_at?: string;
|
|
401
434
|
/**
|
|
402
|
-
* W3: any image,
|
|
435
|
+
* W3: any image, with or without GPU (profiles free, free-gpu)
|
|
403
436
|
*/
|
|
404
437
|
free_images?: boolean;
|
|
405
438
|
gpu_classes?: Array<string>;
|
|
@@ -410,7 +443,11 @@ export type WorkspaceProject = {
|
|
|
410
443
|
[key: string]: number;
|
|
411
444
|
};
|
|
412
445
|
id?: number;
|
|
413
|
-
|
|
446
|
+
image_git_ref?: string;
|
|
447
|
+
/**
|
|
448
|
+
* ImageGitURL builds ProjectImage from a public repository (requirements.txt, environment.yml, apt.txt, postBuild) on notebook-base, rebuilt on its new releases; ImageGitRef is a branch, tag or commit (empty = default branch).
|
|
449
|
+
*/
|
|
450
|
+
image_git_url?: string;
|
|
414
451
|
limits?: WorkspaceLimits;
|
|
415
452
|
/**
|
|
416
453
|
* LLMModels are model groups the tree granted the project on top of the base models.
|
|
@@ -428,6 +465,10 @@ export type WorkspaceProject = {
|
|
|
428
465
|
members?: Array<WorkspaceMember>;
|
|
429
466
|
name?: string;
|
|
430
467
|
profiles?: Array<string>;
|
|
468
|
+
/**
|
|
469
|
+
* ProjectImage is the image of the profiles "CPU + GPU-Kernel" and "Projekt-Image (GPU)" instead of notebook-base (docs/bauplan.md 10.12): a finished image derived from notebook-base (label BaseLabel), or, with ImageGitURL, the last successful build from that repository; empty = notebook-base.
|
|
470
|
+
*/
|
|
471
|
+
project_image?: string;
|
|
431
472
|
/**
|
|
432
473
|
* short name, also the pod label dhbw.cloud/project
|
|
433
474
|
*/
|
|
@@ -469,6 +510,10 @@ export type WorkspaceTreeBudget = {
|
|
|
469
510
|
};
|
|
470
511
|
export type WorkspaceTreeProject = {
|
|
471
512
|
budgets?: Array<WorkspaceTreeBudget>;
|
|
513
|
+
/**
|
|
514
|
+
* DeleteAt is the day the tree deletes the project (its end plus a grace period), for the warnings; nil = not planned.
|
|
515
|
+
*/
|
|
516
|
+
delete_at?: string;
|
|
472
517
|
ends_at?: string;
|
|
473
518
|
gpus_by_class?: {
|
|
474
519
|
[key: string]: number;
|
|
@@ -715,181 +760,6 @@ export type UnblockMachineResponses = {
|
|
|
715
760
|
204: void;
|
|
716
761
|
};
|
|
717
762
|
export type UnblockMachineResponse = UnblockMachineResponses[keyof UnblockMachineResponses];
|
|
718
|
-
export type ListGpuEnvironmentsData = {
|
|
719
|
-
body?: never;
|
|
720
|
-
path?: never;
|
|
721
|
-
query?: never;
|
|
722
|
-
url: '/v1/gpu/environments';
|
|
723
|
-
};
|
|
724
|
-
export type ListGpuEnvironmentsErrors = {
|
|
725
|
-
/**
|
|
726
|
-
* Forbidden
|
|
727
|
-
*/
|
|
728
|
-
403: WebserverErrorResponse;
|
|
729
|
-
};
|
|
730
|
-
export type ListGpuEnvironmentsError = ListGpuEnvironmentsErrors[keyof ListGpuEnvironmentsErrors];
|
|
731
|
-
export type ListGpuEnvironmentsResponses = {
|
|
732
|
-
/**
|
|
733
|
-
* OK
|
|
734
|
-
*/
|
|
735
|
-
200: Array<GpuEnvironment>;
|
|
736
|
-
};
|
|
737
|
-
export type ListGpuEnvironmentsResponse = ListGpuEnvironmentsResponses[keyof ListGpuEnvironmentsResponses];
|
|
738
|
-
export type CreateGpuEnvironmentData = {
|
|
739
|
-
/**
|
|
740
|
-
* Repository
|
|
741
|
-
*/
|
|
742
|
-
body: WebserverEnvironmentRequest;
|
|
743
|
-
path?: never;
|
|
744
|
-
query?: never;
|
|
745
|
-
url: '/v1/gpu/environments';
|
|
746
|
-
};
|
|
747
|
-
export type CreateGpuEnvironmentErrors = {
|
|
748
|
-
/**
|
|
749
|
-
* Bad Request
|
|
750
|
-
*/
|
|
751
|
-
400: WebserverErrorResponse;
|
|
752
|
-
/**
|
|
753
|
-
* Bad Gateway
|
|
754
|
-
*/
|
|
755
|
-
502: WebserverErrorResponse;
|
|
756
|
-
};
|
|
757
|
-
export type CreateGpuEnvironmentError = CreateGpuEnvironmentErrors[keyof CreateGpuEnvironmentErrors];
|
|
758
|
-
export type CreateGpuEnvironmentResponses = {
|
|
759
|
-
/**
|
|
760
|
-
* Created
|
|
761
|
-
*/
|
|
762
|
-
201: GpuEnvironment;
|
|
763
|
-
};
|
|
764
|
-
export type CreateGpuEnvironmentResponse = CreateGpuEnvironmentResponses[keyof CreateGpuEnvironmentResponses];
|
|
765
|
-
export type DeleteGpuEnvironmentData = {
|
|
766
|
-
body?: never;
|
|
767
|
-
path: {
|
|
768
|
-
/**
|
|
769
|
-
* Environment id
|
|
770
|
-
*/
|
|
771
|
-
id: number;
|
|
772
|
-
};
|
|
773
|
-
query?: never;
|
|
774
|
-
url: '/v1/gpu/environments/{id}';
|
|
775
|
-
};
|
|
776
|
-
export type DeleteGpuEnvironmentErrors = {
|
|
777
|
-
/**
|
|
778
|
-
* Not Found
|
|
779
|
-
*/
|
|
780
|
-
404: WebserverErrorResponse;
|
|
781
|
-
};
|
|
782
|
-
export type DeleteGpuEnvironmentError = DeleteGpuEnvironmentErrors[keyof DeleteGpuEnvironmentErrors];
|
|
783
|
-
export type DeleteGpuEnvironmentResponses = {
|
|
784
|
-
/**
|
|
785
|
-
* No Content
|
|
786
|
-
*/
|
|
787
|
-
204: void;
|
|
788
|
-
};
|
|
789
|
-
export type DeleteGpuEnvironmentResponse = DeleteGpuEnvironmentResponses[keyof DeleteGpuEnvironmentResponses];
|
|
790
|
-
export type GetGpuEnvironmentData = {
|
|
791
|
-
body?: never;
|
|
792
|
-
path: {
|
|
793
|
-
/**
|
|
794
|
-
* Environment id
|
|
795
|
-
*/
|
|
796
|
-
id: number;
|
|
797
|
-
};
|
|
798
|
-
query?: never;
|
|
799
|
-
url: '/v1/gpu/environments/{id}';
|
|
800
|
-
};
|
|
801
|
-
export type GetGpuEnvironmentErrors = {
|
|
802
|
-
/**
|
|
803
|
-
* Not Found
|
|
804
|
-
*/
|
|
805
|
-
404: WebserverErrorResponse;
|
|
806
|
-
};
|
|
807
|
-
export type GetGpuEnvironmentError = GetGpuEnvironmentErrors[keyof GetGpuEnvironmentErrors];
|
|
808
|
-
export type GetGpuEnvironmentResponses = {
|
|
809
|
-
/**
|
|
810
|
-
* OK
|
|
811
|
-
*/
|
|
812
|
-
200: GpuEnvironment;
|
|
813
|
-
};
|
|
814
|
-
export type GetGpuEnvironmentResponse = GetGpuEnvironmentResponses[keyof GetGpuEnvironmentResponses];
|
|
815
|
-
export type GetGpuEnvironmentLogData = {
|
|
816
|
-
body?: never;
|
|
817
|
-
path: {
|
|
818
|
-
/**
|
|
819
|
-
* Environment id
|
|
820
|
-
*/
|
|
821
|
-
id: number;
|
|
822
|
-
};
|
|
823
|
-
query?: never;
|
|
824
|
-
url: '/v1/gpu/environments/{id}/log';
|
|
825
|
-
};
|
|
826
|
-
export type GetGpuEnvironmentLogErrors = {
|
|
827
|
-
/**
|
|
828
|
-
* Not Found
|
|
829
|
-
*/
|
|
830
|
-
404: WebserverErrorResponse;
|
|
831
|
-
};
|
|
832
|
-
export type GetGpuEnvironmentLogError = GetGpuEnvironmentLogErrors[keyof GetGpuEnvironmentLogErrors];
|
|
833
|
-
export type GetGpuEnvironmentLogResponses = {
|
|
834
|
-
/**
|
|
835
|
-
* OK
|
|
836
|
-
*/
|
|
837
|
-
200: WebserverBuildLogResponse;
|
|
838
|
-
};
|
|
839
|
-
export type GetGpuEnvironmentLogResponse = GetGpuEnvironmentLogResponses[keyof GetGpuEnvironmentLogResponses];
|
|
840
|
-
export type RebuildGpuEnvironmentData = {
|
|
841
|
-
body?: never;
|
|
842
|
-
path: {
|
|
843
|
-
/**
|
|
844
|
-
* Environment id
|
|
845
|
-
*/
|
|
846
|
-
id: number;
|
|
847
|
-
};
|
|
848
|
-
query?: never;
|
|
849
|
-
url: '/v1/gpu/environments/{id}/rebuild';
|
|
850
|
-
};
|
|
851
|
-
export type RebuildGpuEnvironmentErrors = {
|
|
852
|
-
/**
|
|
853
|
-
* Not Found
|
|
854
|
-
*/
|
|
855
|
-
404: WebserverErrorResponse;
|
|
856
|
-
};
|
|
857
|
-
export type RebuildGpuEnvironmentError = RebuildGpuEnvironmentErrors[keyof RebuildGpuEnvironmentErrors];
|
|
858
|
-
export type RebuildGpuEnvironmentResponses = {
|
|
859
|
-
/**
|
|
860
|
-
* OK
|
|
861
|
-
*/
|
|
862
|
-
200: GpuEnvironment;
|
|
863
|
-
};
|
|
864
|
-
export type RebuildGpuEnvironmentResponse = RebuildGpuEnvironmentResponses[keyof RebuildGpuEnvironmentResponses];
|
|
865
|
-
export type StartGpuEnvironmentData = {
|
|
866
|
-
/**
|
|
867
|
-
* Options
|
|
868
|
-
*/
|
|
869
|
-
body?: WebserverStartRequest;
|
|
870
|
-
path: {
|
|
871
|
-
/**
|
|
872
|
-
* Environment id
|
|
873
|
-
*/
|
|
874
|
-
id: number;
|
|
875
|
-
};
|
|
876
|
-
query?: never;
|
|
877
|
-
url: '/v1/gpu/environments/{id}/start';
|
|
878
|
-
};
|
|
879
|
-
export type StartGpuEnvironmentErrors = {
|
|
880
|
-
/**
|
|
881
|
-
* Conflict
|
|
882
|
-
*/
|
|
883
|
-
409: WebserverErrorResponse;
|
|
884
|
-
};
|
|
885
|
-
export type StartGpuEnvironmentError = StartGpuEnvironmentErrors[keyof StartGpuEnvironmentErrors];
|
|
886
|
-
export type StartGpuEnvironmentResponses = {
|
|
887
|
-
/**
|
|
888
|
-
* Accepted
|
|
889
|
-
*/
|
|
890
|
-
202: WebserverStartResponse;
|
|
891
|
-
};
|
|
892
|
-
export type StartGpuEnvironmentResponse = StartGpuEnvironmentResponses[keyof StartGpuEnvironmentResponses];
|
|
893
763
|
export type ListGpuServersData = {
|
|
894
764
|
body?: never;
|
|
895
765
|
path?: never;
|
|
@@ -1199,6 +1069,43 @@ export type GetWorkspaceCatalogResponses = {
|
|
|
1199
1069
|
200: WorkspaceConfig;
|
|
1200
1070
|
};
|
|
1201
1071
|
export type GetWorkspaceCatalogResponse = GetWorkspaceCatalogResponses[keyof GetWorkspaceCatalogResponses];
|
|
1072
|
+
export type GetGpuHoursData = {
|
|
1073
|
+
body?: never;
|
|
1074
|
+
path?: never;
|
|
1075
|
+
query?: {
|
|
1076
|
+
/**
|
|
1077
|
+
* first day (YYYY-MM-DD)
|
|
1078
|
+
*/
|
|
1079
|
+
from?: string;
|
|
1080
|
+
/**
|
|
1081
|
+
* last day (YYYY-MM-DD), included
|
|
1082
|
+
*/
|
|
1083
|
+
to?: string;
|
|
1084
|
+
/**
|
|
1085
|
+
* only this project (required for managers)
|
|
1086
|
+
*/
|
|
1087
|
+
project?: string;
|
|
1088
|
+
};
|
|
1089
|
+
url: '/v1/workspaces/gpu-hours';
|
|
1090
|
+
};
|
|
1091
|
+
export type GetGpuHoursErrors = {
|
|
1092
|
+
/**
|
|
1093
|
+
* Bad Request
|
|
1094
|
+
*/
|
|
1095
|
+
400: WebserverErrorResponse;
|
|
1096
|
+
/**
|
|
1097
|
+
* Forbidden
|
|
1098
|
+
*/
|
|
1099
|
+
403: WebserverErrorResponse;
|
|
1100
|
+
};
|
|
1101
|
+
export type GetGpuHoursError = GetGpuHoursErrors[keyof GetGpuHoursErrors];
|
|
1102
|
+
export type GetGpuHoursResponses = {
|
|
1103
|
+
/**
|
|
1104
|
+
* OK
|
|
1105
|
+
*/
|
|
1106
|
+
200: UsageGpuReport;
|
|
1107
|
+
};
|
|
1108
|
+
export type GetGpuHoursResponse = GetGpuHoursResponses[keyof GetGpuHoursResponses];
|
|
1202
1109
|
export type ListWorkspaceProjectsData = {
|
|
1203
1110
|
body?: never;
|
|
1204
1111
|
path?: never;
|
|
@@ -1282,6 +1189,64 @@ export type UpdateWorkspaceProjectResponses = {
|
|
|
1282
1189
|
200: WorkspaceProject;
|
|
1283
1190
|
};
|
|
1284
1191
|
export type UpdateWorkspaceProjectResponse = UpdateWorkspaceProjectResponses[keyof UpdateWorkspaceProjectResponses];
|
|
1192
|
+
export type GetProjectImageLogData = {
|
|
1193
|
+
body?: never;
|
|
1194
|
+
path: {
|
|
1195
|
+
/**
|
|
1196
|
+
* short name
|
|
1197
|
+
*/
|
|
1198
|
+
slug: string;
|
|
1199
|
+
};
|
|
1200
|
+
query?: never;
|
|
1201
|
+
url: '/v1/workspaces/projects/{slug}/image/log';
|
|
1202
|
+
};
|
|
1203
|
+
export type GetProjectImageLogErrors = {
|
|
1204
|
+
/**
|
|
1205
|
+
* Forbidden
|
|
1206
|
+
*/
|
|
1207
|
+
403: WebserverErrorResponse;
|
|
1208
|
+
/**
|
|
1209
|
+
* Not Found
|
|
1210
|
+
*/
|
|
1211
|
+
404: WebserverErrorResponse;
|
|
1212
|
+
};
|
|
1213
|
+
export type GetProjectImageLogError = GetProjectImageLogErrors[keyof GetProjectImageLogErrors];
|
|
1214
|
+
export type GetProjectImageLogResponses = {
|
|
1215
|
+
/**
|
|
1216
|
+
* OK
|
|
1217
|
+
*/
|
|
1218
|
+
200: WebserverBuildLogResponse;
|
|
1219
|
+
};
|
|
1220
|
+
export type GetProjectImageLogResponse = GetProjectImageLogResponses[keyof GetProjectImageLogResponses];
|
|
1221
|
+
export type RebuildProjectImageData = {
|
|
1222
|
+
body?: never;
|
|
1223
|
+
path: {
|
|
1224
|
+
/**
|
|
1225
|
+
* short name
|
|
1226
|
+
*/
|
|
1227
|
+
slug: string;
|
|
1228
|
+
};
|
|
1229
|
+
query?: never;
|
|
1230
|
+
url: '/v1/workspaces/projects/{slug}/image/rebuild';
|
|
1231
|
+
};
|
|
1232
|
+
export type RebuildProjectImageErrors = {
|
|
1233
|
+
/**
|
|
1234
|
+
* Bad Request
|
|
1235
|
+
*/
|
|
1236
|
+
400: WebserverErrorResponse;
|
|
1237
|
+
/**
|
|
1238
|
+
* Forbidden
|
|
1239
|
+
*/
|
|
1240
|
+
403: WebserverErrorResponse;
|
|
1241
|
+
};
|
|
1242
|
+
export type RebuildProjectImageError = RebuildProjectImageErrors[keyof RebuildProjectImageErrors];
|
|
1243
|
+
export type RebuildProjectImageResponses = {
|
|
1244
|
+
/**
|
|
1245
|
+
* OK
|
|
1246
|
+
*/
|
|
1247
|
+
200: WorkspaceImageBuild;
|
|
1248
|
+
};
|
|
1249
|
+
export type RebuildProjectImageResponse = RebuildProjectImageResponses[keyof RebuildProjectImageResponses];
|
|
1285
1250
|
export type GetWorkspaceStorageData = {
|
|
1286
1251
|
body?: never;
|
|
1287
1252
|
path?: never;
|