My plugin accepts a string referring to one of the collection slugs. Previously I just had this typed as a string. In 2.0, how can I reference the GeneratedTypes from the payload-types file?
I think I got it!
Get help straight from the Payload team with an Enterprise License.