feat: complete node pool api, sdk and ui

Signed-off-by: allanice001 <allanice001@gmail.com>
This commit is contained in:
allanice001
2025-11-08 10:22:45 +00:00
parent c478a8d10f
commit 334df457ce
130 changed files with 19675 additions and 187 deletions

View File

@@ -12,7 +12,6 @@
* Do not edit the class manually.
*/
import { mapValues } from "../runtime";
/**
*
* @export
@@ -42,7 +41,7 @@ export interface DtoCreateServerRequest {
* @type {string}
* @memberof DtoCreateServerRequest
*/
role?: string;
role?: DtoCreateServerRequestRoleEnum;
/**
*
* @type {string}
@@ -60,9 +59,32 @@ export interface DtoCreateServerRequest {
* @type {string}
* @memberof DtoCreateServerRequest
*/
status?: string;
status?: DtoCreateServerRequestStatusEnum;
}
/**
* @export
*/
export const DtoCreateServerRequestRoleEnum = {
master: "master",
worker: "worker",
bastion: "bastion",
} as const;
export type DtoCreateServerRequestRoleEnum =
(typeof DtoCreateServerRequestRoleEnum)[keyof typeof DtoCreateServerRequestRoleEnum];
/**
* @export
*/
export const DtoCreateServerRequestStatusEnum = {
pending: "pending",
provisioning: "provisioning",
ready: "ready",
failed: "failed",
} as const;
export type DtoCreateServerRequestStatusEnum =
(typeof DtoCreateServerRequestStatusEnum)[keyof typeof DtoCreateServerRequestStatusEnum];
/**
* Check if a given object implements the DtoCreateServerRequest interface.
*/