Skip to content

Commit

Permalink
refactor: use IConditionManifest instead of concrete class
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdcdev committed Dec 31, 2024
1 parent 5c74aca commit 67cde57
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/jcdcdev.Umbraco.Core.TestSite/Composer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Infrastructure.Manifest;

namespace jcdcdev.Umbraco.Core.TestSite;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class DashboardManifest : IManifest
public string? Element { get; set; }
public int Weight { get; set; }
public MetaManifest? Meta { get; set; }
public ConditionManifest[]? Conditions { get; set; }
public IConditionManifest[]? Conditions { get; set; }
public string Type => "dashboard";

public class MetaManifest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class WorkspaceViewManifest : IManifest
public string? Js { get; set; }
public int Weight { get; set; }
public MetaManifest? Meta { get; set; }
public ConditionManifest[]? Conditions { get; set; }
public IConditionManifest[]? Conditions { get; set; }
public string? Element { get; set; }
public string? ElementName { get; set; }
public string Type => "workspaceView";
Expand Down

0 comments on commit 67cde57

Please sign in to comment.