@cesar-richard/git-connector-sdk 2.10.1 → 2.11.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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +324 -5
  2. package/package.json +1 -1
package/dist/schema.d.ts CHANGED
@@ -256,7 +256,14 @@ export interface components {
256
256
  name: string | null;
257
257
  email: string | null;
258
258
  }[];
259
- /** @description True when the activity is open AND has at least one requested reviewer who has not yet responded. Always false for issues. */
259
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab and for issues). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts. A consumer deciding whether a PR is waiting on someone must read BOTH — a PR asked only of a team has an empty `requestedReviewers`. */
260
+ requestedTeams: {
261
+ slug: string;
262
+ name: string;
263
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
264
+ members: string[];
265
+ }[];
266
+ /** @description True when the activity is open AND a review is still awaited — from a named reviewer who has not responded, OR from a requested team. Always false for issues. */
260
267
  awaitingReview: boolean;
261
268
  reviewRequestedAt: string | null;
262
269
  /** @description Review lifecycle bucket, or null for issues — an issue is not under review, so no bucket applies. Pass ?viewer to split 'open-awaiting-my-review' from 'open-awaiting-other-review'; without it, a pending review always reads as 'open-awaiting-other-review'. */
@@ -304,7 +311,14 @@ export interface components {
304
311
  name: string | null;
305
312
  email: string | null;
306
313
  }[];
307
- /** @description True when the activity is open AND has at least one requested reviewer who has not yet responded. Always false for issues. */
314
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab and for issues). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts. A consumer deciding whether a PR is waiting on someone must read BOTH — a PR asked only of a team has an empty `requestedReviewers`. */
315
+ requestedTeams: {
316
+ slug: string;
317
+ name: string;
318
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
319
+ members: string[];
320
+ }[];
321
+ /** @description True when the activity is open AND a review is still awaited — from a named reviewer who has not responded, OR from a requested team. Always false for issues. */
308
322
  awaitingReview: boolean;
309
323
  reviewRequestedAt: string | null;
310
324
  /** @description Review lifecycle bucket, or null for issues — an issue is not under review, so no bucket applies. Pass ?viewer to split 'open-awaiting-my-review' from 'open-awaiting-other-review'; without it, a pending review always reads as 'open-awaiting-other-review'. */
@@ -490,6 +504,13 @@ export interface components {
490
504
  name: string | null;
491
505
  email: string | null;
492
506
  }[];
507
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
508
+ requestedTeams: {
509
+ slug: string;
510
+ name: string;
511
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
512
+ members: string[];
513
+ }[];
493
514
  updatedAt: string;
494
515
  mergedAt: string | null;
495
516
  reviewRequestedAt: string | null;
@@ -704,6 +725,13 @@ export interface components {
704
725
  name: string | null;
705
726
  email: string | null;
706
727
  }[];
728
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
729
+ requestedTeams: {
730
+ slug: string;
731
+ name: string;
732
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
733
+ members: string[];
734
+ }[];
707
735
  updatedAt: string;
708
736
  mergedAt: string | null;
709
737
  reviewRequestedAt: string | null;
@@ -900,6 +928,12 @@ export interface components {
900
928
  id: string | number;
901
929
  displayName: string;
902
930
  } | null;
931
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
932
+ linkedIssueRefs: {
933
+ source: "github" | "gitlab";
934
+ projectKey: string;
935
+ number: string | number;
936
+ }[];
903
937
  /** @constant */
904
938
  type: "commit";
905
939
  meta: ({
@@ -929,6 +963,12 @@ export interface components {
929
963
  id: string | number;
930
964
  displayName: string;
931
965
  } | null;
966
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
967
+ linkedIssueRefs: {
968
+ source: "github" | "gitlab";
969
+ projectKey: string;
970
+ number: string | number;
971
+ }[];
932
972
  /** @constant */
933
973
  type: "comment";
934
974
  meta: ({
@@ -959,6 +999,12 @@ export interface components {
959
999
  id: string | number;
960
1000
  displayName: string;
961
1001
  } | null;
1002
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
1003
+ linkedIssueRefs: {
1004
+ source: "github" | "gitlab";
1005
+ projectKey: string;
1006
+ number: string | number;
1007
+ }[];
962
1008
  /** @constant */
963
1009
  type: "review";
964
1010
  meta: {
@@ -985,6 +1031,12 @@ export interface components {
985
1031
  id: string | number;
986
1032
  displayName: string;
987
1033
  } | null;
1034
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
1035
+ linkedIssueRefs: {
1036
+ source: "github" | "gitlab";
1037
+ projectKey: string;
1038
+ number: string | number;
1039
+ }[];
988
1040
  /** @constant */
989
1041
  type: "state-transition";
990
1042
  meta: ({
@@ -1013,6 +1065,12 @@ export interface components {
1013
1065
  id: string | number;
1014
1066
  displayName: string;
1015
1067
  } | null;
1068
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
1069
+ linkedIssueRefs: {
1070
+ source: "github" | "gitlab";
1071
+ projectKey: string;
1072
+ number: string | number;
1073
+ }[];
1016
1074
  /** @constant */
1017
1075
  type: "ci-run";
1018
1076
  meta: ({
@@ -1053,6 +1111,12 @@ export interface components {
1053
1111
  id: string | number;
1054
1112
  displayName: string;
1055
1113
  } | null;
1114
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
1115
+ linkedIssueRefs: {
1116
+ source: "github" | "gitlab";
1117
+ projectKey: string;
1118
+ number: string | number;
1119
+ }[];
1056
1120
  /** @constant */
1057
1121
  type: "ci-pipeline";
1058
1122
  meta: ({
@@ -1092,6 +1156,12 @@ export interface components {
1092
1156
  id: string | number;
1093
1157
  displayName: string;
1094
1158
  } | null;
1159
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
1160
+ linkedIssueRefs: {
1161
+ source: "github" | "gitlab";
1162
+ projectKey: string;
1163
+ number: string | number;
1164
+ }[];
1095
1165
  /** @constant */
1096
1166
  type: "commit";
1097
1167
  meta: ({
@@ -1121,6 +1191,12 @@ export interface components {
1121
1191
  id: string | number;
1122
1192
  displayName: string;
1123
1193
  } | null;
1194
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
1195
+ linkedIssueRefs: {
1196
+ source: "github" | "gitlab";
1197
+ projectKey: string;
1198
+ number: string | number;
1199
+ }[];
1124
1200
  /** @constant */
1125
1201
  type: "comment";
1126
1202
  meta: ({
@@ -1151,6 +1227,12 @@ export interface components {
1151
1227
  id: string | number;
1152
1228
  displayName: string;
1153
1229
  } | null;
1230
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
1231
+ linkedIssueRefs: {
1232
+ source: "github" | "gitlab";
1233
+ projectKey: string;
1234
+ number: string | number;
1235
+ }[];
1154
1236
  /** @constant */
1155
1237
  type: "review";
1156
1238
  meta: {
@@ -1177,6 +1259,12 @@ export interface components {
1177
1259
  id: string | number;
1178
1260
  displayName: string;
1179
1261
  } | null;
1262
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
1263
+ linkedIssueRefs: {
1264
+ source: "github" | "gitlab";
1265
+ projectKey: string;
1266
+ number: string | number;
1267
+ }[];
1180
1268
  /** @constant */
1181
1269
  type: "state-transition";
1182
1270
  meta: ({
@@ -1205,6 +1293,12 @@ export interface components {
1205
1293
  id: string | number;
1206
1294
  displayName: string;
1207
1295
  } | null;
1296
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
1297
+ linkedIssueRefs: {
1298
+ source: "github" | "gitlab";
1299
+ projectKey: string;
1300
+ number: string | number;
1301
+ }[];
1208
1302
  /** @constant */
1209
1303
  type: "ci-run";
1210
1304
  meta: ({
@@ -1245,6 +1339,12 @@ export interface components {
1245
1339
  id: string | number;
1246
1340
  displayName: string;
1247
1341
  } | null;
1342
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
1343
+ linkedIssueRefs: {
1344
+ source: "github" | "gitlab";
1345
+ projectKey: string;
1346
+ number: string | number;
1347
+ }[];
1248
1348
  /** @constant */
1249
1349
  type: "ci-pipeline";
1250
1350
  meta: ({
@@ -1385,6 +1485,13 @@ export interface components {
1385
1485
  name: string | null;
1386
1486
  email: string | null;
1387
1487
  }[];
1488
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
1489
+ requestedTeams: {
1490
+ slug: string;
1491
+ name: string;
1492
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
1493
+ members: string[];
1494
+ }[];
1388
1495
  updatedAt: string;
1389
1496
  mergedAt: string | null;
1390
1497
  reviewRequestedAt: string | null;
@@ -1501,6 +1608,12 @@ export interface components {
1501
1608
  }[];
1502
1609
  };
1503
1610
  Provider: "github" | "gitlab";
1611
+ RequestedTeam: {
1612
+ slug: string;
1613
+ name: string;
1614
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
1615
+ members: string[];
1616
+ };
1504
1617
  ResolvedUser: {
1505
1618
  id: string;
1506
1619
  login: string;
@@ -1656,6 +1769,13 @@ export interface components {
1656
1769
  name: string | null;
1657
1770
  email: string | null;
1658
1771
  }[];
1772
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
1773
+ requestedTeams: {
1774
+ slug: string;
1775
+ name: string;
1776
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
1777
+ members: string[];
1778
+ }[];
1659
1779
  updatedAt: string;
1660
1780
  mergedAt: string | null;
1661
1781
  reviewRequestedAt: string | null;
@@ -1834,6 +1954,13 @@ export interface components {
1834
1954
  name: string | null;
1835
1955
  email: string | null;
1836
1956
  }[];
1957
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
1958
+ requestedTeams: {
1959
+ slug: string;
1960
+ name: string;
1961
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
1962
+ members: string[];
1963
+ }[];
1837
1964
  updatedAt: string;
1838
1965
  mergedAt: string | null;
1839
1966
  reviewRequestedAt: string | null;
@@ -2065,6 +2192,13 @@ export interface operations {
2065
2192
  name: string | null;
2066
2193
  email: string | null;
2067
2194
  }[];
2195
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
2196
+ requestedTeams: {
2197
+ slug: string;
2198
+ name: string;
2199
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
2200
+ members: string[];
2201
+ }[];
2068
2202
  updatedAt: string;
2069
2203
  mergedAt: string | null;
2070
2204
  reviewRequestedAt: string | null;
@@ -2247,6 +2381,13 @@ export interface operations {
2247
2381
  name: string | null;
2248
2382
  email: string | null;
2249
2383
  }[];
2384
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
2385
+ requestedTeams: {
2386
+ slug: string;
2387
+ name: string;
2388
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
2389
+ members: string[];
2390
+ }[];
2250
2391
  updatedAt: string;
2251
2392
  mergedAt: string | null;
2252
2393
  reviewRequestedAt: string | null;
@@ -2429,6 +2570,13 @@ export interface operations {
2429
2570
  name: string | null;
2430
2571
  email: string | null;
2431
2572
  }[];
2573
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
2574
+ requestedTeams: {
2575
+ slug: string;
2576
+ name: string;
2577
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
2578
+ members: string[];
2579
+ }[];
2432
2580
  updatedAt: string;
2433
2581
  mergedAt: string | null;
2434
2582
  reviewRequestedAt: string | null;
@@ -2667,6 +2815,13 @@ export interface operations {
2667
2815
  name: string | null;
2668
2816
  email: string | null;
2669
2817
  }[];
2818
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
2819
+ requestedTeams: {
2820
+ slug: string;
2821
+ name: string;
2822
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
2823
+ members: string[];
2824
+ }[];
2670
2825
  updatedAt: string;
2671
2826
  mergedAt: string | null;
2672
2827
  reviewRequestedAt: string | null;
@@ -2844,6 +2999,13 @@ export interface operations {
2844
2999
  name: string | null;
2845
3000
  email: string | null;
2846
3001
  }[];
3002
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
3003
+ requestedTeams: {
3004
+ slug: string;
3005
+ name: string;
3006
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
3007
+ members: string[];
3008
+ }[];
2847
3009
  updatedAt: string;
2848
3010
  mergedAt: string | null;
2849
3011
  reviewRequestedAt: string | null;
@@ -3021,6 +3183,13 @@ export interface operations {
3021
3183
  name: string | null;
3022
3184
  email: string | null;
3023
3185
  }[];
3186
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
3187
+ requestedTeams: {
3188
+ slug: string;
3189
+ name: string;
3190
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
3191
+ members: string[];
3192
+ }[];
3024
3193
  updatedAt: string;
3025
3194
  mergedAt: string | null;
3026
3195
  reviewRequestedAt: string | null;
@@ -3271,6 +3440,12 @@ export interface operations {
3271
3440
  id: string | number;
3272
3441
  displayName: string;
3273
3442
  } | null;
3443
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3444
+ linkedIssueRefs: {
3445
+ source: "github" | "gitlab";
3446
+ projectKey: string;
3447
+ number: string | number;
3448
+ }[];
3274
3449
  /** @constant */
3275
3450
  type: "commit";
3276
3451
  meta: ({
@@ -3300,6 +3475,12 @@ export interface operations {
3300
3475
  id: string | number;
3301
3476
  displayName: string;
3302
3477
  } | null;
3478
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3479
+ linkedIssueRefs: {
3480
+ source: "github" | "gitlab";
3481
+ projectKey: string;
3482
+ number: string | number;
3483
+ }[];
3303
3484
  /** @constant */
3304
3485
  type: "comment";
3305
3486
  meta: ({
@@ -3330,6 +3511,12 @@ export interface operations {
3330
3511
  id: string | number;
3331
3512
  displayName: string;
3332
3513
  } | null;
3514
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3515
+ linkedIssueRefs: {
3516
+ source: "github" | "gitlab";
3517
+ projectKey: string;
3518
+ number: string | number;
3519
+ }[];
3333
3520
  /** @constant */
3334
3521
  type: "review";
3335
3522
  meta: {
@@ -3356,6 +3543,12 @@ export interface operations {
3356
3543
  id: string | number;
3357
3544
  displayName: string;
3358
3545
  } | null;
3546
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3547
+ linkedIssueRefs: {
3548
+ source: "github" | "gitlab";
3549
+ projectKey: string;
3550
+ number: string | number;
3551
+ }[];
3359
3552
  /** @constant */
3360
3553
  type: "state-transition";
3361
3554
  meta: ({
@@ -3384,6 +3577,12 @@ export interface operations {
3384
3577
  id: string | number;
3385
3578
  displayName: string;
3386
3579
  } | null;
3580
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3581
+ linkedIssueRefs: {
3582
+ source: "github" | "gitlab";
3583
+ projectKey: string;
3584
+ number: string | number;
3585
+ }[];
3387
3586
  /** @constant */
3388
3587
  type: "ci-run";
3389
3588
  meta: ({
@@ -3424,6 +3623,12 @@ export interface operations {
3424
3623
  id: string | number;
3425
3624
  displayName: string;
3426
3625
  } | null;
3626
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3627
+ linkedIssueRefs: {
3628
+ source: "github" | "gitlab";
3629
+ projectKey: string;
3630
+ number: string | number;
3631
+ }[];
3427
3632
  /** @constant */
3428
3633
  type: "ci-pipeline";
3429
3634
  meta: ({
@@ -3464,6 +3669,12 @@ export interface operations {
3464
3669
  id: string | number;
3465
3670
  displayName: string;
3466
3671
  } | null;
3672
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3673
+ linkedIssueRefs: {
3674
+ source: "github" | "gitlab";
3675
+ projectKey: string;
3676
+ number: string | number;
3677
+ }[];
3467
3678
  /** @constant */
3468
3679
  type: "commit";
3469
3680
  meta: ({
@@ -3493,6 +3704,12 @@ export interface operations {
3493
3704
  id: string | number;
3494
3705
  displayName: string;
3495
3706
  } | null;
3707
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3708
+ linkedIssueRefs: {
3709
+ source: "github" | "gitlab";
3710
+ projectKey: string;
3711
+ number: string | number;
3712
+ }[];
3496
3713
  /** @constant */
3497
3714
  type: "comment";
3498
3715
  meta: ({
@@ -3523,6 +3740,12 @@ export interface operations {
3523
3740
  id: string | number;
3524
3741
  displayName: string;
3525
3742
  } | null;
3743
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3744
+ linkedIssueRefs: {
3745
+ source: "github" | "gitlab";
3746
+ projectKey: string;
3747
+ number: string | number;
3748
+ }[];
3526
3749
  /** @constant */
3527
3750
  type: "review";
3528
3751
  meta: {
@@ -3549,6 +3772,12 @@ export interface operations {
3549
3772
  id: string | number;
3550
3773
  displayName: string;
3551
3774
  } | null;
3775
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3776
+ linkedIssueRefs: {
3777
+ source: "github" | "gitlab";
3778
+ projectKey: string;
3779
+ number: string | number;
3780
+ }[];
3552
3781
  /** @constant */
3553
3782
  type: "state-transition";
3554
3783
  meta: ({
@@ -3577,6 +3806,12 @@ export interface operations {
3577
3806
  id: string | number;
3578
3807
  displayName: string;
3579
3808
  } | null;
3809
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3810
+ linkedIssueRefs: {
3811
+ source: "github" | "gitlab";
3812
+ projectKey: string;
3813
+ number: string | number;
3814
+ }[];
3580
3815
  /** @constant */
3581
3816
  type: "ci-run";
3582
3817
  meta: ({
@@ -3617,6 +3852,12 @@ export interface operations {
3617
3852
  id: string | number;
3618
3853
  displayName: string;
3619
3854
  } | null;
3855
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3856
+ linkedIssueRefs: {
3857
+ source: "github" | "gitlab";
3858
+ projectKey: string;
3859
+ number: string | number;
3860
+ }[];
3620
3861
  /** @constant */
3621
3862
  type: "ci-pipeline";
3622
3863
  meta: ({
@@ -3657,6 +3898,12 @@ export interface operations {
3657
3898
  id: string | number;
3658
3899
  displayName: string;
3659
3900
  } | null;
3901
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3902
+ linkedIssueRefs: {
3903
+ source: "github" | "gitlab";
3904
+ projectKey: string;
3905
+ number: string | number;
3906
+ }[];
3660
3907
  /** @constant */
3661
3908
  type: "commit";
3662
3909
  meta: ({
@@ -3686,6 +3933,12 @@ export interface operations {
3686
3933
  id: string | number;
3687
3934
  displayName: string;
3688
3935
  } | null;
3936
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3937
+ linkedIssueRefs: {
3938
+ source: "github" | "gitlab";
3939
+ projectKey: string;
3940
+ number: string | number;
3941
+ }[];
3689
3942
  /** @constant */
3690
3943
  type: "comment";
3691
3944
  meta: ({
@@ -3716,6 +3969,12 @@ export interface operations {
3716
3969
  id: string | number;
3717
3970
  displayName: string;
3718
3971
  } | null;
3972
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
3973
+ linkedIssueRefs: {
3974
+ source: "github" | "gitlab";
3975
+ projectKey: string;
3976
+ number: string | number;
3977
+ }[];
3719
3978
  /** @constant */
3720
3979
  type: "review";
3721
3980
  meta: {
@@ -3742,6 +4001,12 @@ export interface operations {
3742
4001
  id: string | number;
3743
4002
  displayName: string;
3744
4003
  } | null;
4004
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
4005
+ linkedIssueRefs: {
4006
+ source: "github" | "gitlab";
4007
+ projectKey: string;
4008
+ number: string | number;
4009
+ }[];
3745
4010
  /** @constant */
3746
4011
  type: "state-transition";
3747
4012
  meta: ({
@@ -3770,6 +4035,12 @@ export interface operations {
3770
4035
  id: string | number;
3771
4036
  displayName: string;
3772
4037
  } | null;
4038
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
4039
+ linkedIssueRefs: {
4040
+ source: "github" | "gitlab";
4041
+ projectKey: string;
4042
+ number: string | number;
4043
+ }[];
3773
4044
  /** @constant */
3774
4045
  type: "ci-run";
3775
4046
  meta: ({
@@ -3810,6 +4081,12 @@ export interface operations {
3810
4081
  id: string | number;
3811
4082
  displayName: string;
3812
4083
  } | null;
4084
+ /** @description Issues linked to this event's PARENT activity — not to the event itself, which carries no links of its own. Same window-independent semantic as Activity.linkedIssueRefs (git_activity_links, forward + reverse). Always empty for a parentless event such as a commit. Lets a CRA consumer dedupe its orphans in a single pass over /v1/events, with no join against /v1/activities. */
4085
+ linkedIssueRefs: {
4086
+ source: "github" | "gitlab";
4087
+ projectKey: string;
4088
+ number: string | number;
4089
+ }[];
3813
4090
  /** @constant */
3814
4091
  type: "ci-pipeline";
3815
4092
  meta: ({
@@ -3947,7 +4224,14 @@ export interface operations {
3947
4224
  name: string | null;
3948
4225
  email: string | null;
3949
4226
  }[];
3950
- /** @description True when the activity is open AND has at least one requested reviewer who has not yet responded. Always false for issues. */
4227
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab and for issues). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts. A consumer deciding whether a PR is waiting on someone must read BOTH — a PR asked only of a team has an empty `requestedReviewers`. */
4228
+ requestedTeams: {
4229
+ slug: string;
4230
+ name: string;
4231
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
4232
+ members: string[];
4233
+ }[];
4234
+ /** @description True when the activity is open AND a review is still awaited — from a named reviewer who has not responded, OR from a requested team. Always false for issues. */
3951
4235
  awaitingReview: boolean;
3952
4236
  reviewRequestedAt: string | null;
3953
4237
  /** @description Review lifecycle bucket, or null for issues — an issue is not under review, so no bucket applies. Pass ?viewer to split 'open-awaiting-my-review' from 'open-awaiting-other-review'; without it, a pending review always reads as 'open-awaiting-other-review'. */
@@ -3996,7 +4280,14 @@ export interface operations {
3996
4280
  name: string | null;
3997
4281
  email: string | null;
3998
4282
  }[];
3999
- /** @description True when the activity is open AND has at least one requested reviewer who has not yet responded. Always false for issues. */
4283
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab and for issues). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts. A consumer deciding whether a PR is waiting on someone must read BOTH — a PR asked only of a team has an empty `requestedReviewers`. */
4284
+ requestedTeams: {
4285
+ slug: string;
4286
+ name: string;
4287
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
4288
+ members: string[];
4289
+ }[];
4290
+ /** @description True when the activity is open AND a review is still awaited — from a named reviewer who has not responded, OR from a requested team. Always false for issues. */
4000
4291
  awaitingReview: boolean;
4001
4292
  reviewRequestedAt: string | null;
4002
4293
  /** @description Review lifecycle bucket, or null for issues — an issue is not under review, so no bucket applies. Pass ?viewer to split 'open-awaiting-my-review' from 'open-awaiting-other-review'; without it, a pending review always reads as 'open-awaiting-other-review'. */
@@ -4045,7 +4336,14 @@ export interface operations {
4045
4336
  name: string | null;
4046
4337
  email: string | null;
4047
4338
  }[];
4048
- /** @description True when the activity is open AND has at least one requested reviewer who has not yet responded. Always false for issues. */
4339
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab and for issues). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts. A consumer deciding whether a PR is waiting on someone must read BOTH — a PR asked only of a team has an empty `requestedReviewers`. */
4340
+ requestedTeams: {
4341
+ slug: string;
4342
+ name: string;
4343
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
4344
+ members: string[];
4345
+ }[];
4346
+ /** @description True when the activity is open AND a review is still awaited — from a named reviewer who has not responded, OR from a requested team. Always false for issues. */
4049
4347
  awaitingReview: boolean;
4050
4348
  reviewRequestedAt: string | null;
4051
4349
  /** @description Review lifecycle bucket, or null for issues — an issue is not under review, so no bucket applies. Pass ?viewer to split 'open-awaiting-my-review' from 'open-awaiting-other-review'; without it, a pending review always reads as 'open-awaiting-other-review'. */
@@ -4200,6 +4498,13 @@ export interface operations {
4200
4498
  name: string | null;
4201
4499
  email: string | null;
4202
4500
  }[];
4501
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
4502
+ requestedTeams: {
4503
+ slug: string;
4504
+ name: string;
4505
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
4506
+ members: string[];
4507
+ }[];
4203
4508
  updatedAt: string;
4204
4509
  mergedAt: string | null;
4205
4510
  reviewRequestedAt: string | null;
@@ -4415,6 +4720,13 @@ export interface operations {
4415
4720
  name: string | null;
4416
4721
  email: string | null;
4417
4722
  }[];
4723
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
4724
+ requestedTeams: {
4725
+ slug: string;
4726
+ name: string;
4727
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
4728
+ members: string[];
4729
+ }[];
4418
4730
  updatedAt: string;
4419
4731
  mergedAt: string | null;
4420
4732
  reviewRequestedAt: string | null;
@@ -4630,6 +4942,13 @@ export interface operations {
4630
4942
  name: string | null;
4631
4943
  email: string | null;
4632
4944
  }[];
4945
+ /** @description Teams asked to review (GH `requested_teams`; always empty on GitLab, which has no such notion). Kept SEPARATE from `requestedReviewers` on purpose: 'you were asked' and 'your team was asked' are different facts, and folding members into the reviewer list would make that field lie about what the provider holds. A PR asked of a team only counts as awaiting review through this field. */
4946
+ requestedTeams: {
4947
+ slug: string;
4948
+ name: string;
4949
+ /** @description Logins of the team's members, resolved at sync time. EMPTY does not mean the team is empty: the token may lack `read:org`, or the team may have been renamed or removed. The team itself is what tells you the PR was addressed — treat missing members as unknown, never as nobody. */
4950
+ members: string[];
4951
+ }[];
4633
4952
  updatedAt: string;
4634
4953
  mergedAt: string | null;
4635
4954
  reviewRequestedAt: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cesar-richard/git-connector-sdk",
3
- "version": "2.10.1",
3
+ "version": "2.11.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": {