@valiantys/atlassian-app-frontend 3.0.0-alpha-25 → 3.0.0-alpha-26

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.
@@ -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;
@@ -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-25",
3
+ "version": "3.0.0-alpha-26",
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<T = string> {
4
+ jobId: string;
5
+ startTime?: number;
6
+ description?: string;
7
+ result?: T;
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,4 @@
1
+ import { JobLogTable as e } from "../atlassian/forge/shared/frontend-ui-async-queue-job-log/src/lib/job-log-table/index.es.js";
2
+ export {
3
+ e as JobLogTable
4
+ };
@@ -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,460 @@
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<T = "
183
+ },
184
+ {
185
+ "kind": "Content",
186
+ "text": "string"
187
+ },
188
+ {
189
+ "kind": "Content",
190
+ "text": "> "
191
+ }
192
+ ],
193
+ "fileUrlPath": "../../forge/shared/util-async-queue/src/lib/job-log-entry.d.ts",
194
+ "releaseTag": "Public",
195
+ "typeParameters": [
196
+ {
197
+ "typeParameterName": "T",
198
+ "constraintTokenRange": {
199
+ "startIndex": 0,
200
+ "endIndex": 0
201
+ },
202
+ "defaultTypeTokenRange": {
203
+ "startIndex": 1,
204
+ "endIndex": 2
205
+ }
206
+ }
207
+ ],
208
+ "name": "JobLogEntry",
209
+ "preserveMemberOrder": false,
210
+ "members": [
211
+ {
212
+ "kind": "PropertySignature",
213
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#description:member",
214
+ "docComment": "",
215
+ "excerptTokens": [
216
+ {
217
+ "kind": "Content",
218
+ "text": "description?: "
219
+ },
220
+ {
221
+ "kind": "Content",
222
+ "text": "string"
223
+ },
224
+ {
225
+ "kind": "Content",
226
+ "text": ";"
227
+ }
228
+ ],
229
+ "isReadonly": false,
230
+ "isOptional": true,
231
+ "releaseTag": "Public",
232
+ "name": "description",
233
+ "propertyTypeTokenRange": {
234
+ "startIndex": 1,
235
+ "endIndex": 2
236
+ }
237
+ },
238
+ {
239
+ "kind": "PropertySignature",
240
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#failed:member",
241
+ "docComment": "",
242
+ "excerptTokens": [
243
+ {
244
+ "kind": "Content",
245
+ "text": "failed?: "
246
+ },
247
+ {
248
+ "kind": "Content",
249
+ "text": "boolean"
250
+ },
251
+ {
252
+ "kind": "Content",
253
+ "text": ";"
254
+ }
255
+ ],
256
+ "isReadonly": false,
257
+ "isOptional": true,
258
+ "releaseTag": "Public",
259
+ "name": "failed",
260
+ "propertyTypeTokenRange": {
261
+ "startIndex": 1,
262
+ "endIndex": 2
263
+ }
264
+ },
265
+ {
266
+ "kind": "PropertySignature",
267
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#inProgress:member",
268
+ "docComment": "",
269
+ "excerptTokens": [
270
+ {
271
+ "kind": "Content",
272
+ "text": "inProgress?: "
273
+ },
274
+ {
275
+ "kind": "Content",
276
+ "text": "boolean"
277
+ },
278
+ {
279
+ "kind": "Content",
280
+ "text": ";"
281
+ }
282
+ ],
283
+ "isReadonly": false,
284
+ "isOptional": true,
285
+ "releaseTag": "Public",
286
+ "name": "inProgress",
287
+ "propertyTypeTokenRange": {
288
+ "startIndex": 1,
289
+ "endIndex": 2
290
+ }
291
+ },
292
+ {
293
+ "kind": "PropertySignature",
294
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#isMultiStep:member",
295
+ "docComment": "",
296
+ "excerptTokens": [
297
+ {
298
+ "kind": "Content",
299
+ "text": "isMultiStep?: "
300
+ },
301
+ {
302
+ "kind": "Content",
303
+ "text": "boolean"
304
+ },
305
+ {
306
+ "kind": "Content",
307
+ "text": ";"
308
+ }
309
+ ],
310
+ "isReadonly": false,
311
+ "isOptional": true,
312
+ "releaseTag": "Public",
313
+ "name": "isMultiStep",
314
+ "propertyTypeTokenRange": {
315
+ "startIndex": 1,
316
+ "endIndex": 2
317
+ }
318
+ },
319
+ {
320
+ "kind": "PropertySignature",
321
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#jobId:member",
322
+ "docComment": "",
323
+ "excerptTokens": [
324
+ {
325
+ "kind": "Content",
326
+ "text": "jobId: "
327
+ },
328
+ {
329
+ "kind": "Content",
330
+ "text": "string"
331
+ },
332
+ {
333
+ "kind": "Content",
334
+ "text": ";"
335
+ }
336
+ ],
337
+ "isReadonly": false,
338
+ "isOptional": false,
339
+ "releaseTag": "Public",
340
+ "name": "jobId",
341
+ "propertyTypeTokenRange": {
342
+ "startIndex": 1,
343
+ "endIndex": 2
344
+ }
345
+ },
346
+ {
347
+ "kind": "PropertySignature",
348
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#result:member",
349
+ "docComment": "",
350
+ "excerptTokens": [
351
+ {
352
+ "kind": "Content",
353
+ "text": "result?: "
354
+ },
355
+ {
356
+ "kind": "Content",
357
+ "text": "T"
358
+ },
359
+ {
360
+ "kind": "Content",
361
+ "text": ";"
362
+ }
363
+ ],
364
+ "isReadonly": false,
365
+ "isOptional": true,
366
+ "releaseTag": "Public",
367
+ "name": "result",
368
+ "propertyTypeTokenRange": {
369
+ "startIndex": 1,
370
+ "endIndex": 2
371
+ }
372
+ },
373
+ {
374
+ "kind": "PropertySignature",
375
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#startTime:member",
376
+ "docComment": "",
377
+ "excerptTokens": [
378
+ {
379
+ "kind": "Content",
380
+ "text": "startTime?: "
381
+ },
382
+ {
383
+ "kind": "Content",
384
+ "text": "number"
385
+ },
386
+ {
387
+ "kind": "Content",
388
+ "text": ";"
389
+ }
390
+ ],
391
+ "isReadonly": false,
392
+ "isOptional": true,
393
+ "releaseTag": "Public",
394
+ "name": "startTime",
395
+ "propertyTypeTokenRange": {
396
+ "startIndex": 1,
397
+ "endIndex": 2
398
+ }
399
+ },
400
+ {
401
+ "kind": "PropertySignature",
402
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#success:member",
403
+ "docComment": "",
404
+ "excerptTokens": [
405
+ {
406
+ "kind": "Content",
407
+ "text": "success?: "
408
+ },
409
+ {
410
+ "kind": "Content",
411
+ "text": "boolean"
412
+ },
413
+ {
414
+ "kind": "Content",
415
+ "text": ";"
416
+ }
417
+ ],
418
+ "isReadonly": false,
419
+ "isOptional": true,
420
+ "releaseTag": "Public",
421
+ "name": "success",
422
+ "propertyTypeTokenRange": {
423
+ "startIndex": 1,
424
+ "endIndex": 2
425
+ }
426
+ },
427
+ {
428
+ "kind": "PropertySignature",
429
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JobLogEntry#time:member",
430
+ "docComment": "",
431
+ "excerptTokens": [
432
+ {
433
+ "kind": "Content",
434
+ "text": "time?: "
435
+ },
436
+ {
437
+ "kind": "Content",
438
+ "text": "number"
439
+ },
440
+ {
441
+ "kind": "Content",
442
+ "text": ";"
443
+ }
444
+ ],
445
+ "isReadonly": false,
446
+ "isOptional": true,
447
+ "releaseTag": "Public",
448
+ "name": "time",
449
+ "propertyTypeTokenRange": {
450
+ "startIndex": 1,
451
+ "endIndex": 2
452
+ }
453
+ }
454
+ ],
455
+ "extendsTokenRanges": []
456
+ }
457
+ ]
458
+ }
459
+ ]
460
+ }
@@ -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<T = string> {
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?: T;
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,13 @@
1
+ export declare interface JobLogEntry<T = string> {
2
+ jobId: string;
3
+ startTime?: number;
4
+ description?: string;
5
+ result?: T;
6
+ failed?: boolean;
7
+ success?: boolean;
8
+ inProgress?: boolean;
9
+ time?: number;
10
+ isMultiStep?: boolean;
11
+ }
12
+
13
+ export { }
@@ -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
+ }