Knowtation web client
    Preparing search index...

    Function historyLines

    • Changes grouped by action and property, in order, each group's values on one line.

      Parameters

      • changes: {
            action:
                | "proposed"
                | "accepted"
                | "edited"
                | "rejected"
                | "kept"
                | "kept_rejected";
            after?: string
            | null;
            before?: string | null;
            confidence?: number | null;
            property: string;
            proposal_id?: string | null;
            reviewed_in?: number | null;
            target: string;
            value: string;
        }[]
        • action: "proposed" | "accepted" | "edited" | "rejected" | "kept" | "kept_rejected"

          Action

        • Optionalafter?: string | null

          After

          The property's value after the review.

        • Optionalbefore?: string | null

          Before

          The property's value before the review.

        • Optionalconfidence?: number | null

          Confidence

        • property: string

          Property

        • Optionalproposal_id?: string | null

          Proposal Id

        • Optionalreviewed_in?: number | null

          Reviewed In

          Kept values: the version whose review decided them.

        • target: string

          Target

        • value: string

          Value

          The value accepted, edited in, rejected, proposed or kept.

      Returns HistoryLine[]