Skip to content

Commit aa71c2a

Browse files
committed
refactor: rename deviceInfo lastUpdated to lastSynced, add firstDiscovered
Aligns DeviceInfo model with console discovery-timestamp changes. Type-only field; not rendered, so no runtime dependency on the API change. Related to device-management-toolkit/rpc-go#1394
1 parent ac33ad0 commit aa71c2a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/models/models.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ export interface DeviceInfo {
3131
currentMode: string
3232
features: string
3333
ipAddress: string
34-
lastUpdated?: Date
34+
firstDiscovered?: Date
35+
lastSynced?: Date
3536
}
3637
export interface DeviceStats {
3738
totalCount: number

0 commit comments

Comments
 (0)