quintype / quintype-validator

Quintype validators, currently has website validator and migration validator
https://validator.quintype.com/
0 stars 0 forks source link

Update and fix editor types #39

Closed Robert-Christopher closed 4 years ago

Robert-Christopher commented 4 years ago

The editor types needs to be updated, so that the validator results are really correct, the following types need to be checked and updated accordingly

1) Story
2) Section
3) Author
4) Entity
5) Tag

Also the public documentation needs to be updated accordingly

radhika-c commented 4 years ago

Scenarios:

  1. An input given to validator with mandatory fields in a story, section, author, tag and entity should not throw any error.
  2. An input given to validator with missing mandatory fields in a story , section, author, tag and entity should throw error.
  3. An input given to validator with valid types for the mandatory and non mandatory in a story , section, author, tag and entity should not throw any error.
  4. An input given to validator with invalid types for the mandatory and non mandatory fields in a story , section, author, tag and entity should throw error.