Each status should include id, createdAt, updatedAt, lastHeartbeat, status (RuntimeStatusStatus), uptime (number (percent)), uptimes (array aus number percent of last 14 days). We will create a RuntimeStatus object linked to a runtime replacing the status field of the Runtime object and we will have a new status field containing a RuntimeModuleStatus with the same payload but linked to the RuntimeModule.
Each status should include id, createdAt, updatedAt, lastHeartbeat, status (RuntimeStatusStatus), uptime (number (percent)), uptimes (array aus number percent of last 14 days). We will create a RuntimeStatus object linked to a runtime replacing the status field of the Runtime object and we will have a new status field containing a RuntimeModuleStatus with the same payload but linked to the RuntimeModule.