@valiantys/atlassian-app-frontend 3.0.0-alpha-17 → 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-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/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/package.json +6 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../../../../shared/util-fetch/src/lib/shared-util-fetch/index.cjs.js"),s=class s{constructor(t){this.fetchSvc=t}getVersions(t){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/project/${t}/versions`})}getProject(t){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/project/${t}`})}async getAllProjects(){return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/project`})||[]}async projectSearchByIds(t){var e;if(t.length>50)throw new Error("Too many project ids, max allowed is 50.");const r=this.fetchSvc.route`/rest/api/3/project/search?${t.map(h=>"id="+h).join("&")}`;return(e=await this.fetchSvc.fetch({method:"GET",url:r}))==null?void 0:e.values}async getProjectIssueTypes(t){return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issuetype/project?projectId=${t}`})||[]}getProjectStatuses(t){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/project/${t}/statuses`})}async getProjectProperty(t,r){try{return(await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/project/${t}/properties/${r}`})).value}catch(e){if(e instanceof o.FetchError&&e.statusCode===404)return;throw e}}setProjectProperty(t,r,e){return this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/3/project/${t}/properties/${r}`},e)}};s.projectUrl="/rest/api/3/project";let c=s;exports.JiraProjectService=c;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { FetchError as o } from "../../../../../../../shared/util-fetch/src/lib/shared-util-fetch/index.es.js";
|
|
2
|
+
const c = class c {
|
|
3
|
+
constructor(t) {
|
|
4
|
+
this.fetchSvc = t;
|
|
5
|
+
}
|
|
6
|
+
getVersions(t) {
|
|
7
|
+
return this.fetchSvc.fetch({
|
|
8
|
+
method: "GET",
|
|
9
|
+
url: this.fetchSvc.route`/rest/api/3/project/${t}/versions`
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
getProject(t) {
|
|
13
|
+
return this.fetchSvc.fetch({
|
|
14
|
+
method: "GET",
|
|
15
|
+
url: this.fetchSvc.route`/rest/api/3/project/${t}`
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
async getAllProjects() {
|
|
19
|
+
return await this.fetchSvc.fetch({
|
|
20
|
+
method: "GET",
|
|
21
|
+
url: this.fetchSvc.route`/rest/api/3/project`
|
|
22
|
+
}) || [];
|
|
23
|
+
}
|
|
24
|
+
async projectSearchByIds(t) {
|
|
25
|
+
var e;
|
|
26
|
+
if (t.length > 50)
|
|
27
|
+
throw new Error("Too many project ids, max allowed is 50.");
|
|
28
|
+
const r = this.fetchSvc.route`/rest/api/3/project/search?${t.map((h) => "id=" + h).join("&")}`;
|
|
29
|
+
return (e = await this.fetchSvc.fetch({
|
|
30
|
+
method: "GET",
|
|
31
|
+
url: r
|
|
32
|
+
})) == null ? void 0 : e.values;
|
|
33
|
+
}
|
|
34
|
+
async getProjectIssueTypes(t) {
|
|
35
|
+
return await this.fetchSvc.fetch({
|
|
36
|
+
method: "GET",
|
|
37
|
+
url: this.fetchSvc.route`/rest/api/3/issuetype/project?projectId=${t}`
|
|
38
|
+
}) || [];
|
|
39
|
+
}
|
|
40
|
+
getProjectStatuses(t) {
|
|
41
|
+
return this.fetchSvc.fetch({
|
|
42
|
+
method: "GET",
|
|
43
|
+
url: this.fetchSvc.route`/rest/api/3/project/${t}/statuses`
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
async getProjectProperty(t, r) {
|
|
47
|
+
try {
|
|
48
|
+
return (await this.fetchSvc.fetch({
|
|
49
|
+
method: "GET",
|
|
50
|
+
url: this.fetchSvc.route`/rest/api/3/project/${t}/properties/${r}`
|
|
51
|
+
})).value;
|
|
52
|
+
} catch (e) {
|
|
53
|
+
if (e instanceof o && e.statusCode === 404)
|
|
54
|
+
return;
|
|
55
|
+
throw e;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
setProjectProperty(t, r, e) {
|
|
59
|
+
return this.fetchSvc.fetch(
|
|
60
|
+
{
|
|
61
|
+
method: "PUT",
|
|
62
|
+
url: this.fetchSvc.route`/rest/api/3/project/${t}/properties/${r}`
|
|
63
|
+
},
|
|
64
|
+
e
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
c.projectUrl = "/rest/api/3/project";
|
|
69
|
+
let s = c;
|
|
70
|
+
export {
|
|
71
|
+
s as JiraProjectService
|
|
72
|
+
};
|
|
@@ -0,0 +1,794 @@
|
|
|
1
|
+
{
|
|
2
|
+
"metadata": {
|
|
3
|
+
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
+
"toolVersion": "7.52.8",
|
|
5
|
+
"schemaVersion": 1011,
|
|
6
|
+
"oldestForwardsCompatibleVersion": 1001,
|
|
7
|
+
"tsdocConfig": {
|
|
8
|
+
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
|
|
9
|
+
"noStandardTags": true,
|
|
10
|
+
"tagDefinitions": [
|
|
11
|
+
{
|
|
12
|
+
"tagName": "@alpha",
|
|
13
|
+
"syntaxKind": "modifier"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"tagName": "@beta",
|
|
17
|
+
"syntaxKind": "modifier"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"tagName": "@defaultValue",
|
|
21
|
+
"syntaxKind": "block"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"tagName": "@decorator",
|
|
25
|
+
"syntaxKind": "block",
|
|
26
|
+
"allowMultiple": true
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"tagName": "@deprecated",
|
|
30
|
+
"syntaxKind": "block"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"tagName": "@eventProperty",
|
|
34
|
+
"syntaxKind": "modifier"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"tagName": "@example",
|
|
38
|
+
"syntaxKind": "block",
|
|
39
|
+
"allowMultiple": true
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"tagName": "@experimental",
|
|
43
|
+
"syntaxKind": "modifier"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"tagName": "@inheritDoc",
|
|
47
|
+
"syntaxKind": "inline"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"tagName": "@internal",
|
|
51
|
+
"syntaxKind": "modifier"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"tagName": "@label",
|
|
55
|
+
"syntaxKind": "inline"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"tagName": "@link",
|
|
59
|
+
"syntaxKind": "inline",
|
|
60
|
+
"allowMultiple": true
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"tagName": "@override",
|
|
64
|
+
"syntaxKind": "modifier"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"tagName": "@packageDocumentation",
|
|
68
|
+
"syntaxKind": "modifier"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"tagName": "@param",
|
|
72
|
+
"syntaxKind": "block",
|
|
73
|
+
"allowMultiple": true
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"tagName": "@privateRemarks",
|
|
77
|
+
"syntaxKind": "block"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"tagName": "@public",
|
|
81
|
+
"syntaxKind": "modifier"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"tagName": "@readonly",
|
|
85
|
+
"syntaxKind": "modifier"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"tagName": "@remarks",
|
|
89
|
+
"syntaxKind": "block"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"tagName": "@returns",
|
|
93
|
+
"syntaxKind": "block"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"tagName": "@sealed",
|
|
97
|
+
"syntaxKind": "modifier"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"tagName": "@see",
|
|
101
|
+
"syntaxKind": "block"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"tagName": "@throws",
|
|
105
|
+
"syntaxKind": "block",
|
|
106
|
+
"allowMultiple": true
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"tagName": "@typeParam",
|
|
110
|
+
"syntaxKind": "block",
|
|
111
|
+
"allowMultiple": true
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"tagName": "@virtual",
|
|
115
|
+
"syntaxKind": "modifier"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"tagName": "@betaDocumentation",
|
|
119
|
+
"syntaxKind": "modifier"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"tagName": "@internalRemarks",
|
|
123
|
+
"syntaxKind": "block"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"tagName": "@preapproved",
|
|
127
|
+
"syntaxKind": "modifier"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"supportForTags": {
|
|
131
|
+
"@alpha": true,
|
|
132
|
+
"@beta": true,
|
|
133
|
+
"@defaultValue": true,
|
|
134
|
+
"@decorator": true,
|
|
135
|
+
"@deprecated": true,
|
|
136
|
+
"@eventProperty": true,
|
|
137
|
+
"@example": true,
|
|
138
|
+
"@experimental": true,
|
|
139
|
+
"@inheritDoc": true,
|
|
140
|
+
"@internal": true,
|
|
141
|
+
"@label": true,
|
|
142
|
+
"@link": true,
|
|
143
|
+
"@override": true,
|
|
144
|
+
"@packageDocumentation": true,
|
|
145
|
+
"@param": true,
|
|
146
|
+
"@privateRemarks": true,
|
|
147
|
+
"@public": true,
|
|
148
|
+
"@readonly": true,
|
|
149
|
+
"@remarks": true,
|
|
150
|
+
"@returns": true,
|
|
151
|
+
"@sealed": true,
|
|
152
|
+
"@see": true,
|
|
153
|
+
"@throws": true,
|
|
154
|
+
"@typeParam": true,
|
|
155
|
+
"@virtual": true,
|
|
156
|
+
"@betaDocumentation": true,
|
|
157
|
+
"@internalRemarks": true,
|
|
158
|
+
"@preapproved": true
|
|
159
|
+
},
|
|
160
|
+
"reportUnsupportedHtmlElements": false
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"kind": "Package",
|
|
164
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!",
|
|
165
|
+
"docComment": "",
|
|
166
|
+
"name": "@valiantys/atlassian-app-frontend",
|
|
167
|
+
"preserveMemberOrder": false,
|
|
168
|
+
"members": [
|
|
169
|
+
{
|
|
170
|
+
"kind": "EntryPoint",
|
|
171
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!",
|
|
172
|
+
"name": "",
|
|
173
|
+
"preserveMemberOrder": false,
|
|
174
|
+
"members": [
|
|
175
|
+
{
|
|
176
|
+
"kind": "Class",
|
|
177
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService:class",
|
|
178
|
+
"docComment": "",
|
|
179
|
+
"excerptTokens": [
|
|
180
|
+
{
|
|
181
|
+
"kind": "Content",
|
|
182
|
+
"text": "export declare class JiraProjectService "
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"fileUrlPath": "../../jira/shared/data-access-project/src/lib/jira-project-service.d.ts",
|
|
186
|
+
"releaseTag": "Public",
|
|
187
|
+
"isAbstract": false,
|
|
188
|
+
"name": "JiraProjectService",
|
|
189
|
+
"preserveMemberOrder": false,
|
|
190
|
+
"members": [
|
|
191
|
+
{
|
|
192
|
+
"kind": "Constructor",
|
|
193
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService:constructor(1)",
|
|
194
|
+
"docComment": "/**\n * Constructs a new instance of the `JiraProjectService` class\n */\n",
|
|
195
|
+
"excerptTokens": [
|
|
196
|
+
{
|
|
197
|
+
"kind": "Content",
|
|
198
|
+
"text": "constructor(fetchSvc: "
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"kind": "Reference",
|
|
202
|
+
"text": "AtlassianProductFetchService",
|
|
203
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!~AtlassianProductFetchService:interface"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"kind": "Content",
|
|
207
|
+
"text": "<'jira'>"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"kind": "Content",
|
|
211
|
+
"text": ");"
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"releaseTag": "Public",
|
|
215
|
+
"isProtected": false,
|
|
216
|
+
"overloadIndex": 1,
|
|
217
|
+
"parameters": [
|
|
218
|
+
{
|
|
219
|
+
"parameterName": "fetchSvc",
|
|
220
|
+
"parameterTypeTokenRange": {
|
|
221
|
+
"startIndex": 1,
|
|
222
|
+
"endIndex": 3
|
|
223
|
+
},
|
|
224
|
+
"isOptional": false
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"kind": "Method",
|
|
230
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService#getAllProjects:member(1)",
|
|
231
|
+
"docComment": "",
|
|
232
|
+
"excerptTokens": [
|
|
233
|
+
{
|
|
234
|
+
"kind": "Content",
|
|
235
|
+
"text": "getAllProjects(): "
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"kind": "Reference",
|
|
239
|
+
"text": "Promise",
|
|
240
|
+
"canonicalReference": "!Promise:interface"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"kind": "Content",
|
|
244
|
+
"text": "<"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"kind": "Reference",
|
|
248
|
+
"text": "Project",
|
|
249
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!~Project:interface"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"kind": "Content",
|
|
253
|
+
"text": "[]>"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"kind": "Content",
|
|
257
|
+
"text": ";"
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"isStatic": false,
|
|
261
|
+
"returnTypeTokenRange": {
|
|
262
|
+
"startIndex": 1,
|
|
263
|
+
"endIndex": 5
|
|
264
|
+
},
|
|
265
|
+
"releaseTag": "Public",
|
|
266
|
+
"isProtected": false,
|
|
267
|
+
"overloadIndex": 1,
|
|
268
|
+
"parameters": [],
|
|
269
|
+
"isOptional": false,
|
|
270
|
+
"isAbstract": false,
|
|
271
|
+
"name": "getAllProjects"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"kind": "Method",
|
|
275
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService#getProject:member(1)",
|
|
276
|
+
"docComment": "",
|
|
277
|
+
"excerptTokens": [
|
|
278
|
+
{
|
|
279
|
+
"kind": "Content",
|
|
280
|
+
"text": "getProject(projectIdOrKey: "
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"kind": "Content",
|
|
284
|
+
"text": "string"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"kind": "Content",
|
|
288
|
+
"text": "): "
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"kind": "Reference",
|
|
292
|
+
"text": "Promise",
|
|
293
|
+
"canonicalReference": "!Promise:interface"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"kind": "Content",
|
|
297
|
+
"text": "<"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"kind": "Reference",
|
|
301
|
+
"text": "Project",
|
|
302
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!~Project:interface"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"kind": "Content",
|
|
306
|
+
"text": ">"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"kind": "Content",
|
|
310
|
+
"text": ";"
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"isStatic": false,
|
|
314
|
+
"returnTypeTokenRange": {
|
|
315
|
+
"startIndex": 3,
|
|
316
|
+
"endIndex": 7
|
|
317
|
+
},
|
|
318
|
+
"releaseTag": "Public",
|
|
319
|
+
"isProtected": false,
|
|
320
|
+
"overloadIndex": 1,
|
|
321
|
+
"parameters": [
|
|
322
|
+
{
|
|
323
|
+
"parameterName": "projectIdOrKey",
|
|
324
|
+
"parameterTypeTokenRange": {
|
|
325
|
+
"startIndex": 1,
|
|
326
|
+
"endIndex": 2
|
|
327
|
+
},
|
|
328
|
+
"isOptional": false
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"isOptional": false,
|
|
332
|
+
"isAbstract": false,
|
|
333
|
+
"name": "getProject"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"kind": "Method",
|
|
337
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService#getProjectIssueTypes:member(1)",
|
|
338
|
+
"docComment": "",
|
|
339
|
+
"excerptTokens": [
|
|
340
|
+
{
|
|
341
|
+
"kind": "Content",
|
|
342
|
+
"text": "getProjectIssueTypes(projectId: "
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"kind": "Content",
|
|
346
|
+
"text": "string"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"kind": "Content",
|
|
350
|
+
"text": "): "
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"kind": "Reference",
|
|
354
|
+
"text": "Promise",
|
|
355
|
+
"canonicalReference": "!Promise:interface"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"kind": "Content",
|
|
359
|
+
"text": "<"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"kind": "Reference",
|
|
363
|
+
"text": "IssueTypeDetails",
|
|
364
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!~IssueTypeDetails:interface"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"kind": "Content",
|
|
368
|
+
"text": "[]>"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"kind": "Content",
|
|
372
|
+
"text": ";"
|
|
373
|
+
}
|
|
374
|
+
],
|
|
375
|
+
"isStatic": false,
|
|
376
|
+
"returnTypeTokenRange": {
|
|
377
|
+
"startIndex": 3,
|
|
378
|
+
"endIndex": 7
|
|
379
|
+
},
|
|
380
|
+
"releaseTag": "Public",
|
|
381
|
+
"isProtected": false,
|
|
382
|
+
"overloadIndex": 1,
|
|
383
|
+
"parameters": [
|
|
384
|
+
{
|
|
385
|
+
"parameterName": "projectId",
|
|
386
|
+
"parameterTypeTokenRange": {
|
|
387
|
+
"startIndex": 1,
|
|
388
|
+
"endIndex": 2
|
|
389
|
+
},
|
|
390
|
+
"isOptional": false
|
|
391
|
+
}
|
|
392
|
+
],
|
|
393
|
+
"isOptional": false,
|
|
394
|
+
"isAbstract": false,
|
|
395
|
+
"name": "getProjectIssueTypes"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"kind": "Method",
|
|
399
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService#getProjectProperty:member(1)",
|
|
400
|
+
"docComment": "",
|
|
401
|
+
"excerptTokens": [
|
|
402
|
+
{
|
|
403
|
+
"kind": "Content",
|
|
404
|
+
"text": "getProjectProperty<T>(projectIdOrKey: "
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"kind": "Content",
|
|
408
|
+
"text": "string"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"kind": "Content",
|
|
412
|
+
"text": ", propertyKey: "
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"kind": "Content",
|
|
416
|
+
"text": "string"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"kind": "Content",
|
|
420
|
+
"text": "): "
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"kind": "Reference",
|
|
424
|
+
"text": "Promise",
|
|
425
|
+
"canonicalReference": "!Promise:interface"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"kind": "Content",
|
|
429
|
+
"text": "<T | undefined>"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"kind": "Content",
|
|
433
|
+
"text": ";"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"typeParameters": [
|
|
437
|
+
{
|
|
438
|
+
"typeParameterName": "T",
|
|
439
|
+
"constraintTokenRange": {
|
|
440
|
+
"startIndex": 0,
|
|
441
|
+
"endIndex": 0
|
|
442
|
+
},
|
|
443
|
+
"defaultTypeTokenRange": {
|
|
444
|
+
"startIndex": 0,
|
|
445
|
+
"endIndex": 0
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
"isStatic": false,
|
|
450
|
+
"returnTypeTokenRange": {
|
|
451
|
+
"startIndex": 5,
|
|
452
|
+
"endIndex": 7
|
|
453
|
+
},
|
|
454
|
+
"releaseTag": "Public",
|
|
455
|
+
"isProtected": false,
|
|
456
|
+
"overloadIndex": 1,
|
|
457
|
+
"parameters": [
|
|
458
|
+
{
|
|
459
|
+
"parameterName": "projectIdOrKey",
|
|
460
|
+
"parameterTypeTokenRange": {
|
|
461
|
+
"startIndex": 1,
|
|
462
|
+
"endIndex": 2
|
|
463
|
+
},
|
|
464
|
+
"isOptional": false
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"parameterName": "propertyKey",
|
|
468
|
+
"parameterTypeTokenRange": {
|
|
469
|
+
"startIndex": 3,
|
|
470
|
+
"endIndex": 4
|
|
471
|
+
},
|
|
472
|
+
"isOptional": false
|
|
473
|
+
}
|
|
474
|
+
],
|
|
475
|
+
"isOptional": false,
|
|
476
|
+
"isAbstract": false,
|
|
477
|
+
"name": "getProjectProperty"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"kind": "Method",
|
|
481
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService#getProjectStatuses:member(1)",
|
|
482
|
+
"docComment": "",
|
|
483
|
+
"excerptTokens": [
|
|
484
|
+
{
|
|
485
|
+
"kind": "Content",
|
|
486
|
+
"text": "getProjectStatuses(projectIdOrKey: "
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"kind": "Content",
|
|
490
|
+
"text": "string"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"kind": "Content",
|
|
494
|
+
"text": "): "
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"kind": "Reference",
|
|
498
|
+
"text": "Promise",
|
|
499
|
+
"canonicalReference": "!Promise:interface"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"kind": "Content",
|
|
503
|
+
"text": "<unknown>"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"kind": "Content",
|
|
507
|
+
"text": ";"
|
|
508
|
+
}
|
|
509
|
+
],
|
|
510
|
+
"isStatic": false,
|
|
511
|
+
"returnTypeTokenRange": {
|
|
512
|
+
"startIndex": 3,
|
|
513
|
+
"endIndex": 5
|
|
514
|
+
},
|
|
515
|
+
"releaseTag": "Public",
|
|
516
|
+
"isProtected": false,
|
|
517
|
+
"overloadIndex": 1,
|
|
518
|
+
"parameters": [
|
|
519
|
+
{
|
|
520
|
+
"parameterName": "projectIdOrKey",
|
|
521
|
+
"parameterTypeTokenRange": {
|
|
522
|
+
"startIndex": 1,
|
|
523
|
+
"endIndex": 2
|
|
524
|
+
},
|
|
525
|
+
"isOptional": false
|
|
526
|
+
}
|
|
527
|
+
],
|
|
528
|
+
"isOptional": false,
|
|
529
|
+
"isAbstract": false,
|
|
530
|
+
"name": "getProjectStatuses"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"kind": "Method",
|
|
534
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService#getVersions:member(1)",
|
|
535
|
+
"docComment": "",
|
|
536
|
+
"excerptTokens": [
|
|
537
|
+
{
|
|
538
|
+
"kind": "Content",
|
|
539
|
+
"text": "getVersions(projectIdOrKey: "
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"kind": "Content",
|
|
543
|
+
"text": "string"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"kind": "Content",
|
|
547
|
+
"text": "): "
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"kind": "Reference",
|
|
551
|
+
"text": "Promise",
|
|
552
|
+
"canonicalReference": "!Promise:interface"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"kind": "Content",
|
|
556
|
+
"text": "<"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"kind": "Reference",
|
|
560
|
+
"text": "ProjectVersion",
|
|
561
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!~ProjectVersion:interface"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"kind": "Content",
|
|
565
|
+
"text": "[]>"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"kind": "Content",
|
|
569
|
+
"text": ";"
|
|
570
|
+
}
|
|
571
|
+
],
|
|
572
|
+
"isStatic": false,
|
|
573
|
+
"returnTypeTokenRange": {
|
|
574
|
+
"startIndex": 3,
|
|
575
|
+
"endIndex": 7
|
|
576
|
+
},
|
|
577
|
+
"releaseTag": "Public",
|
|
578
|
+
"isProtected": false,
|
|
579
|
+
"overloadIndex": 1,
|
|
580
|
+
"parameters": [
|
|
581
|
+
{
|
|
582
|
+
"parameterName": "projectIdOrKey",
|
|
583
|
+
"parameterTypeTokenRange": {
|
|
584
|
+
"startIndex": 1,
|
|
585
|
+
"endIndex": 2
|
|
586
|
+
},
|
|
587
|
+
"isOptional": false
|
|
588
|
+
}
|
|
589
|
+
],
|
|
590
|
+
"isOptional": false,
|
|
591
|
+
"isAbstract": false,
|
|
592
|
+
"name": "getVersions"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"kind": "Method",
|
|
596
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService#projectSearchByIds:member(1)",
|
|
597
|
+
"docComment": "",
|
|
598
|
+
"excerptTokens": [
|
|
599
|
+
{
|
|
600
|
+
"kind": "Content",
|
|
601
|
+
"text": "projectSearchByIds(projectIds: "
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"kind": "Content",
|
|
605
|
+
"text": "string[]"
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"kind": "Content",
|
|
609
|
+
"text": "): "
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"kind": "Reference",
|
|
613
|
+
"text": "Promise",
|
|
614
|
+
"canonicalReference": "!Promise:interface"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"kind": "Content",
|
|
618
|
+
"text": "<"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"kind": "Reference",
|
|
622
|
+
"text": "Project",
|
|
623
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!~Project:interface"
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"kind": "Content",
|
|
627
|
+
"text": "[]>"
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"kind": "Content",
|
|
631
|
+
"text": ";"
|
|
632
|
+
}
|
|
633
|
+
],
|
|
634
|
+
"isStatic": false,
|
|
635
|
+
"returnTypeTokenRange": {
|
|
636
|
+
"startIndex": 3,
|
|
637
|
+
"endIndex": 7
|
|
638
|
+
},
|
|
639
|
+
"releaseTag": "Public",
|
|
640
|
+
"isProtected": false,
|
|
641
|
+
"overloadIndex": 1,
|
|
642
|
+
"parameters": [
|
|
643
|
+
{
|
|
644
|
+
"parameterName": "projectIds",
|
|
645
|
+
"parameterTypeTokenRange": {
|
|
646
|
+
"startIndex": 1,
|
|
647
|
+
"endIndex": 2
|
|
648
|
+
},
|
|
649
|
+
"isOptional": false
|
|
650
|
+
}
|
|
651
|
+
],
|
|
652
|
+
"isOptional": false,
|
|
653
|
+
"isAbstract": false,
|
|
654
|
+
"name": "projectSearchByIds"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"kind": "Property",
|
|
658
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService.projectUrl:member",
|
|
659
|
+
"docComment": "",
|
|
660
|
+
"excerptTokens": [
|
|
661
|
+
{
|
|
662
|
+
"kind": "Content",
|
|
663
|
+
"text": "static readonly projectUrl = "
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"kind": "Content",
|
|
667
|
+
"text": "\"/rest/api/3/project\""
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"kind": "Content",
|
|
671
|
+
"text": ";"
|
|
672
|
+
}
|
|
673
|
+
],
|
|
674
|
+
"isReadonly": true,
|
|
675
|
+
"isOptional": false,
|
|
676
|
+
"releaseTag": "Public",
|
|
677
|
+
"name": "projectUrl",
|
|
678
|
+
"propertyTypeTokenRange": {
|
|
679
|
+
"startIndex": 0,
|
|
680
|
+
"endIndex": 0
|
|
681
|
+
},
|
|
682
|
+
"initializerTokenRange": {
|
|
683
|
+
"startIndex": 1,
|
|
684
|
+
"endIndex": 2
|
|
685
|
+
},
|
|
686
|
+
"isStatic": true,
|
|
687
|
+
"isProtected": false,
|
|
688
|
+
"isAbstract": false
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"kind": "Method",
|
|
692
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService#setProjectProperty:member(1)",
|
|
693
|
+
"docComment": "",
|
|
694
|
+
"excerptTokens": [
|
|
695
|
+
{
|
|
696
|
+
"kind": "Content",
|
|
697
|
+
"text": "setProjectProperty<T>(projectIdOrKey: "
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"kind": "Content",
|
|
701
|
+
"text": "string"
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
"kind": "Content",
|
|
705
|
+
"text": ", propertyKey: "
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"kind": "Content",
|
|
709
|
+
"text": "string"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"kind": "Content",
|
|
713
|
+
"text": ", value: "
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"kind": "Content",
|
|
717
|
+
"text": "T"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"kind": "Content",
|
|
721
|
+
"text": "): "
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"kind": "Reference",
|
|
725
|
+
"text": "Promise",
|
|
726
|
+
"canonicalReference": "!Promise:interface"
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"kind": "Content",
|
|
730
|
+
"text": "<T>"
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"kind": "Content",
|
|
734
|
+
"text": ";"
|
|
735
|
+
}
|
|
736
|
+
],
|
|
737
|
+
"typeParameters": [
|
|
738
|
+
{
|
|
739
|
+
"typeParameterName": "T",
|
|
740
|
+
"constraintTokenRange": {
|
|
741
|
+
"startIndex": 0,
|
|
742
|
+
"endIndex": 0
|
|
743
|
+
},
|
|
744
|
+
"defaultTypeTokenRange": {
|
|
745
|
+
"startIndex": 0,
|
|
746
|
+
"endIndex": 0
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
],
|
|
750
|
+
"isStatic": false,
|
|
751
|
+
"returnTypeTokenRange": {
|
|
752
|
+
"startIndex": 7,
|
|
753
|
+
"endIndex": 9
|
|
754
|
+
},
|
|
755
|
+
"releaseTag": "Public",
|
|
756
|
+
"isProtected": false,
|
|
757
|
+
"overloadIndex": 1,
|
|
758
|
+
"parameters": [
|
|
759
|
+
{
|
|
760
|
+
"parameterName": "projectIdOrKey",
|
|
761
|
+
"parameterTypeTokenRange": {
|
|
762
|
+
"startIndex": 1,
|
|
763
|
+
"endIndex": 2
|
|
764
|
+
},
|
|
765
|
+
"isOptional": false
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"parameterName": "propertyKey",
|
|
769
|
+
"parameterTypeTokenRange": {
|
|
770
|
+
"startIndex": 3,
|
|
771
|
+
"endIndex": 4
|
|
772
|
+
},
|
|
773
|
+
"isOptional": false
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"parameterName": "value",
|
|
777
|
+
"parameterTypeTokenRange": {
|
|
778
|
+
"startIndex": 5,
|
|
779
|
+
"endIndex": 6
|
|
780
|
+
},
|
|
781
|
+
"isOptional": false
|
|
782
|
+
}
|
|
783
|
+
],
|
|
784
|
+
"isOptional": false,
|
|
785
|
+
"isAbstract": false,
|
|
786
|
+
"name": "setProjectProperty"
|
|
787
|
+
}
|
|
788
|
+
],
|
|
789
|
+
"implementsTokenRanges": []
|
|
790
|
+
}
|
|
791
|
+
]
|
|
792
|
+
}
|
|
793
|
+
]
|
|
794
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
## API Report File for "@valiantys/atlassian-app-frontend"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
// @public (undocumented)
|
|
8
|
+
export class JiraProjectService {
|
|
9
|
+
// Warning: (ae-forgotten-export) The symbol "AtlassianProductFetchService" needs to be exported by the entry point data-access-project.d.ts
|
|
10
|
+
constructor(fetchSvc: AtlassianProductFetchService<'jira'>);
|
|
11
|
+
// (undocumented)
|
|
12
|
+
getAllProjects(): Promise<Project[]>;
|
|
13
|
+
// Warning: (ae-forgotten-export) The symbol "Project" needs to be exported by the entry point data-access-project.d.ts
|
|
14
|
+
//
|
|
15
|
+
// (undocumented)
|
|
16
|
+
getProject(projectIdOrKey: string): Promise<Project>;
|
|
17
|
+
// Warning: (ae-forgotten-export) The symbol "IssueTypeDetails" needs to be exported by the entry point data-access-project.d.ts
|
|
18
|
+
//
|
|
19
|
+
// (undocumented)
|
|
20
|
+
getProjectIssueTypes(projectId: string): Promise<IssueTypeDetails[]>;
|
|
21
|
+
// (undocumented)
|
|
22
|
+
getProjectProperty<T>(projectIdOrKey: string, propertyKey: string): Promise<T | undefined>;
|
|
23
|
+
// (undocumented)
|
|
24
|
+
getProjectStatuses(projectIdOrKey: string): Promise<unknown>;
|
|
25
|
+
// Warning: (ae-forgotten-export) The symbol "ProjectVersion" needs to be exported by the entry point data-access-project.d.ts
|
|
26
|
+
//
|
|
27
|
+
// (undocumented)
|
|
28
|
+
getVersions(projectIdOrKey: string): Promise<ProjectVersion[]>;
|
|
29
|
+
// (undocumented)
|
|
30
|
+
projectSearchByIds(projectIds: string[]): Promise<Project[]>;
|
|
31
|
+
// (undocumented)
|
|
32
|
+
static readonly projectUrl = "/rest/api/3/project";
|
|
33
|
+
// (undocumented)
|
|
34
|
+
setProjectProperty<T>(projectIdOrKey: string, propertyKey: string, value: T): Promise<T>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// (No @packageDocumentation comment for this package)
|
|
38
|
+
|
|
39
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../atlassian/jira/shared/data-access-project/src/lib/jira-project-service/index.cjs.js");exports.JiraProjectService=e.JiraProjectService;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
declare type APIResponse = Pick<Response, 'json' | 'text' | 'ok' | 'status' | 'statusText' | 'headers'>;
|
|
2
|
+
|
|
3
|
+
declare interface AtlassianProductFetchService<P extends Product> {
|
|
4
|
+
productType: P;
|
|
5
|
+
fetch: FetchSignature;
|
|
6
|
+
route: (template: TemplateStringsArray, ...parameters: (string | number | URLSearchParams | FetchRoute)[]) => FetchRoute;
|
|
7
|
+
rawFetch: RequestProductMethod;
|
|
8
|
+
fullUrl: (path: string) => string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare interface AvatarUrls {
|
|
12
|
+
'48x48': string;
|
|
13
|
+
'24x24': string;
|
|
14
|
+
'16x16': string;
|
|
15
|
+
'32x32': string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare type FetchMethod = 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH';
|
|
19
|
+
|
|
20
|
+
declare interface FetchRequest {
|
|
21
|
+
method: FetchMethod;
|
|
22
|
+
url: FetchRoute;
|
|
23
|
+
responseType?: 'json' | 'text';
|
|
24
|
+
allowExperimental?: boolean;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare type FetchRoute = {
|
|
28
|
+
readonly value: string;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
declare type FetchSignature = <T>(request: FetchRequest, body?: any) => Promise<T>;
|
|
32
|
+
|
|
33
|
+
declare interface IssueTypeDetails {
|
|
34
|
+
avatarId: number;
|
|
35
|
+
description: string;
|
|
36
|
+
hierarchyLevel: number;
|
|
37
|
+
iconUrl: string;
|
|
38
|
+
id: string;
|
|
39
|
+
name: string;
|
|
40
|
+
self: string;
|
|
41
|
+
subtask: boolean;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export declare class JiraProjectService {
|
|
45
|
+
private readonly fetchSvc;
|
|
46
|
+
static readonly projectUrl = "/rest/api/3/project";
|
|
47
|
+
constructor(fetchSvc: AtlassianProductFetchService<'jira'>);
|
|
48
|
+
getVersions(projectIdOrKey: string): Promise<ProjectVersion[]>;
|
|
49
|
+
getProject(projectIdOrKey: string): Promise<Project>;
|
|
50
|
+
getAllProjects(): Promise<Project[]>;
|
|
51
|
+
projectSearchByIds(projectIds: string[]): Promise<Project[]>;
|
|
52
|
+
getProjectIssueTypes(projectId: string): Promise<IssueTypeDetails[]>;
|
|
53
|
+
getProjectStatuses(projectIdOrKey: string): Promise<unknown>;
|
|
54
|
+
getProjectProperty<T>(projectIdOrKey: string, propertyKey: string): Promise<T | undefined>;
|
|
55
|
+
setProjectProperty<T>(projectIdOrKey: string, propertyKey: string, value: T): Promise<T>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare type Product = 'jira' | 'bitbucket' | 'confluence' | 'connected-data';
|
|
59
|
+
|
|
60
|
+
declare interface Project {
|
|
61
|
+
self?: string;
|
|
62
|
+
id: string;
|
|
63
|
+
key?: string;
|
|
64
|
+
name?: string;
|
|
65
|
+
projectTypeKey?: string;
|
|
66
|
+
simplified?: boolean;
|
|
67
|
+
avatarUrls?: AvatarUrls;
|
|
68
|
+
archived?: boolean;
|
|
69
|
+
lead?: User;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare interface ProjectVersion {
|
|
73
|
+
archived: boolean;
|
|
74
|
+
description: string;
|
|
75
|
+
id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
overdue?: boolean;
|
|
78
|
+
projectId?: number;
|
|
79
|
+
releaseDate?: number;
|
|
80
|
+
releaseDateSet?: boolean;
|
|
81
|
+
released: boolean;
|
|
82
|
+
self: string;
|
|
83
|
+
startDateSet?: boolean;
|
|
84
|
+
userReleaseDate?: string;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
declare type RequestProductMethod = (url: FetchRoute, init: RequestInit) => Promise<APIResponse>;
|
|
88
|
+
|
|
89
|
+
declare interface User {
|
|
90
|
+
accountId: string;
|
|
91
|
+
active: boolean;
|
|
92
|
+
displayName: string;
|
|
93
|
+
emailAddress?: string;
|
|
94
|
+
timeZone: string;
|
|
95
|
+
avatarUrls?: AvatarUrls;
|
|
96
|
+
accountType?: string;
|
|
97
|
+
self?: string;
|
|
98
|
+
groups?: {
|
|
99
|
+
items?: UserGroupName[];
|
|
100
|
+
size?: number;
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
declare interface UserGroupName {
|
|
105
|
+
groupId: string;
|
|
106
|
+
name: string;
|
|
107
|
+
self: string;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { }
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
+
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
+
{
|
|
4
|
+
"tsdocVersion": "0.12",
|
|
5
|
+
"toolPackages": [
|
|
6
|
+
{
|
|
7
|
+
"packageName": "@microsoft/api-extractor",
|
|
8
|
+
"packageVersion": "7.52.8"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valiantys/atlassian-app-frontend",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-18",
|
|
4
4
|
"description": "This library provides an Atlassian Forge Custom UI wrapper component that handles all the setup necessary to support an app that can run deployed or in standalone mode",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./atlassian-app": {
|
|
@@ -143,6 +143,11 @@
|
|
|
143
143
|
"require": "./data-access-issue/index.cjs.js",
|
|
144
144
|
"types": "./data-access-issue/index.d.ts"
|
|
145
145
|
},
|
|
146
|
+
"./data-access-project": {
|
|
147
|
+
"import": "./data-access-project/index.es.js",
|
|
148
|
+
"require": "./data-access-project/index.cjs.js",
|
|
149
|
+
"types": "./data-access-project/index.d.ts"
|
|
150
|
+
},
|
|
146
151
|
"./data-access-jql": {
|
|
147
152
|
"import": "./data-access-jql/index.es.js",
|
|
148
153
|
"require": "./data-access-jql/index.cjs.js",
|