namespace ZB.MOM.WW.MxGateway.Server.Galaxy;

/// <summary>
///     A single Galaxy deploy notification. Published by <see cref="GalaxyHierarchyCache"/>
///     whenever a refresh detects that <c>galaxy.time_of_last_deploy</c> has changed (or on
///     the first successful refresh). Consumed by <see cref="IGalaxyDeployNotifier"/>
///     subscribers (the streaming gRPC RPC).
/// </summary>
public sealed record GalaxyDeployEventInfo(
    long Sequence,
    DateTimeOffset ObservedAt,
    DateTimeOffset? TimeOfLastDeploy,
    int ObjectCount,
    int AttributeCount);
