Add UIHintDescriptor model to API client
This commit is contained in:
parent
3592c9c052
commit
5b39041494
|
|
@ -34,4 +34,9 @@ public abstract class ArgumentDefinition
|
|||
/// The category to which this input belongs.
|
||||
/// </summary>
|
||||
public string Category { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The type name of the variable, including the array indicator.
|
||||
/// </summary>
|
||||
public string GetTypeDisplayName() => IsArray ? $"{Type}[]" : Type;
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
namespace Elsa.Api.Client.Resources.WorkflowDefinitions.Models;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a UI hint.
|
||||
/// </summary>
|
||||
/// <param name="Name">The name of the UI hint.</param>
|
||||
/// <param name="DisplayName">The display name of the UI hint.</param>
|
||||
/// <param name="Description">The description of the UI hint.</param>
|
||||
public record UIHintDescriptor(string Name, string DisplayName, string? Description);
|
||||
Loading…
Reference in a new issue