UNPKG

@atomist/sdm-pack-aspect

Version:

an Atomist SDM Extension Pack for visualizing drift across an organization

39 lines 1.4 kB
import { Aspect } from "@atomist/sdm-pack-fingerprint"; import * as React from "react"; import { FingerprintUsage } from "../lib/analysis/offline/persist/ProjectAnalysisResultStore"; import { CohortAnalysis } from "../lib/analysis/offline/spider/analytics"; import { RepoForDisplay } from "./repoList"; export interface FingerprintForDisplay extends Pick<FingerprintUsage, "type" | "name">, Pick<CohortAnalysis, "count" | "variants">, MaybeAnIdeal { displayName: string; entropy?: number; } declare type AspectForDisplay = Partial<Pick<Aspect, "documentationUrl" | "name" | "displayName">>; export interface AspectFingerprintsForDisplay { aspect: AspectForDisplay; fingerprints: FingerprintForDisplay[]; } interface UnfoundAspectForDisplay { documentationUrl?: string; displayName: string; } /** * Props for entry page */ export interface OverviewProps { projectsAnalyzed: number; foundAspects: AspectFingerprintsForDisplay[]; unfoundAspects: UnfoundAspectForDisplay[]; repos: RepoForDisplay[]; virtualProjectCount: number; } export interface MaybeAnIdeal { type: string; name: string; ideal?: { displayValue: string; }; } export declare function displayAspects(props: OverviewProps): React.ReactElement; export declare function Overview(props: OverviewProps): React.ReactElement; export {}; //# sourceMappingURL=overview.d.ts.map