I did the stupid thing of formating by accident the main SSD in my Macbook. I was using Windows through an external drive and hit the "Erase" button thinking it was another drive.
So I lost EVERYTHING in my computer and it won't boot as MacOS. I can use windows through the external ssd, and the formatted drive is "Not Allocated" right now. I only erased, I didn't mounted as a new format.
Is there any way to recover the partition/files?