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

export interface Aeronef {
    aeronef: string;
    imat: string;
    author: Profile;
    createdAt: string;
    updatedAt: string;
}

export interface AeronefByImat {
    aeronef: string,
    imat: string,
    count: number
}

export interface AeronefByYear {
    aeronef: string,
    imat: string,
    year: number,
    count: number
}

export interface AeronefsPageData {
    aeronefsByImat: Array<AeronefByImat>;
    aeronefsByImatByYear: Array<AeronefByYear>;
    lastjump: Jump;
}