Passata is just pureed & strained tomatoes. It can be bought in tall glass jars/bottles.

I've made the gnocchi in the morning prior to assembling it - it is harder to separate once it's been refrigerated. Otherwise, it can be pre-made and assembled ready to bake a day in advance. Next time I make it I'm going to experiment with freezing it like lasagna!