From db5203309cccd57e5cf27e06d6585c010e928671 Mon Sep 17 00:00:00 2001 From: Scaleway Bot Date: Mon, 4 Nov 2024 08:23:11 +0100 Subject: [PATCH] feat(apple-silicon): add VNC port suppport (#1542) Co-authored-by: Laure-di <62625835+Laure-di@users.noreply.github.com> --- .../clients/src/api/applesilicon/v1alpha1/marshalling.gen.ts | 1 + packages/clients/src/api/applesilicon/v1alpha1/types.gen.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/clients/src/api/applesilicon/v1alpha1/marshalling.gen.ts b/packages/clients/src/api/applesilicon/v1alpha1/marshalling.gen.ts index d8540a04b..37e396c60 100644 --- a/packages/clients/src/api/applesilicon/v1alpha1/marshalling.gen.ts +++ b/packages/clients/src/api/applesilicon/v1alpha1/marshalling.gen.ts @@ -153,6 +153,7 @@ export const unmarshalServer = (data: unknown): Server => { sudoPassword: data.sudo_password, type: data.type, updatedAt: unmarshalDate(data.updated_at), + vncPort: data.vnc_port, vncUrl: data.vnc_url, zone: data.zone, } as Server diff --git a/packages/clients/src/api/applesilicon/v1alpha1/types.gen.ts b/packages/clients/src/api/applesilicon/v1alpha1/types.gen.ts index 5a9970d2a..bb70995d8 100644 --- a/packages/clients/src/api/applesilicon/v1alpha1/types.gen.ts +++ b/packages/clients/src/api/applesilicon/v1alpha1/types.gen.ts @@ -107,6 +107,8 @@ export interface Server { sshUsername: string /** Admin password required to execute commands. */ sudoPassword: string + /** VNC port to use for remote desktop connection. */ + vncPort: number /** * Initially installed OS, this does not necessarily reflect the current OS * version.