
import EduEventSearch, { EduEventMySearchFormData } from '~/pages/event/types/EduEventSearch';
import { EduEventOutput } from '~/pages/event/entities/edu-event-search.types';
import { EduEventSortFilter } from '~/pages/event/types/EduEventSearch';
import { SortParams } from '~/pages/event/types/EventSorting';
export class LoadEduEvents {
    static readonly type = '[Event search list] Load Events';
    constructor(public opts: { year: string } = { year: undefined }) { }
}
export class LoadMyEduEvents {
    static readonly type = '[Event search list] Load My Events';
}
export class SetEduEvents {
    static readonly type = '[Event search list] Set Events';
    constructor(public events: EduEventOutput[]) {
    }
}
export class LoadEduEventTypes {
    static readonly type = '[Event search list] Load Event Types';
}
export class LoadEduEventGroups {
    static readonly type = '[Event search list] Load Event Groups';
}

export class LoadCatalogEvents {
    static readonly type = '[Event search list] Load CatalogEvents';
}

export class SetEduEventSearchParams {
    static readonly type = '[Event search list] Set Event Search params';
    constructor(public payload: EduEventSearch = null) {
    }
}
export class SetEduEventMySearchParams {
    static readonly type = '[Event search list] Set My Event Search params';

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

    constructor(public payload: EduEventSortFilter = null) {
    }
}
export class SetEduEventMySortParams {
    static readonly type = '[Event search list] Set Event My Sort Filter Params';
    constructor(public payload: SortParams = null) {
    }
}
export class SortEduEvents {
    static readonly type = '[Event search list] sort events';

    constructor() {
    }
}
export class LoadEduEventLogo {
    static readonly type = '[Event search list] Load Event Logo';
    constructor(public logoId: number) {
    }
}
