Skip to content

Commit

Permalink
types/Device: Deprecate the non-existent state & status_sort_index pr…
Browse files Browse the repository at this point in the history
…operties

Change-type: patch
  • Loading branch information
thgreasi committed Dec 15, 2023
1 parent 862b214 commit 7013d15
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/types/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,12 @@ export interface Device {
os_version: string | null;
provisioning_progress?: number;
provisioning_state: string;
// TODO: Drop in next major
/** @deprecated */
state?: { key: string; name: string };
status: string;
// TODO: Drop in next major
/** @deprecated */
status_sort_index?: number;
supervisor_version: string;
uuid: string;
Expand Down

0 comments on commit 7013d15

Please sign in to comment.