Skip to content

Commit

Permalink
feat(webhosting): add created at field in hosting summary (#1628)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Dec 3, 2024
1 parent f862c33 commit 4f8a4d0
Show file tree
Hide file tree
Showing 2 changed files with 3 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 @@ -249,6 +249,7 @@ const unmarshalHostingSummary = (data: unknown): HostingSummary => {
}

return {
createdAt: unmarshalDate(data.created_at),
domain: data.domain,
id: data.id,
projectId: data.project_id,
Expand Down
2 changes: 2 additions & 0 deletions packages/clients/src/api/webhosting/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ export interface HostingSummary {
id: string
/** ID of the Scaleway Project the Web Hosting plan belongs to. */
projectId: string
/** Date on which the Web Hosting plan was created. */
createdAt?: Date
/** Date on which the Web Hosting plan was last updated. */
updatedAt?: Date
/** Status of the Web Hosting plan. */
Expand Down

0 comments on commit 4f8a4d0

Please sign in to comment.