UNPKG

@atomist/sdm-pack-aspect

Version:

an Atomist SDM Extension Pack for visualizing drift across an organization

35 lines 896 B
import { Tag } from "../aspect/AspectRegistry"; /** * Information about the use of tags within a repo */ export interface TagUsage extends Tag { count: number; } /** * SunburstTree with accompanying metadata about the meaning of each level */ export interface PlantedTree { tree: SunburstTree; circles: SunburstCircleMetadata[]; errors?: Array<{ message: string; }>; tags?: TagUsage[]; } export interface SunburstCircleMetadata { meaning: string; } /** * Tree with leafs with a size element */ export interface SunburstTree { name: string; children: Array<SunburstTree | SunburstLeaf>; } export interface SunburstLeaf { name: string; size: number; } export declare type SunburstLevel = SunburstTree | SunburstLeaf; export declare function isSunburstTree(level: SunburstLevel): level is SunburstTree; //# sourceMappingURL=sunburst.d.ts.map