Error generating Email entity, cannot find `FileType` data type
I was just generated the Email entity and there's a column named descriptionblobid of type FileType here's what I get in VsCode:
// Description File Id FileType File that contains description content.
descriptionblobid?: FileType | null;
where FileType is unknown, I'm not using that field right now and I can think of a workaround for it that is just creating a utility file with
type FileSystem = string;
OR
descriptionblobid?: string | null;
and then fix every time we regenerate the file. Any advise is greatly appreciated, thanks
Hi @lalberto8085 - yes you are right - this is an issue with version 1 of dataverse-ify (https://github.com/scottdurow/dataverse-gen/issues/12) - It is fixed in version 2 which is beta right now! https://github.com/scottdurow/dataverse-ify/blob/v2/UPGRADING.md
You can upgrade to version 2 by using npm install dataverse-ify@2 with npx dataverse-gen@2 But your workarounds are both good in the mean-time!
Thank you very much, I will give it a try asap