@atomist/org-visualizer
Version:
Organization Visualizer using Atomist project scanning
30 lines • 943 B
TypeScript
import { RemoteRepoRef } from "@atomist/automation-client";
import { Analyzed } from "../aspect/AspectRegistry";
export interface SubprojectDescription {
path: string;
reason: string;
parentRepoRef: RemoteRepoRef;
}
/**
* The result of running one analysis. Allows us to attach further information,
* such as provenance if we spidered it.
*/
export interface ProjectAnalysisResult {
/**
* Unique database id. Available after persistence.
*/
readonly id?: string;
readonly repoRef: RemoteRepoRef;
readonly workspaceId: string;
readonly analysis?: Analyzed;
/**
* Date of this analysis
*/
readonly timestamp: Date;
/**
* If this is a project within a larger repo, describe that
*/
readonly subproject?: SubprojectDescription;
}
export declare function isProjectAnalysisResult(r: any): r is ProjectAnalysisResult;
//# sourceMappingURL=ProjectAnalysisResult.d.ts.map