@valiantys/atlassian-app-frontend 3.0.0-alpha-11 → 3.0.0-alpha-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.
- package/atlassian/jira/shared/data-access-issue/src/lib/jira-issue-service/index.cjs.js +1 -1
- package/atlassian/jira/shared/data-access-issue/src/lib/jira-issue-service/index.es.js +22 -11
- package/atlassian/jira/shared/data-access-project/src/lib/jira-project-service/index.cjs.js +1 -0
- package/atlassian/jira/shared/data-access-project/src/lib/jira-project-service/index.es.js +72 -0
- package/atlassian/shared/data-access-atlassian-product-fetch-oauth/src/lib/atlassian-oauth-fetch/index.cjs.js +1 -1
- package/atlassian/shared/data-access-atlassian-product-fetch-oauth/src/lib/atlassian-oauth-fetch/index.es.js +50 -26
- package/atlassian-app-test/index.d.ts +1 -1
- package/data-access-assets/index.d.ts +1 -1
- package/data-access-atlassian-product-fetch-oauth/atlassian-app-frontend-data-access-atlassian-product-fetch-oauth.api.json +113 -0
- package/data-access-atlassian-product-fetch-oauth/atlassian-app-frontend.api.md +3 -0
- package/data-access-atlassian-product-fetch-oauth/index.cjs.js +1 -1
- package/data-access-atlassian-product-fetch-oauth/index.d.ts +3 -1
- package/data-access-atlassian-product-fetch-oauth/index.es.js +4 -3
- package/data-access-issue/atlassian-app-frontend-data-access-issue.api.json +110 -0
- package/data-access-issue/atlassian-app-frontend.api.md +5 -0
- package/data-access-issue/index.d.ts +13 -6
- package/data-access-jql/index.d.ts +1 -1
- package/data-access-project/atlassian-app-frontend-data-access-project.api.json +794 -0
- package/data-access-project/atlassian-app-frontend.api.md +39 -0
- package/data-access-project/index.cjs.js +1 -0
- package/data-access-project/index.d.ts +110 -0
- package/data-access-project/index.es.js +4 -0
- package/data-access-project/tsdoc-metadata.json +11 -0
- package/data-access-workspaces/index.d.ts +1 -1
- package/package.json +6 -1
- package/ui-atlassian-product-fetch/index.d.ts +1 -1
- package/util-atlassian-product-fetch/atlassian-app-frontend-util-atlassian-product-fetch.api.json +9 -18
- package/util-atlassian-product-fetch/atlassian-app-frontend.api.md +4 -4
- package/util-atlassian-product-fetch/index.d.ts +4 -4
- package/util-jira-v3-api/atlassian-app-frontend-util-jira-v3-api.api.json +300 -2
- package/util-jira-v3-api/atlassian-app-frontend.api.md +24 -5
- package/util-jira-v3-api/index.d.ts +13 -5
|
@@ -79,16 +79,18 @@ declare type FetchRoute = {
|
|
|
79
79
|
readonly value: string;
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
declare type FetchSignature = <T>(request: FetchRequest, body?:
|
|
82
|
+
declare type FetchSignature = <T>(request: FetchRequest, body?: any) => Promise<T>;
|
|
83
83
|
|
|
84
|
-
declare
|
|
85
|
-
description
|
|
84
|
+
declare interface FixVersion {
|
|
85
|
+
description?: string;
|
|
86
86
|
id: string;
|
|
87
87
|
name: string;
|
|
88
88
|
releaseDate?: string;
|
|
89
|
-
released
|
|
90
|
-
self
|
|
91
|
-
}
|
|
89
|
+
released?: boolean;
|
|
90
|
+
self?: string;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
declare type FixVersions = FixVersion[];
|
|
92
94
|
|
|
93
95
|
declare interface HistoryMetadata {
|
|
94
96
|
activityDescription?: string;
|
|
@@ -197,6 +199,10 @@ export declare class JiraIssueService {
|
|
|
197
199
|
getIssueFields(issueIdOrKey: string, fields: string[]): Promise<IssueFields | undefined>;
|
|
198
200
|
getIssue(issueIdOrKey: string, fields?: string[], rendered?: boolean): Promise<Issue | undefined>;
|
|
199
201
|
issueSearch(jql: string, fields: string[], maxResults?: number): Promise<Issue<AtlassianDocumentFormat>[]>;
|
|
202
|
+
issueSearchByPage(jql: string, fields: string[], nextPageToken?: string, maxResults?: number): Promise<{
|
|
203
|
+
issues: Issue[];
|
|
204
|
+
nextPageToken?: string;
|
|
205
|
+
}>;
|
|
200
206
|
addWorklog(issueIdOrKey: string, worklog: WorklogCreateRequest): Promise<Worklog>;
|
|
201
207
|
queryForIssuesInProjects(projectIdsOrKeys: string[]): Promise<Issue<AtlassianDocumentFormat>[]>;
|
|
202
208
|
createIssue(body: CreateIssue): Promise<CreatedIssue>;
|
|
@@ -219,6 +225,7 @@ declare interface Project {
|
|
|
219
225
|
simplified?: boolean;
|
|
220
226
|
avatarUrls?: AvatarUrls;
|
|
221
227
|
archived?: boolean;
|
|
228
|
+
lead?: User;
|
|
222
229
|
}
|
|
223
230
|
|
|
224
231
|
declare type RequestProductMethod = (url: FetchRoute, init: RequestInit) => Promise<APIResponse>;
|
|
@@ -21,7 +21,7 @@ declare type FetchRoute = {
|
|
|
21
21
|
readonly value: string;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
declare type FetchSignature = <T>(request: FetchRequest, body?:
|
|
24
|
+
declare type FetchSignature = <T>(request: FetchRequest, body?: any) => Promise<T>;
|
|
25
25
|
|
|
26
26
|
export declare class JqlPrecomputationService {
|
|
27
27
|
private fetchSvc;
|