Skip to content

Commit 46619fb

Browse files
authored
feat(block): add volume last_detached_at (#1000)
1 parent 6a15029 commit 46619fb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/clients/src/api/block/v1alpha1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export const unmarshalVolume = (data: unknown): Volume => {
6868
return {
6969
createdAt: unmarshalDate(data.created_at),
7070
id: data.id,
71+
lastDetachedAt: unmarshalDate(data.last_detached_at),
7172
name: data.name,
7273
parentSnapshotId: data.parent_snapshot_id,
7374
projectId: data.project_id,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ export interface Volume {
174174
zone: Zone
175175
/** Specifications of the volume. */
176176
specs?: VolumeSpecifications
177+
/** Last time the volume was detached. */
178+
lastDetachedAt?: Date
177179
}
178180

179181
export type CreateSnapshotRequest = {

0 commit comments

Comments
 (0)