-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Missing Organization/EndUser APIs. #4
- Loading branch information
1 parent
fbd9dc6
commit fa99566
Showing
101 changed files
with
2,448 additions
and
454 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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
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,23 @@ | ||
using Domain.Common; | ||
using Domain.Common.ValueObjects; | ||
using JetBrains.Annotations; | ||
|
||
namespace Domain.Events.Shared.EndUsers; | ||
|
||
public sealed class MembershipRemoved : DomainEvent | ||
{ | ||
public MembershipRemoved(Identifier id) : base(id) | ||
{ | ||
} | ||
|
||
[UsedImplicitly] | ||
public MembershipRemoved() | ||
{ | ||
} | ||
|
||
public required string MembershipId { get; set; } | ||
|
||
public required string OrganizationId { get; set; } | ||
|
||
public required string UnInvitedById { get; set; } | ||
} |
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,23 @@ | ||
using Domain.Common; | ||
using Domain.Common.ValueObjects; | ||
using JetBrains.Annotations; | ||
|
||
namespace Domain.Events.Shared.Organizations; | ||
|
||
public sealed class MemberInvited : DomainEvent | ||
{ | ||
public MemberInvited(Identifier id) : base(id) | ||
{ | ||
} | ||
|
||
[UsedImplicitly] | ||
public MemberInvited() | ||
{ | ||
} | ||
|
||
public string? EmailAddress { get; set; } | ||
|
||
public required string InvitedById { get; set; } | ||
|
||
public string? UserId { get; set; } | ||
} |
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,21 @@ | ||
using Domain.Common; | ||
using Domain.Common.ValueObjects; | ||
using JetBrains.Annotations; | ||
|
||
namespace Domain.Events.Shared.Organizations; | ||
|
||
public sealed class MemberUnInvited : DomainEvent | ||
{ | ||
public MemberUnInvited(Identifier id) : base(id) | ||
{ | ||
} | ||
|
||
[UsedImplicitly] | ||
public MemberUnInvited() | ||
{ | ||
} | ||
|
||
public required string UninvitedById { get; set; } | ||
|
||
public required string UserId { get; set; } | ||
} |
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/Domain.Events.Shared/Organizations/MembershipRemoved.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 Domain.Common; | ||
using Domain.Common.ValueObjects; | ||
using JetBrains.Annotations; | ||
|
||
namespace Domain.Events.Shared.Organizations; | ||
|
||
public sealed class MembershipRemoved : DomainEvent | ||
{ | ||
public MembershipRemoved(Identifier id) : base(id) | ||
{ | ||
} | ||
|
||
[UsedImplicitly] | ||
public MembershipRemoved() | ||
{ | ||
} | ||
|
||
public required string UserId { get; set; } | ||
} |
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 Domain.Common; | ||
using Domain.Common.ValueObjects; | ||
using JetBrains.Annotations; | ||
|
||
namespace Domain.Events.Shared.Organizations; | ||
|
||
public sealed class NameChanged : DomainEvent | ||
{ | ||
public NameChanged(Identifier id) : base(id) | ||
{ | ||
} | ||
|
||
[UsedImplicitly] | ||
public NameChanged() | ||
{ | ||
} | ||
|
||
public required string Name { get; set; } | ||
} |
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
Oops, something went wrong.