Skip to content
Snippets Groups Projects
dataset.model.ts 1.67 KiB
Newer Older
/**
 * 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: {
François Agneray's avatar
François Agneray committed
            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}[];
François Agneray's avatar
François Agneray committed
            download_enabled: boolean;
            download_opened: boolean;
            download_csv: boolean;
            download_ascii: boolean;
            download_vo: boolean;
            download_archive: boolean;
François Agneray's avatar
François Agneray committed
            summary_enabled: boolean;
            summary_opened: boolean;
        },
        server_link: {
François Agneray's avatar
François Agneray committed
            server_link_enabled: boolean;
            server_link_opened: boolean;
François Agneray's avatar
François Agneray committed
            samp_enabled: boolean;
            samp_opened: boolean;
        },
        datatable: {
François Agneray's avatar
François Agneray committed
            datatable_enabled: boolean;
            datatable_opened: boolean;
            datatable_selectable_rows: boolean;