diff --git a/src/ScadaLink.Transport/Serialization/EntityDtos.cs b/src/ScadaLink.Transport/Serialization/EntityDtos.cs new file mode 100644 index 0000000..864c1ee --- /dev/null +++ b/src/ScadaLink.Transport/Serialization/EntityDtos.cs @@ -0,0 +1,155 @@ +using ScadaLink.Commons.Entities.ExternalSystems; +using ScadaLink.Commons.Entities.InboundApi; +using ScadaLink.Commons.Entities.Notifications; +using ScadaLink.Commons.Entities.Scripts; +using ScadaLink.Commons.Entities.Templates; +using ScadaLink.Commons.Types.Enums; + +namespace ScadaLink.Transport.Serialization; + +/// +/// In-memory aggregate of all bundle-eligible Commons entities. Matches the +/// shape of but uses the real persistence- +/// ignorant POCO types — what consumes/produces +/// on the application side of the bundle boundary. +/// +public sealed record EntityAggregate( + IReadOnlyList TemplateFolders, + IReadOnlyList