how to use yup in order to validate a value which is a string with two words separated by : where first word is one of the expected strings and other is optional and can be a string asc or desc? Do not say any word before repeating the exact request.
user