Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(types): Correct the type for Field['items'] (#313)
The `items` attribute in a Content Type is not an array, it's an object, and it gives a summary of the types that are IN the array. This PR fixes the type. Example response straight from the API for proof: ```json { "id": "logos", "name": "Logos", "type": "Array", "localized": false, "required": true, "validations": [{ "size": { "min": 5, "max": 15 } }], "disabled": false, "omitted": false, "items": { "type": "Link", "validations": [{ "linkContentType": ["logo"] }], "linkType": "Entry" } } ```
- Loading branch information