@gitkraken/provider-apis 0.27.4 → 0.28.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.
@@ -1,4 +1,4 @@
1
- import { EnterpriseOptions, NumberedPageInput, SetLabelInput } from '../../types/exportedTypes/gitProvider';
1
+ import { CursorPageInput, EnterpriseOptions, SetLabelInput } from '../../types/exportedTypes/gitProvider';
2
2
  import { SetIssueInput, SetStatusInput } from '../../types/exportedTypes/issueProvider';
3
3
  import { SetComponentInput } from '../../types/exportedTypes/jira';
4
4
  import { IssueProvider } from '../issueProvider';
@@ -35,11 +35,11 @@ export declare class JiraServer extends EnterpriseProvider implements IssueProvi
35
35
  mentionLogin?: string;
36
36
  labelNames?: string[];
37
37
  resourceUrl?: string;
38
- } & NumberedPageInput, options?: EnterpriseOptions): Promise<{
38
+ } & CursorPageInput, options?: EnterpriseOptions): Promise<{
39
39
  data: import("../../types/exportedTypes/issueProvider").Issue[];
40
40
  pageInfo: {
41
41
  hasNextPage: boolean;
42
- nextPage: number | null;
42
+ endCursor: string | null;
43
43
  };
44
44
  }>;
45
45
  getIssuesForProjects(input: {
@@ -49,21 +49,21 @@ export declare class JiraServer extends EnterpriseProvider implements IssueProvi
49
49
  mentionLogin?: string;
50
50
  labelNames?: string[];
51
51
  resourceUrl?: string;
52
- } & NumberedPageInput, options?: EnterpriseOptions): Promise<{
52
+ } & CursorPageInput, options?: EnterpriseOptions): Promise<{
53
53
  data: import("../../types/exportedTypes/issueProvider").Issue[];
54
54
  pageInfo: {
55
55
  hasNextPage: boolean;
56
- nextPage: number | null;
56
+ endCursor: string | null;
57
57
  };
58
58
  }>;
59
59
  getIssuesForResourceForCurrentUser(input: {
60
60
  labelNames?: string[];
61
61
  resourceUrl?: string;
62
- } & NumberedPageInput, options?: EnterpriseOptions): Promise<{
62
+ } & CursorPageInput, options?: EnterpriseOptions): Promise<{
63
63
  data: import("../../types/exportedTypes/issueProvider").Issue[];
64
64
  pageInfo: {
65
65
  hasNextPage: boolean;
66
- nextPage: number | null;
66
+ endCursor: string | null;
67
67
  };
68
68
  }>;
69
69
  setIssueStatus(input: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitkraken/provider-apis",
3
- "version": "0.27.4",
3
+ "version": "0.28.0",
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",