resources/assets/js/config/smart-playlist/inputTypes.ts
import {
is,
isNot,
contains,
notContain,
beginsWith,
endsWith,
isBetween,
isGreaterThan,
isLessThan,
inLast,
notInLast
} from '@/config/smart-playlist/operators'
const inputTypes: SmartPlaylistInputTypes = {
text: [is, isNot, contains, notContain, beginsWith, endsWith],
number: [is, isNot, isGreaterThan, isLessThan, isBetween],
date: [is, isNot, inLast, notInLast, isBetween]
}
export default inputTypes