faros-airbyte-common 0.18.16 → 0.18.18

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.
@@ -14,6 +14,7 @@ import { IPipelinesApi } from 'azure-devops-node-api/PipelinesApi';
14
14
  import { IReleaseApi } from 'azure-devops-node-api/ReleaseApi';
15
15
  import { ITestApi } from 'azure-devops-node-api/TestApi';
16
16
  import { IWorkItemTrackingApi } from 'azure-devops-node-api/WorkItemTrackingApi';
17
+ import { RoundRobinConfig } from '../common/bucketing';
17
18
  export type DevOpsCloud = {
18
19
  type: 'cloud';
19
20
  };
@@ -22,7 +23,7 @@ export type DevOpsServer = {
22
23
  api_url: string;
23
24
  };
24
25
  export type AzureDevOpsInstance = DevOpsCloud | DevOpsServer;
25
- export interface AzureDevOpsConfig {
26
+ export interface AzureDevOpsConfig extends RoundRobinConfig {
26
27
  readonly instance?: AzureDevOpsInstance;
27
28
  readonly access_token: string;
28
29
  readonly organization: string;
@@ -1,4 +1,4 @@
1
- import { Camelize, CommitSchema, DeploymentSchema, EventSchema, GroupSchema, IssueSchema, MergeRequestSchema, NoteSchema, ProjectSchema, ReleaseSchema, TagSchema, UserSchema } from '@gitbeaker/rest';
1
+ import { Camelize, CommitSchema, DeploymentSchema, EventSchema, GroupSchema, IssueSchema, MergeRequestSchema, NoteSchema, PipelineSchema, ProjectSchema, ReleaseSchema, TagSchema, UserSchema } from '@gitbeaker/rest';
2
2
  export type FarosProjectOutput = {
3
3
  readonly __brand: 'FarosProject';
4
4
  id: string;
@@ -71,3 +71,9 @@ export type FarosDeploymentOutput = {
71
71
  group_id: string;
72
72
  project_path: string;
73
73
  } & Pick<DeploymentSchema, 'id' | 'iid' | 'ref' | 'sha' | 'user' | 'created_at' | 'updated_at' | 'status' | 'deployable' | 'environment'>;
74
+ export type FarosPipelineOutput = {
75
+ readonly __brand: 'FarosPipeline';
76
+ group_id: string;
77
+ project_path: string;
78
+ project_id: string;
79
+ } & Pick<PipelineSchema, 'id' | 'iid' | 'sha' | 'ref' | 'status' | 'source' | 'created_at' | 'updated_at' | 'started_at' | 'finished_at' | 'duration' | 'web_url' | 'user' | 'tag'>;