@valiantys/atlassian-app-frontend 3.0.0-alpha-25 → 3.0.0-alpha-27
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-async-queue-job-log/src/lib/job-log-table/index.cjs.js +1 -0
- package/atlassian/forge/shared/frontend-ui-async-queue-job-log/src/lib/job-log-table/index.es.js +107 -0
- package/data-access-issue/index.d.ts +1 -1
- package/package.json +11 -1
- package/ui-async-queue-job-log/atlassian-app-frontend-ui-async-queue-job-log.api.json +246 -0
- package/ui-async-queue-job-log/atlassian-app-frontend.api.md +22 -0
- package/ui-async-queue-job-log/index.cjs.js +1 -0
- package/ui-async-queue-job-log/index.d.ts +21 -0
- package/ui-async-queue-job-log/index.es.js +4 -0
- package/ui-async-queue-job-log/tsdoc-metadata.json +11 -0
- package/util-async-queue/atlassian-app-frontend-util-async-queue.api.json +439 -0
- package/util-async-queue/atlassian-app-frontend.api.md +31 -0
- package/util-async-queue/index.cjs.js +1 -0
- package/util-async-queue/index.d.ts +13 -0
- package/util-async-queue/index.es.js +1 -0
- package/util-async-queue/tsdoc-metadata.json +11 -0
- package/util-jira-v3-api/atlassian-app-frontend-util-jira-v3-api.api.json +2 -2
- package/util-jira-v3-api/atlassian-app-frontend.api.md +1 -1
- package/util-jira-v3-api/index.d.ts +1 -1
package/atlassian/forge/shared/frontend-ui-async-queue-job-log/src/lib/job-log-table/index.cjs.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),u=require("@atlaskit/button/new"),d=require("@atlaskit/dynamic-table"),x=require("@atlaskit/icon/glyph/refresh"),c=require("@atlaskit/primitives"),r=require("react");function g(s){if(!s)return"";const o=s/1e3;if(o<60)return`${o.toFixed(2)}s`;const n=o/60;return n<60?`${n.toFixed(2)}m`:`${(n/60).toFixed(2)}h`}function m(s){const[o,n]=r.useState([]),[l,a]=r.useState(!0),i=r.useCallback(async()=>{try{a(!0);const e=await s.loadFn();n(e.log)}catch(e){console.error(e)}finally{a(!1)}},[s]);return r.useEffect(()=>void i(),[i]),t.jsxs(c.Flex,{gap:"space.100",alignItems:"start",children:[t.jsx(c.Box,{children:t.jsx(d,{isLoading:l,rows:o==null?void 0:o.map(e=>({key:`row-${e.jobId}`,cells:[{key:"startTime",content:e.startTime?new Date(e.startTime).toLocaleString():""},{key:"description",content:e.description},{key:"inProgress",content:t.jsx(c.Text,{color:e.inProgress?"color.text.information":"color.text.subtle",children:e.inProgress?"Yes":"No"})},{key:"success",content:t.jsx(c.Text,{color:e.success?"color.text.success":"color.text.subtle",children:e.success?"Yes":"No"})},{key:"failed",content:t.jsx(c.Text,{color:e.failed?"color.text.danger":"color.text.subtle",children:e.failed?"Yes":"No"})},{key:"time",content:g(e.time)},{key:"result",content:e.result}]})),head:{cells:[{key:"startTime",content:"Queued at"},{key:"description",content:"Operation"},{key:"inProgress",content:"In Progress"},{key:"success",content:"Success"},{key:"failed",content:"Failed"},{key:"time",content:"Time"},{key:"result",content:"Result"}]},loadingSpinnerSize:"small",rowsPerPage:5,defaultPage:1,emptyView:t.jsx("p",{children:"No jobs available"})})}),t.jsx(u.IconButton,{icon:x,label:"Refresh",appearance:"subtle",onClick:()=>i()})]})}exports.JobLogTable=m;
|
package/atlassian/forge/shared/frontend-ui-async-queue-job-log/src/lib/job-log-table/index.es.js
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { jsxs as u, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { IconButton as d } from "@atlaskit/button/new";
|
|
3
|
+
import m from "@atlaskit/dynamic-table";
|
|
4
|
+
import f from "@atlaskit/icon/glyph/refresh";
|
|
5
|
+
import { Flex as g, Box as k, Text as c } from "@atlaskit/primitives";
|
|
6
|
+
import { useState as a, useCallback as p, useEffect as x } from "react";
|
|
7
|
+
function h(s) {
|
|
8
|
+
if (!s)
|
|
9
|
+
return "";
|
|
10
|
+
const o = s / 1e3;
|
|
11
|
+
if (o < 60)
|
|
12
|
+
return `${o.toFixed(2)}s`;
|
|
13
|
+
const n = o / 60;
|
|
14
|
+
return n < 60 ? `${n.toFixed(2)}m` : `${(n / 60).toFixed(2)}h`;
|
|
15
|
+
}
|
|
16
|
+
function I(s) {
|
|
17
|
+
const [o, n] = a([]), [i, l] = a(!0), r = p(async () => {
|
|
18
|
+
try {
|
|
19
|
+
l(!0);
|
|
20
|
+
const e = await s.loadFn();
|
|
21
|
+
n(e.log);
|
|
22
|
+
} catch (e) {
|
|
23
|
+
console.error(e);
|
|
24
|
+
} finally {
|
|
25
|
+
l(!1);
|
|
26
|
+
}
|
|
27
|
+
}, [s]);
|
|
28
|
+
return x(() => void r(), [r]), /* @__PURE__ */ u(g, { gap: "space.100", alignItems: "start", children: [
|
|
29
|
+
/* @__PURE__ */ t(k, { children: /* @__PURE__ */ t(
|
|
30
|
+
m,
|
|
31
|
+
{
|
|
32
|
+
isLoading: i,
|
|
33
|
+
rows: o == null ? void 0 : o.map((e) => ({
|
|
34
|
+
key: `row-${e.jobId}`,
|
|
35
|
+
cells: [
|
|
36
|
+
{
|
|
37
|
+
key: "startTime",
|
|
38
|
+
content: e.startTime ? new Date(e.startTime).toLocaleString() : ""
|
|
39
|
+
},
|
|
40
|
+
// { key: 'jobId', content: entry.jobId },
|
|
41
|
+
{ key: "description", content: e.description },
|
|
42
|
+
{
|
|
43
|
+
key: "inProgress",
|
|
44
|
+
content: /* @__PURE__ */ t(
|
|
45
|
+
c,
|
|
46
|
+
{
|
|
47
|
+
color: e.inProgress ? "color.text.information" : "color.text.subtle",
|
|
48
|
+
children: e.inProgress ? "Yes" : "No"
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
key: "success",
|
|
54
|
+
content: /* @__PURE__ */ t(
|
|
55
|
+
c,
|
|
56
|
+
{
|
|
57
|
+
color: e.success ? "color.text.success" : "color.text.subtle",
|
|
58
|
+
children: e.success ? "Yes" : "No"
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
key: "failed",
|
|
64
|
+
content: /* @__PURE__ */ t(
|
|
65
|
+
c,
|
|
66
|
+
{
|
|
67
|
+
color: e.failed ? "color.text.danger" : "color.text.subtle",
|
|
68
|
+
children: e.failed ? "Yes" : "No"
|
|
69
|
+
}
|
|
70
|
+
)
|
|
71
|
+
},
|
|
72
|
+
{ key: "time", content: h(e.time) },
|
|
73
|
+
{ key: "result", content: e.result }
|
|
74
|
+
]
|
|
75
|
+
})),
|
|
76
|
+
head: {
|
|
77
|
+
cells: [
|
|
78
|
+
{ key: "startTime", content: "Queued at" },
|
|
79
|
+
// { key: 'jobId', content: 'Job ID' },
|
|
80
|
+
{ key: "description", content: "Operation" },
|
|
81
|
+
{ key: "inProgress", content: "In Progress" },
|
|
82
|
+
{ key: "success", content: "Success" },
|
|
83
|
+
{ key: "failed", content: "Failed" },
|
|
84
|
+
{ key: "time", content: "Time" },
|
|
85
|
+
{ key: "result", content: "Result" }
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
loadingSpinnerSize: "small",
|
|
89
|
+
rowsPerPage: 5,
|
|
90
|
+
defaultPage: 1,
|
|
91
|
+
emptyView: /* @__PURE__ */ t("p", { children: "No jobs available" })
|
|
92
|
+
}
|
|
93
|
+
) }),
|
|
94
|
+
/* @__PURE__ */ t(
|
|
95
|
+
d,
|
|
96
|
+
{
|
|
97
|
+
icon: f,
|
|
98
|
+
label: "Refresh",
|
|
99
|
+
appearance: "subtle",
|
|
100
|
+
onClick: () => r()
|
|
101
|
+
}
|
|
102
|
+
)
|
|
103
|
+
] });
|
|
104
|
+
}
|
|
105
|
+
export {
|
|
106
|
+
I as JobLogTable
|
|
107
|
+
};
|
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-27",
|
|
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": {
|
|
@@ -28,6 +28,16 @@
|
|
|
28
28
|
"require": "./atlassian-app-test/index.cjs.js",
|
|
29
29
|
"types": "./atlassian-app-test/index.d.ts"
|
|
30
30
|
},
|
|
31
|
+
"./ui-async-queue-job-log": {
|
|
32
|
+
"import": "./ui-async-queue-job-log/index.es.js",
|
|
33
|
+
"require": "./ui-async-queue-job-log/index.cjs.js",
|
|
34
|
+
"types": "./ui-async-queue-job-log/index.d.ts"
|
|
35
|
+
},
|
|
36
|
+
"./util-async-queue": {
|
|
37
|
+
"import": "./util-async-queue/index.es.js",
|
|
38
|
+
"require": "./util-async-queue/index.cjs.js",
|
|
39
|
+
"types": "./util-async-queue/index.d.ts"
|
|
40
|
+
},
|
|
31
41
|
"./util-resolver": {
|
|
32
42
|
"import": "./util-resolver/index.es.js",
|
|
33
43
|
"require": "./util-resolver/index.cjs.js",
|
|
@@ -0,0 +1,246 @@
|
|
|
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": "Function",
|
|
177
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JobLogTable:function(1)",
|
|
178
|
+
"docComment": "",
|
|
179
|
+
"excerptTokens": [
|
|
180
|
+
{
|
|
181
|
+
"kind": "Content",
|
|
182
|
+
"text": "export declare function JobLogTable(props: "
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"kind": "Content",
|
|
186
|
+
"text": "{\n loadFn: () => "
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"kind": "Reference",
|
|
190
|
+
"text": "Promise",
|
|
191
|
+
"canonicalReference": "!Promise:interface"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"kind": "Content",
|
|
195
|
+
"text": "<{\n log: "
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"kind": "Reference",
|
|
199
|
+
"text": "JobLogEntry",
|
|
200
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!~JobLogEntry:interface"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"kind": "Content",
|
|
204
|
+
"text": "[];\n }>;\n}"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"kind": "Content",
|
|
208
|
+
"text": "): "
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"kind": "Content",
|
|
212
|
+
"text": "import(\"react/jsx-runtime\")."
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"kind": "Reference",
|
|
216
|
+
"text": "JSX.Element",
|
|
217
|
+
"canonicalReference": "@types/react!JSX.Element:interface"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"kind": "Content",
|
|
221
|
+
"text": ";"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"fileUrlPath": "../../forge/shared/frontend-ui-async-queue-job-log/src/lib/job-log-table.d.ts",
|
|
225
|
+
"returnTypeTokenRange": {
|
|
226
|
+
"startIndex": 7,
|
|
227
|
+
"endIndex": 9
|
|
228
|
+
},
|
|
229
|
+
"releaseTag": "Public",
|
|
230
|
+
"overloadIndex": 1,
|
|
231
|
+
"parameters": [
|
|
232
|
+
{
|
|
233
|
+
"parameterName": "props",
|
|
234
|
+
"parameterTypeTokenRange": {
|
|
235
|
+
"startIndex": 1,
|
|
236
|
+
"endIndex": 6
|
|
237
|
+
},
|
|
238
|
+
"isOptional": false
|
|
239
|
+
}
|
|
240
|
+
],
|
|
241
|
+
"name": "JobLogTable"
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
// @public (undocumented)
|
|
10
|
+
export function JobLogTable(props: {
|
|
11
|
+
loadFn: () => Promise<{
|
|
12
|
+
log: JobLogEntry[];
|
|
13
|
+
}>;
|
|
14
|
+
}): JSX_2.Element;
|
|
15
|
+
|
|
16
|
+
// Warnings were encountered during analysis:
|
|
17
|
+
//
|
|
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
|
+
|
|
20
|
+
// (No @packageDocumentation comment for this package)
|
|
21
|
+
|
|
22
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../atlassian/forge/shared/frontend-ui-async-queue-job-log/src/lib/job-log-table/index.cjs.js");exports.JobLogTable=e.JobLogTable;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
declare interface JobLogEntry {
|
|
4
|
+
jobId: string;
|
|
5
|
+
startTime?: number;
|
|
6
|
+
description?: string;
|
|
7
|
+
result?: string;
|
|
8
|
+
failed?: boolean;
|
|
9
|
+
success?: boolean;
|
|
10
|
+
inProgress?: boolean;
|
|
11
|
+
time?: number;
|
|
12
|
+
isMultiStep?: boolean;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export declare function JobLogTable(props: {
|
|
16
|
+
loadFn: () => Promise<{
|
|
17
|
+
log: JobLogEntry[];
|
|
18
|
+
}>;
|
|
19
|
+
}): JSX_2.Element;
|
|
20
|
+
|
|
21
|
+
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
|
+
}
|
|
@@ -0,0 +1,439 @@
|
|
|
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": "Interface",
|
|
177
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry:interface",
|
|
178
|
+
"docComment": "",
|
|
179
|
+
"excerptTokens": [
|
|
180
|
+
{
|
|
181
|
+
"kind": "Content",
|
|
182
|
+
"text": "export interface JobLogEntry "
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"fileUrlPath": "../../forge/shared/util-async-queue/src/lib/job-log-entry.d.ts",
|
|
186
|
+
"releaseTag": "Public",
|
|
187
|
+
"name": "JobLogEntry",
|
|
188
|
+
"preserveMemberOrder": false,
|
|
189
|
+
"members": [
|
|
190
|
+
{
|
|
191
|
+
"kind": "PropertySignature",
|
|
192
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#description:member",
|
|
193
|
+
"docComment": "",
|
|
194
|
+
"excerptTokens": [
|
|
195
|
+
{
|
|
196
|
+
"kind": "Content",
|
|
197
|
+
"text": "description?: "
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"kind": "Content",
|
|
201
|
+
"text": "string"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"kind": "Content",
|
|
205
|
+
"text": ";"
|
|
206
|
+
}
|
|
207
|
+
],
|
|
208
|
+
"isReadonly": false,
|
|
209
|
+
"isOptional": true,
|
|
210
|
+
"releaseTag": "Public",
|
|
211
|
+
"name": "description",
|
|
212
|
+
"propertyTypeTokenRange": {
|
|
213
|
+
"startIndex": 1,
|
|
214
|
+
"endIndex": 2
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"kind": "PropertySignature",
|
|
219
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#failed:member",
|
|
220
|
+
"docComment": "",
|
|
221
|
+
"excerptTokens": [
|
|
222
|
+
{
|
|
223
|
+
"kind": "Content",
|
|
224
|
+
"text": "failed?: "
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"kind": "Content",
|
|
228
|
+
"text": "boolean"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"kind": "Content",
|
|
232
|
+
"text": ";"
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"isReadonly": false,
|
|
236
|
+
"isOptional": true,
|
|
237
|
+
"releaseTag": "Public",
|
|
238
|
+
"name": "failed",
|
|
239
|
+
"propertyTypeTokenRange": {
|
|
240
|
+
"startIndex": 1,
|
|
241
|
+
"endIndex": 2
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"kind": "PropertySignature",
|
|
246
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#inProgress:member",
|
|
247
|
+
"docComment": "",
|
|
248
|
+
"excerptTokens": [
|
|
249
|
+
{
|
|
250
|
+
"kind": "Content",
|
|
251
|
+
"text": "inProgress?: "
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"kind": "Content",
|
|
255
|
+
"text": "boolean"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"kind": "Content",
|
|
259
|
+
"text": ";"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"isReadonly": false,
|
|
263
|
+
"isOptional": true,
|
|
264
|
+
"releaseTag": "Public",
|
|
265
|
+
"name": "inProgress",
|
|
266
|
+
"propertyTypeTokenRange": {
|
|
267
|
+
"startIndex": 1,
|
|
268
|
+
"endIndex": 2
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"kind": "PropertySignature",
|
|
273
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#isMultiStep:member",
|
|
274
|
+
"docComment": "",
|
|
275
|
+
"excerptTokens": [
|
|
276
|
+
{
|
|
277
|
+
"kind": "Content",
|
|
278
|
+
"text": "isMultiStep?: "
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"kind": "Content",
|
|
282
|
+
"text": "boolean"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"kind": "Content",
|
|
286
|
+
"text": ";"
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"isReadonly": false,
|
|
290
|
+
"isOptional": true,
|
|
291
|
+
"releaseTag": "Public",
|
|
292
|
+
"name": "isMultiStep",
|
|
293
|
+
"propertyTypeTokenRange": {
|
|
294
|
+
"startIndex": 1,
|
|
295
|
+
"endIndex": 2
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"kind": "PropertySignature",
|
|
300
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#jobId:member",
|
|
301
|
+
"docComment": "",
|
|
302
|
+
"excerptTokens": [
|
|
303
|
+
{
|
|
304
|
+
"kind": "Content",
|
|
305
|
+
"text": "jobId: "
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"kind": "Content",
|
|
309
|
+
"text": "string"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"kind": "Content",
|
|
313
|
+
"text": ";"
|
|
314
|
+
}
|
|
315
|
+
],
|
|
316
|
+
"isReadonly": false,
|
|
317
|
+
"isOptional": false,
|
|
318
|
+
"releaseTag": "Public",
|
|
319
|
+
"name": "jobId",
|
|
320
|
+
"propertyTypeTokenRange": {
|
|
321
|
+
"startIndex": 1,
|
|
322
|
+
"endIndex": 2
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"kind": "PropertySignature",
|
|
327
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#result:member",
|
|
328
|
+
"docComment": "",
|
|
329
|
+
"excerptTokens": [
|
|
330
|
+
{
|
|
331
|
+
"kind": "Content",
|
|
332
|
+
"text": "result?: "
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"kind": "Content",
|
|
336
|
+
"text": "string"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"kind": "Content",
|
|
340
|
+
"text": ";"
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"isReadonly": false,
|
|
344
|
+
"isOptional": true,
|
|
345
|
+
"releaseTag": "Public",
|
|
346
|
+
"name": "result",
|
|
347
|
+
"propertyTypeTokenRange": {
|
|
348
|
+
"startIndex": 1,
|
|
349
|
+
"endIndex": 2
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"kind": "PropertySignature",
|
|
354
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#startTime:member",
|
|
355
|
+
"docComment": "",
|
|
356
|
+
"excerptTokens": [
|
|
357
|
+
{
|
|
358
|
+
"kind": "Content",
|
|
359
|
+
"text": "startTime?: "
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"kind": "Content",
|
|
363
|
+
"text": "number"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"kind": "Content",
|
|
367
|
+
"text": ";"
|
|
368
|
+
}
|
|
369
|
+
],
|
|
370
|
+
"isReadonly": false,
|
|
371
|
+
"isOptional": true,
|
|
372
|
+
"releaseTag": "Public",
|
|
373
|
+
"name": "startTime",
|
|
374
|
+
"propertyTypeTokenRange": {
|
|
375
|
+
"startIndex": 1,
|
|
376
|
+
"endIndex": 2
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"kind": "PropertySignature",
|
|
381
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#success:member",
|
|
382
|
+
"docComment": "",
|
|
383
|
+
"excerptTokens": [
|
|
384
|
+
{
|
|
385
|
+
"kind": "Content",
|
|
386
|
+
"text": "success?: "
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"kind": "Content",
|
|
390
|
+
"text": "boolean"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"kind": "Content",
|
|
394
|
+
"text": ";"
|
|
395
|
+
}
|
|
396
|
+
],
|
|
397
|
+
"isReadonly": false,
|
|
398
|
+
"isOptional": true,
|
|
399
|
+
"releaseTag": "Public",
|
|
400
|
+
"name": "success",
|
|
401
|
+
"propertyTypeTokenRange": {
|
|
402
|
+
"startIndex": 1,
|
|
403
|
+
"endIndex": 2
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"kind": "PropertySignature",
|
|
408
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#time:member",
|
|
409
|
+
"docComment": "",
|
|
410
|
+
"excerptTokens": [
|
|
411
|
+
{
|
|
412
|
+
"kind": "Content",
|
|
413
|
+
"text": "time?: "
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"kind": "Content",
|
|
417
|
+
"text": "number"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"kind": "Content",
|
|
421
|
+
"text": ";"
|
|
422
|
+
}
|
|
423
|
+
],
|
|
424
|
+
"isReadonly": false,
|
|
425
|
+
"isOptional": true,
|
|
426
|
+
"releaseTag": "Public",
|
|
427
|
+
"name": "time",
|
|
428
|
+
"propertyTypeTokenRange": {
|
|
429
|
+
"startIndex": 1,
|
|
430
|
+
"endIndex": 2
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
],
|
|
434
|
+
"extendsTokenRanges": []
|
|
435
|
+
}
|
|
436
|
+
]
|
|
437
|
+
}
|
|
438
|
+
]
|
|
439
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 interface JobLogEntry {
|
|
9
|
+
// (undocumented)
|
|
10
|
+
description?: string;
|
|
11
|
+
// (undocumented)
|
|
12
|
+
failed?: boolean;
|
|
13
|
+
// (undocumented)
|
|
14
|
+
inProgress?: boolean;
|
|
15
|
+
// (undocumented)
|
|
16
|
+
isMultiStep?: boolean;
|
|
17
|
+
// (undocumented)
|
|
18
|
+
jobId: string;
|
|
19
|
+
// (undocumented)
|
|
20
|
+
result?: string;
|
|
21
|
+
// (undocumented)
|
|
22
|
+
startTime?: number;
|
|
23
|
+
// (undocumented)
|
|
24
|
+
success?: boolean;
|
|
25
|
+
// (undocumented)
|
|
26
|
+
time?: number;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// (No @packageDocumentation comment for this package)
|
|
30
|
+
|
|
31
|
+
```
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -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
|
+
}
|
|
@@ -840,7 +840,7 @@
|
|
|
840
840
|
"excerptTokens": [
|
|
841
841
|
{
|
|
842
842
|
"kind": "Content",
|
|
843
|
-
"text": "transition
|
|
843
|
+
"text": "transition?: "
|
|
844
844
|
},
|
|
845
845
|
{
|
|
846
846
|
"kind": "Content",
|
|
@@ -852,7 +852,7 @@
|
|
|
852
852
|
}
|
|
853
853
|
],
|
|
854
854
|
"isReadonly": false,
|
|
855
|
-
"isOptional":
|
|
855
|
+
"isOptional": true,
|
|
856
856
|
"releaseTag": "Public",
|
|
857
857
|
"name": "transition",
|
|
858
858
|
"propertyTypeTokenRange": {
|