How to restore deleted custom types in slice machine?

I accidentally deleted a custom type and trying to restore it.
How can I do that? I won't be able to push my updates since it asks to delete all the documents of the custom type.


Are you already using git to version your types? If that's the case you can roll back to a previous commit that includes the deleted Custom Type.