@valiantys/atlassian-app-frontend 3.0.0-alpha-10 → 3.0.0-alpha-17
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 +36 -22
- 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 +74 -28
- 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/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 +354 -2
- package/data-access-atlassian-product-fetch-oauth/atlassian-app-frontend.api.md +20 -1
- package/data-access-atlassian-product-fetch-oauth/index.cjs.js +1 -1
- package/data-access-atlassian-product-fetch-oauth/index.d.ts +14 -2
- package/data-access-atlassian-product-fetch-oauth/index.es.js +10 -7
- package/data-access-issue/atlassian-app-frontend-data-access-issue.api.json +238 -9
- package/data-access-issue/atlassian-app-frontend.api.md +12 -5
- package/data-access-issue/index.d.ts +40 -17
- package/data-access-jql/index.d.ts +1 -1
- package/data-access-workspaces/index.d.ts +1 -1
- 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-atlassian-product-fetch/index.d.ts +1 -1
- 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 +106 -20
- package/util-atlassian-product-fetch/atlassian-app-frontend.api.md +13 -5
- package/util-atlassian-product-fetch/index.d.ts +10 -5
- package/util-jira-v3-api/atlassian-app-frontend-util-jira-v3-api.api.json +695 -80
- package/util-jira-v3-api/atlassian-app-frontend.api.md +71 -24
- package/util-jira-v3-api/index.d.ts +46 -19
|
@@ -83,7 +83,7 @@ export interface CreatedIssue {
|
|
|
83
83
|
// @public (undocumented)
|
|
84
84
|
export interface CreateIssue {
|
|
85
85
|
// (undocumented)
|
|
86
|
-
fields: IssueFields<string>;
|
|
86
|
+
fields: IssueFields<AtlassianDocumentFormat | string>;
|
|
87
87
|
// (undocumented)
|
|
88
88
|
historyMetadata?: HistoryMetadata;
|
|
89
89
|
// (undocumented)
|
|
@@ -112,14 +112,23 @@ export interface EntityProperty {
|
|
|
112
112
|
export const FIX_VERSIONS_FIELD = "fixVersions";
|
|
113
113
|
|
|
114
114
|
// @public (undocumented)
|
|
115
|
-
export
|
|
116
|
-
|
|
115
|
+
export interface FixVersion {
|
|
116
|
+
// (undocumented)
|
|
117
|
+
description?: string;
|
|
118
|
+
// (undocumented)
|
|
117
119
|
id: string;
|
|
120
|
+
// (undocumented)
|
|
118
121
|
name: string;
|
|
122
|
+
// (undocumented)
|
|
123
|
+
released?: boolean;
|
|
124
|
+
// (undocumented)
|
|
119
125
|
releaseDate?: string;
|
|
120
|
-
|
|
121
|
-
self
|
|
122
|
-
}
|
|
126
|
+
// (undocumented)
|
|
127
|
+
self?: string;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// @public (undocumented)
|
|
131
|
+
export type FixVersions = FixVersion[];
|
|
123
132
|
|
|
124
133
|
// @public (undocumented)
|
|
125
134
|
export interface HealthCheckResult {
|
|
@@ -180,16 +189,18 @@ export function isAtlassianDocumentFormatParagraphNode(node: AtlassianDocumentFo
|
|
|
180
189
|
export function isAtlassianDocumentFormatTextNode(node: AtlassianDocumentFormatNode): node is AtlassianDocumentFormatTextNode;
|
|
181
190
|
|
|
182
191
|
// @public (undocumented)
|
|
183
|
-
export interface Issue {
|
|
192
|
+
export interface Issue<T = AtlassianDocumentFormat> {
|
|
184
193
|
// (undocumented)
|
|
185
194
|
expand?: string;
|
|
186
195
|
// (undocumented)
|
|
187
|
-
fields: IssueFields
|
|
196
|
+
fields: IssueFields<T>;
|
|
188
197
|
// (undocumented)
|
|
189
198
|
id: string;
|
|
190
199
|
// (undocumented)
|
|
191
200
|
key: string;
|
|
192
201
|
// (undocumented)
|
|
202
|
+
renderedFields?: IssueFields<string>;
|
|
203
|
+
// (undocumented)
|
|
193
204
|
self?: string;
|
|
194
205
|
}
|
|
195
206
|
|
|
@@ -331,6 +342,23 @@ export interface JiraServerInfo {
|
|
|
331
342
|
versionNumbers: number[];
|
|
332
343
|
}
|
|
333
344
|
|
|
345
|
+
// @public (undocumented)
|
|
346
|
+
export interface PagedResponse<T> {
|
|
347
|
+
// (undocumented)
|
|
348
|
+
isLast: boolean;
|
|
349
|
+
// (undocumented)
|
|
350
|
+
maxResults: number;
|
|
351
|
+
// (undocumented)
|
|
352
|
+
startAt: number;
|
|
353
|
+
// (undocumented)
|
|
354
|
+
total: number;
|
|
355
|
+
// (undocumented)
|
|
356
|
+
values: T[];
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
// @public (undocumented)
|
|
360
|
+
export type PagedUsers = PagedResponse<User>;
|
|
361
|
+
|
|
334
362
|
// @public (undocumented)
|
|
335
363
|
export type Precomputation = {
|
|
336
364
|
id: string;
|
|
@@ -363,18 +391,7 @@ export type PrecomputationPayload = {
|
|
|
363
391
|
};
|
|
364
392
|
|
|
365
393
|
// @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
|
-
}
|
|
394
|
+
export type PrecomputationResponse = PagedResponse<Precomputation>;
|
|
378
395
|
|
|
379
396
|
// @public (undocumented)
|
|
380
397
|
export type PrecomputationUpdate = {
|
|
@@ -396,6 +413,8 @@ export interface Project {
|
|
|
396
413
|
// (undocumented)
|
|
397
414
|
key?: string;
|
|
398
415
|
// (undocumented)
|
|
416
|
+
lead?: User;
|
|
417
|
+
// (undocumented)
|
|
399
418
|
name?: string;
|
|
400
419
|
// (undocumented)
|
|
401
420
|
projectTypeKey?: string;
|
|
@@ -405,6 +424,14 @@ export interface Project {
|
|
|
405
424
|
simplified?: boolean;
|
|
406
425
|
}
|
|
407
426
|
|
|
427
|
+
// @public (undocumented)
|
|
428
|
+
export interface ProjectProperty<T> {
|
|
429
|
+
// (undocumented)
|
|
430
|
+
key: string;
|
|
431
|
+
// (undocumented)
|
|
432
|
+
value: T;
|
|
433
|
+
}
|
|
434
|
+
|
|
408
435
|
// @public (undocumented)
|
|
409
436
|
export interface ProjectVersion {
|
|
410
437
|
// (undocumented)
|
|
@@ -440,6 +467,11 @@ export interface StaticIssueFields<T = AtlassianDocumentFormat> {
|
|
|
440
467
|
// (undocumented)
|
|
441
468
|
assignee?: User;
|
|
442
469
|
// (undocumented)
|
|
470
|
+
components?: {
|
|
471
|
+
id: string;
|
|
472
|
+
name: string;
|
|
473
|
+
}[];
|
|
474
|
+
// (undocumented)
|
|
443
475
|
created?: string;
|
|
444
476
|
// (undocumented)
|
|
445
477
|
creator?: User;
|
|
@@ -450,7 +482,7 @@ export interface StaticIssueFields<T = AtlassianDocumentFormat> {
|
|
|
450
482
|
// (undocumented)
|
|
451
483
|
issuelinks?: IssueLink[];
|
|
452
484
|
// (undocumented)
|
|
453
|
-
issuetype
|
|
485
|
+
issuetype?: {
|
|
454
486
|
self?: string;
|
|
455
487
|
id: string;
|
|
456
488
|
description?: string;
|
|
@@ -472,7 +504,7 @@ export interface StaticIssueFields<T = AtlassianDocumentFormat> {
|
|
|
472
504
|
id: string;
|
|
473
505
|
};
|
|
474
506
|
// (undocumented)
|
|
475
|
-
project
|
|
507
|
+
project?: Project;
|
|
476
508
|
// (undocumented)
|
|
477
509
|
reporter?: User;
|
|
478
510
|
// (undocumented)
|
|
@@ -484,7 +516,7 @@ export interface StaticIssueFields<T = AtlassianDocumentFormat> {
|
|
|
484
516
|
// (undocumented)
|
|
485
517
|
statuscategorychangedate?: string;
|
|
486
518
|
// (undocumented)
|
|
487
|
-
summary
|
|
519
|
+
summary?: string;
|
|
488
520
|
// (undocumented)
|
|
489
521
|
timeestimate?: number;
|
|
490
522
|
// (undocumented)
|
|
@@ -530,7 +562,7 @@ export interface TransitionIssueRequest {
|
|
|
530
562
|
}
|
|
531
563
|
|
|
532
564
|
// @public (undocumented)
|
|
533
|
-
export type UpdateIssue =
|
|
565
|
+
export type UpdateIssue = CreateIssue;
|
|
534
566
|
|
|
535
567
|
// @public (undocumented)
|
|
536
568
|
export interface User {
|
|
@@ -547,11 +579,26 @@ export interface User {
|
|
|
547
579
|
// (undocumented)
|
|
548
580
|
emailAddress?: string;
|
|
549
581
|
// (undocumented)
|
|
582
|
+
groups?: {
|
|
583
|
+
items?: UserGroupName[];
|
|
584
|
+
size?: number;
|
|
585
|
+
};
|
|
586
|
+
// (undocumented)
|
|
550
587
|
self?: string;
|
|
551
588
|
// (undocumented)
|
|
552
589
|
timeZone: string;
|
|
553
590
|
}
|
|
554
591
|
|
|
592
|
+
// @public (undocumented)
|
|
593
|
+
export interface UserGroupName {
|
|
594
|
+
// (undocumented)
|
|
595
|
+
groupId: string;
|
|
596
|
+
// (undocumented)
|
|
597
|
+
name: string;
|
|
598
|
+
// (undocumented)
|
|
599
|
+
self: string;
|
|
600
|
+
}
|
|
601
|
+
|
|
555
602
|
// @public (undocumented)
|
|
556
603
|
export interface UserPickerQueryResponse {
|
|
557
604
|
// (undocumented)
|
|
@@ -49,7 +49,7 @@ export declare interface CreatedIssue {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export declare interface CreateIssue {
|
|
52
|
-
fields: IssueFields<string>;
|
|
52
|
+
fields: IssueFields<AtlassianDocumentFormat | string>;
|
|
53
53
|
properties?: {
|
|
54
54
|
key: string;
|
|
55
55
|
value: unknown;
|
|
@@ -68,14 +68,16 @@ export declare interface EntityProperty {
|
|
|
68
68
|
|
|
69
69
|
export declare const FIX_VERSIONS_FIELD = "fixVersions";
|
|
70
70
|
|
|
71
|
-
export declare
|
|
72
|
-
description
|
|
71
|
+
export declare interface FixVersion {
|
|
72
|
+
description?: string;
|
|
73
73
|
id: string;
|
|
74
74
|
name: string;
|
|
75
75
|
releaseDate?: string;
|
|
76
|
-
released
|
|
77
|
-
self
|
|
78
|
-
}
|
|
76
|
+
released?: boolean;
|
|
77
|
+
self?: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export declare type FixVersions = FixVersion[];
|
|
79
81
|
|
|
80
82
|
export declare interface HealthCheckResult {
|
|
81
83
|
description: string;
|
|
@@ -110,12 +112,13 @@ export declare function isAtlassianDocumentFormatParagraphNode(node: AtlassianDo
|
|
|
110
112
|
|
|
111
113
|
export declare function isAtlassianDocumentFormatTextNode(node: AtlassianDocumentFormatNode): node is AtlassianDocumentFormatTextNode;
|
|
112
114
|
|
|
113
|
-
export declare interface Issue {
|
|
115
|
+
export declare interface Issue<T = AtlassianDocumentFormat> {
|
|
114
116
|
id: string;
|
|
115
117
|
expand?: string;
|
|
116
118
|
key: string;
|
|
117
119
|
self?: string;
|
|
118
|
-
fields: IssueFields
|
|
120
|
+
fields: IssueFields<T>;
|
|
121
|
+
renderedFields?: IssueFields<string>;
|
|
119
122
|
}
|
|
120
123
|
|
|
121
124
|
export declare type IssueComment = {
|
|
@@ -210,6 +213,16 @@ export declare interface JiraServerInfo {
|
|
|
210
213
|
versionNumbers: number[];
|
|
211
214
|
}
|
|
212
215
|
|
|
216
|
+
export declare interface PagedResponse<T> {
|
|
217
|
+
startAt: number;
|
|
218
|
+
isLast: boolean;
|
|
219
|
+
maxResults: number;
|
|
220
|
+
total: number;
|
|
221
|
+
values: T[];
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export declare type PagedUsers = PagedResponse<User>;
|
|
225
|
+
|
|
213
226
|
export declare type Precomputation = {
|
|
214
227
|
id: string;
|
|
215
228
|
value: string;
|
|
@@ -239,13 +252,7 @@ export declare type PrecomputationPayload = {
|
|
|
239
252
|
contextToken?: string;
|
|
240
253
|
};
|
|
241
254
|
|
|
242
|
-
export declare
|
|
243
|
-
startAt: number;
|
|
244
|
-
isLast: boolean;
|
|
245
|
-
maxResults: number;
|
|
246
|
-
total: number;
|
|
247
|
-
values: Precomputation[];
|
|
248
|
-
}
|
|
255
|
+
export declare type PrecomputationResponse = PagedResponse<Precomputation>;
|
|
249
256
|
|
|
250
257
|
export declare type PrecomputationUpdate = {
|
|
251
258
|
id: string;
|
|
@@ -264,6 +271,12 @@ export declare interface Project {
|
|
|
264
271
|
simplified?: boolean;
|
|
265
272
|
avatarUrls?: AvatarUrls;
|
|
266
273
|
archived?: boolean;
|
|
274
|
+
lead?: User;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export declare interface ProjectProperty<T> {
|
|
278
|
+
key: string;
|
|
279
|
+
value: T;
|
|
267
280
|
}
|
|
268
281
|
|
|
269
282
|
export declare interface ProjectVersion {
|
|
@@ -291,7 +304,7 @@ export declare interface StaticIssueFields<T = AtlassianDocumentFormat> {
|
|
|
291
304
|
maxResults: number;
|
|
292
305
|
worklogs: Worklog[];
|
|
293
306
|
};
|
|
294
|
-
issuetype
|
|
307
|
+
issuetype?: {
|
|
295
308
|
self?: string;
|
|
296
309
|
id: string;
|
|
297
310
|
description?: string;
|
|
@@ -302,7 +315,7 @@ export declare interface StaticIssueFields<T = AtlassianDocumentFormat> {
|
|
|
302
315
|
hierarchyLevel?: number;
|
|
303
316
|
};
|
|
304
317
|
timespent?: number;
|
|
305
|
-
project
|
|
318
|
+
project?: Project;
|
|
306
319
|
aggregatetimespent?: number;
|
|
307
320
|
resolutiondate?: string;
|
|
308
321
|
lastViewed?: string;
|
|
@@ -329,12 +342,16 @@ export declare interface StaticIssueFields<T = AtlassianDocumentFormat> {
|
|
|
329
342
|
remainingEstimateSeconds: number;
|
|
330
343
|
timeSpentSeconds: number;
|
|
331
344
|
};
|
|
332
|
-
summary
|
|
345
|
+
summary?: string;
|
|
333
346
|
status?: IssueStatus;
|
|
334
347
|
creator?: User;
|
|
335
348
|
assignee?: User;
|
|
336
349
|
reporter?: User;
|
|
337
350
|
issuelinks?: IssueLink[];
|
|
351
|
+
components?: {
|
|
352
|
+
id: string;
|
|
353
|
+
name: string;
|
|
354
|
+
}[];
|
|
338
355
|
}
|
|
339
356
|
|
|
340
357
|
export declare interface TransitionIssueRequest {
|
|
@@ -345,7 +362,7 @@ export declare interface TransitionIssueRequest {
|
|
|
345
362
|
update?: any;
|
|
346
363
|
}
|
|
347
364
|
|
|
348
|
-
export declare type UpdateIssue =
|
|
365
|
+
export declare type UpdateIssue = CreateIssue;
|
|
349
366
|
|
|
350
367
|
export declare interface User {
|
|
351
368
|
accountId: string;
|
|
@@ -356,6 +373,16 @@ export declare interface User {
|
|
|
356
373
|
avatarUrls?: AvatarUrls;
|
|
357
374
|
accountType?: string;
|
|
358
375
|
self?: string;
|
|
376
|
+
groups?: {
|
|
377
|
+
items?: UserGroupName[];
|
|
378
|
+
size?: number;
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export declare interface UserGroupName {
|
|
383
|
+
groupId: string;
|
|
384
|
+
name: string;
|
|
385
|
+
self: string;
|
|
359
386
|
}
|
|
360
387
|
|
|
361
388
|
export declare interface UserPickerQueryResponse {
|