faros-airbyte-common 0.10.20 → 0.10.22

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.
@@ -588,57 +588,18 @@ export interface PRDiffStat {
588
588
  };
589
589
  }
590
590
  export interface Repository {
591
- readonly scm: string;
592
- readonly website: string;
593
- readonly hasWiki: boolean;
594
- readonly uuid: string;
595
- readonly forkPolicy: string;
596
- readonly fullName: string;
597
- readonly name: string;
598
- readonly language: string;
599
- readonly createdOn: string;
600
- readonly hasIssues: boolean;
601
- readonly updatedOn: string;
602
- readonly size: number;
603
- readonly type: string;
604
- readonly slug: string;
605
- readonly isPrivate: boolean;
606
- readonly description: string;
607
- readonly links: {
608
- readonly branchesUrl: string;
609
- readonly htmlUrl: string;
610
- };
611
- readonly project: {
612
- readonly type: string;
613
- readonly name: string;
614
- readonly slug: string;
615
- readonly key: string;
616
- readonly uuid: string;
617
- readonly links: {
618
- readonly htmlUrl: string;
619
- };
620
- };
621
- readonly mainBranch: {
622
- readonly type: string;
623
- readonly name: string;
624
- };
625
- readonly workspace: {
626
- readonly type: string;
627
- readonly name: string;
628
- readonly slug: string;
629
- readonly uuid: string;
630
- readonly links: {
631
- readonly htmlUrl: string;
632
- };
633
- };
634
- readonly owner: {
635
- readonly displayName: string;
636
- readonly type: string;
637
- readonly uuid: string;
638
- readonly links: {
639
- readonly htmlUrl: string;
640
- };
641
- };
591
+ workspace: string;
592
+ slug: string;
593
+ fullName: string;
594
+ description: string;
595
+ isPrivate: boolean;
596
+ language: string;
597
+ size: number;
598
+ htmlUrl: string;
599
+ createdOn: string;
600
+ updatedOn: string;
601
+ mainBranch: string;
602
+ hasIssues: boolean;
642
603
  }
643
604
  export interface WorkspaceUser {
644
605
  readonly type: string;
@@ -6,7 +6,7 @@ export type AppInstallation = GetResponseDataTypeFromEndpointMethod<typeof octok
6
6
  export type Organization = Pick<GetResponseDataTypeFromEndpointMethod<typeof octokit.orgs.get>, 'login' | 'name' | 'type' | 'html_url' | 'created_at' | 'updated_at'>;
7
7
  export type Repository = {
8
8
  org: string;
9
- } & Pick<GetResponseDataTypeFromEndpointMethod<typeof octokit.repos.listForOrg>[0], 'name' | 'full_name' | 'private' | 'description' | 'language' | 'size' | 'default_branch' | 'html_url' | 'topics' | 'created_at' | 'updated_at'>;
9
+ } & Pick<GetResponseDataTypeFromEndpointMethod<typeof octokit.repos.listForOrg>[0], 'name' | 'full_name' | 'private' | 'description' | 'language' | 'size' | 'default_branch' | 'html_url' | 'topics' | 'created_at' | 'updated_at' | 'archived'>;
10
10
  export type PullRequestNode = PullRequestsQuery['repository']['pullRequests']['nodes'][0];
11
11
  export type PullRequest = {
12
12
  org: string;
@@ -132,4 +132,23 @@ export type ContributorStats = {
132
132
  c?: number;
133
133
  }[];
134
134
  };
135
+ export type CodeScanningAlert = {
136
+ org: string;
137
+ repo: string;
138
+ } & Omit<GetResponseDataTypeFromEndpointMethod<typeof octokit.codeScanning.listAlertsForRepo>[0], 'dismissed_by'> & {
139
+ dismissed_by: string | null;
140
+ };
141
+ export type DependabotAlert = {
142
+ org: string;
143
+ repo: string;
144
+ } & Omit<GetResponseDataTypeFromEndpointMethod<typeof octokit.dependabot.listAlertsForRepo>[0], 'dismissed_by'> & {
145
+ dismissed_by: string | null;
146
+ };
147
+ export type SecretScanningAlert = {
148
+ org: string;
149
+ repo: string;
150
+ } & Omit<GetResponseDataTypeFromEndpointMethod<typeof octokit.secretScanning.listAlertsForRepo>[0], 'resolved_by' | 'push_protection_bypassed_by'> & {
151
+ resolved_by: string | null;
152
+ push_protection_bypassed_by: string | null;
153
+ };
135
154
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/github/types.ts"],"names":[],"mappings":";;;AAAA,wCAAsC;AActC,MAAM,OAAO,GAAY,IAAI,cAAO,EAAE,CAAC;AAqMvC,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,uCAAyB,CAAA;AAC3B,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/github/types.ts"],"names":[],"mappings":";;;AAAA,wCAAsC;AActC,MAAM,OAAO,GAAY,IAAI,cAAO,EAAE,CAAC;AAsMvC,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,uCAAyB,CAAA;AAC3B,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB"}