faros-airbyte-common 0.10.8 → 0.10.9

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.
@@ -7277,9 +7277,9 @@ export type CommitFieldsFragment = {
7277
7277
  name?: string | null;
7278
7278
  email?: string | null;
7279
7279
  user?: {
7280
- __typename: 'User';
7281
7280
  login: string;
7282
7281
  url: string;
7282
+ type: 'User';
7283
7283
  } | null;
7284
7284
  } | null;
7285
7285
  committer?: {
@@ -7318,9 +7318,9 @@ export type CommitsChangedFilesIfAvailableQuery = {
7318
7318
  name?: string | null;
7319
7319
  email?: string | null;
7320
7320
  user?: {
7321
- __typename: 'User';
7322
7321
  login: string;
7323
7322
  url: string;
7323
+ type: 'User';
7324
7324
  } | null;
7325
7325
  } | null;
7326
7326
  committer?: {
@@ -7368,9 +7368,9 @@ export type CommitsChangedFilesQuery = {
7368
7368
  name?: string | null;
7369
7369
  email?: string | null;
7370
7370
  user?: {
7371
- __typename: 'User';
7372
7371
  login: string;
7373
7372
  url: string;
7373
+ type: 'User';
7374
7374
  } | null;
7375
7375
  } | null;
7376
7376
  committer?: {
@@ -7417,9 +7417,9 @@ export type CommitsQuery = {
7417
7417
  name?: string | null;
7418
7418
  email?: string | null;
7419
7419
  user?: {
7420
- __typename: 'User';
7421
7420
  login: string;
7422
7421
  url: string;
7422
+ type: 'User';
7423
7423
  } | null;
7424
7424
  } | null;
7425
7425
  committer?: {
@@ -19,12 +19,11 @@ export type PullRequest = {
19
19
  };
20
20
  export type PullRequestLabel = PullRequestNode['labels']['nodes'][0];
21
21
  export type PullRequestFile = PullRequestNode['files']['nodes'][0];
22
+ type PullRequestCommentNode = GetResponseDataTypeFromEndpointMethod<typeof octokit.pulls.listReviewCommentsForRepo>[0];
22
23
  export type PullRequestComment = {
23
24
  repository: string;
24
- user: {
25
- login: string;
26
- };
27
- } & Pick<GetResponseDataTypeFromEndpointMethod<typeof octokit.pulls.listReviewCommentsForRepo>[0], 'id' | 'body' | 'created_at' | 'updated_at' | 'pull_request_url'>;
25
+ user: Pick<PullRequestCommentNode['user'], 'login' | 'name' | 'email' | 'html_url' | 'type'>;
26
+ } & Pick<PullRequestCommentNode, 'id' | 'body' | 'created_at' | 'updated_at' | 'pull_request_url'>;
28
27
  export type PullRequestReview = PullRequestNode['reviews']['nodes'][0];
29
28
  export type PullRequestReviewRequest = PullRequestNode['reviewRequests']['nodes'][0];
30
29
  export type Label = {
@@ -64,6 +63,12 @@ export type Tag = {
64
63
  export type TagsQueryCommitNode = Extract<RepoTagsQuery['repository']['refs']['nodes'][0]['target'], {
65
64
  type: 'Commit';
66
65
  }>;
66
+ type ReleaseNode = GetResponseDataTypeFromEndpointMethod<typeof octokit.repos.listReleases>[0];
67
+ export type Release = {
68
+ repository: string;
69
+ html_url: string;
70
+ author: Pick<ReleaseNode['author'], 'login' | 'name' | 'email' | 'html_url' | 'type'>;
71
+ } & Pick<ReleaseNode, 'id' | 'name' | 'body' | 'draft' | 'created_at' | 'published_at' | 'tag_name'>;
67
72
  export type CopilotSeatsStreamRecord = CopilotSeat | CopilotSeatEnded | CopilotSeatsEmpty;
68
73
  export type CopilotSeat = {
69
74
  empty?: never;
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/github/types.ts"],"names":[],"mappings":";;;AAAA,wCAAsC;AAWtC,MAAM,OAAO,GAAY,IAAI,cAAO,EAAE,CAAC;AA6JvC,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;AAWtC,MAAM,OAAO,GAAY,IAAI,cAAO,EAAE,CAAC;AAkLvC,IAAY,UAEX;AAFD,WAAY,UAAU;IACpB,uCAAyB,CAAA;AAC3B,CAAC,EAFW,UAAU,0BAAV,UAAU,QAErB"}