Dependicus API Reference
    Preparing search index...

    Interface GroupingConfig

    interface GroupingConfig {
        getSections?: (context: GroupingDetailContext) => GroupingSection[];
        getValue: (name: string, store: FactStore) => string | undefined;
        key: string;
        label: string;
        slugPrefix?: string;
    }
    Index

    Properties

    getSections?: (context: GroupingDetailContext) => GroupingSection[]

    Return sections to display on this grouping's detail pages.

    getValue: (name: string, store: FactStore) => string | undefined

    Extract the grouping value for a dependency. Returns undefined to exclude.

    key: string
    label: string
    slugPrefix?: string