From a0233fd8767e74cdcd95b62690128edc685d1766 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 15 Dec 2025 12:37:33 +0100 Subject: [PATCH] Update RecActionViewDto: new props, type changes, renames Renamed ProfileSequence to Sequence. Added display name properties for enums/types (e.g., EndpointAuthTypeName, RestTypeName, ErrorActionName). Added EndpointAuthApiKey. Changed RestType to enum and ErrorAction to nullable, with corresponding name properties. --- src/ReC.Application/Common/Dto/RecActionViewDto.cs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/ReC.Application/Common/Dto/RecActionViewDto.cs b/src/ReC.Application/Common/Dto/RecActionViewDto.cs index 4e78374..a5e97ac 100644 --- a/src/ReC.Application/Common/Dto/RecActionViewDto.cs +++ b/src/ReC.Application/Common/Dto/RecActionViewDto.cs @@ -12,7 +12,7 @@ public record RecActionViewDto public string? ProfileType { get; init; } - public byte? ProfileSequence { get; init; } + public byte? Sequence { get; init; } public long? EndpointId { get; init; } @@ -22,12 +22,16 @@ public record RecActionViewDto public EndpointAuthType? EndpointAuthType { get; init; } + public string? EndpointAuthTypeName { get; init; } + public string? EndpointAuthApiKey { get; init; } public string? EndpointAuthApiValue { get; init; } public ApiKeyLocation? EndpointAuthApiKeyAddTo { get; init; } + public string? EndpointAuthApiKeyAddToName { get; init; } + public string? EndpointAuthToken { get; init; } public string? EndpointAuthUsername { get; init; } @@ -50,7 +54,9 @@ public record RecActionViewDto public string? SqlConnectionPassword { get; init; } - public string? RestType { get; init; } + public RestType? RestType { get; init; } + + public string? RestTypeName { get; init; } public string? PreprocessingQuery { get; init; } @@ -64,7 +70,9 @@ public record RecActionViewDto public string? PostprocessingQuery { get; init; } - public ErrorAction ErrorAction { get; init; } + public ErrorAction? ErrorAction { get; init; } + + public string? ErrorActionName { get; init; } public UriBuilder ToEndpointUriBuilder() {