/**
 * This file is part of Anis Client.
 *
 * @copyright Laboratoire d'Astrophysique de Marseille / CNRS
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

export interface Dataset {
    name: string;
    table_ref: string;
    label: string;
    description: string;
    display: number;
    data_path: string;
    survey_name: string;
    id_dataset_family: number;
    public: boolean;
    full_data_path: string;
    config: {
        images: any[],
        cone_search: {
            cone_search_enabled: boolean;
            cone_search_opened: boolean;
            cone_search_column_ra: number;
            cone_search_column_dec: number;
            cone_search_plot_enabled: boolean;
            cone_search_sdss_enabled: boolean;
            cone_search_sdss_display: number;
            cone_search_background: {id: number, enabled: boolean, display: number}[];
        },
        download: {
            download_enabled: boolean;
            download_opened: boolean;
            download_csv: boolean;
            download_ascii: boolean;
            download_vo: boolean;
            download_archive: boolean;
        },
        summary: {
            summary_enabled: boolean;
            summary_opened: boolean;
        },
        server_link: {
            server_link_enabled: boolean;
            server_link_opened: boolean;
        },
        samp: {
            samp_enabled: boolean;
            samp_opened: boolean;
        },
        datatable: {
            datatable_enabled: boolean;
            datatable_opened: boolean;
            datatable_selectable_rows: boolean;
        }
    };
}