- Pluggable multi-provider architecture (ReferenceEngine) - Wassup provider implementation (HTTP GET + X_WASSUP_USER_IP) - Auto-resolve references on Inform (BOOT/BOOTSTRAP events) - References displayed in device Identity card - REST API: GET/POST references per device - Config via config/references.json - Fix event extraction for single EventStruct and numeric EventCodes - Mock Wassup provisioned by home-device-simulator on device creation
20 lines
641 B
TypeScript
20 lines
641 B
TypeScript
import { DeviceId } from './device_id.js'
|
|
import { PropertySnapshot, ParameterSnapshot } from './device_parameter.js'
|
|
import { DeviceComplianceInfo } from '../configuration/compliance.js'
|
|
import { DataModel, GpnStatus } from './device.js'
|
|
import type { DeviceReference } from '../../services/references/types.js'
|
|
|
|
export interface DeviceRecord {
|
|
identifier?: string
|
|
deviceId: DeviceId
|
|
properties: PropertySnapshot[]
|
|
parameters: ParameterSnapshot[]
|
|
gpnStatus?: GpnStatus
|
|
dataModel?: DataModel
|
|
compliance?: DeviceComplianceInfo
|
|
provisioningCode?: string
|
|
references?: DeviceReference[]
|
|
updatedAt?: Date
|
|
createdAt?: Date
|
|
}
|