@cesar-richard/git-connector-sdk 1.17.0 → 1.18.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.
- package/dist/schema.d.ts +237 -0
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -107,8 +107,48 @@ export interface components {
|
|
|
107
107
|
changedAt: string;
|
|
108
108
|
changedBy: string | null;
|
|
109
109
|
}[];
|
|
110
|
+
reviews: {
|
|
111
|
+
approvedCount: string | number;
|
|
112
|
+
changesRequestedCount: string | number;
|
|
113
|
+
commentedCount: string | number;
|
|
114
|
+
dismissedCount: string | number;
|
|
115
|
+
entries: {
|
|
116
|
+
state: "approved" | "changes_requested" | "commented" | "dismissed";
|
|
117
|
+
reviewer: string;
|
|
118
|
+
submittedAt: string;
|
|
119
|
+
url: string | null;
|
|
120
|
+
}[];
|
|
121
|
+
};
|
|
122
|
+
unresolvedThreads: {
|
|
123
|
+
count: string | number;
|
|
124
|
+
digest: {
|
|
125
|
+
id: string;
|
|
126
|
+
firstNoteAuthor: string | null;
|
|
127
|
+
firstNoteBody: string;
|
|
128
|
+
firstNoteCreatedAt: string;
|
|
129
|
+
url: string | null;
|
|
130
|
+
}[];
|
|
131
|
+
} | null;
|
|
110
132
|
};
|
|
111
133
|
Provider: "github" | "gitlab";
|
|
134
|
+
Review: {
|
|
135
|
+
state: "approved" | "changes_requested" | "commented" | "dismissed";
|
|
136
|
+
reviewer: string;
|
|
137
|
+
submittedAt: string;
|
|
138
|
+
url: string | null;
|
|
139
|
+
};
|
|
140
|
+
ReviewsSummary: {
|
|
141
|
+
approvedCount: string | number;
|
|
142
|
+
changesRequestedCount: string | number;
|
|
143
|
+
commentedCount: string | number;
|
|
144
|
+
dismissedCount: string | number;
|
|
145
|
+
entries: {
|
|
146
|
+
state: "approved" | "changes_requested" | "commented" | "dismissed";
|
|
147
|
+
reviewer: string;
|
|
148
|
+
submittedAt: string;
|
|
149
|
+
url: string | null;
|
|
150
|
+
}[];
|
|
151
|
+
};
|
|
112
152
|
StatusEvent: {
|
|
113
153
|
label: {
|
|
114
154
|
name: string;
|
|
@@ -118,6 +158,23 @@ export interface components {
|
|
|
118
158
|
changedAt: string;
|
|
119
159
|
changedBy: string | null;
|
|
120
160
|
};
|
|
161
|
+
ThreadDigest: {
|
|
162
|
+
id: string;
|
|
163
|
+
firstNoteAuthor: string | null;
|
|
164
|
+
firstNoteBody: string;
|
|
165
|
+
firstNoteCreatedAt: string;
|
|
166
|
+
url: string | null;
|
|
167
|
+
};
|
|
168
|
+
UnresolvedThreads: {
|
|
169
|
+
count: string | number;
|
|
170
|
+
digest: {
|
|
171
|
+
id: string;
|
|
172
|
+
firstNoteAuthor: string | null;
|
|
173
|
+
firstNoteBody: string;
|
|
174
|
+
firstNoteCreatedAt: string;
|
|
175
|
+
url: string | null;
|
|
176
|
+
}[];
|
|
177
|
+
};
|
|
121
178
|
Volume: {
|
|
122
179
|
additions: string | number;
|
|
123
180
|
deletions: string | number;
|
|
@@ -177,6 +234,28 @@ export interface components {
|
|
|
177
234
|
changedAt: string;
|
|
178
235
|
changedBy: string | null;
|
|
179
236
|
}[];
|
|
237
|
+
reviews: {
|
|
238
|
+
approvedCount: string | number;
|
|
239
|
+
changesRequestedCount: string | number;
|
|
240
|
+
commentedCount: string | number;
|
|
241
|
+
dismissedCount: string | number;
|
|
242
|
+
entries: {
|
|
243
|
+
state: "approved" | "changes_requested" | "commented" | "dismissed";
|
|
244
|
+
reviewer: string;
|
|
245
|
+
submittedAt: string;
|
|
246
|
+
url: string | null;
|
|
247
|
+
}[];
|
|
248
|
+
};
|
|
249
|
+
unresolvedThreads: {
|
|
250
|
+
count: string | number;
|
|
251
|
+
digest: {
|
|
252
|
+
id: string;
|
|
253
|
+
firstNoteAuthor: string | null;
|
|
254
|
+
firstNoteBody: string;
|
|
255
|
+
firstNoteCreatedAt: string;
|
|
256
|
+
url: string | null;
|
|
257
|
+
}[];
|
|
258
|
+
} | null;
|
|
180
259
|
}[];
|
|
181
260
|
statusHistory: {
|
|
182
261
|
label: {
|
|
@@ -242,6 +321,28 @@ export interface components {
|
|
|
242
321
|
changedAt: string;
|
|
243
322
|
changedBy: string | null;
|
|
244
323
|
}[];
|
|
324
|
+
reviews: {
|
|
325
|
+
approvedCount: string | number;
|
|
326
|
+
changesRequestedCount: string | number;
|
|
327
|
+
commentedCount: string | number;
|
|
328
|
+
dismissedCount: string | number;
|
|
329
|
+
entries: {
|
|
330
|
+
state: "approved" | "changes_requested" | "commented" | "dismissed";
|
|
331
|
+
reviewer: string;
|
|
332
|
+
submittedAt: string;
|
|
333
|
+
url: string | null;
|
|
334
|
+
}[];
|
|
335
|
+
};
|
|
336
|
+
unresolvedThreads: {
|
|
337
|
+
count: string | number;
|
|
338
|
+
digest: {
|
|
339
|
+
id: string;
|
|
340
|
+
firstNoteAuthor: string | null;
|
|
341
|
+
firstNoteBody: string;
|
|
342
|
+
firstNoteCreatedAt: string;
|
|
343
|
+
url: string | null;
|
|
344
|
+
}[];
|
|
345
|
+
} | null;
|
|
245
346
|
}[];
|
|
246
347
|
statusHistory: {
|
|
247
348
|
label: {
|
|
@@ -280,6 +381,10 @@ export interface operations {
|
|
|
280
381
|
limit?: string;
|
|
281
382
|
updatedSince?: string;
|
|
282
383
|
updatedBefore?: string;
|
|
384
|
+
/** @description If 'true', returns only work items where AT LEAST ONE linked open PR/MR has reviews.approvedCount === 0. Useful for dashboards showing pending review work. */
|
|
385
|
+
withoutApproval?: string;
|
|
386
|
+
/** @description Returns only work items where AT LEAST ONE linked PR/MR has been reviewed by the given username (case-insensitive, any state). */
|
|
387
|
+
reviewerIs?: string;
|
|
283
388
|
};
|
|
284
389
|
header?: never;
|
|
285
390
|
path?: never;
|
|
@@ -346,6 +451,28 @@ export interface operations {
|
|
|
346
451
|
changedAt: string;
|
|
347
452
|
changedBy: string | null;
|
|
348
453
|
}[];
|
|
454
|
+
reviews: {
|
|
455
|
+
approvedCount: string | number;
|
|
456
|
+
changesRequestedCount: string | number;
|
|
457
|
+
commentedCount: string | number;
|
|
458
|
+
dismissedCount: string | number;
|
|
459
|
+
entries: {
|
|
460
|
+
state: "approved" | "changes_requested" | "commented" | "dismissed";
|
|
461
|
+
reviewer: string;
|
|
462
|
+
submittedAt: string;
|
|
463
|
+
url: string | null;
|
|
464
|
+
}[];
|
|
465
|
+
};
|
|
466
|
+
unresolvedThreads: {
|
|
467
|
+
count: string | number;
|
|
468
|
+
digest: {
|
|
469
|
+
id: string;
|
|
470
|
+
firstNoteAuthor: string | null;
|
|
471
|
+
firstNoteBody: string;
|
|
472
|
+
firstNoteCreatedAt: string;
|
|
473
|
+
url: string | null;
|
|
474
|
+
}[];
|
|
475
|
+
} | null;
|
|
349
476
|
}[];
|
|
350
477
|
statusHistory: {
|
|
351
478
|
label: {
|
|
@@ -414,6 +541,28 @@ export interface operations {
|
|
|
414
541
|
changedAt: string;
|
|
415
542
|
changedBy: string | null;
|
|
416
543
|
}[];
|
|
544
|
+
reviews: {
|
|
545
|
+
approvedCount: string | number;
|
|
546
|
+
changesRequestedCount: string | number;
|
|
547
|
+
commentedCount: string | number;
|
|
548
|
+
dismissedCount: string | number;
|
|
549
|
+
entries: {
|
|
550
|
+
state: "approved" | "changes_requested" | "commented" | "dismissed";
|
|
551
|
+
reviewer: string;
|
|
552
|
+
submittedAt: string;
|
|
553
|
+
url: string | null;
|
|
554
|
+
}[];
|
|
555
|
+
};
|
|
556
|
+
unresolvedThreads: {
|
|
557
|
+
count: string | number;
|
|
558
|
+
digest: {
|
|
559
|
+
id: string;
|
|
560
|
+
firstNoteAuthor: string | null;
|
|
561
|
+
firstNoteBody: string;
|
|
562
|
+
firstNoteCreatedAt: string;
|
|
563
|
+
url: string | null;
|
|
564
|
+
}[];
|
|
565
|
+
} | null;
|
|
417
566
|
}[];
|
|
418
567
|
statusHistory: {
|
|
419
568
|
label: {
|
|
@@ -482,6 +631,28 @@ export interface operations {
|
|
|
482
631
|
changedAt: string;
|
|
483
632
|
changedBy: string | null;
|
|
484
633
|
}[];
|
|
634
|
+
reviews: {
|
|
635
|
+
approvedCount: string | number;
|
|
636
|
+
changesRequestedCount: string | number;
|
|
637
|
+
commentedCount: string | number;
|
|
638
|
+
dismissedCount: string | number;
|
|
639
|
+
entries: {
|
|
640
|
+
state: "approved" | "changes_requested" | "commented" | "dismissed";
|
|
641
|
+
reviewer: string;
|
|
642
|
+
submittedAt: string;
|
|
643
|
+
url: string | null;
|
|
644
|
+
}[];
|
|
645
|
+
};
|
|
646
|
+
unresolvedThreads: {
|
|
647
|
+
count: string | number;
|
|
648
|
+
digest: {
|
|
649
|
+
id: string;
|
|
650
|
+
firstNoteAuthor: string | null;
|
|
651
|
+
firstNoteBody: string;
|
|
652
|
+
firstNoteCreatedAt: string;
|
|
653
|
+
url: string | null;
|
|
654
|
+
}[];
|
|
655
|
+
} | null;
|
|
485
656
|
}[];
|
|
486
657
|
statusHistory: {
|
|
487
658
|
label: {
|
|
@@ -571,6 +742,28 @@ export interface operations {
|
|
|
571
742
|
changedAt: string;
|
|
572
743
|
changedBy: string | null;
|
|
573
744
|
}[];
|
|
745
|
+
reviews: {
|
|
746
|
+
approvedCount: string | number;
|
|
747
|
+
changesRequestedCount: string | number;
|
|
748
|
+
commentedCount: string | number;
|
|
749
|
+
dismissedCount: string | number;
|
|
750
|
+
entries: {
|
|
751
|
+
state: "approved" | "changes_requested" | "commented" | "dismissed";
|
|
752
|
+
reviewer: string;
|
|
753
|
+
submittedAt: string;
|
|
754
|
+
url: string | null;
|
|
755
|
+
}[];
|
|
756
|
+
};
|
|
757
|
+
unresolvedThreads: {
|
|
758
|
+
count: string | number;
|
|
759
|
+
digest: {
|
|
760
|
+
id: string;
|
|
761
|
+
firstNoteAuthor: string | null;
|
|
762
|
+
firstNoteBody: string;
|
|
763
|
+
firstNoteCreatedAt: string;
|
|
764
|
+
url: string | null;
|
|
765
|
+
}[];
|
|
766
|
+
} | null;
|
|
574
767
|
}[];
|
|
575
768
|
statusHistory: {
|
|
576
769
|
label: {
|
|
@@ -635,6 +828,28 @@ export interface operations {
|
|
|
635
828
|
changedAt: string;
|
|
636
829
|
changedBy: string | null;
|
|
637
830
|
}[];
|
|
831
|
+
reviews: {
|
|
832
|
+
approvedCount: string | number;
|
|
833
|
+
changesRequestedCount: string | number;
|
|
834
|
+
commentedCount: string | number;
|
|
835
|
+
dismissedCount: string | number;
|
|
836
|
+
entries: {
|
|
837
|
+
state: "approved" | "changes_requested" | "commented" | "dismissed";
|
|
838
|
+
reviewer: string;
|
|
839
|
+
submittedAt: string;
|
|
840
|
+
url: string | null;
|
|
841
|
+
}[];
|
|
842
|
+
};
|
|
843
|
+
unresolvedThreads: {
|
|
844
|
+
count: string | number;
|
|
845
|
+
digest: {
|
|
846
|
+
id: string;
|
|
847
|
+
firstNoteAuthor: string | null;
|
|
848
|
+
firstNoteBody: string;
|
|
849
|
+
firstNoteCreatedAt: string;
|
|
850
|
+
url: string | null;
|
|
851
|
+
}[];
|
|
852
|
+
} | null;
|
|
638
853
|
}[];
|
|
639
854
|
statusHistory: {
|
|
640
855
|
label: {
|
|
@@ -699,6 +914,28 @@ export interface operations {
|
|
|
699
914
|
changedAt: string;
|
|
700
915
|
changedBy: string | null;
|
|
701
916
|
}[];
|
|
917
|
+
reviews: {
|
|
918
|
+
approvedCount: string | number;
|
|
919
|
+
changesRequestedCount: string | number;
|
|
920
|
+
commentedCount: string | number;
|
|
921
|
+
dismissedCount: string | number;
|
|
922
|
+
entries: {
|
|
923
|
+
state: "approved" | "changes_requested" | "commented" | "dismissed";
|
|
924
|
+
reviewer: string;
|
|
925
|
+
submittedAt: string;
|
|
926
|
+
url: string | null;
|
|
927
|
+
}[];
|
|
928
|
+
};
|
|
929
|
+
unresolvedThreads: {
|
|
930
|
+
count: string | number;
|
|
931
|
+
digest: {
|
|
932
|
+
id: string;
|
|
933
|
+
firstNoteAuthor: string | null;
|
|
934
|
+
firstNoteBody: string;
|
|
935
|
+
firstNoteCreatedAt: string;
|
|
936
|
+
url: string | null;
|
|
937
|
+
}[];
|
|
938
|
+
} | null;
|
|
702
939
|
}[];
|
|
703
940
|
statusHistory: {
|
|
704
941
|
label: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cesar-richard/git-connector-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.18.1",
|
|
4
4
|
"description": "TypeScript SDK for the git-connector v1 API (work items + iterations aggregated from GitHub/GitLab). Version published on npm tracks server releases.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|