def gen_resource_arr(search_results: dict):
    """ Generates an array which contains only the names of the current selected resources

    Args:
        search_results (dict): The output of searcher.py
    Returns:
        list: All resource keys that show up in the search_results dict.
    """
    resources = []
    # only wms and dataset might have downloadable content
    for search_results_key, search_results_val in search_results.items():
        resources.append(search_results_key)

    return resources