How to recover .slicemachine customtype?

Hello, Prismic

I removed .slicemachine/customtype folder by mistake :smiling_face_with_tear:
I tried to re-install slicemachine in nuxt but it doesn't recover .slicemachine/customtype.

Is there a way to recover it ?

Thanks in advance!

Hello @woolim

Thanks for reaching out to us.

I can only find a way to recover .slicemachine/customtype folder you have to create the same Custom Type again in the Slice machine builder and save it to the file system. It will recreate the .slicemachine/customtype folder. You can check your repository documents to match the fields and Slices like before.

Let me know if you need any further assistance.


Thanks! for replying.

I finally managed to recover custom type by using custom type API.

1 Like