This commit is contained in:
2026-06-25 18:02:16 -05:00
parent 402bf6782a
commit da16e5ff56
17 changed files with 1475 additions and 69 deletions

View File

@@ -399,3 +399,19 @@ export function camelJobLog(row) {
createdAt: row.created_at
};
}
export function camelSystemJobAction(row) {
return {
id: row.id,
jobId: row.job_id || null,
targetType: row.target_type,
targetId: row.target_id,
action: row.action,
status: row.status,
message: row.message || '',
actorUserId: row.actor_user_id || null,
actorName: row.actor_name || null,
metadata: parseJson(row.metadata_json, {}),
createdAt: row.created_at
};
}