Skip to content

Commit

Permalink
feat(webhosting): add dns status and offer name to hosting summary (#…
Browse files Browse the repository at this point in the history
…1660)

Co-authored-by: Jonathan R. <[email protected]>
  • Loading branch information
scaleway-bot and jremy42 authored Dec 16, 2024
1 parent 04d9545 commit dfe03ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/clients/src/api/webhosting/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,10 @@ const unmarshalHostingSummary = (data: unknown): HostingSummary => {

return {
createdAt: unmarshalDate(data.created_at),
dnsStatus: data.dns_status,
domain: data.domain,
id: data.id,
offerName: data.offer_name,
projectId: data.project_id,
protected: data.protected,
region: data.region,
Expand Down
4 changes: 4 additions & 0 deletions packages/clients/src/api/webhosting/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,10 @@ export interface HostingSummary {
domain: string
/** Whether the hosting is protected or not. */
protected: boolean
/** DNS status of the Web Hosting plan. */
dnsStatus: DnsRecordsStatus
/** Name of the active offer for the Web Hosting plan. */
offerName: string
/** Region where the Web Hosting plan is hosted. */
region: Region
}
Expand Down

0 comments on commit dfe03ac

Please sign in to comment.