faros-airbyte-common 0.10.29 → 0.10.31

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.
@@ -149,11 +149,6 @@ export interface DeploymentsState {
149
149
  readonly name: string;
150
150
  };
151
151
  }
152
- export interface DiffStat {
153
- readonly linesAdded: number;
154
- readonly linesDeleted: number;
155
- readonly filesChanged: number;
156
- }
157
152
  export interface Environment {
158
153
  readonly name: string;
159
154
  readonly environmentLockEnabled: boolean;
@@ -180,55 +175,6 @@ export interface Environment {
180
175
  readonly rank: number;
181
176
  };
182
177
  }
183
- export interface Issue {
184
- readonly priority: string;
185
- readonly kind: string;
186
- readonly title: string;
187
- readonly state: string;
188
- readonly createdOn: string;
189
- readonly updatedOn: string;
190
- readonly type: string;
191
- readonly votes: number;
192
- readonly watches: number;
193
- readonly id: number;
194
- readonly component: any;
195
- readonly version: any;
196
- readonly editedOn: any;
197
- readonly milestone: any;
198
- readonly repository: {
199
- readonly type: string;
200
- readonly name: string;
201
- readonly fullName: string;
202
- readonly uuid: string;
203
- readonly links: {
204
- readonly htmlUrl: string;
205
- };
206
- };
207
- readonly links: {
208
- readonly attachmentsUrl: string;
209
- readonly watchUrl: string;
210
- readonly commentsUrl: string;
211
- readonly htmlUrl: string;
212
- readonly voteUrl: string;
213
- };
214
- readonly reporter: {
215
- readonly displayName: string;
216
- readonly uuid: string;
217
- readonly type: string;
218
- readonly nickname: string;
219
- readonly accountId: string;
220
- readonly links: {
221
- readonly htmlUrl: string;
222
- };
223
- };
224
- readonly content: {
225
- readonly raw: string;
226
- readonly markup: string;
227
- readonly html: string;
228
- readonly type: string;
229
- };
230
- assignee: User;
231
- }
232
178
  export interface User {
233
179
  readonly displayName: string;
234
180
  readonly emailAddress?: string;
@@ -349,6 +295,11 @@ export interface PipelineStepState {
349
295
  readonly name: string;
350
296
  };
351
297
  }
298
+ export interface PullRequestOrActivity {
299
+ readonly type: 'PullRequest' | 'PullRequestActivity';
300
+ readonly pullRequest?: PullRequest;
301
+ readonly activity?: PRActivity;
302
+ }
352
303
  export interface PullRequest {
353
304
  readonly description: string;
354
305
  readonly title: string;
@@ -361,7 +312,7 @@ export interface PullRequest {
361
312
  readonly id: number;
362
313
  readonly commentCount: number;
363
314
  readonly taskCount: number;
364
- readonly diffStat?: DiffStat;
315
+ readonly diffStats?: ReadonlyArray<PRDiffStat>;
365
316
  readonly calculatedActivity?: CalculatedActivity;
366
317
  readonly links: {
367
318
  readonly declineUrl: string;
@@ -426,10 +377,6 @@ export interface PullRequest {
426
377
  readonly author: User;
427
378
  readonly mergeCommit: null | {
428
379
  readonly hash: string;
429
- readonly type: string;
430
- readonly links: {
431
- readonly htmlUrl: string;
432
- };
433
380
  };
434
381
  readonly closedBy: null | User;
435
382
  }
@@ -543,15 +490,16 @@ export interface PRActivity {
543
490
  }
544
491
  export interface PRDiffStat {
545
492
  readonly status: string;
546
- readonly old: any;
547
493
  readonly linesRemoved: number;
548
494
  readonly linesAdded: number;
549
- readonly type: string;
495
+ readonly old: {
496
+ readonly path: string;
497
+ readonly escapedPath: string;
498
+ } | null;
550
499
  readonly new: {
551
500
  readonly path: string;
552
501
  readonly escapedPath: string;
553
- readonly type: string;
554
- };
502
+ } | null;
555
503
  }
556
504
  export interface Repository {
557
505
  workspace: string;
@@ -565,7 +513,16 @@ export interface Repository {
565
513
  createdOn: string;
566
514
  updatedOn: string;
567
515
  mainBranch: string;
568
- hasIssues: boolean;
516
+ }
517
+ export interface Tag {
518
+ name: string;
519
+ message: string;
520
+ target: {
521
+ hash: string;
522
+ };
523
+ repository: {
524
+ fullName: string;
525
+ };
569
526
  }
570
527
  export interface WorkspaceUser {
571
528
  readonly user: User;