This is a Gatsby version 2.\*.\* source plugin that feeds the GraphQL tree with Cockpit Headless CMS collections and singletons data. Actually, it supports querying raw texts (and any trivial field types), Markdown, images, galleries, assets, sets, repeaters, layout(-grid)s (currently only without nested images/assets), objects, linked collections and internationalization.
The set field type is a bit tricky since it can contain all other field types, even another set and a repeater. It's fields need therefore be parsed recursively.
The set field type is a bit tricky since it can contain all other field types, even another set and a repeater. It's fields need therefore be parsed recursively.