@foss.global/interfaces 0.10.0 → 0.11.0
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.
package/changelog.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-07-21 - 0.11.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- expose exact pull request review diffs (pull-request-diff)
|
|
8
|
+
- Add the canonical base/head diff response used by public pull request review pages.
|
|
9
|
+
- Reuse public diff file, hunk, and line contracts so inline comments bind to rendered changed lines.
|
|
10
|
+
|
|
3
11
|
## 2026-07-21 - 0.10.0
|
|
4
12
|
|
|
5
13
|
### Features
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@foss.global/interfaces',
|
|
6
|
-
version: '0.
|
|
6
|
+
version: '0.11.0',
|
|
7
7
|
description: 'Shared TypeScript interfaces and TypedRequest contracts for the foss.global Git platform ecosystem.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx5QkFBeUI7SUFDL0IsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHFHQUFxRztDQUNuSCxDQUFBIn0=
|
package/dist_ts/data/public.d.ts
CHANGED
|
@@ -217,6 +217,15 @@ export interface IPublicDiffFile {
|
|
|
217
217
|
isBinary: boolean;
|
|
218
218
|
hunks: IPublicDiffHunk[];
|
|
219
219
|
}
|
|
220
|
+
export interface IPublicPullRequestDiff {
|
|
221
|
+
baseObjectId: string;
|
|
222
|
+
headObjectId: string;
|
|
223
|
+
filesChanged: number;
|
|
224
|
+
additions: number;
|
|
225
|
+
deletions: number;
|
|
226
|
+
truncated: boolean;
|
|
227
|
+
files: IPublicDiffFile[];
|
|
228
|
+
}
|
|
220
229
|
export interface IPublicCommitDetail {
|
|
221
230
|
sha: string;
|
|
222
231
|
shortSha: string;
|
|
@@ -58,6 +58,7 @@ export interface IReq_PublicRepo extends plugins.typedrequestInterfaces.implemen
|
|
|
58
58
|
selectedPullRequestComments: data.IPublicPullRequestComment[];
|
|
59
59
|
selectedPullRequestReviews: data.IPublicPullRequestReview[];
|
|
60
60
|
selectedPullRequestReviewComments: data.IPublicPullRequestReviewComment[];
|
|
61
|
+
selectedPullRequestDiff: data.IPublicPullRequestDiff | null;
|
|
61
62
|
commits: data.IPublicCommit[];
|
|
62
63
|
languages: Record<string, number>;
|
|
63
64
|
};
|
package/package.json
CHANGED
package/ts/00_commitinfo_data.ts
CHANGED
package/ts/data/public.ts
CHANGED
|
@@ -268,6 +268,16 @@ export interface IPublicDiffFile {
|
|
|
268
268
|
hunks: IPublicDiffHunk[];
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
+
export interface IPublicPullRequestDiff {
|
|
272
|
+
baseObjectId: string;
|
|
273
|
+
headObjectId: string;
|
|
274
|
+
filesChanged: number;
|
|
275
|
+
additions: number;
|
|
276
|
+
deletions: number;
|
|
277
|
+
truncated: boolean;
|
|
278
|
+
files: IPublicDiffFile[];
|
|
279
|
+
}
|
|
280
|
+
|
|
271
281
|
export interface IPublicCommitDetail {
|
|
272
282
|
sha: string;
|
|
273
283
|
shortSha: string;
|
package/ts/requests/public.ts
CHANGED
|
@@ -78,6 +78,7 @@ export interface IReq_PublicRepo
|
|
|
78
78
|
selectedPullRequestComments: data.IPublicPullRequestComment[];
|
|
79
79
|
selectedPullRequestReviews: data.IPublicPullRequestReview[];
|
|
80
80
|
selectedPullRequestReviewComments: data.IPublicPullRequestReviewComment[];
|
|
81
|
+
selectedPullRequestDiff: data.IPublicPullRequestDiff | null;
|
|
81
82
|
commits: data.IPublicCommit[];
|
|
82
83
|
languages: Record<string, number>;
|
|
83
84
|
};
|