@gitkraken/provider-apis 0.25.8 → 0.25.10

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.
@@ -1,5 +1,5 @@
1
1
  import { type Account } from '../types/exportedTypes/gitProvider';
2
- import type { ActionablePullRequest, CodeSuggestionsCountByPrUuid, EnrichedItemsByUniqueId, OrganizationMemberIdentitiesMap, OrganizationMemberIdentityPrProvider, PullRequestBuckets, PullRequestGroupByCategory, PullRequestWithUniqueID, Team, Workspace } from '../types/exportedTypes/types';
2
+ import type { ActionablePullRequest, BucketPriorityOverride, CodeSuggestionsCountByPrUuid, EnrichedItemsByUniqueId, OrganizationMemberIdentitiesMap, OrganizationMemberIdentityPrProvider, PullRequestBuckets, PullRequestGroupByCategory, PullRequestWithUniqueID, Team, Workspace } from '../types/exportedTypes/types';
3
3
  export declare const PINNED_BUCKET_ID = "pinned";
4
4
  export declare const READY_TO_MERGE_BUCKET_ID = "readyToMerge";
5
5
  export declare const UNASSIGNED_REVIEWERS_BUCKET_ID = "unassignedReviewers";
@@ -29,6 +29,7 @@ export declare const getActionablePullRequests: (pullRequests: PullRequestWithUn
29
29
  export declare const groupPullRequestsIntoBuckets: (pullRequests: PullRequestWithUniqueID[], currentUser: Pick<Account, 'id'> | null, options?: {
30
30
  enrichedItemsByUniqueId?: EnrichedItemsByUniqueId;
31
31
  codeSuggestionsCountByPrUuid?: CodeSuggestionsCountByPrUuid;
32
+ bucketPriorityOverride?: BucketPriorityOverride;
32
33
  }) => PullRequestBuckets;
33
34
  /**
34
35
  *
@@ -0,0 +1,5 @@
1
+ import { GraphQLError } from '../types/exportedTypes/types';
2
+ export declare class GraphQLErrors extends Error {
3
+ graphQLErrors: GraphQLError[];
4
+ constructor(message: string, graphQLErrors: GraphQLError[] | undefined);
5
+ }
@@ -79,8 +79,8 @@ export declare class GitHub extends EnterpriseProvider implements GitProvider, I
79
79
  org: string;
80
80
  } & CursorPageInput, options?: EnterpriseOptions): Promise<{
81
81
  pageInfo: {
82
- endCursor: string | null;
83
82
  hasNextPage: boolean;
83
+ endCursor: string | null;
84
84
  };
85
85
  data: Pick<Account, keyof Account>[];
86
86
  }>;
@@ -108,6 +108,7 @@ export type CodeSuggestionsCountByPrUuid = {
108
108
  count: number;
109
109
  };
110
110
  };
111
+ export type BucketPriorityOverride = Partial<Record<PullRequestBucketID, number>>;
111
112
  export type EnrichedItem = {
112
113
  id: string;
113
114
  userId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitkraken/provider-apis",
3
- "version": "0.25.8",
3
+ "version": "0.25.10",
4
4
  "description": "An SDK around different third-party APIs that accepts and returns data in a common format.",
5
5
  "author": "Axosoft, LLC dba GitKraken",
6
6
  "license": "SEE LICENSE IN LICENSE",