from typing import List
from typing import Dict


def _maps_to_dict(maps: List[str]) -> Dict[str, str]:
    """
    Turns a list of colon-separated maps into a config dict.

    :param maps: The list of maps.
    :return: The transformed list as a dict.
    """
    usernames_slugs = {}
    for map_ in maps:
        user, repo = map_.split(':', 1)
        usernames_slugs[user] = repo
    return usernames_slugs