Skip to content

feat(webhosting): add fields to hosting & platforms #1032

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,14 @@ export const unmarshalHosting = (data: unknown): Hosting => {
dnsStatus: data.dns_status,
domain: data.domain,
id: data.id,
ipv4: data.ipv4,
ipv6: data.ipv6,
offerEndOfLife: data.offer_end_of_life,
offerId: data.offer_id,
offerName: data.offer_name,
options: unmarshalArrayOfObject(data.options, unmarshalHostingOption),
organizationId: data.organization_id,
platformGroup: data.platform_group,
platformHostname: data.platform_hostname,
platformNumber: data.platform_number,
projectId: data.project_id,
Expand Down
6 changes: 6 additions & 0 deletions packages/clients/src/api/webhosting/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ export interface Hosting {
offerEndOfLife: boolean
/** Name of the control panel. */
controlPanelName: string
/** Group of the hosting's host server/platform. */
platformGroup: string
/** IPv4 address of the hosting's host server. */
ipv4: string
/** IPv6 address of the hosting's host server. */
ipv6: string
/** Region where the Web Hosting plan is hosted. */
region: Region
}
Expand Down