namespace ScadaLink.Commons.Messages.Deployment;

/// <summary>
/// Site→central response carrying the instance's currently-applied deployment
/// state. If <see cref="IsDeployed"/> is <c>false</c> the instance has no
/// deployed configuration at the site and <see cref="AppliedDeploymentId"/> /
/// <see cref="AppliedRevisionHash"/> are <c>null</c>.
/// </summary>
public record DeploymentStateQueryResponse(
    string CorrelationId,
    string InstanceUniqueName,
    bool IsDeployed,
    string? AppliedDeploymentId,
    string? AppliedRevisionHash,
    DateTimeOffset Timestamp);
