import core.dependencies as core_dependencies


def validate_activity_id(activity_id: int):
    # Check if id higher than 0
    core_dependencies.validate_id(id=activity_id, min=0, message="Invalid activity ID")


def validate_week_number(week_number: int):
    # Check if gear type is between 0 and 52
    core_dependencies.validate_type(
        type=week_number, min=0, max=52, message="Invalid week number"
    )


def validate_visibility(visibility: int):
    # Check if gear type is between 0 and 52
    core_dependencies.validate_type(
        type=visibility, min=0, max=2, message="Invalid visibility"
    )
