import { CampEventOutput } from '../../entities/camp-event-search.types';
import { SortParams } from '../../types/EventSorting';
import { CampEventSearch } from './camp-event-search-list.state';

export class LoadCampEvents {
    static readonly type = '[Camp Event search list] Load Camp Events';
}
export class SetCampEvents {
    static readonly type = '[Camp Event search list] Set Camp Events';
    constructor(public events: CampEventOutput[]) {
    }
}
export class LoadCampEventStates {
    static readonly type = '[Camp Event search list] Load Camp Event States';
}



export class SetCampEventSearchParams {
    static readonly type = '[Camp Event search list] Set Camp Event Search params';

    constructor(public payload: CampEventSearch = null) {
    }
}
export class SetCampEventSortParams {
    static readonly type = '[Camp Event search list] Set Camp Event Sort Params';

    constructor(public payload: SortParams = null) {
    }
}
