from typing import Tuple


def convert_tuple_to_reading_dict(tuple_data: Tuple) -> dict:
    """Convert tuple record from DB to reading dictionary.
    
    :param tuple_data: Reading data from DB
    :return: Dict in the format -> {Date
                                    Day
                                    Month
                                    Title
                                    Snippet
                                    Reference
                                    Page
                                    Content
                                    JustForToday # Not for Daily Reflection and only for Just For Today
                                    Copyright
                                    Website}
    """
    reading = {"Date": tuple_data[0],
               "Day": tuple_data[1],
               "Month": tuple_data[2],
               "Title": tuple_data[3],
               "Snippet": tuple_data[4],
               "Reference": tuple_data[5],
               "Page": tuple_data[6],
               "Content": tuple_data[7]}
    if len(tuple_data) == 11:  # Just For Today
        reading["JustForToday"] = tuple_data[8]
        reading["Copyright"] = tuple_data[9]
        reading["Website"] = tuple_data[10]
    else:  # Daily Reflection
        reading["Copyright"] = tuple_data[8]
        reading["Website"] = tuple_data[9]
    return reading