@valiantys/atlassian-app 3.2.0-alpha-4 → 3.2.0-alpha-6
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/atlassian/shared/frontend-ui-expand-panel/src/lib/panel/index.cjs.js +1 -1
- package/atlassian/shared/frontend-ui-expand-panel/src/lib/panel/index.es.js +20 -17
- package/data-access-serverinfo/index.d.ts +1 -1
- package/frontend-app/atlassian-app.api.md +1 -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-async-queue-job-log/atlassian-app.api.md +1 -1
- package/ui-expand-panel/index.d.ts +6 -0
- 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/valiantys-atlassian-app-3.2.0-alpha-4.tgz +0 -0
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const h=require("react/jsx-runtime"),r=require("react"),x=require("../panel-stateless/index.cjs.js"),f=({isDefaultExpanded:t=!1,lazyLoadContent:o=!1,children:a,header:c,headingSize:u,onChange:n})=>{const[s,l]=r.useState(t),[i,d]=r.useState(t||!o),S=()=>{const e=!s;l(e),e&&d(!0),n&&n(e)};return h.jsx(x,{header:c,isExpanded:s,headingSize:u,onChange:S,children:i?a:null})};module.exports=f;
|
|
@@ -1,25 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s } from "react";
|
|
3
|
+
import m from "../panel-stateless/index.es.js";
|
|
4
4
|
const x = ({
|
|
5
|
-
isDefaultExpanded:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
isDefaultExpanded: t = !1,
|
|
6
|
+
lazyLoadContent: a = !1,
|
|
7
|
+
children: r,
|
|
8
|
+
header: l,
|
|
9
|
+
headingSize: d,
|
|
10
|
+
onChange: n
|
|
10
11
|
}) => {
|
|
11
|
-
const [t,
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
const [o, f] = s(t), [h, i] = s(
|
|
13
|
+
t || !a
|
|
14
|
+
);
|
|
15
|
+
return /* @__PURE__ */ c(
|
|
16
|
+
m,
|
|
14
17
|
{
|
|
15
|
-
header:
|
|
16
|
-
isExpanded:
|
|
17
|
-
headingSize:
|
|
18
|
+
header: l,
|
|
19
|
+
isExpanded: o,
|
|
20
|
+
headingSize: d,
|
|
18
21
|
onChange: () => {
|
|
19
|
-
const
|
|
20
|
-
|
|
22
|
+
const e = !o;
|
|
23
|
+
f(e), e && i(!0), n && n(e);
|
|
21
24
|
},
|
|
22
|
-
children:
|
|
25
|
+
children: h ? r : null
|
|
23
26
|
}
|
|
24
27
|
);
|
|
25
28
|
};
|
|
@@ -47,7 +47,7 @@ declare interface JiraServerInfo {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export declare class JiraServerInfoService {
|
|
50
|
-
private fetchSvc;
|
|
50
|
+
private readonly fetchSvc;
|
|
51
51
|
static readonly serverInfoUrl = "/rest/api/3/serverInfo";
|
|
52
52
|
constructor(fetchSvc: AtlassianProductFetchService<'jira'>);
|
|
53
53
|
getServerInfo(): Promise<JiraServerInfo>;
|
|
@@ -49,7 +49,7 @@ export const IS_STANDALONE: boolean;
|
|
|
49
49
|
|
|
50
50
|
// Warnings were encountered during analysis:
|
|
51
51
|
//
|
|
52
|
-
// /Users/chris.hardin/code/od/engineering-monorepo
|
|
52
|
+
// /Users/chris.hardin/code/od/engineering-monorepo/atlassian/shared/frontend-feature-atlassian-app/src/lib/atlassian-app-config.d.ts:65:9 - (ae-forgotten-export) The symbol "InvokeRemoteSignature" needs to be exported by the entry point frontend-app.d.ts
|
|
53
53
|
|
|
54
54
|
// (No @packageDocumentation comment for this package)
|
|
55
55
|
|
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-6",
|
|
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",
|
|
@@ -15,7 +15,7 @@ export function JobLogTable(props: {
|
|
|
15
15
|
|
|
16
16
|
// Warnings were encountered during analysis:
|
|
17
17
|
//
|
|
18
|
-
// /Users/chris.hardin/code/od/engineering-monorepo
|
|
18
|
+
// /Users/chris.hardin/code/od/engineering-monorepo/atlassian/forge/shared/frontend-ui-async-queue-job-log/src/lib/job-log-table.d.ts:4:9 - (ae-forgotten-export) The symbol "JobLogEntry" needs to be exported by the entry point ui-async-queue-job-log.d.ts
|
|
19
19
|
|
|
20
20
|
// (No @packageDocumentation comment for this package)
|
|
21
21
|
|
|
@@ -26,6 +26,12 @@ declare type Props = BasePanelProps & {
|
|
|
26
26
|
/** Defines whether the panel is expanded by default. */
|
|
27
27
|
isDefaultExpanded?: boolean;
|
|
28
28
|
onChange?: (isExpanded: boolean) => void;
|
|
29
|
+
/**
|
|
30
|
+
* If true, the content of the panel will not be rendered until the panel is expanded.
|
|
31
|
+
* This is useful for cases where the content of the panel is expensive to render,
|
|
32
|
+
* and the panel is not initially expanded.
|
|
33
|
+
*/
|
|
34
|
+
lazyLoadContent?: boolean;
|
|
29
35
|
};
|
|
30
36
|
|
|
31
37
|
export { }
|
|
@@ -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;
|
|
Binary file
|