envoc-form
Version:
Envoc form components
9 lines (7 loc) • 328 B
text/typescript
import { ValidationError } from './ValidationError';
// TODO: this means that all template projects MUST have this API shape - thoughts?
/** The root result from a typical envoc API call when forms are returned */
export interface ValidatedApiResult {
validationFailures?: ValidationError[];
hasErrors?: boolean;
}