UNPKG

@eventcatalog/linter

Version:

A linter for EventCatalog to validate frontmatter and resource references

11 lines 430 B
import { ParsedFile } from '../parser'; import { ValidationError } from '../types'; interface ResourceIndex { [resourceType: string]: { [resourceId: string]: Set<string>; }; } export declare const buildResourceIndex: (parsedFiles: ParsedFile[]) => ResourceIndex; export declare const validateReferences: (parsedFiles: ParsedFile[]) => ValidationError[]; export {}; //# sourceMappingURL=reference-validator.d.ts.map