export enum SearchType {
    SHIFT = 'SHIFT',
    USER = 'USER',
    ALL = 'ALL',
}

export const searchByUser = (searchType: SearchType): boolean => searchType === SearchType.USER || searchType === SearchType.ALL;
export const searchByShift = (searchType: SearchType): boolean => searchType === SearchType.SHIFT || searchType === SearchType.ALL;
