-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/domain-event-notification-activity
- Loading branch information
Showing
33 changed files
with
2,921 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/clients/Elsa.Api.Client/Resources/Tasks/Contracts/ITasksApi.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using Elsa.Api.Client.Resources.Tasks.Requests; | ||
using Refit; | ||
|
||
namespace Elsa.Api.Client.Resources.Tasks.Contracts; | ||
|
||
/// <summary> | ||
/// Represents a client for the tasks API. | ||
/// </summary> | ||
public interface ITasksApi | ||
{ | ||
/// <summary> | ||
/// Sends the specified request to the tasks API. | ||
/// </summary> | ||
/// <param name="request">The request.</param> | ||
/// <param name="cancellationToken">The cancellation token.</param> | ||
/// <returns>The response.</returns> | ||
[Post("/tasks/{taskId}/complete")] | ||
Task ReportTaskCompletedAsync([Body] ReportTaskCompletedRequest request, CancellationToken cancellationToken = default); | ||
} |
8 changes: 8 additions & 0 deletions
8
src/clients/Elsa.Api.Client/Resources/Tasks/Requests/ReportTaskCompletedRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace Elsa.Api.Client.Resources.Tasks.Requests; | ||
|
||
/// <summary> | ||
/// Represents a request to report a task has been completed. | ||
/// </summary> | ||
/// <param name="TaskId">The Id of the task being reported as completed.</param> | ||
/// <param name="Result">The result of the task being reported as completed.</param> | ||
public record ReportTaskCompletedRequest(string TaskId, object? Result); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/modules/Elsa.JavaScript.Libraries/ClientLib/dist/lodash.js
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.