@valiantys/atlassian-app-frontend 3.0.0-alpha-1 → 3.0.0-alpha-3
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/forge/shared/util-product-fetch/src/lib/product-fetch/index.cjs.js +2 -2
- package/atlassian/forge/shared/util-product-fetch/src/lib/product-fetch/index.es.js +17 -16
- 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 +26 -8
- 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 +14 -15
- package/atlassian/shared/frontend-ui-iframe/src/lib/iframe-wrapper.module.scss/index.cjs.js +1 -1
- package/atlassian/shared/frontend-ui-iframe/src/lib/iframe-wrapper.module.scss/index.es.js +1 -1
- package/atlassian/shared/frontend-ui-remote-adapter/src/lib/oauth-fetch-invoke-remote/index.cjs.js +1 -1
- package/atlassian/shared/frontend-ui-remote-adapter/src/lib/oauth-fetch-invoke-remote/index.es.js +5 -5
- package/atlassian-app-frontend.css +1 -1
- package/data-access-issue/atlassian-app-frontend-data-access-issue.api.json +133 -0
- package/data-access-issue/atlassian-app-frontend.api.md +9 -0
- package/data-access-issue/index.d.ts +90 -31
- package/package.json +6 -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 +36 -30
- package/ui-iframe/atlassian-app-frontend-ui-iframe.api.json +376 -0
- package/ui-iframe/atlassian-app-frontend.api.md +30 -0
- package/ui-iframe/index.cjs.js +1 -0
- package/ui-iframe/index.d.ts +16 -0
- package/ui-iframe/index.es.js +4 -0
- package/ui-iframe/tsdoc-metadata.json +11 -0
- package/util-atlassian-product-fetch/atlassian-app-frontend-util-atlassian-product-fetch.api.json +113 -7
- package/util-atlassian-product-fetch/atlassian-app-frontend.api.md +10 -3
- package/util-atlassian-product-fetch/index.d.ts +8 -3
- package/util-jira-v3-api/atlassian-app-frontend-util-jira-v3-api.api.json +1020 -127
- package/util-jira-v3-api/atlassian-app-frontend.api.md +122 -31
- package/util-jira-v3-api/index.d.ts +88 -31
|
@@ -16,6 +16,44 @@ export interface AvatarUrls {
|
|
|
16
16
|
'48x48': string;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
// @public (undocumented)
|
|
20
|
+
export interface CreatedIssue {
|
|
21
|
+
// (undocumented)
|
|
22
|
+
id: string;
|
|
23
|
+
// (undocumented)
|
|
24
|
+
key: string;
|
|
25
|
+
// (undocumented)
|
|
26
|
+
self: string;
|
|
27
|
+
// (undocumented)
|
|
28
|
+
transition: {
|
|
29
|
+
status: number;
|
|
30
|
+
errorCollection?: {
|
|
31
|
+
errorMessages: string[];
|
|
32
|
+
errors: unknown;
|
|
33
|
+
};
|
|
34
|
+
warningCollection?: {
|
|
35
|
+
warnings: string[];
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// @public (undocumented)
|
|
41
|
+
export interface CreateIssue {
|
|
42
|
+
// (undocumented)
|
|
43
|
+
fields: IssueFields;
|
|
44
|
+
// (undocumented)
|
|
45
|
+
historyMetadata?: HistoryMetadata;
|
|
46
|
+
// (undocumented)
|
|
47
|
+
properties?: {
|
|
48
|
+
key: string;
|
|
49
|
+
value: unknown;
|
|
50
|
+
}[];
|
|
51
|
+
// (undocumented)
|
|
52
|
+
transition?: IssueTransition;
|
|
53
|
+
// (undocumented)
|
|
54
|
+
update?: Record<string, Record<string, unknown>[]>;
|
|
55
|
+
}
|
|
56
|
+
|
|
19
57
|
// @public (undocumented)
|
|
20
58
|
export type CustomFields = Record<string, unknown>;
|
|
21
59
|
|
|
@@ -40,6 +78,48 @@ export type FixVersions = {
|
|
|
40
78
|
self: string;
|
|
41
79
|
}[];
|
|
42
80
|
|
|
81
|
+
// @public (undocumented)
|
|
82
|
+
export interface HistoryMetadata {
|
|
83
|
+
// (undocumented)
|
|
84
|
+
activityDescription?: string;
|
|
85
|
+
// (undocumented)
|
|
86
|
+
activityDescriptionKey?: string;
|
|
87
|
+
// (undocumented)
|
|
88
|
+
actor?: HistoryMetadataParticipant;
|
|
89
|
+
// (undocumented)
|
|
90
|
+
cause?: HistoryMetadataParticipant;
|
|
91
|
+
// (undocumented)
|
|
92
|
+
description?: string;
|
|
93
|
+
// (undocumented)
|
|
94
|
+
descriptionKey?: string;
|
|
95
|
+
// (undocumented)
|
|
96
|
+
emailDescription?: string;
|
|
97
|
+
// (undocumented)
|
|
98
|
+
emailDescriptionKey?: string;
|
|
99
|
+
// (undocumented)
|
|
100
|
+
extraData?: unknown;
|
|
101
|
+
// (undocumented)
|
|
102
|
+
generator?: HistoryMetadataParticipant;
|
|
103
|
+
// (undocumented)
|
|
104
|
+
type?: string;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
// @public (undocumented)
|
|
108
|
+
export interface HistoryMetadataParticipant {
|
|
109
|
+
// (undocumented)
|
|
110
|
+
avatarUrl: string;
|
|
111
|
+
// (undocumented)
|
|
112
|
+
displayName: string;
|
|
113
|
+
// (undocumented)
|
|
114
|
+
displayNameKey: string;
|
|
115
|
+
// (undocumented)
|
|
116
|
+
id: string;
|
|
117
|
+
// (undocumented)
|
|
118
|
+
type: string;
|
|
119
|
+
// (undocumented)
|
|
120
|
+
url: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
43
123
|
// @public (undocumented)
|
|
44
124
|
export interface Issue {
|
|
45
125
|
// (undocumented)
|
|
@@ -89,6 +169,14 @@ export interface IssueStatus {
|
|
|
89
169
|
untranslatedName?: string;
|
|
90
170
|
}
|
|
91
171
|
|
|
172
|
+
// @public (undocumented)
|
|
173
|
+
export interface IssueTransition {
|
|
174
|
+
// (undocumented)
|
|
175
|
+
id: string;
|
|
176
|
+
// (undocumented)
|
|
177
|
+
looped: boolean;
|
|
178
|
+
}
|
|
179
|
+
|
|
92
180
|
// @public (undocumented)
|
|
93
181
|
export interface IssueTypeDetails {
|
|
94
182
|
// (undocumented)
|
|
@@ -166,21 +254,21 @@ export type PrecomputationUpdate = {
|
|
|
166
254
|
// @public (undocumented)
|
|
167
255
|
export interface Project {
|
|
168
256
|
// (undocumented)
|
|
169
|
-
archived
|
|
257
|
+
archived?: boolean;
|
|
170
258
|
// (undocumented)
|
|
171
|
-
avatarUrls
|
|
259
|
+
avatarUrls?: AvatarUrls;
|
|
172
260
|
// (undocumented)
|
|
173
261
|
id: string;
|
|
174
262
|
// (undocumented)
|
|
175
|
-
key
|
|
263
|
+
key?: string;
|
|
176
264
|
// (undocumented)
|
|
177
|
-
name
|
|
265
|
+
name?: string;
|
|
178
266
|
// (undocumented)
|
|
179
|
-
projectTypeKey
|
|
267
|
+
projectTypeKey?: string;
|
|
180
268
|
// (undocumented)
|
|
181
|
-
self
|
|
269
|
+
self?: string;
|
|
182
270
|
// (undocumented)
|
|
183
|
-
simplified
|
|
271
|
+
simplified?: boolean;
|
|
184
272
|
}
|
|
185
273
|
|
|
186
274
|
// @public (undocumented)
|
|
@@ -214,13 +302,13 @@ export interface ProjectVersion {
|
|
|
214
302
|
// @public (undocumented)
|
|
215
303
|
export interface StaticIssueFields {
|
|
216
304
|
// (undocumented)
|
|
217
|
-
aggregatetimespent
|
|
305
|
+
aggregatetimespent?: number;
|
|
218
306
|
// (undocumented)
|
|
219
307
|
assignee?: User;
|
|
220
308
|
// (undocumented)
|
|
221
|
-
created
|
|
309
|
+
created?: string;
|
|
222
310
|
// (undocumented)
|
|
223
|
-
creator
|
|
311
|
+
creator?: User;
|
|
224
312
|
// (undocumented)
|
|
225
313
|
description?: {
|
|
226
314
|
type: 'doc';
|
|
@@ -234,26 +322,26 @@ export interface StaticIssueFields {
|
|
|
234
322
|
}[];
|
|
235
323
|
};
|
|
236
324
|
// (undocumented)
|
|
237
|
-
fixVersions
|
|
325
|
+
fixVersions?: FixVersions;
|
|
238
326
|
// (undocumented)
|
|
239
327
|
issuelinks?: IssueLink[];
|
|
240
328
|
// (undocumented)
|
|
241
329
|
issuetype: {
|
|
242
|
-
self
|
|
330
|
+
self?: string;
|
|
243
331
|
id: string;
|
|
244
|
-
description
|
|
245
|
-
iconUrl
|
|
246
|
-
name
|
|
247
|
-
subtask
|
|
248
|
-
avatarId
|
|
249
|
-
hierarchyLevel
|
|
332
|
+
description?: string;
|
|
333
|
+
iconUrl?: string;
|
|
334
|
+
name?: string;
|
|
335
|
+
subtask?: boolean;
|
|
336
|
+
avatarId?: number;
|
|
337
|
+
hierarchyLevel?: number;
|
|
250
338
|
};
|
|
251
339
|
// (undocumented)
|
|
252
|
-
labels
|
|
340
|
+
labels?: string[];
|
|
253
341
|
// (undocumented)
|
|
254
|
-
lastViewed
|
|
342
|
+
lastViewed?: string;
|
|
255
343
|
// (undocumented)
|
|
256
|
-
priority
|
|
344
|
+
priority?: {
|
|
257
345
|
self: string;
|
|
258
346
|
iconUrl: string;
|
|
259
347
|
name: string;
|
|
@@ -264,45 +352,48 @@ export interface StaticIssueFields {
|
|
|
264
352
|
// (undocumented)
|
|
265
353
|
reporter?: User;
|
|
266
354
|
// (undocumented)
|
|
267
|
-
resolution
|
|
355
|
+
resolution?: unknown;
|
|
268
356
|
// (undocumented)
|
|
269
357
|
resolutiondate?: string;
|
|
270
358
|
// (undocumented)
|
|
271
|
-
status
|
|
359
|
+
status?: IssueStatus;
|
|
272
360
|
// (undocumented)
|
|
273
|
-
statuscategorychangedate
|
|
361
|
+
statuscategorychangedate?: string;
|
|
274
362
|
// (undocumented)
|
|
275
363
|
summary: string;
|
|
276
364
|
// (undocumented)
|
|
277
|
-
timeestimate
|
|
365
|
+
timeestimate?: number;
|
|
278
366
|
// (undocumented)
|
|
279
|
-
timespent
|
|
367
|
+
timespent?: number;
|
|
280
368
|
// (undocumented)
|
|
281
|
-
timetracking
|
|
369
|
+
timetracking?: {
|
|
282
370
|
remainingEstimate: string;
|
|
283
371
|
timeSpent: string;
|
|
284
372
|
remainingEstimateSeconds: number;
|
|
285
373
|
timeSpentSeconds: number;
|
|
286
374
|
};
|
|
287
375
|
// (undocumented)
|
|
288
|
-
updated
|
|
376
|
+
updated?: string;
|
|
289
377
|
// (undocumented)
|
|
290
|
-
watches
|
|
378
|
+
watches?: {
|
|
291
379
|
self: string;
|
|
292
380
|
watchCount: number;
|
|
293
381
|
isWatching: boolean;
|
|
294
382
|
};
|
|
295
383
|
// (undocumented)
|
|
296
|
-
worklog
|
|
384
|
+
worklog?: {
|
|
297
385
|
total: number;
|
|
298
386
|
startAt: number;
|
|
299
387
|
maxResults: number;
|
|
300
388
|
worklogs: Worklog[];
|
|
301
389
|
};
|
|
302
390
|
// (undocumented)
|
|
303
|
-
workratio
|
|
391
|
+
workratio?: number;
|
|
304
392
|
}
|
|
305
393
|
|
|
394
|
+
// @public (undocumented)
|
|
395
|
+
export type UpdateIssue = CreatedIssue;
|
|
396
|
+
|
|
306
397
|
// @public (undocumented)
|
|
307
398
|
export interface User {
|
|
308
399
|
// (undocumented)
|
|
@@ -5,6 +5,33 @@ export declare interface AvatarUrls {
|
|
|
5
5
|
'32x32': string;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
export declare interface CreatedIssue {
|
|
9
|
+
id: string;
|
|
10
|
+
key: string;
|
|
11
|
+
self: string;
|
|
12
|
+
transition: {
|
|
13
|
+
status: number;
|
|
14
|
+
errorCollection?: {
|
|
15
|
+
errorMessages: string[];
|
|
16
|
+
errors: unknown;
|
|
17
|
+
};
|
|
18
|
+
warningCollection?: {
|
|
19
|
+
warnings: string[];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export declare interface CreateIssue {
|
|
25
|
+
fields: IssueFields;
|
|
26
|
+
properties?: {
|
|
27
|
+
key: string;
|
|
28
|
+
value: unknown;
|
|
29
|
+
}[];
|
|
30
|
+
transition?: IssueTransition;
|
|
31
|
+
update?: Record<string, Record<string, unknown>[]>;
|
|
32
|
+
historyMetadata?: HistoryMetadata;
|
|
33
|
+
}
|
|
34
|
+
|
|
8
35
|
export declare type CustomFields = Record<string, unknown>;
|
|
9
36
|
|
|
10
37
|
export declare interface EntityProperty {
|
|
@@ -23,6 +50,29 @@ export declare type FixVersions = {
|
|
|
23
50
|
self: string;
|
|
24
51
|
}[];
|
|
25
52
|
|
|
53
|
+
export declare interface HistoryMetadata {
|
|
54
|
+
activityDescription?: string;
|
|
55
|
+
activityDescriptionKey?: string;
|
|
56
|
+
actor?: HistoryMetadataParticipant;
|
|
57
|
+
cause?: HistoryMetadataParticipant;
|
|
58
|
+
description?: string;
|
|
59
|
+
descriptionKey?: string;
|
|
60
|
+
emailDescription?: string;
|
|
61
|
+
emailDescriptionKey?: string;
|
|
62
|
+
extraData?: unknown;
|
|
63
|
+
generator?: HistoryMetadataParticipant;
|
|
64
|
+
type?: string;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export declare interface HistoryMetadataParticipant {
|
|
68
|
+
avatarUrl: string;
|
|
69
|
+
displayName: string;
|
|
70
|
+
displayNameKey: string;
|
|
71
|
+
id: string;
|
|
72
|
+
type: string;
|
|
73
|
+
url: string;
|
|
74
|
+
}
|
|
75
|
+
|
|
26
76
|
export declare interface Issue {
|
|
27
77
|
id: string;
|
|
28
78
|
expand?: string;
|
|
@@ -54,6 +104,11 @@ export declare interface IssueStatus {
|
|
|
54
104
|
};
|
|
55
105
|
}
|
|
56
106
|
|
|
107
|
+
export declare interface IssueTransition {
|
|
108
|
+
id: string;
|
|
109
|
+
looped: boolean;
|
|
110
|
+
}
|
|
111
|
+
|
|
57
112
|
export declare interface IssueTypeDetails {
|
|
58
113
|
avatarId: number;
|
|
59
114
|
description: string;
|
|
@@ -111,14 +166,14 @@ export declare type PrecomputationUpdate = {
|
|
|
111
166
|
};
|
|
112
167
|
|
|
113
168
|
export declare interface Project {
|
|
114
|
-
self
|
|
169
|
+
self?: string;
|
|
115
170
|
id: string;
|
|
116
|
-
key
|
|
117
|
-
name
|
|
118
|
-
projectTypeKey
|
|
119
|
-
simplified
|
|
120
|
-
avatarUrls
|
|
121
|
-
archived
|
|
171
|
+
key?: string;
|
|
172
|
+
name?: string;
|
|
173
|
+
projectTypeKey?: string;
|
|
174
|
+
simplified?: boolean;
|
|
175
|
+
avatarUrls?: AvatarUrls;
|
|
176
|
+
archived?: boolean;
|
|
122
177
|
}
|
|
123
178
|
|
|
124
179
|
export declare interface ProjectVersion {
|
|
@@ -137,46 +192,46 @@ export declare interface ProjectVersion {
|
|
|
137
192
|
}
|
|
138
193
|
|
|
139
194
|
export declare interface StaticIssueFields {
|
|
140
|
-
statuscategorychangedate
|
|
141
|
-
fixVersions
|
|
142
|
-
resolution
|
|
143
|
-
worklog
|
|
195
|
+
statuscategorychangedate?: string;
|
|
196
|
+
fixVersions?: FixVersions;
|
|
197
|
+
resolution?: unknown;
|
|
198
|
+
worklog?: {
|
|
144
199
|
total: number;
|
|
145
200
|
startAt: number;
|
|
146
201
|
maxResults: number;
|
|
147
202
|
worklogs: Worklog[];
|
|
148
203
|
};
|
|
149
204
|
issuetype: {
|
|
150
|
-
self
|
|
205
|
+
self?: string;
|
|
151
206
|
id: string;
|
|
152
|
-
description
|
|
153
|
-
iconUrl
|
|
154
|
-
name
|
|
155
|
-
subtask
|
|
156
|
-
avatarId
|
|
157
|
-
hierarchyLevel
|
|
207
|
+
description?: string;
|
|
208
|
+
iconUrl?: string;
|
|
209
|
+
name?: string;
|
|
210
|
+
subtask?: boolean;
|
|
211
|
+
avatarId?: number;
|
|
212
|
+
hierarchyLevel?: number;
|
|
158
213
|
};
|
|
159
|
-
timespent
|
|
214
|
+
timespent?: number;
|
|
160
215
|
project: Project;
|
|
161
|
-
aggregatetimespent
|
|
216
|
+
aggregatetimespent?: number;
|
|
162
217
|
resolutiondate?: string;
|
|
163
|
-
lastViewed
|
|
164
|
-
priority
|
|
218
|
+
lastViewed?: string;
|
|
219
|
+
priority?: {
|
|
165
220
|
self: string;
|
|
166
221
|
iconUrl: string;
|
|
167
222
|
name: string;
|
|
168
223
|
id: string;
|
|
169
224
|
};
|
|
170
|
-
labels
|
|
171
|
-
timeestimate
|
|
172
|
-
workratio
|
|
173
|
-
watches
|
|
225
|
+
labels?: string[];
|
|
226
|
+
timeestimate?: number;
|
|
227
|
+
workratio?: number;
|
|
228
|
+
watches?: {
|
|
174
229
|
self: string;
|
|
175
230
|
watchCount: number;
|
|
176
231
|
isWatching: boolean;
|
|
177
232
|
};
|
|
178
|
-
created
|
|
179
|
-
updated
|
|
233
|
+
created?: string;
|
|
234
|
+
updated?: string;
|
|
180
235
|
description?: {
|
|
181
236
|
type: 'doc';
|
|
182
237
|
version: 1;
|
|
@@ -188,20 +243,22 @@ export declare interface StaticIssueFields {
|
|
|
188
243
|
}[];
|
|
189
244
|
}[];
|
|
190
245
|
};
|
|
191
|
-
timetracking
|
|
246
|
+
timetracking?: {
|
|
192
247
|
remainingEstimate: string;
|
|
193
248
|
timeSpent: string;
|
|
194
249
|
remainingEstimateSeconds: number;
|
|
195
250
|
timeSpentSeconds: number;
|
|
196
251
|
};
|
|
197
252
|
summary: string;
|
|
198
|
-
status
|
|
199
|
-
creator
|
|
253
|
+
status?: IssueStatus;
|
|
254
|
+
creator?: User;
|
|
200
255
|
assignee?: User;
|
|
201
256
|
reporter?: User;
|
|
202
257
|
issuelinks?: IssueLink[];
|
|
203
258
|
}
|
|
204
259
|
|
|
260
|
+
export declare type UpdateIssue = CreatedIssue;
|
|
261
|
+
|
|
205
262
|
export declare interface User {
|
|
206
263
|
accountId: string;
|
|
207
264
|
active: boolean;
|