just starting with @vercel/blob and love to work with it so far. It would be great if wildcards would be supported in prefix that would be a great benefit:
const result = await list({prefix: %${searchString}%})
And if userId is already a variable in your file then it will list all files under user123/photos/* (if you’re dealing with the user123. If you’re looking for a different feature let us know in more details.
As for:
It would also be great if the search params are case insensitive
If you’re speaking about the pathnames of files, they are case sensitive indeed and the only way to disable that is to convert all your pathnames to lowercase and ensure that your search prefixes are also lowercase.