-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move events to separate project to ensure no mingling
- Loading branch information
Showing
281 changed files
with
1,102 additions
and
905 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
7 changes: 7 additions & 0 deletions
7
src/AssociationRegistry.Events/AdresDetailUitAdressenregister.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,7 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
public record AdresDetailUitAdressenregister | ||
{ | ||
public Registratiedata.AdresId AdresId { get; init; } | ||
public Registratiedata.AdresUitAdressenregister Adres { get; init; } | ||
} |
2 changes: 1 addition & 1 deletion
2
...eeftGeenVerschillenMetAdressenregister.cs → ...eeftGeenVerschillenMetAdressenregister.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
2 changes: 0 additions & 2 deletions
2
...etOvergenomenWordenUitAdressenregister.cs → ...etOvergenomenWordenUitAdressenregister.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
2 changes: 1 addition & 1 deletion
2
...vents/AdresNietUniekInAdressenregister.cs → ...vents/AdresNietUniekInAdressenregister.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
using Framework; | ||
|
||
|
||
public record AdresNietUniekInAdressenregister(string VCode, int LocatieId, NietUniekeAdresMatchUitAdressenregister[] NietOvergenomenAdressenUitAdressenregister) : IEvent; |
2 changes: 1 addition & 1 deletion
2
...s/AdresWerdGewijzigdInAdressenregister.cs → ...s/AdresWerdGewijzigdInAdressenregister.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
14 changes: 14 additions & 0 deletions
14
src/AssociationRegistry.Events/AdresWerdNietGevondenInAdressenregister.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,14 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
|
||
|
||
public record AdresWerdNietGevondenInAdressenregister( | ||
string VCode, | ||
int LocatieId, | ||
string Straatnaam, | ||
string Huisnummer, | ||
string Busnummer, | ||
string Postcode, | ||
string Gemeente) : IEvent | ||
{ | ||
} |
2 changes: 1 addition & 1 deletion
2
...AdresWerdOntkoppeldVanAdressenregister.cs → ...AdresWerdOntkoppeldVanAdressenregister.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
using Framework; | ||
|
||
|
||
public record AdresWerdOntkoppeldVanAdressenregister(string VCode, int LocatieId, Registratiedata.AdresId? AdresId, Registratiedata.Adres? Adres) : IEvent; | ||
|
2 changes: 1 addition & 1 deletion
2
...dresWerdOvergenomenUitAdressenregister.cs → ...dresWerdOvergenomenUitAdressenregister.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
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
9 changes: 9 additions & 0 deletions
9
src/AssociationRegistry.Events/AssociationRegistry.Events.csproj
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,9 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
</Project> |
3 changes: 2 additions & 1 deletion
3
...iationRegistry/Vereniging/Bronnen/Bron.cs → ...ssociationRegistry.Events/Bronnen/Bron.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
2 changes: 1 addition & 1 deletion
2
...tgegevenKonNietOvergenomenWordenUitKBO.cs → ...tgegevenKonNietOvergenomenWordenUitKBO.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
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
14 changes: 14 additions & 0 deletions
14
src/AssociationRegistry.Events/ContactgegevenWerdGewijzigd.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,14 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
|
||
using Vereniging; | ||
|
||
public record ContactgegevenWerdGewijzigd( | ||
int ContactgegevenId, | ||
string Contactgegeventype, | ||
string Waarde, | ||
string Beschrijving, | ||
bool IsPrimair) : IEvent | ||
{ | ||
|
||
} |
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
9 changes: 9 additions & 0 deletions
9
src/AssociationRegistry.Events/ContactgegevenWerdVerwijderd.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,9 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
|
||
using Vereniging; | ||
|
||
public record ContactgegevenWerdVerwijderd(int ContactgegevenId, string Type, string Waarde, string Beschrijving, bool IsPrimair) : IEvent | ||
{ | ||
|
||
} |
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
5 changes: 2 additions & 3 deletions
5
...Registry/Events/DoelgroepWerdGewijzigd.cs → ...Registry.Events/DoelgroepWerdGewijzigd.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 |
---|---|---|
@@ -1,10 +1,9 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
using Framework; | ||
|
||
using Vereniging; | ||
|
||
public record DoelgroepWerdGewijzigd(Registratiedata.Doelgroep Doelgroep) : IEvent | ||
{ | ||
public static DoelgroepWerdGewijzigd With(Doelgroep doelgroep) | ||
=> new(Registratiedata.Doelgroep.With(doelgroep)); | ||
|
||
} |
5 changes: 2 additions & 3 deletions
5
...Registry/Events/EinddatumWerdGewijzigd.cs → ...Registry.Events/EinddatumWerdGewijzigd.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 |
---|---|---|
@@ -1,10 +1,9 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
using Framework; | ||
|
||
using Vereniging; | ||
|
||
public record EinddatumWerdGewijzigd(DateOnly Einddatum) : IEvent | ||
{ | ||
public static EinddatumWerdGewijzigd With(Datum datum) | ||
=> new(datum.Value); | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
.../FeitelijkeVerenigingWerdGeregistreerd.cs → .../FeitelijkeVerenigingWerdGeregistreerd.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
10 changes: 10 additions & 0 deletions
10
src/AssociationRegistry.Events/HoofdactiviteitenVerenigingsloketWerdenGewijzigd.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,10 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
|
||
using Vereniging; | ||
|
||
public record HoofdactiviteitenVerenigingsloketWerdenGewijzigd( | ||
Registratiedata.HoofdactiviteitVerenigingsloket[] HoofdactiviteitenVerenigingsloket) : IEvent | ||
{ | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
src/AssociationRegistry/Framework/IEvent.cs → src/AssociationRegistry.Events/IEvent.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
2 changes: 1 addition & 1 deletion
2
.../Events/KorteBeschrijvingWerdGewijzigd.cs → ....Events/KorteBeschrijvingWerdGewijzigd.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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
using Framework; | ||
|
||
|
||
public record KorteBeschrijvingWerdGewijzigd(string VCode, string KorteBeschrijving) : IEvent; | ||
public record RoepnaamWerdGewijzigd(string Roepnaam) : IEvent; |
2 changes: 1 addition & 1 deletion
2
...Registry/Events/KorteNaamWerdGewijzigd.cs → ...Registry.Events/KorteNaamWerdGewijzigd.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
using Framework; | ||
|
||
|
||
public record KorteNaamWerdGewijzigd(string VCode, string KorteNaam) : IEvent; |
2 changes: 1 addition & 1 deletion
2
...try/Events/KorteNaamWerdGewijzigdInKbo.cs → ...try.Events/KorteNaamWerdGewijzigdInKbo.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
using Framework; | ||
|
||
|
||
public record KorteNaamWerdGewijzigdInKbo(string? KorteNaam) : IEvent; |
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,9 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
|
||
using Vereniging; | ||
|
||
public record LidmaatschapWerdGewijzigd(string VCode, Registratiedata.Lidmaatschap Lidmaatschap) : IEvent | ||
{ | ||
|
||
} |
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,9 @@ | ||
namespace AssociationRegistry.Events; | ||
|
||
|
||
using Vereniging; | ||
|
||
public record LidmaatschapWerdToegevoegd(string VCode, Registratiedata.Lidmaatschap Lidmaatschap) : IEvent | ||
{ | ||
|
||
} |
Oops, something went wrong.