CommentIterationContext interface

Comment iteration context is used to identify which diff was being viewed when the thread was created.

Properties

firstComparingIteration

The iteration of the file on the left side of the diff when the thread was created. If this value is equal to SecondComparingIteration, then this version is the common commit between the source and target branches of the pull request.

secondComparingIteration

The iteration of the file on the right side of the diff when the thread was created.

Property Details

firstComparingIteration

The iteration of the file on the left side of the diff when the thread was created. If this value is equal to SecondComparingIteration, then this version is the common commit between the source and target branches of the pull request.

firstComparingIteration: number

Property Value

number

secondComparingIteration

The iteration of the file on the right side of the diff when the thread was created.

secondComparingIteration: number

Property Value

number