Initial
This commit is contained in:
@@ -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
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user