Skip to content

Commit 7bf9f0e

Browse files
authored
feat(webhosting): add language field at public hosting creation (#1127)
1 parent c35769e commit 7bf9f0e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-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
@@ -237,6 +237,7 @@ export const marshalCreateHostingRequest = (
237237
): Record<string, unknown> => ({
238238
domain: request.domain,
239239
email: request.email,
240+
language: request.language,
240241
offer_id: request.offerId,
241242
option_ids: request.optionIds,
242243
project_id: request.projectId ?? defaults.defaultProjectId,

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33
import type { Money, Region } from '../../../bridge'
4+
import type { LanguageCode as StdLanguageCode } from '../../std/types.gen'
45

56
export type DnsRecordStatus = 'unknown_status' | 'valid' | 'invalid'
67

@@ -196,6 +197,8 @@ export type CreateHostingRequest = {
196197
domain: string
197198
/** IDs of any selected additional options for the Web Hosting plan. */
198199
optionIds?: string[]
200+
/** Default language for the control panel interface. */
201+
language?: StdLanguageCode
199202
}
200203

201204
export type DeleteHostingRequest = {

0 commit comments

Comments
 (0)