Add project files.
This commit is contained in:
@@ -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);
|
||||
Reference in New Issue
Block a user