Skip to content

Commit

Permalink
Merge pull request #1428 from balena-io/update-model
Browse files Browse the repository at this point in the history
Add typing for `update_status` and `last_update_status_event` in the Device resource
  • Loading branch information
JSReds committed Aug 29, 2024
2 parents 2721eab + 1fc60a8 commit 154f8b2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/types/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,15 @@ export interface Device {
is_accessible_by_support_until__date: string | null;
is_connected_to_vpn: boolean;
is_locked_until__date: string;
update_status:
| 'rejected'
| 'downloading'
| 'downloaded'
| 'applying changes'
| 'aborted'
| 'done'
| null;
last_update_status_event: string | null;
is_web_accessible: boolean;
is_active: boolean;
/** This is a computed term */
Expand Down

0 comments on commit 154f8b2

Please sign in to comment.