@atomist/org-visualizer
Version:
Organization Visualizer using Atomist project scanning
35 lines • 1.36 kB
TypeScript
import { BaseAspect } from "@atomist/sdm-pack-fingerprints";
import * as React from "react";
import { FingerprintUsage } from "../lib/analysis/offline/persist/ProjectAnalysisResultStore";
import { CohortAnalysis } from "../lib/analysis/offline/spider/analytics";
import { ProjectForDisplay } from "./projectList";
export interface FingerprintForDisplay extends Pick<FingerprintUsage, "type" | "name">, Pick<CohortAnalysis, "count" | "variants">, MaybeAnIdeal {
displayName: string;
entropy?: number;
}
declare type AspectForDisplay = Pick<BaseAspect, "documentationUrl" | "name" | "displayName">;
export interface AspectFingerprintsForDisplay {
aspect: AspectForDisplay;
fingerprints: FingerprintForDisplay[];
}
interface UnfoundAspectForDisplay {
documentationUrl?: string;
displayName: string;
}
export interface OrgExplorerProps {
projectsAnalyzed: number;
importantAspects: AspectFingerprintsForDisplay[];
unfoundAspects: UnfoundAspectForDisplay[];
projects: ProjectForDisplay[];
}
export interface MaybeAnIdeal {
type: string;
name: string;
ideal?: {
displayValue: string;
};
}
export declare function displayAspects(props: OrgExplorerProps): React.ReactElement;
export declare function OrgExplorer(props: OrgExplorerProps): React.ReactElement;
export {};
//# sourceMappingURL=org.d.ts.map