| | | 1 | | using System.Text.Json.Serialization; |
| | | 2 | | |
| | | 3 | | namespace Elsa.Diagnostics.ConsoleLogs.Contracts; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Console log filter accepted by Elsa REST and SignalR endpoints. |
| | | 7 | | /// </summary> |
| | | 8 | | public sealed record ElsaConsoleLogFilter |
| | | 9 | | { |
| | 20 | 10 | | public string? SourceId { get; init; } |
| | | 11 | | |
| | | 12 | | [JsonConverter(typeof(ConsoleStreamJsonConverter))] |
| | 22 | 13 | | public global::ConsoleLogStreaming.Core.Models.ConsoleStream? Stream { get; init; } |
| | 17 | 14 | | public string? Query { get; init; } |
| | 22 | 15 | | public string? WorkflowInstanceId { get; init; } |
| | 17 | 16 | | public string? WorkflowDefinitionId { get; init; } |
| | 17 | 17 | | public string? WorkflowDefinitionVersionId { get; init; } |
| | 19 | 18 | | public string? ActivityInstanceId { get; init; } |
| | 19 | 19 | | public string? ActivityId { get; init; } |
| | 19 | 20 | | public string? ActivityNodeId { get; init; } |
| | 17 | 21 | | public IReadOnlyDictionary<string, string>? Metadata { get; init; } |
| | 23 | 22 | | public DateTimeOffset? From { get; init; } |
| | 17 | 23 | | public DateTimeOffset? To { get; init; } |
| | 17 | 24 | | public int? Limit { get; init; } |
| | | 25 | | } |