in src/validators/models/pageValidator.ts [79:94]
public validate(input: any, path?: string, field?: string): IValidationError[] {
if (input == null) {
return null;
}
const errors = super.validate(input, path, field);
if (errors) {
return errors;
}
const possibleValues = ["actualSize", "fitToWidth", "oneColumn"];
if (possibleValues.indexOf(input) < 0) {
return [{
message: "pageView must be a string with one of the following values: \"actualSize\", \"fitToWidth\", \"oneColumn\""
}];
}
return null;
}