As you cook the lentils, prepare the meatball spices. In a bowl, combine the minced shallot, parsley, chili powder, garlic powder, cumin seeds, crushed red pepper, Aleppo pepper flakes (if using), panko, pistachios, and vegan mayonnaise. Use a spoon to combine all of the ingredients. Season the mixture with salt and pepper to taste.