@valiantys/atlassian-app-frontend 3.0.0-alpha-9 → 3.0.0-alpha-11
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 +45 -42
- 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 +51 -29
- package/atlassian/shared/data-access-atlassian-product-fetch-oauth/src/lib/route/index.cjs.js +1 -1
- package/atlassian/shared/data-access-atlassian-product-fetch-oauth/src/lib/route/index.es.js +28 -17
- package/atlassian/shared/frontend-feature-atlassian-app/src/lib/standalone/atlassian-app-standalone/index.cjs.js +1 -1
- package/atlassian/shared/frontend-feature-atlassian-app/src/lib/standalone/atlassian-app-standalone/index.es.js +93 -84
- package/atlassian/shared/frontend-feature-oauth-login/src/lib/feature-oauth/index.cjs.js +1 -1
- package/atlassian/shared/frontend-feature-oauth-login/src/lib/feature-oauth/index.es.js +58 -66
- package/atlassian/shared/frontend-feature-oauth-login/src/lib/oauth-routes/index.cjs.js +1 -0
- package/atlassian/shared/frontend-feature-oauth-login/src/lib/oauth-routes/index.es.js +51 -0
- package/atlassian/shared/frontend-ui-page-loading-view/src/lib/page-loading-view/index.cjs.js +1 -1
- package/atlassian/shared/frontend-ui-page-loading-view/src/lib/page-loading-view/index.es.js +1 -1
- package/atlassian-app/index.d.ts +1 -0
- package/atlassian-app-standalone/atlassian-app-frontend-atlassian-app-standalone.api.json +29 -2
- package/atlassian-app-standalone/atlassian-app-frontend.api.md +3 -1
- package/atlassian-app-standalone/index.d.ts +3 -1
- package/data-access-atlassian-product-fetch-oauth/atlassian-app-frontend-data-access-atlassian-product-fetch-oauth.api.json +241 -2
- package/data-access-atlassian-product-fetch-oauth/atlassian-app-frontend.api.md +17 -1
- package/data-access-atlassian-product-fetch-oauth/index.cjs.js +1 -1
- package/data-access-atlassian-product-fetch-oauth/index.d.ts +11 -1
- package/data-access-atlassian-product-fetch-oauth/index.es.js +9 -7
- package/data-access-issue/atlassian-app-frontend-data-access-issue.api.json +130 -11
- package/data-access-issue/atlassian-app-frontend.api.md +9 -7
- package/data-access-issue/index.d.ts +33 -17
- package/package.json +1 -1
- package/shared/util-fetch/src/lib/shared-util-fetch/index.cjs.js +2 -2
- package/shared/util-fetch/src/lib/shared-util-fetch/index.es.js +25 -24
- package/ui-oauth-login/atlassian-app-frontend-ui-oauth-login.api.json +340 -0
- package/ui-oauth-login/atlassian-app-frontend.api.md +29 -0
- package/ui-oauth-login/index.cjs.js +1 -1
- package/ui-oauth-login/index.d.ts +23 -0
- package/ui-oauth-login/index.es.js +7 -3
- package/ui-page-loading-view/atlassian-app-frontend-ui-page-loading-view.api.json +10 -5
- package/ui-page-loading-view/atlassian-app-frontend.api.md +2 -2
- package/ui-page-loading-view/index.d.ts +2 -2
- package/util-atlassian-product-fetch/atlassian-app-frontend-util-atlassian-product-fetch.api.json +97 -2
- package/util-atlassian-product-fetch/atlassian-app-frontend.api.md +9 -1
- package/util-atlassian-product-fetch/index.d.ts +6 -1
- package/util-jira-v3-api/atlassian-app-frontend-util-jira-v3-api.api.json +454 -86
- package/util-jira-v3-api/atlassian-app-frontend.api.md +51 -23
- package/util-jira-v3-api/index.d.ts +37 -18
|
@@ -83,7 +83,7 @@ export interface CreatedIssue {
|
|
|
83
83
|
// @public (undocumented)
|
|
84
84
|
export interface CreateIssue {
|
|
85
85
|
// (undocumented)
|
|
86
|
-
fields: IssueFields
|
|
86
|
+
fields: IssueFields<AtlassianDocumentFormat | string>;
|
|
87
87
|
// (undocumented)
|
|
88
88
|
historyMetadata?: HistoryMetadata;
|
|
89
89
|
// (undocumented)
|
|
@@ -180,16 +180,18 @@ export function isAtlassianDocumentFormatParagraphNode(node: AtlassianDocumentFo
|
|
|
180
180
|
export function isAtlassianDocumentFormatTextNode(node: AtlassianDocumentFormatNode): node is AtlassianDocumentFormatTextNode;
|
|
181
181
|
|
|
182
182
|
// @public (undocumented)
|
|
183
|
-
export interface Issue {
|
|
183
|
+
export interface Issue<T = AtlassianDocumentFormat> {
|
|
184
184
|
// (undocumented)
|
|
185
185
|
expand?: string;
|
|
186
186
|
// (undocumented)
|
|
187
|
-
fields: IssueFields
|
|
187
|
+
fields: IssueFields<T>;
|
|
188
188
|
// (undocumented)
|
|
189
189
|
id: string;
|
|
190
190
|
// (undocumented)
|
|
191
191
|
key: string;
|
|
192
192
|
// (undocumented)
|
|
193
|
+
renderedFields?: IssueFields<string>;
|
|
194
|
+
// (undocumented)
|
|
193
195
|
self?: string;
|
|
194
196
|
}
|
|
195
197
|
|
|
@@ -206,7 +208,7 @@ export type IssueComment = {
|
|
|
206
208
|
};
|
|
207
209
|
|
|
208
210
|
// @public (undocumented)
|
|
209
|
-
export type IssueFields = CustomFields & StaticIssueFields
|
|
211
|
+
export type IssueFields<T = AtlassianDocumentFormat> = CustomFields & StaticIssueFields<T>;
|
|
210
212
|
|
|
211
213
|
// @public (undocumented)
|
|
212
214
|
export interface IssueLink {
|
|
@@ -268,7 +270,7 @@ export interface IssueTransition {
|
|
|
268
270
|
// (undocumented)
|
|
269
271
|
id: string;
|
|
270
272
|
// (undocumented)
|
|
271
|
-
looped
|
|
273
|
+
looped?: boolean;
|
|
272
274
|
}
|
|
273
275
|
|
|
274
276
|
// @public (undocumented)
|
|
@@ -331,6 +333,23 @@ export interface JiraServerInfo {
|
|
|
331
333
|
versionNumbers: number[];
|
|
332
334
|
}
|
|
333
335
|
|
|
336
|
+
// @public (undocumented)
|
|
337
|
+
export interface PagedResponse<T> {
|
|
338
|
+
// (undocumented)
|
|
339
|
+
isLast: boolean;
|
|
340
|
+
// (undocumented)
|
|
341
|
+
maxResults: number;
|
|
342
|
+
// (undocumented)
|
|
343
|
+
startAt: number;
|
|
344
|
+
// (undocumented)
|
|
345
|
+
total: number;
|
|
346
|
+
// (undocumented)
|
|
347
|
+
values: T[];
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
// @public (undocumented)
|
|
351
|
+
export type PagedUsers = PagedResponse<User>;
|
|
352
|
+
|
|
334
353
|
// @public (undocumented)
|
|
335
354
|
export type Precomputation = {
|
|
336
355
|
id: string;
|
|
@@ -363,18 +382,7 @@ export type PrecomputationPayload = {
|
|
|
363
382
|
};
|
|
364
383
|
|
|
365
384
|
// @public (undocumented)
|
|
366
|
-
export
|
|
367
|
-
// (undocumented)
|
|
368
|
-
isLast: boolean;
|
|
369
|
-
// (undocumented)
|
|
370
|
-
maxResults: number;
|
|
371
|
-
// (undocumented)
|
|
372
|
-
startAt: number;
|
|
373
|
-
// (undocumented)
|
|
374
|
-
total: number;
|
|
375
|
-
// (undocumented)
|
|
376
|
-
values: Precomputation[];
|
|
377
|
-
}
|
|
385
|
+
export type PrecomputationResponse = PagedResponse<Precomputation>;
|
|
378
386
|
|
|
379
387
|
// @public (undocumented)
|
|
380
388
|
export type PrecomputationUpdate = {
|
|
@@ -434,23 +442,28 @@ export interface ProjectVersion {
|
|
|
434
442
|
}
|
|
435
443
|
|
|
436
444
|
// @public (undocumented)
|
|
437
|
-
export interface StaticIssueFields {
|
|
445
|
+
export interface StaticIssueFields<T = AtlassianDocumentFormat> {
|
|
438
446
|
// (undocumented)
|
|
439
447
|
aggregatetimespent?: number;
|
|
440
448
|
// (undocumented)
|
|
441
449
|
assignee?: User;
|
|
442
450
|
// (undocumented)
|
|
451
|
+
components?: {
|
|
452
|
+
id: string;
|
|
453
|
+
name: string;
|
|
454
|
+
}[];
|
|
455
|
+
// (undocumented)
|
|
443
456
|
created?: string;
|
|
444
457
|
// (undocumented)
|
|
445
458
|
creator?: User;
|
|
446
459
|
// (undocumented)
|
|
447
|
-
description?:
|
|
460
|
+
description?: T;
|
|
448
461
|
// (undocumented)
|
|
449
462
|
fixVersions?: FixVersions;
|
|
450
463
|
// (undocumented)
|
|
451
464
|
issuelinks?: IssueLink[];
|
|
452
465
|
// (undocumented)
|
|
453
|
-
issuetype
|
|
466
|
+
issuetype?: {
|
|
454
467
|
self?: string;
|
|
455
468
|
id: string;
|
|
456
469
|
description?: string;
|
|
@@ -472,7 +485,7 @@ export interface StaticIssueFields {
|
|
|
472
485
|
id: string;
|
|
473
486
|
};
|
|
474
487
|
// (undocumented)
|
|
475
|
-
project
|
|
488
|
+
project?: Project;
|
|
476
489
|
// (undocumented)
|
|
477
490
|
reporter?: User;
|
|
478
491
|
// (undocumented)
|
|
@@ -484,7 +497,7 @@ export interface StaticIssueFields {
|
|
|
484
497
|
// (undocumented)
|
|
485
498
|
statuscategorychangedate?: string;
|
|
486
499
|
// (undocumented)
|
|
487
|
-
summary
|
|
500
|
+
summary?: string;
|
|
488
501
|
// (undocumented)
|
|
489
502
|
timeestimate?: number;
|
|
490
503
|
// (undocumented)
|
|
@@ -530,7 +543,7 @@ export interface TransitionIssueRequest {
|
|
|
530
543
|
}
|
|
531
544
|
|
|
532
545
|
// @public (undocumented)
|
|
533
|
-
export type UpdateIssue =
|
|
546
|
+
export type UpdateIssue = CreateIssue;
|
|
534
547
|
|
|
535
548
|
// @public (undocumented)
|
|
536
549
|
export interface User {
|
|
@@ -547,11 +560,26 @@ export interface User {
|
|
|
547
560
|
// (undocumented)
|
|
548
561
|
emailAddress?: string;
|
|
549
562
|
// (undocumented)
|
|
563
|
+
groups?: {
|
|
564
|
+
items?: UserGroupName[];
|
|
565
|
+
size?: number;
|
|
566
|
+
};
|
|
567
|
+
// (undocumented)
|
|
550
568
|
self?: string;
|
|
551
569
|
// (undocumented)
|
|
552
570
|
timeZone: string;
|
|
553
571
|
}
|
|
554
572
|
|
|
573
|
+
// @public (undocumented)
|
|
574
|
+
export interface UserGroupName {
|
|
575
|
+
// (undocumented)
|
|
576
|
+
groupId: string;
|
|
577
|
+
// (undocumented)
|
|
578
|
+
name: string;
|
|
579
|
+
// (undocumented)
|
|
580
|
+
self: string;
|
|
581
|
+
}
|
|
582
|
+
|
|
555
583
|
// @public (undocumented)
|
|
556
584
|
export interface UserPickerQueryResponse {
|
|
557
585
|
// (undocumented)
|
|
@@ -49,7 +49,7 @@ export declare interface CreatedIssue {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export declare interface CreateIssue {
|
|
52
|
-
fields: IssueFields
|
|
52
|
+
fields: IssueFields<AtlassianDocumentFormat | string>;
|
|
53
53
|
properties?: {
|
|
54
54
|
key: string;
|
|
55
55
|
value: unknown;
|
|
@@ -110,12 +110,13 @@ export declare function isAtlassianDocumentFormatParagraphNode(node: AtlassianDo
|
|
|
110
110
|
|
|
111
111
|
export declare function isAtlassianDocumentFormatTextNode(node: AtlassianDocumentFormatNode): node is AtlassianDocumentFormatTextNode;
|
|
112
112
|
|
|
113
|
-
export declare interface Issue {
|
|
113
|
+
export declare interface Issue<T = AtlassianDocumentFormat> {
|
|
114
114
|
id: string;
|
|
115
115
|
expand?: string;
|
|
116
116
|
key: string;
|
|
117
117
|
self?: string;
|
|
118
|
-
fields: IssueFields
|
|
118
|
+
fields: IssueFields<T>;
|
|
119
|
+
renderedFields?: IssueFields<string>;
|
|
119
120
|
}
|
|
120
121
|
|
|
121
122
|
export declare type IssueComment = {
|
|
@@ -129,7 +130,7 @@ export declare type IssueComment = {
|
|
|
129
130
|
visibility: Visibility;
|
|
130
131
|
};
|
|
131
132
|
|
|
132
|
-
export declare type IssueFields = CustomFields & StaticIssueFields
|
|
133
|
+
export declare type IssueFields<T = AtlassianDocumentFormat> = CustomFields & StaticIssueFields<T>;
|
|
133
134
|
|
|
134
135
|
export declare interface IssueLink {
|
|
135
136
|
outwardIssue?: Issue;
|
|
@@ -172,7 +173,7 @@ export declare interface IssueStatus {
|
|
|
172
173
|
|
|
173
174
|
export declare interface IssueTransition {
|
|
174
175
|
id: string;
|
|
175
|
-
looped
|
|
176
|
+
looped?: boolean;
|
|
176
177
|
}
|
|
177
178
|
|
|
178
179
|
export declare interface IssueTypeDetails {
|
|
@@ -210,6 +211,16 @@ export declare interface JiraServerInfo {
|
|
|
210
211
|
versionNumbers: number[];
|
|
211
212
|
}
|
|
212
213
|
|
|
214
|
+
export declare interface PagedResponse<T> {
|
|
215
|
+
startAt: number;
|
|
216
|
+
isLast: boolean;
|
|
217
|
+
maxResults: number;
|
|
218
|
+
total: number;
|
|
219
|
+
values: T[];
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export declare type PagedUsers = PagedResponse<User>;
|
|
223
|
+
|
|
213
224
|
export declare type Precomputation = {
|
|
214
225
|
id: string;
|
|
215
226
|
value: string;
|
|
@@ -239,13 +250,7 @@ export declare type PrecomputationPayload = {
|
|
|
239
250
|
contextToken?: string;
|
|
240
251
|
};
|
|
241
252
|
|
|
242
|
-
export declare
|
|
243
|
-
startAt: number;
|
|
244
|
-
isLast: boolean;
|
|
245
|
-
maxResults: number;
|
|
246
|
-
total: number;
|
|
247
|
-
values: Precomputation[];
|
|
248
|
-
}
|
|
253
|
+
export declare type PrecomputationResponse = PagedResponse<Precomputation>;
|
|
249
254
|
|
|
250
255
|
export declare type PrecomputationUpdate = {
|
|
251
256
|
id: string;
|
|
@@ -281,7 +286,7 @@ export declare interface ProjectVersion {
|
|
|
281
286
|
userReleaseDate?: string;
|
|
282
287
|
}
|
|
283
288
|
|
|
284
|
-
export declare interface StaticIssueFields {
|
|
289
|
+
export declare interface StaticIssueFields<T = AtlassianDocumentFormat> {
|
|
285
290
|
statuscategorychangedate?: string;
|
|
286
291
|
fixVersions?: FixVersions;
|
|
287
292
|
resolution?: unknown;
|
|
@@ -291,7 +296,7 @@ export declare interface StaticIssueFields {
|
|
|
291
296
|
maxResults: number;
|
|
292
297
|
worklogs: Worklog[];
|
|
293
298
|
};
|
|
294
|
-
issuetype
|
|
299
|
+
issuetype?: {
|
|
295
300
|
self?: string;
|
|
296
301
|
id: string;
|
|
297
302
|
description?: string;
|
|
@@ -302,7 +307,7 @@ export declare interface StaticIssueFields {
|
|
|
302
307
|
hierarchyLevel?: number;
|
|
303
308
|
};
|
|
304
309
|
timespent?: number;
|
|
305
|
-
project
|
|
310
|
+
project?: Project;
|
|
306
311
|
aggregatetimespent?: number;
|
|
307
312
|
resolutiondate?: string;
|
|
308
313
|
lastViewed?: string;
|
|
@@ -322,19 +327,23 @@ export declare interface StaticIssueFields {
|
|
|
322
327
|
};
|
|
323
328
|
created?: string;
|
|
324
329
|
updated?: string;
|
|
325
|
-
description?:
|
|
330
|
+
description?: T;
|
|
326
331
|
timetracking?: {
|
|
327
332
|
remainingEstimate: string;
|
|
328
333
|
timeSpent: string;
|
|
329
334
|
remainingEstimateSeconds: number;
|
|
330
335
|
timeSpentSeconds: number;
|
|
331
336
|
};
|
|
332
|
-
summary
|
|
337
|
+
summary?: string;
|
|
333
338
|
status?: IssueStatus;
|
|
334
339
|
creator?: User;
|
|
335
340
|
assignee?: User;
|
|
336
341
|
reporter?: User;
|
|
337
342
|
issuelinks?: IssueLink[];
|
|
343
|
+
components?: {
|
|
344
|
+
id: string;
|
|
345
|
+
name: string;
|
|
346
|
+
}[];
|
|
338
347
|
}
|
|
339
348
|
|
|
340
349
|
export declare interface TransitionIssueRequest {
|
|
@@ -345,7 +354,7 @@ export declare interface TransitionIssueRequest {
|
|
|
345
354
|
update?: any;
|
|
346
355
|
}
|
|
347
356
|
|
|
348
|
-
export declare type UpdateIssue =
|
|
357
|
+
export declare type UpdateIssue = CreateIssue;
|
|
349
358
|
|
|
350
359
|
export declare interface User {
|
|
351
360
|
accountId: string;
|
|
@@ -356,6 +365,16 @@ export declare interface User {
|
|
|
356
365
|
avatarUrls?: AvatarUrls;
|
|
357
366
|
accountType?: string;
|
|
358
367
|
self?: string;
|
|
368
|
+
groups?: {
|
|
369
|
+
items?: UserGroupName[];
|
|
370
|
+
size?: number;
|
|
371
|
+
};
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export declare interface UserGroupName {
|
|
375
|
+
groupId: string;
|
|
376
|
+
name: string;
|
|
377
|
+
self: string;
|
|
359
378
|
}
|
|
360
379
|
|
|
361
380
|
export declare interface UserPickerQueryResponse {
|