@valiantys/atlassian-app-frontend 3.0.0-alpha-24 → 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.
- 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/atlassian/jira/shared/data-access-project/src/lib/jira-project-service/index.cjs.js +1 -1
- package/atlassian/jira/shared/data-access-project/src/lib/jira-project-service/index.es.js +18 -5
- package/atlassian/shared/frontend-ui-iframe/src/lib/iframe-wrapper/index.cjs.js +1 -1
- package/atlassian/shared/frontend-ui-iframe/src/lib/iframe-wrapper/index.es.js +15 -14
- package/data-access-project/atlassian-app-frontend-data-access-project.api.json +63 -1
- package/data-access-project/atlassian-app-frontend.api.md +3 -1
- package/data-access-project/index.d.ts +4 -0
- 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 +460 -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/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
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../../../../shared/util-fetch/src/lib/shared-util-fetch/index.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../../../../../shared/util-fetch/src/lib/shared-util-fetch/index.cjs.js"),h=class h{constructor(t){this.fetchSvc=t}getVersions(t){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/project/${t}/versions`})}getProject(t){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/project/${t}`})}async getAllProjects(){return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/project`})||[]}async projectSearchByIds(t){var e;if(t.length>50)throw new Error("Too many project ids, max allowed is 50.");const r=this.fetchSvc.route`/rest/api/3/project/search?${t.map(c=>"id="+c).join("&")}`;return(e=await this.fetchSvc.fetch({method:"GET",url:r}))==null?void 0:e.values}async projectSearchByKeys(t){var e;if(t.length>50)throw new Error("Too many project keys, max allowed is 50.");const r=this.fetchSvc.route`/rest/api/3/project/search?${t.map(c=>"key="+c).join("&")}`;return(e=await this.fetchSvc.fetch({method:"GET",url:r}))==null?void 0:e.values}async getProjectIssueTypes(t){return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issuetype/project?projectId=${t}`})||[]}getProjectStatuses(t){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/project/${t}/statuses`})}async getProjectProperty(t,r){try{return(await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/project/${t}/properties/${r}`})).value}catch(e){if(e instanceof o.FetchError&&e.statusCode===404)return;throw e}}setProjectProperty(t,r,e){return this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/3/project/${t}/properties/${r}`},e)}};h.projectUrl="/rest/api/3/project";let s=h;exports.JiraProjectService=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FetchError as o } from "../../../../../../../shared/util-fetch/src/lib/shared-util-fetch/index.es.js";
|
|
2
|
-
const
|
|
2
|
+
const s = class s {
|
|
3
3
|
constructor(t) {
|
|
4
4
|
this.fetchSvc = t;
|
|
5
5
|
}
|
|
@@ -15,6 +15,9 @@ const c = class c {
|
|
|
15
15
|
url: this.fetchSvc.route`/rest/api/3/project/${t}`
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated Use projectSearchByIds instead.
|
|
20
|
+
*/
|
|
18
21
|
async getAllProjects() {
|
|
19
22
|
return await this.fetchSvc.fetch({
|
|
20
23
|
method: "GET",
|
|
@@ -25,7 +28,17 @@ const c = class c {
|
|
|
25
28
|
var e;
|
|
26
29
|
if (t.length > 50)
|
|
27
30
|
throw new Error("Too many project ids, max allowed is 50.");
|
|
28
|
-
const r = this.fetchSvc.route`/rest/api/3/project/search?${t.map((
|
|
31
|
+
const r = this.fetchSvc.route`/rest/api/3/project/search?${t.map((c) => "id=" + c).join("&")}`;
|
|
32
|
+
return (e = await this.fetchSvc.fetch({
|
|
33
|
+
method: "GET",
|
|
34
|
+
url: r
|
|
35
|
+
})) == null ? void 0 : e.values;
|
|
36
|
+
}
|
|
37
|
+
async projectSearchByKeys(t) {
|
|
38
|
+
var e;
|
|
39
|
+
if (t.length > 50)
|
|
40
|
+
throw new Error("Too many project keys, max allowed is 50.");
|
|
41
|
+
const r = this.fetchSvc.route`/rest/api/3/project/search?${t.map((c) => "key=" + c).join("&")}`;
|
|
29
42
|
return (e = await this.fetchSvc.fetch({
|
|
30
43
|
method: "GET",
|
|
31
44
|
url: r
|
|
@@ -65,8 +78,8 @@ const c = class c {
|
|
|
65
78
|
);
|
|
66
79
|
}
|
|
67
80
|
};
|
|
68
|
-
|
|
69
|
-
let
|
|
81
|
+
s.projectUrl = "/rest/api/3/project";
|
|
82
|
+
let h = s;
|
|
70
83
|
export {
|
|
71
|
-
|
|
84
|
+
h as JiraProjectService
|
|
72
85
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),n=require("react"),g=require("../../../../../../shared/frontend-ui-window-listener-hook/src/lib/window-listener-hook/index.cjs.js"),f=require("../iframe-wrapper.module.scss/index.cjs.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),n=require("react"),g=require("../../../../../../shared/frontend-ui-window-listener-hook/src/lib/window-listener-hook/index.cjs.js"),f=require("../iframe-wrapper.module.scss/index.cjs.js"),l=n.forwardRef(({iframeProps:e,messageCallback:o,onMouseOut:i},h)=>{const[w,W]=n.useState(),d=n.useRef(!1),r=n.useRef(!1),u=n.useRef(null);n.useImperativeHandle(h,()=>({reloadContentWindow:()=>{var t,c;return(c=(t=u.current)==null?void 0:t.contentWindow)==null?void 0:c.location.reload()},focusContentWindow:()=>{var t,c;return(c=(t=u.current)==null?void 0:t.contentWindow)==null?void 0:c.focus()}}));const a=n.useCallback(t=>{var c;t.source===((c=u.current)==null?void 0:c.contentWindow)&&o&&o(t.data)},[o]);return g.useWindowListener("message",a),n.useEffect(()=>{(async()=>e!=null&&e.height&&(console.log("IframeWrapper: Setting height to",e.height),W(e.height)))()},[e]),n.useEffect(()=>{(async()=>{var t;!r.current&&((t=u.current)!=null&&t.contentWindow)&&(u.current.contentWindow.focus(),r.current=!0)})()}),s.jsx("div",{className:f["iframe-wrapper"],children:s.jsx("iframe",{title:e==null?void 0:e.title,ref:u,width:e==null?void 0:e.width,height:w,src:e==null?void 0:e.link,onMouseEnter:()=>d.current=!0,onMouseOut:()=>{d.current&&i&&i()}})})});l.displayName="IframeWrapper";exports.IframeWrapper=l;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as f, useState as I, useRef as o, useImperativeHandle as
|
|
3
|
-
import { useWindowListener as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
1
|
+
import { jsx as h } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as f, useState as I, useRef as o, useImperativeHandle as y, useCallback as R, useEffect as r } from "react";
|
|
3
|
+
import { useWindowListener as a } from "../../../../../../shared/frontend-ui-window-listener-hook/src/lib/window-listener-hook/index.es.js";
|
|
4
|
+
import x from "../iframe-wrapper.module.scss/index.es.js";
|
|
5
|
+
const E = f(
|
|
6
6
|
({ iframeProps: t, messageCallback: u, onMouseOut: d }, s) => {
|
|
7
|
-
const [
|
|
8
|
-
|
|
7
|
+
const [w, W] = I(), i = o(!1), l = o(!1), c = o(null);
|
|
8
|
+
y(
|
|
9
9
|
s,
|
|
10
10
|
() => ({
|
|
11
11
|
reloadContentWindow: () => {
|
|
@@ -18,27 +18,27 @@ const v = f(
|
|
|
18
18
|
}
|
|
19
19
|
})
|
|
20
20
|
);
|
|
21
|
-
const g =
|
|
21
|
+
const g = R(
|
|
22
22
|
(n) => {
|
|
23
23
|
var e;
|
|
24
24
|
n.source === ((e = c.current) == null ? void 0 : e.contentWindow) && u && u(n.data);
|
|
25
25
|
},
|
|
26
26
|
[u]
|
|
27
27
|
);
|
|
28
|
-
return
|
|
28
|
+
return a("message", g), r(() => {
|
|
29
29
|
(async () => t != null && t.height && (console.log("IframeWrapper: Setting height to", t.height), W(t.height)))();
|
|
30
|
-
}, [t]),
|
|
30
|
+
}, [t]), r(() => {
|
|
31
31
|
(async () => {
|
|
32
32
|
var n;
|
|
33
|
-
!
|
|
33
|
+
!l.current && ((n = c.current) != null && n.contentWindow) && (c.current.contentWindow.focus(), l.current = !0);
|
|
34
34
|
})();
|
|
35
|
-
}), /* @__PURE__ */
|
|
35
|
+
}), /* @__PURE__ */ h("div", { className: x["iframe-wrapper"], children: /* @__PURE__ */ h(
|
|
36
36
|
"iframe",
|
|
37
37
|
{
|
|
38
38
|
title: t == null ? void 0 : t.title,
|
|
39
39
|
ref: c,
|
|
40
40
|
width: t == null ? void 0 : t.width,
|
|
41
|
-
height:
|
|
41
|
+
height: w,
|
|
42
42
|
src: t == null ? void 0 : t.link,
|
|
43
43
|
onMouseEnter: () => i.current = !0,
|
|
44
44
|
onMouseOut: () => {
|
|
@@ -48,6 +48,7 @@ const v = f(
|
|
|
48
48
|
) });
|
|
49
49
|
}
|
|
50
50
|
);
|
|
51
|
+
E.displayName = "IframeWrapper";
|
|
51
52
|
export {
|
|
52
|
-
|
|
53
|
+
E as IframeWrapper
|
|
53
54
|
};
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
{
|
|
229
229
|
"kind": "Method",
|
|
230
230
|
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService#getAllProjects:member(1)",
|
|
231
|
-
"docComment": "",
|
|
231
|
+
"docComment": "/**\n * @deprecated\n *\n * Use projectSearchByIds instead.\n */\n",
|
|
232
232
|
"excerptTokens": [
|
|
233
233
|
{
|
|
234
234
|
"kind": "Content",
|
|
@@ -653,6 +653,68 @@
|
|
|
653
653
|
"isAbstract": false,
|
|
654
654
|
"name": "projectSearchByIds"
|
|
655
655
|
},
|
|
656
|
+
{
|
|
657
|
+
"kind": "Method",
|
|
658
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService#projectSearchByKeys:member(1)",
|
|
659
|
+
"docComment": "",
|
|
660
|
+
"excerptTokens": [
|
|
661
|
+
{
|
|
662
|
+
"kind": "Content",
|
|
663
|
+
"text": "projectSearchByKeys(projectKeys: "
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"kind": "Content",
|
|
667
|
+
"text": "string[]"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"kind": "Content",
|
|
671
|
+
"text": "): "
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"kind": "Reference",
|
|
675
|
+
"text": "Promise",
|
|
676
|
+
"canonicalReference": "!Promise:interface"
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"kind": "Content",
|
|
680
|
+
"text": "<"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"kind": "Reference",
|
|
684
|
+
"text": "Project",
|
|
685
|
+
"canonicalReference": "@valiantys/atlassian-app-frontend!~Project:interface"
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
"kind": "Content",
|
|
689
|
+
"text": "[]>"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"kind": "Content",
|
|
693
|
+
"text": ";"
|
|
694
|
+
}
|
|
695
|
+
],
|
|
696
|
+
"isStatic": false,
|
|
697
|
+
"returnTypeTokenRange": {
|
|
698
|
+
"startIndex": 3,
|
|
699
|
+
"endIndex": 7
|
|
700
|
+
},
|
|
701
|
+
"releaseTag": "Public",
|
|
702
|
+
"isProtected": false,
|
|
703
|
+
"overloadIndex": 1,
|
|
704
|
+
"parameters": [
|
|
705
|
+
{
|
|
706
|
+
"parameterName": "projectKeys",
|
|
707
|
+
"parameterTypeTokenRange": {
|
|
708
|
+
"startIndex": 1,
|
|
709
|
+
"endIndex": 2
|
|
710
|
+
},
|
|
711
|
+
"isOptional": false
|
|
712
|
+
}
|
|
713
|
+
],
|
|
714
|
+
"isOptional": false,
|
|
715
|
+
"isAbstract": false,
|
|
716
|
+
"name": "projectSearchByKeys"
|
|
717
|
+
},
|
|
656
718
|
{
|
|
657
719
|
"kind": "Property",
|
|
658
720
|
"canonicalReference": "@valiantys/atlassian-app-frontend!JiraProjectService.projectUrl:member",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
export class JiraProjectService {
|
|
9
9
|
// Warning: (ae-forgotten-export) The symbol "AtlassianProductFetchService" needs to be exported by the entry point data-access-project.d.ts
|
|
10
10
|
constructor(fetchSvc: AtlassianProductFetchService<'jira'>);
|
|
11
|
-
// (undocumented)
|
|
11
|
+
// @deprecated (undocumented)
|
|
12
12
|
getAllProjects(): Promise<Project[]>;
|
|
13
13
|
// Warning: (ae-forgotten-export) The symbol "Project" needs to be exported by the entry point data-access-project.d.ts
|
|
14
14
|
//
|
|
@@ -29,6 +29,8 @@ export class JiraProjectService {
|
|
|
29
29
|
// (undocumented)
|
|
30
30
|
projectSearchByIds(projectIds: string[]): Promise<Project[]>;
|
|
31
31
|
// (undocumented)
|
|
32
|
+
projectSearchByKeys(projectKeys: string[]): Promise<Project[]>;
|
|
33
|
+
// (undocumented)
|
|
32
34
|
static readonly projectUrl = "/rest/api/3/project";
|
|
33
35
|
// (undocumented)
|
|
34
36
|
setProjectProperty<T>(projectIdOrKey: string, propertyKey: string, value: T): Promise<T>;
|
|
@@ -47,8 +47,12 @@ export declare class JiraProjectService {
|
|
|
47
47
|
constructor(fetchSvc: AtlassianProductFetchService<'jira'>);
|
|
48
48
|
getVersions(projectIdOrKey: string): Promise<ProjectVersion[]>;
|
|
49
49
|
getProject(projectIdOrKey: string): Promise<Project>;
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated Use projectSearchByIds instead.
|
|
52
|
+
*/
|
|
50
53
|
getAllProjects(): Promise<Project[]>;
|
|
51
54
|
projectSearchByIds(projectIds: string[]): Promise<Project[]>;
|
|
55
|
+
projectSearchByKeys(projectKeys: string[]): Promise<Project[]>;
|
|
52
56
|
getProjectIssueTypes(projectId: string): Promise<IssueTypeDetails[]>;
|
|
53
57
|
getProjectStatuses(projectIdOrKey: string): Promise<unknown>;
|
|
54
58
|
getProjectProperty<T>(projectIdOrKey: string, propertyKey: string): Promise<T | undefined>;
|
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-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,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
|
+
}
|