Skip to content

Commit

Permalink
feat(webhosting): add public dns raw data (#1731)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan R. <[email protected]>
  • Loading branch information
scaleway-bot and jremy42 authored Jan 24, 2025
1 parent 8d2dd60 commit 0839489
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/clients/src/api/webhosting/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ const unmarshalDnsRecord = (data: unknown): DnsRecord => {
return {
name: data.name,
priority: data.priority,
rawData: data.raw_data,
status: data.status,
ttl: data.ttl,
type: data.type,
Expand Down
5 changes: 5 additions & 0 deletions packages/clients/src/api/webhosting/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ export interface DnsRecord {
priority?: number
/** Record status. */
status: DnsRecordStatus
/**
* Record representation as it appears in the zone file or DNS management
* system.
*/
rawData: string
}

export interface Nameserver {
Expand Down

0 comments on commit 0839489

Please sign in to comment.