Files
adam-acs/app/domain/device/device_record.ts
T
Kevin L'Hereec 4177f1adbd fix: eslint/prettier formatting and type-only imports
- Use type-only import for HttpContext in exceptions/handler.ts
- Use #services alias instead of relative path in device_record.ts
- Reformat api_key_middleware and cwmp_logger_middleware per prettier
2026-07-22 10:35:49 +02:00

26 lines
871 B
TypeScript

import { type DeviceId } from './device_id.js'
import { type PropertySnapshot, type ParameterSnapshot } from './device_parameter.js'
import { type DeviceComplianceInfo } from '../configuration/compliance.js'
import { type DataModel, type GpnStatus, type GpnCircuitBreaker } from './device.js'
import type { DeviceReference } from '#services/references/types'
export interface DeviceRecord {
identifier?: string
deviceId: DeviceId
properties: PropertySnapshot[]
parameters: ParameterSnapshot[]
gpnStatus?: GpnStatus
dataModel?: DataModel
gpnCircuitBreaker?: GpnCircuitBreaker
lastGpnSentDate?: Date | null
operationalStatus?: string
lastFailureReason?: string
compliance?: DeviceComplianceInfo
provisioningCode?: string
references?: DeviceReference[]
lastPeriodicInformAt?: Date
lastRemoteIp?: string
updatedAt?: Date
createdAt?: Date
}