import { CongEventOutput } from '../../entities/cong-event-search.types';
import { SortParams } from '../../types/EventSorting';
import { CongEventSearch } from './cong-event-search-list.state';


export class LoadCongEvents {
    static readonly type = '[Cong Event search list] Load Congress Events';
}
export class SetCongEvents {
    static readonly type = '[Cong Event search list] Set Congress Events';
    constructor(public events: CongEventOutput[]) {
    }
}
export class LoadCongEventStates {
    static readonly type = '[Cong Event search list] Load Congress Event States';
}

export class SetCongEventSearchParams {
    static readonly type = '[Cong Event search list] Set Congress Event Search params';

    constructor(public payload: CongEventSearch = null) {
    }
}
export class SetCongEventSortParams {
    static readonly type = '[Cong Event search list] Set Congress Event Sort Params';

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