UNPKG

@eventcatalog/linter

Version:

A linter for EventCatalog to validate frontmatter and resource references

14 lines 452 B
import { ResourceType } from '../schemas'; export interface CatalogFile { path: string; relativePath: string; resourceType: ResourceType; resourceId: string; version?: string; } export declare const extractResourceInfo: (filePath: string, resourceType: ResourceType) => { id: string; version?: string; }; export declare const scanCatalogFiles: (rootDir: string) => Promise<CatalogFile[]>; //# sourceMappingURL=index.d.ts.map