Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #876 from bacongobbler/fix-revisioncomponent-parsing
Browse files Browse the repository at this point in the history
add other revision component fields
  • Loading branch information
bacongobbler authored Jun 13, 2022
2 parents a5a62b1 + d0724c0 commit 256054e
Showing 1 changed file with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,30 @@ namespace Hippo.Application.Common.Interfaces.BindleService;

public class RevisionComponent
{
/// The module source.
[Required]
public string Source { get; set; } = string.Empty;

/// ID of the component. Used at runtime to select between
/// multiple components of the same application.
[Required]
public string Id { get; set; } = string.Empty;

[Required]
public string Description { get; set; } = string.Empty;
/// Description of the component.
public string? Description { get; set; }

/// The parcel group to be mapped inside the Wasm module at runtime.
public string? Files { get; set; }

/// Optional list of HTTP hosts the component is allowed to connect.
public List<string>? AllowedHTTPHosts { get; set; }

/// Environment variables to be mapped inside the Wasm module at runtime.
public Dictionary<string, string>? Environment { get; set; }

/// Trigger configuration.
public RevisionComponentTrigger? Trigger { get; set; }

/// Component-specific configuration values.
public Dictionary<string, string>? Config { get; set; }
}

0 comments on commit 256054e

Please sign in to comment.