faros-airbyte-common 0.14.0-rc0 → 0.14.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.
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./types"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/circleci/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -0,0 +1,86 @@
1
+ export interface Project {
2
+ slug: string;
3
+ organization_name: string;
4
+ organization_id: string;
5
+ name: string;
6
+ id: string;
7
+ organization_slug: string;
8
+ vcs_info: VcsInfo;
9
+ }
10
+ export interface VcsInfo {
11
+ vcs_url: string;
12
+ provider: string;
13
+ default_branch: string;
14
+ }
15
+ export interface Actor {
16
+ login: string;
17
+ avatar_url: string;
18
+ }
19
+ export interface Trigger {
20
+ received_at: Date;
21
+ type: string;
22
+ actor: Actor;
23
+ }
24
+ export interface Vcs {
25
+ origin_repository_url: string;
26
+ target_repository_url: string;
27
+ revision: string;
28
+ provider_name: string;
29
+ branch: string;
30
+ }
31
+ export interface Pipeline {
32
+ id: string;
33
+ errors: any[];
34
+ project_slug: string;
35
+ updated_at: string;
36
+ number: number;
37
+ state: string;
38
+ created_at: string;
39
+ trigger: Trigger;
40
+ vcs: Vcs;
41
+ workflows: Workflow[];
42
+ computedProperties: {
43
+ updatedAt: string;
44
+ };
45
+ }
46
+ export interface Workflow {
47
+ pipeline_id: string;
48
+ id: string;
49
+ name: string;
50
+ project_slug: string;
51
+ status: string;
52
+ started_by: string;
53
+ pipeline_number: number;
54
+ created_at: string;
55
+ stopped_at: string;
56
+ jobs: Job[];
57
+ }
58
+ export interface Job {
59
+ dependencies: any[];
60
+ job_number: number;
61
+ id: string;
62
+ started_at: string;
63
+ name: string;
64
+ project_slug: string;
65
+ status: string;
66
+ type: string;
67
+ stopped_at: string;
68
+ }
69
+ export interface TestMetadata {
70
+ pipeline_id: string;
71
+ pipeline_vcs: Vcs;
72
+ project_slug: string;
73
+ workflow_id: string;
74
+ workflow_name: string;
75
+ job_id: string;
76
+ job_number: number;
77
+ job_started_at: string;
78
+ job_stopped_at: string;
79
+ message: string;
80
+ source: string;
81
+ run_time: number;
82
+ file: string;
83
+ result: string;
84
+ name: string;
85
+ classname: string;
86
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/circleci/types.ts"],"names":[],"mappings":""}
@@ -90,6 +90,7 @@ export interface Sprint extends AgileModels.Sprint {
90
90
  export interface SprintReport {
91
91
  readonly sprintId: number;
92
92
  readonly boardId: string;
93
+ readonly projectKey?: string;
93
94
  readonly completeDate: Date;
94
95
  readonly issues: SprintIssue[];
95
96
  }
@@ -114,6 +115,9 @@ export interface Board extends AgileModels.Board {
114
115
  projectKey: string;
115
116
  issueSync: boolean;
116
117
  }
118
+ export interface Project extends Version2Models.Project {
119
+ issueSync: boolean;
120
+ }
117
121
  export interface ProjectVersion extends Version2Models.Version {
118
122
  projectKey: string;
119
123
  }