from app.repositories.directus.base import DirectusCollectionRepository


class VariantRepository(DirectusCollectionRepository):
    """Directus-backed repository for experiment variant records."""

    collection_name = "variants"
    default_fields = [
        "id",
        "experiment_id",
        "variant_key",
        "name",
        "traffic_weight",
        "content_config",
    ]
