UNPKG

@atomist/org-visualizer

Version:

Organization Visualizer using Atomist project scanning

32 lines 1.33 kB
import { Project, RepoId } from "@atomist/automation-client"; import { Interpretation, ProjectAnalysis, ProjectAnalyzer } from "@atomist/sdm-pack-analysis"; import { SubprojectDescription } from "../../ProjectAnalysisResult"; import { PersistResult, ProjectAnalysisResultStore } from "../persist/ProjectAnalysisResultStore"; import { ScmSearchCriteria } from "./ScmSearchCriteria"; import { ProjectAnalysisResultFilter, SpiderOptions } from "./Spider"; export declare function keepExistingPersisted(opts: { persister: ProjectAnalysisResultStore; keepExistingPersisted: ProjectAnalysisResultFilter; }, repoId: RepoId): Promise<boolean>; export interface AnalyzeResults { repoInfos: RepoInfo[]; projectsDetected: number; } export interface RepoInfo { readme: string; totalFileCount: number; interpretation: Interpretation; analysis: ProjectAnalysis; subproject: SubprojectDescription; } /** * Find project or subprojects */ export declare function analyze(project: Project, analyzer: ProjectAnalyzer, criteria: ScmSearchCriteria): Promise<AnalyzeResults>; export declare function persistRepoInfo(opts: SpiderOptions, repoInfo: RepoInfo, moreInfo: { sourceData: any; query?: string; timestamp: Date; url: string; }): Promise<PersistResult>; //# sourceMappingURL=common.d.ts.map