Skip to content

Commit

Permalink
feat(webhosting): add available languages in control panel (#1353)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Jul 5, 2024
1 parent b97c8cb commit 0baf81e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ const unmarshalControlPanel = (data: unknown): ControlPanel => {

return {
available: data.available,
availableLanguages: data.available_languages,
logoUrl: data.logo_url,
name: data.name,
} as ControlPanel
Expand Down
2 changes: 2 additions & 0 deletions packages/clients/src/api/webhosting/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ export interface ControlPanel {
available: boolean
/** URL of this control panel's logo. */
logoUrl: string
/** List of available languages for the control panel. */
availableLanguages: StdLanguageCode[]
}

export interface Hosting {
Expand Down

0 comments on commit 0baf81e

Please sign in to comment.