@valiantys/atlassian-app 3.2.0-alpha-5 → 3.2.0-alpha-7
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/frontend-ui-app-flags/src/lib/app-flags-provider-forge/index.cjs.js +1 -1
- package/atlassian/forge/shared/frontend-ui-app-flags/src/lib/app-flags-provider-forge/index.es.js +2 -1
- package/data-access-issue/atlassian-app-data-access-issue.api.json +1 -1
- package/data-access-issue/index.d.ts +10 -1
- package/frontend-app/index.d.ts +1 -1
- package/frontend-app-standalone/index.d.ts +1 -1
- package/frontend-data-access-product-fetch-forge-bridge/atlassian-app-frontend-data-access-product-fetch-forge-bridge.api.json +276 -0
- package/frontend-data-access-product-fetch-forge-bridge/atlassian-app.api.md +17 -0
- package/frontend-data-access-product-fetch-forge-bridge/index.cjs.js +1 -0
- package/frontend-data-access-product-fetch-forge-bridge/index.d.ts +34 -0
- package/frontend-data-access-product-fetch-forge-bridge/index.es.js +4 -0
- package/frontend-data-access-product-fetch-forge-bridge/tsdoc-metadata.json +11 -0
- package/package.json +6 -1
- package/ui-oauth-login/atlassian-app-ui-oauth-login.api.json +1 -1
- package/ui-oauth-login/atlassian-app.api.md +1 -1
- package/ui-oauth-login/index.d.ts +1 -1
- package/util-jira-v3-api/atlassian-app-util-jira-v3-api.api.json +171 -15
- package/util-jira-v3-api/atlassian-app.api.md +15 -1
- package/util-jira-v3-api/index.d.ts +10 -1
package/atlassian/forge/shared/frontend-ui-app-flags/src/lib/app-flags-provider-forge/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react/jsx-runtime"),o=require("@forge/bridge"),t=require("react"),p=require("../../../../../../shared/frontend-ui-app-flags/src/lib/app-flags-dispatch/index.cjs.js");require("@atlaskit/flag");require("@atlaskit/icon/glyph/check-circle");require("@atlaskit/icon/glyph/error");require("@atlaskit/icon/glyph/info");require("@atlaskit/icon/glyph/warning");require("@atlaskit/tokens");function d({children:r}){const[e,i]=t.useReducer(s,{});return u.jsx(p.AppFlagsDispatchContext.Provider,{value:i,children:r})}function s(r,e){var i;switch(e.type){case"add":return e.props?{...r,[e.props.id]:o.showFlag(e.props)}:(console.error("invalid flag action: ",JSON.stringify(e)),r);case"remove":return(i=r[e.id])==null||i.close(),{...r,[e.id]:void 0};default:throw Error("Unknown action: "+e.type)}}exports.AppFlagsProviderForge=d;exports.flagsReducer=s;
|
|
@@ -1664,7 +1664,7 @@
|
|
|
1664
1664
|
{
|
|
1665
1665
|
"kind": "Reference",
|
|
1666
1666
|
"text": "UpdateIssue",
|
|
1667
|
-
"canonicalReference": "@valiantys/atlassian-app!~UpdateIssue:
|
|
1667
|
+
"canonicalReference": "@valiantys/atlassian-app!~UpdateIssue:interface"
|
|
1668
1668
|
},
|
|
1669
1669
|
{
|
|
1670
1670
|
"kind": "Content",
|
|
@@ -397,7 +397,16 @@ declare interface TransitionIssueRequest {
|
|
|
397
397
|
update?: any;
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
declare
|
|
400
|
+
declare interface UpdateIssue {
|
|
401
|
+
fields?: IssueFields<AtlassianDocumentFormat | string>;
|
|
402
|
+
properties?: {
|
|
403
|
+
key: string;
|
|
404
|
+
value: unknown;
|
|
405
|
+
}[];
|
|
406
|
+
transition?: IssueTransition;
|
|
407
|
+
update?: Record<string, Record<string, unknown>[]>;
|
|
408
|
+
historyMetadata?: HistoryMetadata;
|
|
409
|
+
}
|
|
401
410
|
|
|
402
411
|
declare interface User {
|
|
403
412
|
accountId: string;
|
package/frontend-app/index.d.ts
CHANGED
|
@@ -84,7 +84,7 @@ export declare type AtlassianAppStandaloneOauthConfig = OAuthProviderProps & {
|
|
|
84
84
|
doCheckResource?: boolean;
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
-
declare type AtlassianOAuthScopes = 'read:me' | 'read:jira-user' | 'read:jira-work' | 'write:jira-work' | 'read:servicedesk-request' | 'write:servicedesk-request' | 'read:cmdb-schema:jira' | 'write:cmdb-schema:jira' | 'read:cmdb-type:jira' | 'write:cmdb-type:jira' | 'read:cmdb-object:jira' | 'write:cmdb-object:jira' | 'delete:cmdb-object:jira' | 'read:cmdb-attribute:jira' | 'write:cmdb-attribute:jira' | 'read:cmdb-icon:jira';
|
|
87
|
+
declare type AtlassianOAuthScopes = 'read:me' | 'read:jira-user' | 'read:jira-work' | 'write:jira-work' | 'manage:jira-project' | 'read:servicedesk-request' | 'write:servicedesk-request' | 'read:cmdb-schema:jira' | 'write:cmdb-schema:jira' | 'read:cmdb-type:jira' | 'write:cmdb-type:jira' | 'read:cmdb-object:jira' | 'write:cmdb-object:jira' | 'delete:cmdb-object:jira' | 'read:cmdb-attribute:jira' | 'write:cmdb-attribute:jira' | 'read:cmdb-icon:jira';
|
|
88
88
|
|
|
89
89
|
declare type InvokeRemoteSignature = <U>(input: {
|
|
90
90
|
path: string;
|
|
@@ -8,7 +8,7 @@ declare type AtlassianAppStandaloneOauthConfig = OAuthProviderProps & {
|
|
|
8
8
|
doCheckResource?: boolean;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
declare type AtlassianOAuthScopes = 'read:me' | 'read:jira-user' | 'read:jira-work' | 'write:jira-work' | 'read:servicedesk-request' | 'write:servicedesk-request' | 'read:cmdb-schema:jira' | 'write:cmdb-schema:jira' | 'read:cmdb-type:jira' | 'write:cmdb-type:jira' | 'read:cmdb-object:jira' | 'write:cmdb-object:jira' | 'delete:cmdb-object:jira' | 'read:cmdb-attribute:jira' | 'write:cmdb-attribute:jira' | 'read:cmdb-icon:jira';
|
|
11
|
+
declare type AtlassianOAuthScopes = 'read:me' | 'read:jira-user' | 'read:jira-work' | 'write:jira-work' | 'manage:jira-project' | 'read:servicedesk-request' | 'write:servicedesk-request' | 'read:cmdb-schema:jira' | 'write:cmdb-schema:jira' | 'read:cmdb-type:jira' | 'write:cmdb-type:jira' | 'read:cmdb-object:jira' | 'write:cmdb-object:jira' | 'delete:cmdb-object:jira' | 'read:cmdb-attribute:jira' | 'write:cmdb-attribute:jira' | 'read:cmdb-icon:jira';
|
|
12
12
|
|
|
13
13
|
export declare interface JiraStandaloneAppWrapperProps {
|
|
14
14
|
initialMockViewContext?: Partial<FullContext>;
|
|
@@ -0,0 +1,276 @@
|
|
|
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!",
|
|
165
|
+
"docComment": "",
|
|
166
|
+
"name": "@valiantys/atlassian-app",
|
|
167
|
+
"preserveMemberOrder": false,
|
|
168
|
+
"members": [
|
|
169
|
+
{
|
|
170
|
+
"kind": "EntryPoint",
|
|
171
|
+
"canonicalReference": "@valiantys/atlassian-app!",
|
|
172
|
+
"name": "",
|
|
173
|
+
"preserveMemberOrder": false,
|
|
174
|
+
"members": [
|
|
175
|
+
{
|
|
176
|
+
"kind": "TypeAlias",
|
|
177
|
+
"canonicalReference": "@valiantys/atlassian-app!ClientSideProductOption:type",
|
|
178
|
+
"docComment": "",
|
|
179
|
+
"excerptTokens": [
|
|
180
|
+
{
|
|
181
|
+
"kind": "Content",
|
|
182
|
+
"text": "export type ClientSideProductOption = "
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"kind": "Content",
|
|
186
|
+
"text": "'jira' | 'bitbucket' | 'confluence'"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"kind": "Content",
|
|
190
|
+
"text": ";"
|
|
191
|
+
}
|
|
192
|
+
],
|
|
193
|
+
"fileUrlPath": "../../forge/shared/frontend-data-access-product-fetch-forge-bridge/src/lib/forge-bridge-product-fetch.d.ts",
|
|
194
|
+
"releaseTag": "Public",
|
|
195
|
+
"name": "ClientSideProductOption",
|
|
196
|
+
"typeTokenRange": {
|
|
197
|
+
"startIndex": 1,
|
|
198
|
+
"endIndex": 2
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"kind": "Function",
|
|
203
|
+
"canonicalReference": "@valiantys/atlassian-app!createClientSideForgeProductFetchService:function(1)",
|
|
204
|
+
"docComment": "",
|
|
205
|
+
"excerptTokens": [
|
|
206
|
+
{
|
|
207
|
+
"kind": "Content",
|
|
208
|
+
"text": "export declare function createClientSideForgeProductFetchService<P extends "
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"kind": "Reference",
|
|
212
|
+
"text": "ClientSideProductOption",
|
|
213
|
+
"canonicalReference": "@valiantys/atlassian-app!ClientSideProductOption:type"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"kind": "Content",
|
|
217
|
+
"text": ">(product: "
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"kind": "Content",
|
|
221
|
+
"text": "P"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"kind": "Content",
|
|
225
|
+
"text": "): "
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"kind": "Reference",
|
|
229
|
+
"text": "AtlassianProductFetchService",
|
|
230
|
+
"canonicalReference": "@valiantys/atlassian-app!~AtlassianProductFetchService:interface"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"kind": "Content",
|
|
234
|
+
"text": "<P>"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"kind": "Content",
|
|
238
|
+
"text": ";"
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"fileUrlPath": "../../forge/shared/frontend-data-access-product-fetch-forge-bridge/src/lib/forge-bridge-product-fetch.d.ts",
|
|
242
|
+
"returnTypeTokenRange": {
|
|
243
|
+
"startIndex": 5,
|
|
244
|
+
"endIndex": 7
|
|
245
|
+
},
|
|
246
|
+
"releaseTag": "Public",
|
|
247
|
+
"overloadIndex": 1,
|
|
248
|
+
"parameters": [
|
|
249
|
+
{
|
|
250
|
+
"parameterName": "product",
|
|
251
|
+
"parameterTypeTokenRange": {
|
|
252
|
+
"startIndex": 3,
|
|
253
|
+
"endIndex": 4
|
|
254
|
+
},
|
|
255
|
+
"isOptional": false
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"typeParameters": [
|
|
259
|
+
{
|
|
260
|
+
"typeParameterName": "P",
|
|
261
|
+
"constraintTokenRange": {
|
|
262
|
+
"startIndex": 1,
|
|
263
|
+
"endIndex": 2
|
|
264
|
+
},
|
|
265
|
+
"defaultTypeTokenRange": {
|
|
266
|
+
"startIndex": 0,
|
|
267
|
+
"endIndex": 0
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
"name": "createClientSideForgeProductFetchService"
|
|
272
|
+
}
|
|
273
|
+
]
|
|
274
|
+
}
|
|
275
|
+
]
|
|
276
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
## API Report File for "@valiantys/atlassian-app"
|
|
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 type ClientSideProductOption = 'jira' | 'bitbucket' | 'confluence';
|
|
9
|
+
|
|
10
|
+
// Warning: (ae-forgotten-export) The symbol "AtlassianProductFetchService" needs to be exported by the entry point frontend-data-access-product-fetch-forge-bridge.d.ts
|
|
11
|
+
//
|
|
12
|
+
// @public (undocumented)
|
|
13
|
+
export function createClientSideForgeProductFetchService<P extends ClientSideProductOption>(product: P): AtlassianProductFetchService<P>;
|
|
14
|
+
|
|
15
|
+
// (No @packageDocumentation comment for this package)
|
|
16
|
+
|
|
17
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../atlassian/forge/shared/frontend-data-access-product-fetch-forge-bridge/src/lib/forge-bridge-product-fetch/index.cjs.js");exports.createClientSideForgeProductFetchService=e.createClientSideForgeProductFetchService;
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
export declare type ClientSideProductOption = 'jira' | 'bitbucket' | 'confluence';
|
|
12
|
+
|
|
13
|
+
export declare function createClientSideForgeProductFetchService<P extends ClientSideProductOption>(product: P): AtlassianProductFetchService<P>;
|
|
14
|
+
|
|
15
|
+
declare type FetchMethod = 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH';
|
|
16
|
+
|
|
17
|
+
declare interface FetchRequest {
|
|
18
|
+
method: FetchMethod;
|
|
19
|
+
url: FetchRoute;
|
|
20
|
+
responseType?: 'json' | 'text';
|
|
21
|
+
allowExperimental?: boolean;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare type FetchRoute = {
|
|
25
|
+
readonly value: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
declare type FetchSignature = <T>(request: FetchRequest, body?: any) => Promise<T>;
|
|
29
|
+
|
|
30
|
+
declare type Product = 'jira' | 'bitbucket' | 'confluence' | 'connected-data';
|
|
31
|
+
|
|
32
|
+
declare type RequestProductMethod = (url: FetchRoute, init: RequestInit) => Promise<APIResponse>;
|
|
33
|
+
|
|
34
|
+
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",
|
|
3
|
-
"version": "3.2.0-alpha-
|
|
3
|
+
"version": "3.2.0-alpha-7",
|
|
4
4
|
"description": "This library provides Atlassian Forge components, wrappers, and utilities to support writing Forge apps that can run deployed or in standalone mode",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./frontend-app": {
|
|
@@ -28,6 +28,11 @@
|
|
|
28
28
|
"require": "./frontend-app-test/index.cjs.js",
|
|
29
29
|
"types": "./frontend-app-test/index.d.ts"
|
|
30
30
|
},
|
|
31
|
+
"./frontend-data-access-product-fetch-forge-bridge": {
|
|
32
|
+
"import": "./frontend-data-access-product-fetch-forge-bridge/index.es.js",
|
|
33
|
+
"require": "./frontend-data-access-product-fetch-forge-bridge/index.cjs.js",
|
|
34
|
+
"types": "./frontend-data-access-product-fetch-forge-bridge/index.d.ts"
|
|
35
|
+
},
|
|
31
36
|
"./ui-async-queue-job-log": {
|
|
32
37
|
"import": "./ui-async-queue-job-log/index.es.js",
|
|
33
38
|
"require": "./ui-async-queue-job-log/index.cjs.js",
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
"kind": "Content",
|
|
186
|
-
"text": "'read:me' | 'read:jira-user' | 'read:jira-work' | 'write:jira-work' | 'read:servicedesk-request' | 'write:servicedesk-request' | 'read:cmdb-schema:jira' | 'write:cmdb-schema:jira' | 'read:cmdb-type:jira' | 'write:cmdb-type:jira' | 'read:cmdb-object:jira' | 'write:cmdb-object:jira' | 'delete:cmdb-object:jira' | 'read:cmdb-attribute:jira' | 'write:cmdb-attribute:jira' | 'read:cmdb-icon:jira'"
|
|
186
|
+
"text": "'read:me' | 'read:jira-user' | 'read:jira-work' | 'write:jira-work' | 'manage:jira-project' | 'read:servicedesk-request' | 'write:servicedesk-request' | 'read:cmdb-schema:jira' | 'write:cmdb-schema:jira' | 'read:cmdb-type:jira' | 'write:cmdb-type:jira' | 'read:cmdb-object:jira' | 'write:cmdb-object:jira' | 'delete:cmdb-object:jira' | 'read:cmdb-attribute:jira' | 'write:cmdb-attribute:jira' | 'read:cmdb-icon:jira'"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
"kind": "Content",
|
|
@@ -8,7 +8,7 @@ import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
|
8
8
|
import { PropsWithChildren } from 'react';
|
|
9
9
|
|
|
10
10
|
// @public (undocumented)
|
|
11
|
-
export type AtlassianOAuthScopes = 'read:me' | 'read:jira-user' | 'read:jira-work' | 'write:jira-work' | 'read:servicedesk-request' | 'write:servicedesk-request' | 'read:cmdb-schema:jira' | 'write:cmdb-schema:jira' | 'read:cmdb-type:jira' | 'write:cmdb-type:jira' | 'read:cmdb-object:jira' | 'write:cmdb-object:jira' | 'delete:cmdb-object:jira' | 'read:cmdb-attribute:jira' | 'write:cmdb-attribute:jira' | 'read:cmdb-icon:jira';
|
|
11
|
+
export type AtlassianOAuthScopes = 'read:me' | 'read:jira-user' | 'read:jira-work' | 'write:jira-work' | 'manage:jira-project' | 'read:servicedesk-request' | 'write:servicedesk-request' | 'read:cmdb-schema:jira' | 'write:cmdb-schema:jira' | 'read:cmdb-type:jira' | 'write:cmdb-type:jira' | 'read:cmdb-object:jira' | 'write:cmdb-object:jira' | 'delete:cmdb-object:jira' | 'read:cmdb-attribute:jira' | 'write:cmdb-attribute:jira' | 'read:cmdb-icon:jira';
|
|
12
12
|
|
|
13
13
|
// @public (undocumented)
|
|
14
14
|
export interface OAuth {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
2
2
|
import { PropsWithChildren } from 'react';
|
|
3
3
|
|
|
4
|
-
export declare type AtlassianOAuthScopes = 'read:me' | 'read:jira-user' | 'read:jira-work' | 'write:jira-work' | 'read:servicedesk-request' | 'write:servicedesk-request' | 'read:cmdb-schema:jira' | 'write:cmdb-schema:jira' | 'read:cmdb-type:jira' | 'write:cmdb-type:jira' | 'read:cmdb-object:jira' | 'write:cmdb-object:jira' | 'delete:cmdb-object:jira' | 'read:cmdb-attribute:jira' | 'write:cmdb-attribute:jira' | 'read:cmdb-icon:jira';
|
|
4
|
+
export declare type AtlassianOAuthScopes = 'read:me' | 'read:jira-user' | 'read:jira-work' | 'write:jira-work' | 'manage:jira-project' | 'read:servicedesk-request' | 'write:servicedesk-request' | 'read:cmdb-schema:jira' | 'write:cmdb-schema:jira' | 'read:cmdb-type:jira' | 'write:cmdb-type:jira' | 'read:cmdb-object:jira' | 'write:cmdb-object:jira' | 'delete:cmdb-object:jira' | 'read:cmdb-attribute:jira' | 'write:cmdb-attribute:jira' | 'read:cmdb-icon:jira';
|
|
5
5
|
|
|
6
6
|
export declare interface OAuth {
|
|
7
7
|
getAuthToken: () => string;
|
|
@@ -6265,31 +6265,187 @@
|
|
|
6265
6265
|
"extendsTokenRanges": []
|
|
6266
6266
|
},
|
|
6267
6267
|
{
|
|
6268
|
-
"kind": "
|
|
6269
|
-
"canonicalReference": "@valiantys/atlassian-app!UpdateIssue:
|
|
6268
|
+
"kind": "Interface",
|
|
6269
|
+
"canonicalReference": "@valiantys/atlassian-app!UpdateIssue:interface",
|
|
6270
6270
|
"docComment": "",
|
|
6271
6271
|
"excerptTokens": [
|
|
6272
6272
|
{
|
|
6273
6273
|
"kind": "Content",
|
|
6274
|
-
"text": "export
|
|
6274
|
+
"text": "export interface UpdateIssue "
|
|
6275
|
+
}
|
|
6276
|
+
],
|
|
6277
|
+
"fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/issue.d.ts",
|
|
6278
|
+
"releaseTag": "Public",
|
|
6279
|
+
"name": "UpdateIssue",
|
|
6280
|
+
"preserveMemberOrder": false,
|
|
6281
|
+
"members": [
|
|
6282
|
+
{
|
|
6283
|
+
"kind": "PropertySignature",
|
|
6284
|
+
"canonicalReference": "@valiantys/atlassian-app!UpdateIssue#fields:member",
|
|
6285
|
+
"docComment": "",
|
|
6286
|
+
"excerptTokens": [
|
|
6287
|
+
{
|
|
6288
|
+
"kind": "Content",
|
|
6289
|
+
"text": "fields?: "
|
|
6290
|
+
},
|
|
6291
|
+
{
|
|
6292
|
+
"kind": "Reference",
|
|
6293
|
+
"text": "IssueFields",
|
|
6294
|
+
"canonicalReference": "@valiantys/atlassian-app!IssueFields:type"
|
|
6295
|
+
},
|
|
6296
|
+
{
|
|
6297
|
+
"kind": "Content",
|
|
6298
|
+
"text": "<"
|
|
6299
|
+
},
|
|
6300
|
+
{
|
|
6301
|
+
"kind": "Reference",
|
|
6302
|
+
"text": "AtlassianDocumentFormat",
|
|
6303
|
+
"canonicalReference": "@valiantys/atlassian-app!AtlassianDocumentFormat:interface"
|
|
6304
|
+
},
|
|
6305
|
+
{
|
|
6306
|
+
"kind": "Content",
|
|
6307
|
+
"text": " | string>"
|
|
6308
|
+
},
|
|
6309
|
+
{
|
|
6310
|
+
"kind": "Content",
|
|
6311
|
+
"text": ";"
|
|
6312
|
+
}
|
|
6313
|
+
],
|
|
6314
|
+
"isReadonly": false,
|
|
6315
|
+
"isOptional": true,
|
|
6316
|
+
"releaseTag": "Public",
|
|
6317
|
+
"name": "fields",
|
|
6318
|
+
"propertyTypeTokenRange": {
|
|
6319
|
+
"startIndex": 1,
|
|
6320
|
+
"endIndex": 5
|
|
6321
|
+
}
|
|
6275
6322
|
},
|
|
6276
6323
|
{
|
|
6277
|
-
"kind": "
|
|
6278
|
-
"
|
|
6279
|
-
"
|
|
6324
|
+
"kind": "PropertySignature",
|
|
6325
|
+
"canonicalReference": "@valiantys/atlassian-app!UpdateIssue#historyMetadata:member",
|
|
6326
|
+
"docComment": "",
|
|
6327
|
+
"excerptTokens": [
|
|
6328
|
+
{
|
|
6329
|
+
"kind": "Content",
|
|
6330
|
+
"text": "historyMetadata?: "
|
|
6331
|
+
},
|
|
6332
|
+
{
|
|
6333
|
+
"kind": "Reference",
|
|
6334
|
+
"text": "HistoryMetadata",
|
|
6335
|
+
"canonicalReference": "@valiantys/atlassian-app!HistoryMetadata:interface"
|
|
6336
|
+
},
|
|
6337
|
+
{
|
|
6338
|
+
"kind": "Content",
|
|
6339
|
+
"text": ";"
|
|
6340
|
+
}
|
|
6341
|
+
],
|
|
6342
|
+
"isReadonly": false,
|
|
6343
|
+
"isOptional": true,
|
|
6344
|
+
"releaseTag": "Public",
|
|
6345
|
+
"name": "historyMetadata",
|
|
6346
|
+
"propertyTypeTokenRange": {
|
|
6347
|
+
"startIndex": 1,
|
|
6348
|
+
"endIndex": 2
|
|
6349
|
+
}
|
|
6280
6350
|
},
|
|
6281
6351
|
{
|
|
6282
|
-
"kind": "
|
|
6283
|
-
"
|
|
6352
|
+
"kind": "PropertySignature",
|
|
6353
|
+
"canonicalReference": "@valiantys/atlassian-app!UpdateIssue#properties:member",
|
|
6354
|
+
"docComment": "",
|
|
6355
|
+
"excerptTokens": [
|
|
6356
|
+
{
|
|
6357
|
+
"kind": "Content",
|
|
6358
|
+
"text": "properties?: "
|
|
6359
|
+
},
|
|
6360
|
+
{
|
|
6361
|
+
"kind": "Content",
|
|
6362
|
+
"text": "{\n key: string;\n value: unknown;\n }[]"
|
|
6363
|
+
},
|
|
6364
|
+
{
|
|
6365
|
+
"kind": "Content",
|
|
6366
|
+
"text": ";"
|
|
6367
|
+
}
|
|
6368
|
+
],
|
|
6369
|
+
"isReadonly": false,
|
|
6370
|
+
"isOptional": true,
|
|
6371
|
+
"releaseTag": "Public",
|
|
6372
|
+
"name": "properties",
|
|
6373
|
+
"propertyTypeTokenRange": {
|
|
6374
|
+
"startIndex": 1,
|
|
6375
|
+
"endIndex": 2
|
|
6376
|
+
}
|
|
6377
|
+
},
|
|
6378
|
+
{
|
|
6379
|
+
"kind": "PropertySignature",
|
|
6380
|
+
"canonicalReference": "@valiantys/atlassian-app!UpdateIssue#transition:member",
|
|
6381
|
+
"docComment": "",
|
|
6382
|
+
"excerptTokens": [
|
|
6383
|
+
{
|
|
6384
|
+
"kind": "Content",
|
|
6385
|
+
"text": "transition?: "
|
|
6386
|
+
},
|
|
6387
|
+
{
|
|
6388
|
+
"kind": "Reference",
|
|
6389
|
+
"text": "IssueTransition",
|
|
6390
|
+
"canonicalReference": "@valiantys/atlassian-app!IssueTransition:interface"
|
|
6391
|
+
},
|
|
6392
|
+
{
|
|
6393
|
+
"kind": "Content",
|
|
6394
|
+
"text": ";"
|
|
6395
|
+
}
|
|
6396
|
+
],
|
|
6397
|
+
"isReadonly": false,
|
|
6398
|
+
"isOptional": true,
|
|
6399
|
+
"releaseTag": "Public",
|
|
6400
|
+
"name": "transition",
|
|
6401
|
+
"propertyTypeTokenRange": {
|
|
6402
|
+
"startIndex": 1,
|
|
6403
|
+
"endIndex": 2
|
|
6404
|
+
}
|
|
6405
|
+
},
|
|
6406
|
+
{
|
|
6407
|
+
"kind": "PropertySignature",
|
|
6408
|
+
"canonicalReference": "@valiantys/atlassian-app!UpdateIssue#update:member",
|
|
6409
|
+
"docComment": "",
|
|
6410
|
+
"excerptTokens": [
|
|
6411
|
+
{
|
|
6412
|
+
"kind": "Content",
|
|
6413
|
+
"text": "update?: "
|
|
6414
|
+
},
|
|
6415
|
+
{
|
|
6416
|
+
"kind": "Reference",
|
|
6417
|
+
"text": "Record",
|
|
6418
|
+
"canonicalReference": "!Record:type"
|
|
6419
|
+
},
|
|
6420
|
+
{
|
|
6421
|
+
"kind": "Content",
|
|
6422
|
+
"text": "<string, "
|
|
6423
|
+
},
|
|
6424
|
+
{
|
|
6425
|
+
"kind": "Reference",
|
|
6426
|
+
"text": "Record",
|
|
6427
|
+
"canonicalReference": "!Record:type"
|
|
6428
|
+
},
|
|
6429
|
+
{
|
|
6430
|
+
"kind": "Content",
|
|
6431
|
+
"text": "<string, unknown>[]>"
|
|
6432
|
+
},
|
|
6433
|
+
{
|
|
6434
|
+
"kind": "Content",
|
|
6435
|
+
"text": ";"
|
|
6436
|
+
}
|
|
6437
|
+
],
|
|
6438
|
+
"isReadonly": false,
|
|
6439
|
+
"isOptional": true,
|
|
6440
|
+
"releaseTag": "Public",
|
|
6441
|
+
"name": "update",
|
|
6442
|
+
"propertyTypeTokenRange": {
|
|
6443
|
+
"startIndex": 1,
|
|
6444
|
+
"endIndex": 5
|
|
6445
|
+
}
|
|
6284
6446
|
}
|
|
6285
6447
|
],
|
|
6286
|
-
"
|
|
6287
|
-
"releaseTag": "Public",
|
|
6288
|
-
"name": "UpdateIssue",
|
|
6289
|
-
"typeTokenRange": {
|
|
6290
|
-
"startIndex": 1,
|
|
6291
|
-
"endIndex": 2
|
|
6292
|
-
}
|
|
6448
|
+
"extendsTokenRanges": []
|
|
6293
6449
|
},
|
|
6294
6450
|
{
|
|
6295
6451
|
"kind": "Interface",
|
|
@@ -648,7 +648,21 @@ export interface TransitionIssueRequest {
|
|
|
648
648
|
}
|
|
649
649
|
|
|
650
650
|
// @public (undocumented)
|
|
651
|
-
export
|
|
651
|
+
export interface UpdateIssue {
|
|
652
|
+
// (undocumented)
|
|
653
|
+
fields?: IssueFields<AtlassianDocumentFormat | string>;
|
|
654
|
+
// (undocumented)
|
|
655
|
+
historyMetadata?: HistoryMetadata;
|
|
656
|
+
// (undocumented)
|
|
657
|
+
properties?: {
|
|
658
|
+
key: string;
|
|
659
|
+
value: unknown;
|
|
660
|
+
}[];
|
|
661
|
+
// (undocumented)
|
|
662
|
+
transition?: IssueTransition;
|
|
663
|
+
// (undocumented)
|
|
664
|
+
update?: Record<string, Record<string, unknown>[]>;
|
|
665
|
+
}
|
|
652
666
|
|
|
653
667
|
// @public (undocumented)
|
|
654
668
|
export interface User {
|
|
@@ -423,7 +423,16 @@ export declare interface TransitionIssueRequest {
|
|
|
423
423
|
update?: any;
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
-
export declare
|
|
426
|
+
export declare interface UpdateIssue {
|
|
427
|
+
fields?: IssueFields<AtlassianDocumentFormat | string>;
|
|
428
|
+
properties?: {
|
|
429
|
+
key: string;
|
|
430
|
+
value: unknown;
|
|
431
|
+
}[];
|
|
432
|
+
transition?: IssueTransition;
|
|
433
|
+
update?: Record<string, Record<string, unknown>[]>;
|
|
434
|
+
historyMetadata?: HistoryMetadata;
|
|
435
|
+
}
|
|
427
436
|
|
|
428
437
|
export declare interface User {
|
|
429
438
|
accountId: string;
|