Auto generated files: to git or not to git?

I think the files under types/generated are required, so they should be committed. If you modify e.g. an API schema (for example, you make a non-required field required in the admin interface), then these files will be updated.

I don’t know about the other files. I don’t think I have them, at least, not at that path. Maybe could you share what they contain?