faros-airbyte-common 0.22.11 → 0.22.12

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.
@@ -295,11 +295,16 @@ export interface PipelineStepState {
295
295
  readonly name: string;
296
296
  };
297
297
  }
298
- export interface PullRequestOrActivity {
299
- readonly type: 'PullRequest' | 'PullRequestActivity';
300
- readonly pullRequest?: PullRequest;
301
- readonly activity?: PRActivity;
302
- }
298
+ export type PullRequestOrActivity = {
299
+ readonly type: 'PullRequest';
300
+ readonly pullRequest: PullRequest;
301
+ } | {
302
+ readonly type: 'PullRequestActivity';
303
+ readonly pullRequest: {
304
+ readonly id: number;
305
+ };
306
+ readonly activity: PRActivity;
307
+ };
303
308
  export interface PullRequest {
304
309
  readonly description: string;
305
310
  readonly title: string;