functions
functions copied to clipboard
feat: update getSecrets types
trafficstars
Which problem is this pull request solving?
Contentful and sanity are missing in autocomplete in the return value of getSecrets
Describe the solution you've chosen
Adds sanity and contentful to the type on NetlifySecrets
Also gets the fieldName from the graphql query so that we don't have to normalize the field names or camelCase them ourselves.
Checklist
Please add a x inside each checkbox:
- [x] I have read the contribution guidelines.
- [ ] The status checks are successful (continuous integration). Those can be seen below.