import * as ts from 'typescript'; import { Definition } from './parser'; export interface IIndeksdProject { type: 'IndeksdProject'; rootDir: string; outDir: string; sourceDir: string; files: ReadonlyArray; options: IMakeOptions; } export interface IParsedFile { type: 'ParsedFile'; sourceFile: ISourceFile; body: ReadonlyArray; errors: boolean; } export interface ISourceFile { type: 'SourceFile'; name: string; path: string; fullPath: string; source: string; } export interface IGeneratedFile { type: 'GeneratedFile'; name: string; ext: string; path: string; body: ReadonlyArray; } export interface IMakeOptions { rootDir: string; outDir: string; sourceDir: string; files: ReadonlyArray; }