feat(protocol): admin, render-node and sync contracts with client calls
Adds DTOs for users summary, audit, sequence stats and delete plan, archive and server settings, dashboard, logs, render job parameters and render results, plus client calls for job pause/resume/priority, node failure and chunked render-result upload (sharing the frame upload chunk loop). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
7 files changed
+203
-30
No files matched your search
@@ -29,3 +29,21 @@ public sealed record UpdateUserRequest(string? DisplayName, string? Role, long?
|
||||
|
||||
/// <summary>Response of <c>POST /api/v1/users</c> and <c>/users/{id}/reset-password</c>: a temporary password shown once.</summary>
|
||||
public sealed record TemporaryPasswordResponse(UserDto User, string TemporaryPassword);
|
||||
|
||||
/// <summary><c>POST /api/v1/users/{id}/reset-password</c> (admin); without a password the server generates one.</summary>
|
||||
public sealed record ResetPasswordRequest(string? Password);
|
||||
|
||||
/// <summary>One row of the admin user list: the account plus when and from which client it was last used.</summary>
|
||||
public sealed record UserSummaryDto(UserDto User, DateTimeOffset? LastSeen, string? LastClient, long UploadsLast30Days);
|
||||
|
||||
/// <summary>One audit log entry (who did what to which user, sequence or setting).</summary>
|
||||
public sealed record AuditEntryDto(
|
||||
Guid Id,
|
||||
DateTimeOffset At,
|
||||
Guid? UserId,
|
||||
string? Username,
|
||||
string Action,
|
||||
string? TargetKind,
|
||||
string? TargetId,
|
||||
string? Details,
|
||||
string? RemoteAddress);
|
||||
Reference in new issue
Block a user