Add project files.

This commit is contained in:
2025-08-18 17:11:43 +03:30
parent 807dc263be
commit e5eb10d604
3943 changed files with 223719 additions and 0 deletions
@@ -0,0 +1,10 @@
using Elsa.Api.Client.Resources.ActivityExecutions.Models;
namespace Elsa.Api.Client.RealTime.Messages;
/// <summary>
/// Contains information about the activity executed event.
/// </summary>
/// <param name="ActivityId">The ID of the activity.</param>
/// <param name="Stats">Execution stats about the activity.</param>
public record ActivityExecutedMessage(string ActivityId, ActivityExecutionStats Stats);
@@ -0,0 +1,10 @@
using Elsa.Api.Client.Resources.ActivityExecutions.Models;
namespace Elsa.Api.Client.RealTime.Messages;
/// <summary>
/// Contains information about the activity executing event.
/// </summary>
/// <param name="ActivityId">The ID of the activity.</param>
/// <param name="Stats">Execution stats about the activity.</param>
public record ActivityExecutingMessage(string ActivityId, ActivityExecutionStats Stats);
@@ -0,0 +1,9 @@
using Elsa.Api.Client.Resources.ActivityExecutions.Models;
namespace Elsa.Api.Client.RealTime.Messages;
/// <summary>
/// Contains information about the activity execution logs updated event.
/// </summary>
/// <param name="Stats">Execution stats about a set of activities.</param>
public record ActivityExecutionLogUpdatedMessage(ICollection<ActivityExecutionStats> Stats);
@@ -0,0 +1,6 @@
namespace Elsa.Api.Client.RealTime.Messages;
/// <summary>
/// Represents a message that is sent when the workflow execution log is updated.
/// </summary>
public record WorkflowExecutionLogUpdatedMessage();
@@ -0,0 +1,7 @@
namespace Elsa.Api.Client.RealTime.Messages;
/// <summary>
/// Represents a message that is sent when the workflow instance is updated.
/// </summary>
/// <param name="WorkflowInstanceId">The ID of the workflow instance that was updated.</param>
public record WorkflowInstanceUpdatedMessage(string WorkflowInstanceId);