Dependicus API Reference
    Preparing search index...

    Interface DependicusPlugin

    interface DependicusPlugin {
        columns?: CustomColumn[];
        getGitHubIssueSpec?: (
            context: VersionContext,
            store: FactStore,
        ) =>
            | Partial<
                {
                    assignment?: | { type: "unassigned" }
                    | { assignees: string[]; type: "assign" };
                    availableMajorVersion?: string;
                    daysOverdue?: number;
                    descriptionSections?: { body: string; title: string }[];
                    group?: string;
                    labels?: string[];
                    owner: string;
                    ownerLabel?: string;
                    policy?:
                        | { type: "skip" }
                        | { rateLimitDays?: number; type: "fyi" }
                        | { rateLimitDays?: number; type: "dueDate" };
                    repo: string;
                    targetVersion?: string;
                    thresholdDays?: number;
                },
            >
            | undefined;
        getLinearIssueSpec?: (
            context: VersionContext,
            store: FactStore,
        ) =>
            | Partial<
                {
                    assignment?: | { type: "unassigned" }
                    | { assigneeId: string; type: "delegate" };
                    availableMajorVersion?: string;
                    daysOverdue?: number;
                    descriptionSections?: { body: string; title: string }[];
                    group?: string;
                    ownerLabel?: string;
                    policy?:
                        | { type: "skip" }
                        | { rateLimitDays?: number; type: "fyi" }
                        | { rateLimitDays?: number; type: "dueDate" };
                    targetVersion?: string;
                    teamId: string;
                    thresholdDays?: number;
                },
            >
            | undefined;
        getSections?: (ctx: GroupingDetailContext) => GroupingSection[];
        getUsedByGroupKey?: UsedByGroupKeyFn;
        groupings?: GroupingConfig[];
        name: string;
        sources?: DataSource[];
    }

    Implemented by

    Index

    Properties

    columns?: CustomColumn[]
    getGitHubIssueSpec?: (
        context: VersionContext,
        store: FactStore,
    ) =>
        | Partial<
            {
                assignment?: | { type: "unassigned" }
                | { assignees: string[]; type: "assign" };
                availableMajorVersion?: string;
                daysOverdue?: number;
                descriptionSections?: { body: string; title: string }[];
                group?: string;
                labels?: string[];
                owner: string;
                ownerLabel?: string;
                policy?:
                    | { type: "skip" }
                    | { rateLimitDays?: number; type: "fyi" }
                    | { rateLimitDays?: number; type: "dueDate" };
                repo: string;
                targetVersion?: string;
                thresholdDays?: number;
            },
        >
        | undefined
    getLinearIssueSpec?: (
        context: VersionContext,
        store: FactStore,
    ) =>
        | Partial<
            {
                assignment?: | { type: "unassigned" }
                | { assigneeId: string; type: "delegate" };
                availableMajorVersion?: string;
                daysOverdue?: number;
                descriptionSections?: { body: string; title: string }[];
                group?: string;
                ownerLabel?: string;
                policy?:
                    | { type: "skip" }
                    | { rateLimitDays?: number; type: "fyi" }
                    | { rateLimitDays?: number; type: "dueDate" };
                targetVersion?: string;
                teamId: string;
                thresholdDays?: number;
            },
        >
        | undefined
    getSections?: (ctx: GroupingDetailContext) => GroupingSection[]
    getUsedByGroupKey?: UsedByGroupKeyFn
    groupings?: GroupingConfig[]
    name: string
    sources?: DataSource[]