24 lines
1022 B
C#
24 lines
1022 B
C#
namespace BlueLaminate.EFCore.Entities;
|
|
|
|
/// <summary>
|
|
/// Canonical site identifiers for per-site sweep checkpoints — the <c>Source</c>
|
|
/// discriminator on <see cref="SkinSweep"/> and <see cref="SkinConditionSweep"/>.
|
|
/// Each marketplace sweeper stamps its own checkpoint under one of these, so a band
|
|
/// swept on one site is still "never swept" on another.
|
|
/// <para>
|
|
/// To add sweeping for a new marketplace, add one constant here and have that
|
|
/// sweeper read/stamp checkpoints with it — no schema or query changes needed.
|
|
/// </para>
|
|
/// </summary>
|
|
public static class SweepSource
|
|
{
|
|
/// <summary>CSFloat catalogue-driven sweep (<c>ListingSweepService.SweepCatalogAsync</c>).</summary>
|
|
public const string CsFloatCatalog = "listings-catalog";
|
|
|
|
/// <summary>cs.money worker sweep (<c>CsMoneyIngestService</c>).</summary>
|
|
public const string CsMoney = "csmoney";
|
|
|
|
/// <summary>skin.land worker sweep (<c>SkinLandIngestService</c>).</summary>
|
|
public const string SkinLand = "skinland";
|
|
}
|