@valiantys/atlassian-app-frontend 3.0.0-alpha-5 → 3.0.0-alpha-6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=class u{constructor(e){this.fetchSvc=e}async updateField(e,s,t){await this.updateFields(e,{[s]:t})}async updateFields(e,s){await this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/3/issue/${e}`},{fields:s})}async getIssueField(e,s){var t;return(t=await this.getIssueFields(e,[s]))==null?void 0:t[s]}async getIssueFields(e,s){return(await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${s.join(",")}`})).fields}async getIssue(e,s=["*all"]){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${s.join(",")}`})}async issueSearch(e,s,t=50){let c;const h=[];do{const o=await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/search/jql?jql=${e}&fields=${s.join(",")}&maxResults=${t}&${c?"nextPageToken="+c:""}`});h.push(...o.issues),c=o.nextPageToken}while(c!==void 0);return h}async addWorklog(e,s){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/worklog`},s)}async queryForIssuesInProjects(e){const s=`project IN (${e.join(",")})`;return this.issueSearch(s,["key"],5e3)}async createIssue(e){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/2/issue`},e)}async updateIssue(e,s){return this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/2/issue/${e}`},s)}async getIssueComments(e,s=0){return(await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment?startAt=${s}`})).comments}async getIssueCommentById(e,s){return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment/${s}`})}async addIssueComment(e,s){return await this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment`},s)}};u.issueUrl="/rest/api/3/issue";let i=u;exports.JiraIssueService=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=class u{constructor(e){this.fetchSvc=e}async updateField(e,s,t){await this.updateFields(e,{[s]:t})}async updateFields(e,s){await this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/3/issue/${e}`},{fields:s})}async getIssueField(e,s){var t;return(t=await this.getIssueFields(e,[s]))==null?void 0:t[s]}async getIssueFields(e,s){return(await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${s.join(",")}`})).fields}async getIssue(e,s=["*all"]){return this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}?fields=${s.join(",")}`})}async issueSearch(e,s,t=50){let c;const h=[];do{const o=await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/search/jql?jql=${e}&fields=${s.join(",")}&maxResults=${t}&${c?"nextPageToken="+c:""}`});h.push(...o.issues),c=o.nextPageToken}while(c!==void 0);return h}async addWorklog(e,s){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/worklog`},s)}async queryForIssuesInProjects(e){const s=`project IN (${e.join(",")})`;return this.issueSearch(s,["key"],5e3)}async createIssue(e){return this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/2/issue`},e)}async updateIssue(e,s){return this.fetchSvc.fetch({method:"PUT",url:this.fetchSvc.route`/rest/api/2/issue/${e}`},s)}async getIssueComments(e,s=0){const t=s?`?startAt=${s}`:"";return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment${t}`})}async getIssueCommentById(e,s){return await this.fetchSvc.fetch({method:"GET",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment/${s}`})}async addIssueComment(e,s){return await this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/comment`},s)}async transitionIssue(e,s){await this.fetchSvc.fetch({method:"POST",url:this.fetchSvc.route`/rest/api/3/issue/${e}/transitions`},s)}};u.issueUrl="/rest/api/3/issue";let i=u;exports.JiraIssueService=i;
@@ -74,10 +74,11 @@ const i = class i {
74
74
  );
75
75
  }
76
76
  async getIssueComments(e, s = 0) {
77
- return (await this.fetchSvc.fetch({
77
+ const t = s ? `?startAt=${s}` : "";
78
+ return await this.fetchSvc.fetch({
78
79
  method: "GET",
79
- url: this.fetchSvc.route`/rest/api/3/issue/${e}/comment?startAt=${s}`
80
- })).comments;
80
+ url: this.fetchSvc.route`/rest/api/3/issue/${e}/comment${t}`
81
+ });
81
82
  }
82
83
  async getIssueCommentById(e, s) {
83
84
  return await this.fetchSvc.fetch({
@@ -94,6 +95,16 @@ const i = class i {
94
95
  s
95
96
  );
96
97
  }
98
+ // https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-post
99
+ async transitionIssue(e, s) {
100
+ await this.fetchSvc.fetch(
101
+ {
102
+ method: "POST",
103
+ url: this.fetchSvc.route`/rest/api/3/issue/${e}/transitions`
104
+ },
105
+ s
106
+ );
107
+ }
97
108
  };
98
109
  i.issueUrl = "/rest/api/3/issue";
99
110
  let o = i;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),p=require("@atlaskit/button/new"),l=require("@atlaskit/icon/glyph/copy"),d=require("@atlaskit/popup"),x=require("@atlaskit/primitives"),C=require("react");function g({textToCopy:o,label:n,appearance:r,popupText:i,popupPlacement:s}){const[u,t]=C.useState(!1);return e.jsx(d,{isOpen:u,onClose:()=>t(!1),placement:s||"auto",content:()=>e.jsx(x.Box,{padding:"space.100",children:i||"Copied!"}),trigger:c=>e.jsx(p.IconButton,{...c,icon:l,label:n||"Copy",appearance:r||"subtle",onClick:a=>{a.preventDefault(),navigator.clipboard.writeText(o),t(!0)}})})}exports.CopyTextButton=g;
@@ -0,0 +1,39 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { IconButton as l } from "@atlaskit/button/new";
3
+ import s from "@atlaskit/icon/glyph/copy";
4
+ import f from "@atlaskit/popup";
5
+ import { Box as u } from "@atlaskit/primitives";
6
+ import { useState as d } from "react";
7
+ function B({
8
+ textToCopy: e,
9
+ label: r,
10
+ appearance: p,
11
+ popupText: n,
12
+ popupPlacement: i
13
+ }) {
14
+ const [a, t] = d(!1);
15
+ return /* @__PURE__ */ o(
16
+ f,
17
+ {
18
+ isOpen: a,
19
+ onClose: () => t(!1),
20
+ placement: i || "auto",
21
+ content: () => /* @__PURE__ */ o(u, { padding: "space.100", children: n || "Copied!" }),
22
+ trigger: (m) => /* @__PURE__ */ o(
23
+ l,
24
+ {
25
+ ...m,
26
+ icon: s,
27
+ label: r || "Copy",
28
+ appearance: p || "subtle",
29
+ onClick: (c) => {
30
+ c.preventDefault(), navigator.clipboard.writeText(e), t(!0);
31
+ }
32
+ }
33
+ )
34
+ }
35
+ );
36
+ }
37
+ export {
38
+ B as CopyTextButton
39
+ };
@@ -638,12 +638,12 @@
638
638
  },
639
639
  {
640
640
  "kind": "Reference",
641
- "text": "IssueComment",
642
- "canonicalReference": "@valiantys/atlassian-app-frontend!~IssueComment:type"
641
+ "text": "JiraCommentResponse",
642
+ "canonicalReference": "@valiantys/atlassian-app-frontend!~JiraCommentResponse:type"
643
643
  },
644
644
  {
645
645
  "kind": "Content",
646
- "text": "[] | undefined>"
646
+ "text": " | undefined>"
647
647
  },
648
648
  {
649
649
  "kind": "Content",
@@ -1030,6 +1030,76 @@
1030
1030
  "isAbstract": false,
1031
1031
  "name": "queryForIssuesInProjects"
1032
1032
  },
1033
+ {
1034
+ "kind": "Method",
1035
+ "canonicalReference": "@valiantys/atlassian-app-frontend!JiraIssueService#transitionIssue:member(1)",
1036
+ "docComment": "",
1037
+ "excerptTokens": [
1038
+ {
1039
+ "kind": "Content",
1040
+ "text": "transitionIssue(issueIdOrKey: "
1041
+ },
1042
+ {
1043
+ "kind": "Content",
1044
+ "text": "string"
1045
+ },
1046
+ {
1047
+ "kind": "Content",
1048
+ "text": ", body: "
1049
+ },
1050
+ {
1051
+ "kind": "Reference",
1052
+ "text": "TransitionIssueRequest",
1053
+ "canonicalReference": "@valiantys/atlassian-app-frontend!~TransitionIssueRequest:interface"
1054
+ },
1055
+ {
1056
+ "kind": "Content",
1057
+ "text": "): "
1058
+ },
1059
+ {
1060
+ "kind": "Reference",
1061
+ "text": "Promise",
1062
+ "canonicalReference": "!Promise:interface"
1063
+ },
1064
+ {
1065
+ "kind": "Content",
1066
+ "text": "<void>"
1067
+ },
1068
+ {
1069
+ "kind": "Content",
1070
+ "text": ";"
1071
+ }
1072
+ ],
1073
+ "isStatic": false,
1074
+ "returnTypeTokenRange": {
1075
+ "startIndex": 5,
1076
+ "endIndex": 7
1077
+ },
1078
+ "releaseTag": "Public",
1079
+ "isProtected": false,
1080
+ "overloadIndex": 1,
1081
+ "parameters": [
1082
+ {
1083
+ "parameterName": "issueIdOrKey",
1084
+ "parameterTypeTokenRange": {
1085
+ "startIndex": 1,
1086
+ "endIndex": 2
1087
+ },
1088
+ "isOptional": false
1089
+ },
1090
+ {
1091
+ "parameterName": "body",
1092
+ "parameterTypeTokenRange": {
1093
+ "startIndex": 3,
1094
+ "endIndex": 4
1095
+ },
1096
+ "isOptional": false
1097
+ }
1098
+ ],
1099
+ "isOptional": false,
1100
+ "isAbstract": false,
1101
+ "name": "transitionIssue"
1102
+ },
1033
1103
  {
1034
1104
  "kind": "Method",
1035
1105
  "canonicalReference": "@valiantys/atlassian-app-frontend!JiraIssueService#updateField:member(1)",
@@ -26,12 +26,14 @@ export class JiraIssueService {
26
26
  //
27
27
  // (undocumented)
28
28
  getIssue(issueIdOrKey: string, fields?: string[]): Promise<Issue | undefined>;
29
+ // Warning: (ae-forgotten-export) The symbol "IssueComment" needs to be exported by the entry point data-access-issue.d.ts
30
+ //
29
31
  // (undocumented)
30
32
  getIssueCommentById(issueIdOrKey: string, commentId: string): Promise<IssueComment | undefined>;
31
- // Warning: (ae-forgotten-export) The symbol "IssueComment" needs to be exported by the entry point data-access-issue.d.ts
33
+ // Warning: (ae-forgotten-export) The symbol "JiraCommentResponse" needs to be exported by the entry point data-access-issue.d.ts
32
34
  //
33
35
  // (undocumented)
34
- getIssueComments(issueIdOrKey: string, startAt?: number): Promise<IssueComment[] | undefined>;
36
+ getIssueComments(issueIdOrKey: string, startAt?: number): Promise<JiraCommentResponse | undefined>;
35
37
  // (undocumented)
36
38
  getIssueField<T>(issueIdOrKey: string, field: string): Promise<T | undefined>;
37
39
  // Warning: (ae-forgotten-export) The symbol "IssueFields" needs to be exported by the entry point data-access-issue.d.ts
@@ -44,6 +46,10 @@ export class JiraIssueService {
44
46
  static readonly issueUrl = "/rest/api/3/issue";
45
47
  // (undocumented)
46
48
  queryForIssuesInProjects(projectIds: number[]): Promise<Issue[]>;
49
+ // Warning: (ae-forgotten-export) The symbol "TransitionIssueRequest" needs to be exported by the entry point data-access-issue.d.ts
50
+ //
51
+ // (undocumented)
52
+ transitionIssue(issueIdOrKey: string, body: TransitionIssueRequest): Promise<void>;
47
53
  // (undocumented)
48
54
  updateField(issueIdOrKey: string, fieldName: string, value: unknown): Promise<void>;
49
55
  // (undocumented)
@@ -160,6 +160,13 @@ declare interface IssueTransition {
160
160
  looped: boolean;
161
161
  }
162
162
 
163
+ declare type JiraCommentResponse = {
164
+ comments: IssueComment[];
165
+ maxResults: number;
166
+ startAt: number;
167
+ total: number;
168
+ };
169
+
163
170
  export declare class JiraIssueService {
164
171
  private fetchSvc;
165
172
  static readonly issueUrl = "/rest/api/3/issue";
@@ -174,9 +181,10 @@ export declare class JiraIssueService {
174
181
  queryForIssuesInProjects(projectIds: number[]): Promise<Issue[]>;
175
182
  createIssue(body: CreateIssue): Promise<CreatedIssue>;
176
183
  updateIssue(issueIdOrKey: string, body: UpdateIssue): Promise<void>;
177
- getIssueComments(issueIdOrKey: string, startAt?: number): Promise<IssueComment[] | undefined>;
184
+ getIssueComments(issueIdOrKey: string, startAt?: number): Promise<JiraCommentResponse | undefined>;
178
185
  getIssueCommentById(issueIdOrKey: string, commentId: string): Promise<IssueComment | undefined>;
179
186
  addIssueComment(issueIdOrKey: string, body: AtlassianDocumentFormat): Promise<IssueComment>;
187
+ transitionIssue(issueIdOrKey: string, body: TransitionIssueRequest): Promise<void>;
180
188
  }
181
189
 
182
190
  declare type Product = 'jira' | 'bitbucket' | 'confluence' | 'connected-data';
@@ -250,6 +258,14 @@ declare interface StaticIssueFields {
250
258
  issuelinks?: IssueLink[];
251
259
  }
252
260
 
261
+ declare interface TransitionIssueRequest {
262
+ fields?: any;
263
+ historyMetadata?: HistoryMetadata;
264
+ properties?: EntityProperty[];
265
+ transition: IssueTransition;
266
+ update?: any;
267
+ }
268
+
253
269
  declare type UpdateIssue = CreatedIssue;
254
270
 
255
271
  declare interface User {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valiantys/atlassian-app-frontend",
3
- "version": "3.0.0-alpha-5",
3
+ "version": "3.0.0-alpha-6",
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": {
@@ -78,6 +78,11 @@
78
78
  "require": "./ui-backend-adapter/index.cjs.js",
79
79
  "types": "./ui-backend-adapter/index.d.ts"
80
80
  },
81
+ "./ui-copy-button": {
82
+ "import": "./ui-copy-button/index.es.js",
83
+ "require": "./ui-copy-button/index.cjs.js",
84
+ "types": "./ui-copy-button/index.d.ts"
85
+ },
81
86
  "./ui-host-router": {
82
87
  "import": "./ui-host-router/index.es.js",
83
88
  "require": "./ui-host-router/index.cjs.js",
@@ -0,0 +1,384 @@
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!CopyTextButton:function(1)",
178
+ "docComment": "",
179
+ "excerptTokens": [
180
+ {
181
+ "kind": "Content",
182
+ "text": "export declare function CopyTextButton({ textToCopy, label, appearance, popupText, popupPlacement, }: "
183
+ },
184
+ {
185
+ "kind": "Reference",
186
+ "text": "CopyTextButtonProps",
187
+ "canonicalReference": "@valiantys/atlassian-app-frontend!CopyTextButtonProps:interface"
188
+ },
189
+ {
190
+ "kind": "Content",
191
+ "text": "): "
192
+ },
193
+ {
194
+ "kind": "Content",
195
+ "text": "import(\"react/jsx-runtime\")."
196
+ },
197
+ {
198
+ "kind": "Reference",
199
+ "text": "JSX.Element",
200
+ "canonicalReference": "@types/react!JSX.Element:interface"
201
+ },
202
+ {
203
+ "kind": "Content",
204
+ "text": ";"
205
+ }
206
+ ],
207
+ "fileUrlPath": "../../shared/frontend-ui-copy-button/src/lib/copy-text-button.d.ts",
208
+ "returnTypeTokenRange": {
209
+ "startIndex": 3,
210
+ "endIndex": 5
211
+ },
212
+ "releaseTag": "Public",
213
+ "overloadIndex": 1,
214
+ "parameters": [
215
+ {
216
+ "parameterName": "{ textToCopy, label, appearance, popupText, popupPlacement, }",
217
+ "parameterTypeTokenRange": {
218
+ "startIndex": 1,
219
+ "endIndex": 2
220
+ },
221
+ "isOptional": false
222
+ }
223
+ ],
224
+ "name": "CopyTextButton"
225
+ },
226
+ {
227
+ "kind": "Interface",
228
+ "canonicalReference": "@valiantys/atlassian-app-frontend!CopyTextButtonProps:interface",
229
+ "docComment": "",
230
+ "excerptTokens": [
231
+ {
232
+ "kind": "Content",
233
+ "text": "export interface CopyTextButtonProps "
234
+ }
235
+ ],
236
+ "fileUrlPath": "../../shared/frontend-ui-copy-button/src/lib/copy-text-button.d.ts",
237
+ "releaseTag": "Public",
238
+ "name": "CopyTextButtonProps",
239
+ "preserveMemberOrder": false,
240
+ "members": [
241
+ {
242
+ "kind": "PropertySignature",
243
+ "canonicalReference": "@valiantys/atlassian-app-frontend!CopyTextButtonProps#appearance:member",
244
+ "docComment": "",
245
+ "excerptTokens": [
246
+ {
247
+ "kind": "Content",
248
+ "text": "appearance?: "
249
+ },
250
+ {
251
+ "kind": "Reference",
252
+ "text": "IconButtonAppearance",
253
+ "canonicalReference": "@atlaskit/button!IconButtonAppearance:type"
254
+ },
255
+ {
256
+ "kind": "Content",
257
+ "text": ";"
258
+ }
259
+ ],
260
+ "isReadonly": false,
261
+ "isOptional": true,
262
+ "releaseTag": "Public",
263
+ "name": "appearance",
264
+ "propertyTypeTokenRange": {
265
+ "startIndex": 1,
266
+ "endIndex": 2
267
+ }
268
+ },
269
+ {
270
+ "kind": "PropertySignature",
271
+ "canonicalReference": "@valiantys/atlassian-app-frontend!CopyTextButtonProps#label:member",
272
+ "docComment": "",
273
+ "excerptTokens": [
274
+ {
275
+ "kind": "Content",
276
+ "text": "label?: "
277
+ },
278
+ {
279
+ "kind": "Content",
280
+ "text": "string"
281
+ },
282
+ {
283
+ "kind": "Content",
284
+ "text": ";"
285
+ }
286
+ ],
287
+ "isReadonly": false,
288
+ "isOptional": true,
289
+ "releaseTag": "Public",
290
+ "name": "label",
291
+ "propertyTypeTokenRange": {
292
+ "startIndex": 1,
293
+ "endIndex": 2
294
+ }
295
+ },
296
+ {
297
+ "kind": "PropertySignature",
298
+ "canonicalReference": "@valiantys/atlassian-app-frontend!CopyTextButtonProps#popupPlacement:member",
299
+ "docComment": "",
300
+ "excerptTokens": [
301
+ {
302
+ "kind": "Content",
303
+ "text": "popupPlacement?: "
304
+ },
305
+ {
306
+ "kind": "Reference",
307
+ "text": "Placement",
308
+ "canonicalReference": "@popperjs/core!Placement:type"
309
+ },
310
+ {
311
+ "kind": "Content",
312
+ "text": ";"
313
+ }
314
+ ],
315
+ "isReadonly": false,
316
+ "isOptional": true,
317
+ "releaseTag": "Public",
318
+ "name": "popupPlacement",
319
+ "propertyTypeTokenRange": {
320
+ "startIndex": 1,
321
+ "endIndex": 2
322
+ }
323
+ },
324
+ {
325
+ "kind": "PropertySignature",
326
+ "canonicalReference": "@valiantys/atlassian-app-frontend!CopyTextButtonProps#popupText:member",
327
+ "docComment": "",
328
+ "excerptTokens": [
329
+ {
330
+ "kind": "Content",
331
+ "text": "popupText?: "
332
+ },
333
+ {
334
+ "kind": "Content",
335
+ "text": "string"
336
+ },
337
+ {
338
+ "kind": "Content",
339
+ "text": ";"
340
+ }
341
+ ],
342
+ "isReadonly": false,
343
+ "isOptional": true,
344
+ "releaseTag": "Public",
345
+ "name": "popupText",
346
+ "propertyTypeTokenRange": {
347
+ "startIndex": 1,
348
+ "endIndex": 2
349
+ }
350
+ },
351
+ {
352
+ "kind": "PropertySignature",
353
+ "canonicalReference": "@valiantys/atlassian-app-frontend!CopyTextButtonProps#textToCopy:member",
354
+ "docComment": "",
355
+ "excerptTokens": [
356
+ {
357
+ "kind": "Content",
358
+ "text": "textToCopy: "
359
+ },
360
+ {
361
+ "kind": "Content",
362
+ "text": "string"
363
+ },
364
+ {
365
+ "kind": "Content",
366
+ "text": ";"
367
+ }
368
+ ],
369
+ "isReadonly": false,
370
+ "isOptional": false,
371
+ "releaseTag": "Public",
372
+ "name": "textToCopy",
373
+ "propertyTypeTokenRange": {
374
+ "startIndex": 1,
375
+ "endIndex": 2
376
+ }
377
+ }
378
+ ],
379
+ "extendsTokenRanges": []
380
+ }
381
+ ]
382
+ }
383
+ ]
384
+ }
@@ -0,0 +1,30 @@
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 { IconButtonAppearance } from '@atlaskit/button/dist/types/new-button/variants/types';
8
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
9
+ import { Placement } from '@atlaskit/popper';
10
+
11
+ // @public (undocumented)
12
+ export function CopyTextButton({ textToCopy, label, appearance, popupText, popupPlacement, }: CopyTextButtonProps): JSX_2.Element;
13
+
14
+ // @public (undocumented)
15
+ export interface CopyTextButtonProps {
16
+ // (undocumented)
17
+ appearance?: IconButtonAppearance;
18
+ // (undocumented)
19
+ label?: string;
20
+ // (undocumented)
21
+ popupPlacement?: Placement;
22
+ // (undocumented)
23
+ popupText?: string;
24
+ // (undocumented)
25
+ textToCopy: string;
26
+ }
27
+
28
+ // (No @packageDocumentation comment for this package)
29
+
30
+ ```
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../atlassian/shared/frontend-ui-copy-button/src/lib/copy-text-button/index.cjs.js");exports.CopyTextButton=t.CopyTextButton;
@@ -0,0 +1,15 @@
1
+ import { IconButtonAppearance } from '@atlaskit/button/dist/types/new-button/variants/types';
2
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
3
+ import { Placement } from '@atlaskit/popper';
4
+
5
+ export declare function CopyTextButton({ textToCopy, label, appearance, popupText, popupPlacement, }: CopyTextButtonProps): JSX_2.Element;
6
+
7
+ export declare interface CopyTextButtonProps {
8
+ textToCopy: string;
9
+ label?: string;
10
+ appearance?: IconButtonAppearance;
11
+ popupText?: string;
12
+ popupPlacement?: Placement;
13
+ }
14
+
15
+ export { }
@@ -0,0 +1,4 @@
1
+ import { CopyTextButton as e } from "../atlassian/shared/frontend-ui-copy-button/src/lib/copy-text-button/index.es.js";
2
+ export {
3
+ e as CopyTextButton
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
+ }
@@ -1074,7 +1074,7 @@
1074
1074
  "text": "export interface EntityProperty "
1075
1075
  }
1076
1076
  ],
1077
- "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/worklog.d.ts",
1077
+ "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/entity-property.d.ts",
1078
1078
  "releaseTag": "Public",
1079
1079
  "name": "EntityProperty",
1080
1080
  "preserveMemberOrder": false,
@@ -4200,6 +4200,166 @@
4200
4200
  ],
4201
4201
  "extendsTokenRanges": []
4202
4202
  },
4203
+ {
4204
+ "kind": "Interface",
4205
+ "canonicalReference": "@valiantys/atlassian-app-frontend!TransitionIssueRequest:interface",
4206
+ "docComment": "",
4207
+ "excerptTokens": [
4208
+ {
4209
+ "kind": "Content",
4210
+ "text": "export interface TransitionIssueRequest "
4211
+ }
4212
+ ],
4213
+ "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/issue.d.ts",
4214
+ "releaseTag": "Public",
4215
+ "name": "TransitionIssueRequest",
4216
+ "preserveMemberOrder": false,
4217
+ "members": [
4218
+ {
4219
+ "kind": "PropertySignature",
4220
+ "canonicalReference": "@valiantys/atlassian-app-frontend!TransitionIssueRequest#fields:member",
4221
+ "docComment": "",
4222
+ "excerptTokens": [
4223
+ {
4224
+ "kind": "Content",
4225
+ "text": "fields?: "
4226
+ },
4227
+ {
4228
+ "kind": "Content",
4229
+ "text": "any"
4230
+ },
4231
+ {
4232
+ "kind": "Content",
4233
+ "text": ";"
4234
+ }
4235
+ ],
4236
+ "isReadonly": false,
4237
+ "isOptional": true,
4238
+ "releaseTag": "Public",
4239
+ "name": "fields",
4240
+ "propertyTypeTokenRange": {
4241
+ "startIndex": 1,
4242
+ "endIndex": 2
4243
+ }
4244
+ },
4245
+ {
4246
+ "kind": "PropertySignature",
4247
+ "canonicalReference": "@valiantys/atlassian-app-frontend!TransitionIssueRequest#historyMetadata:member",
4248
+ "docComment": "",
4249
+ "excerptTokens": [
4250
+ {
4251
+ "kind": "Content",
4252
+ "text": "historyMetadata?: "
4253
+ },
4254
+ {
4255
+ "kind": "Reference",
4256
+ "text": "HistoryMetadata",
4257
+ "canonicalReference": "@valiantys/atlassian-app-frontend!HistoryMetadata:interface"
4258
+ },
4259
+ {
4260
+ "kind": "Content",
4261
+ "text": ";"
4262
+ }
4263
+ ],
4264
+ "isReadonly": false,
4265
+ "isOptional": true,
4266
+ "releaseTag": "Public",
4267
+ "name": "historyMetadata",
4268
+ "propertyTypeTokenRange": {
4269
+ "startIndex": 1,
4270
+ "endIndex": 2
4271
+ }
4272
+ },
4273
+ {
4274
+ "kind": "PropertySignature",
4275
+ "canonicalReference": "@valiantys/atlassian-app-frontend!TransitionIssueRequest#properties:member",
4276
+ "docComment": "",
4277
+ "excerptTokens": [
4278
+ {
4279
+ "kind": "Content",
4280
+ "text": "properties?: "
4281
+ },
4282
+ {
4283
+ "kind": "Reference",
4284
+ "text": "EntityProperty",
4285
+ "canonicalReference": "@valiantys/atlassian-app-frontend!EntityProperty:interface"
4286
+ },
4287
+ {
4288
+ "kind": "Content",
4289
+ "text": "[]"
4290
+ },
4291
+ {
4292
+ "kind": "Content",
4293
+ "text": ";"
4294
+ }
4295
+ ],
4296
+ "isReadonly": false,
4297
+ "isOptional": true,
4298
+ "releaseTag": "Public",
4299
+ "name": "properties",
4300
+ "propertyTypeTokenRange": {
4301
+ "startIndex": 1,
4302
+ "endIndex": 3
4303
+ }
4304
+ },
4305
+ {
4306
+ "kind": "PropertySignature",
4307
+ "canonicalReference": "@valiantys/atlassian-app-frontend!TransitionIssueRequest#transition:member",
4308
+ "docComment": "",
4309
+ "excerptTokens": [
4310
+ {
4311
+ "kind": "Content",
4312
+ "text": "transition: "
4313
+ },
4314
+ {
4315
+ "kind": "Reference",
4316
+ "text": "IssueTransition",
4317
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IssueTransition:interface"
4318
+ },
4319
+ {
4320
+ "kind": "Content",
4321
+ "text": ";"
4322
+ }
4323
+ ],
4324
+ "isReadonly": false,
4325
+ "isOptional": false,
4326
+ "releaseTag": "Public",
4327
+ "name": "transition",
4328
+ "propertyTypeTokenRange": {
4329
+ "startIndex": 1,
4330
+ "endIndex": 2
4331
+ }
4332
+ },
4333
+ {
4334
+ "kind": "PropertySignature",
4335
+ "canonicalReference": "@valiantys/atlassian-app-frontend!TransitionIssueRequest#update:member",
4336
+ "docComment": "",
4337
+ "excerptTokens": [
4338
+ {
4339
+ "kind": "Content",
4340
+ "text": "update?: "
4341
+ },
4342
+ {
4343
+ "kind": "Content",
4344
+ "text": "any"
4345
+ },
4346
+ {
4347
+ "kind": "Content",
4348
+ "text": ";"
4349
+ }
4350
+ ],
4351
+ "isReadonly": false,
4352
+ "isOptional": true,
4353
+ "releaseTag": "Public",
4354
+ "name": "update",
4355
+ "propertyTypeTokenRange": {
4356
+ "startIndex": 1,
4357
+ "endIndex": 2
4358
+ }
4359
+ }
4360
+ ],
4361
+ "extendsTokenRanges": []
4362
+ },
4203
4363
  {
4204
4364
  "kind": "TypeAlias",
4205
4365
  "canonicalReference": "@valiantys/atlassian-app-frontend!UpdateIssue:type",
@@ -450,6 +450,20 @@ export interface StaticIssueFields {
450
450
  workratio?: number;
451
451
  }
452
452
 
453
+ // @public (undocumented)
454
+ export interface TransitionIssueRequest {
455
+ // (undocumented)
456
+ fields?: any;
457
+ // (undocumented)
458
+ historyMetadata?: HistoryMetadata;
459
+ // (undocumented)
460
+ properties?: EntityProperty[];
461
+ // (undocumented)
462
+ transition: IssueTransition;
463
+ // (undocumented)
464
+ update?: any;
465
+ }
466
+
453
467
  // @public (undocumented)
454
468
  export type UpdateIssue = CreatedIssue;
455
469
 
@@ -296,6 +296,14 @@ export declare interface StaticIssueFields {
296
296
  issuelinks?: IssueLink[];
297
297
  }
298
298
 
299
+ export declare interface TransitionIssueRequest {
300
+ fields?: any;
301
+ historyMetadata?: HistoryMetadata;
302
+ properties?: EntityProperty[];
303
+ transition: IssueTransition;
304
+ update?: any;
305
+ }
306
+
299
307
  export declare type UpdateIssue = CreatedIssue;
300
308
 
301
309
  export declare interface User {