interface BaseList {
    _id?: string;
    createdDate?: Date;
    deleted: boolean;
    id?: string;
    mailgunListId?: string;
    modifiedDate?: Date;
    name: string;
    trip?: string | models.trips.Trip;
    type: ListType;
    user: string | User;
}

Hierarchy (View Summary)

Properties

_id?: string
createdDate?: Date
deleted: boolean
id?: string

Use _id instead

mailgunListId?: string
modifiedDate?: Date
name: string
trip?: string | models.trips.Trip
type: ListType
user: string | User