Skip to content

Commit

Permalink
Align user/project collection and item usage with rest of codebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe committed Nov 30, 2024
1 parent b5e3d65 commit 62b1983
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 3 deletions.
13 changes: 13 additions & 0 deletions .idea/.idea.WinAppCommunity.Sdk/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/.idea.WinAppCommunity.Sdk/.idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/.idea.WinAppCommunity.Sdk/.idea/indexLayout.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/.idea.WinAppCommunity.Sdk/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/IModifiableProject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/// <summary>
/// Represents a project that can be modified.
/// </summary>
public interface IModifiableProject : IReadOnlyProject, IModifiableEntity, IModifiableImagesCollection, IModifiableUserRoleCollection, IModifiableAccentColor
public interface IModifiableProject : IReadOnlyProject, IModifiableEntity, IModifiableImagesCollection, IModifiableUserRoleCollection, IModifiableAccentColor, IModifiableFeaturesCollection
{
/// <summary>
/// Updates the publisher for this project.
Expand Down
8 changes: 8 additions & 0 deletions src/IModifiableProjectRole.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
namespace WinAppCommunity.Sdk;

/// <summary>
/// Represents a project with a corresponding role that can be modified.
/// </summary>
public interface IModifiableProjectRole : IReadOnlyProjectRole, IModifiableProject
{
}
2 changes: 1 addition & 1 deletion src/IReadOnlyProject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public interface IReadOnlyProject : IReadOnlyProject<IReadOnlyProjectCollection>
/// <summary>
/// Represents a project.
/// </summary>
public interface IReadOnlyProject<TDependencyCollection> : IReadOnlyEntity, IReadOnlyImagesCollection, IReadOnlyUserRoleCollection, IReadOnlyAccentColor
public interface IReadOnlyProject<out TDependencyCollection> : IReadOnlyEntity, IReadOnlyImagesCollection, IReadOnlyUserRoleCollection, IReadOnlyAccentColor, IReadOnlyFeaturesCollection
where TDependencyCollection : IReadOnlyProjectCollection
{
/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/IReadOnlyUserCollection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public interface IReadOnlyUserCollection : IReadOnlyUserCollection<IReadOnlyUser
/// Represents a collection of users with a corresponding role that can be modified.
/// </summary>
/// <typeparam name="TUser">The type of user in this collection.</typeparam>
public interface IReadOnlyUserCollection<TUser>
public interface IReadOnlyUserCollection<out TUser>
where TUser : IReadOnlyUser
{
/// <summary>
Expand Down

0 comments on commit 62b1983

Please sign in to comment.