@atlassian-dc-mcp/bitbucket 0.24.0 → 0.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -24,6 +24,10 @@ interface CommentAnchor {
24
24
  path: string;
25
25
  diffType: string;
26
26
  orphaned: boolean;
27
+ multilineMarker?: {
28
+ startLine: number;
29
+ startLineType: string;
30
+ };
27
31
  }
28
32
 
29
33
  interface CommentProperties {
@@ -131,6 +135,8 @@ interface SimplifiedAnchor {
131
135
  line: number;
132
136
  path: string;
133
137
  fileType?: string;
138
+ startLine?: number;
139
+ startLineType?: string;
134
140
  }
135
141
 
136
142
  interface SimplifiedComment {
@@ -240,7 +246,13 @@ function simplifyAnchor(anchor: CommentAnchor): SimplifiedAnchor {
240
246
  return {
241
247
  line: anchor.line,
242
248
  path: anchor.path,
243
- fileType: anchor.fileType
249
+ fileType: anchor.fileType,
250
+ ...(anchor.multilineMarker
251
+ ? {
252
+ startLine: anchor.multilineMarker.startLine,
253
+ startLineType: anchor.multilineMarker.startLineType
254
+ }
255
+ : {})
244
256
  };
245
257
  }
246
258