@unito/integration-debugger
Version:
The Unito Integration Debugger
29 lines (28 loc) • 520 B
TypeScript
import * as CrawlerDriver from '../crawlerDriver';
/**
* Check: Fields of a schema are not duplicated.
*
* @example
* The item "foo" cannot have:
*
* {
* "fields": {},
* "relations": [
* {
* "name": "foo",
* "schema": {
* fields: [
* {
* name: 'id',
* },
* {
* name: 'id', <- duplicate!
* }
* ]
* }
* }
* ]
* }
*/
declare const check: CrawlerDriver.StepCheck;
export default check;