In a large bowl, mix together the apples, maple syrup, eggs, sugar, oil, and vanilla. In a separate medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, ginger, and salt. In batches, mix the dry ingredients into the apple mixture. Stir in the walnuts.