import { Jump } from './jump.model';
import { Profile } from './profile.model';

export interface Canopy {
    voile: string;
    taille: number;
    author: Profile;
    createdAt: string;
    updatedAt: string;
}

export interface CanopyModelBySize {
    voile: string,
    taille: number,
    count: number
}

export interface CanopyModelByYear {
    voile: string,
    taille: number,
    year: number,
    count: number
}

export interface CanopyBySize {
    taille: number,
    count: number
}

export interface CanopyByYear {
    taille: number,
    year: number,
    count: number
}

export interface CanopiesPageData {
    canopiesBySize: Array<CanopyBySize>;
    canopiesBySizeByYear: Array<CanopyByYear>;
    canopiesBySizeByModel: Array<CanopyModelBySize>;
    canopiesBySizeByModelByYear: Array<CanopyModelByYear>;
    lastjump: Jump;
}