functions icon indicating copy to clipboard operation
functions copied to clipboard

feat: update getSecrets types

Open dwwoelfel opened this issue 3 years ago • 0 comments
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.

dwwoelfel avatar Mar 01 '22 00:03 dwwoelfel