@atomist/sdm-pack-aspect
Version:
an Atomist SDM Extension Pack for visualizing drift across an organization
28 lines • 831 B
TypeScript
import * as React from "react";
import { SortOrder } from "../lib/routes/web-app/repositoryListPage";
import { Score, WeightedScore, Weighting } from "../lib/scorer/Score";
export interface RepoForDisplay {
url: string;
repo: string;
owner: string;
id: string;
score?: number;
/**
* Whether to show the full path of the repo
*/
showFullPath?: boolean;
}
export interface RepoListProps {
orgScore: WeightedScore;
repos: RepoForDisplay[];
virtualProjectCount: number;
sortOrder: SortOrder;
byOrg: boolean;
expand: boolean;
category: "*" | string;
}
export declare function RepoList(props: RepoListProps): React.ReactElement;
export declare function explainScore(score: Score & {
weighting: Weighting;
}): React.ReactElement;
//# sourceMappingURL=repoList.d.ts.map