Skip to content

Commit 0baf81e

Browse files
authored
feat(webhosting): add available languages in control panel (#1353)
1 parent b97c8cb commit 0baf81e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/clients/src/api/webhosting/v1alpha1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ const unmarshalControlPanel = (data: unknown): ControlPanel => {
144144

145145
return {
146146
available: data.available,
147+
availableLanguages: data.available_languages,
147148
logoUrl: data.logo_url,
148149
name: data.name,
149150
} as ControlPanel

packages/clients/src/api/webhosting/v1alpha1/types.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ export interface ControlPanel {
112112
available: boolean
113113
/** URL of this control panel's logo. */
114114
logoUrl: string
115+
/** List of available languages for the control panel. */
116+
availableLanguages: StdLanguageCode[]
115117
}
116118

117119
export interface Hosting {

0 commit comments

Comments
 (0)