@valiantys/atlassian-app-frontend 3.0.0-alpha-4 → 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.
@@ -4,6 +4,49 @@
4
4
 
5
5
  ```ts
6
6
 
7
+ // @public (undocumented)
8
+ export interface AtlassianDocumentFormat {
9
+ // (undocumented)
10
+ content: AtlassianDocumentFormatNode[];
11
+ // (undocumented)
12
+ type: 'doc';
13
+ // (undocumented)
14
+ version: number;
15
+ }
16
+
17
+ // @public (undocumented)
18
+ export interface AtlassianDocumentFormatBlockNode {
19
+ // (undocumented)
20
+ content: AtlassianDocumentFormatNode[];
21
+ // (undocumented)
22
+ type: string;
23
+ }
24
+
25
+ // @public (undocumented)
26
+ export interface AtlassianDocumentFormatInlineNode {
27
+ // (undocumented)
28
+ type: string;
29
+ }
30
+
31
+ // @public (undocumented)
32
+ export type AtlassianDocumentFormatNode = AtlassianDocumentFormatInlineNode | AtlassianDocumentFormatBlockNode;
33
+
34
+ // @public (undocumented)
35
+ export interface AtlassianDocumentFormatParagraphNode extends AtlassianDocumentFormatBlockNode {
36
+ // (undocumented)
37
+ content: AtlassianDocumentFormatInlineNode[];
38
+ // (undocumented)
39
+ type: 'paragraph';
40
+ }
41
+
42
+ // @public (undocumented)
43
+ export interface AtlassianDocumentFormatTextNode extends AtlassianDocumentFormatInlineNode {
44
+ // (undocumented)
45
+ text: string;
46
+ // (undocumented)
47
+ type: 'text';
48
+ }
49
+
7
50
  // @public (undocumented)
8
51
  export interface AvatarUrls {
9
52
  // (undocumented)
@@ -16,14 +59,6 @@ export interface AvatarUrls {
16
59
  '48x48': string;
17
60
  }
18
61
 
19
- // @public (undocumented)
20
- export type CommentAuthor = {
21
- accountId: string;
22
- active: boolean;
23
- displayName: string;
24
- self: string;
25
- };
26
-
27
62
  // @public (undocumented)
28
63
  export interface CreatedIssue {
29
64
  // (undocumented)
@@ -128,6 +163,12 @@ export interface HistoryMetadataParticipant {
128
163
  url: string;
129
164
  }
130
165
 
166
+ // @public (undocumented)
167
+ export function isAtlassianDocumentFormatParagraphNode(node: AtlassianDocumentFormatNode): node is AtlassianDocumentFormatParagraphNode;
168
+
169
+ // @public (undocumented)
170
+ export function isAtlassianDocumentFormatTextNode(node: AtlassianDocumentFormatNode): node is AtlassianDocumentFormatTextNode;
171
+
131
172
  // @public (undocumented)
132
173
  export interface Issue {
133
174
  // (undocumented)
@@ -144,16 +185,12 @@ export interface Issue {
144
185
 
145
186
  // @public (undocumented)
146
187
  export type IssueComment = {
147
- author: CommentAuthor;
148
- body: {
149
- type: string;
150
- version: number;
151
- content: unknown[];
152
- };
188
+ author: User;
189
+ body: AtlassianDocumentFormat;
153
190
  created: string;
154
191
  id: string;
155
192
  self: string;
156
- updateAuthor: CommentAuthor;
193
+ updateAuthor: User;
157
194
  updated: string;
158
195
  visibility: Visibility;
159
196
  };
@@ -342,17 +379,7 @@ export interface StaticIssueFields {
342
379
  // (undocumented)
343
380
  creator?: User;
344
381
  // (undocumented)
345
- description?: {
346
- type: 'doc';
347
- version: 1;
348
- content: {
349
- type: 'paragraph';
350
- content: {
351
- type: 'text';
352
- text: string;
353
- }[];
354
- }[];
355
- };
382
+ description?: AtlassianDocumentFormat;
356
383
  // (undocumented)
357
384
  fixVersions?: FixVersions;
358
385
  // (undocumented)
@@ -423,6 +450,20 @@ export interface StaticIssueFields {
423
450
  workratio?: number;
424
451
  }
425
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
+
426
467
  // @public (undocumented)
427
468
  export type UpdateIssue = CreatedIssue;
428
469
 
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../atlassian/jira/shared/util-jira-v3-api/src/lib/issue/index.cjs.js");exports.FIX_VERSIONS_FIELD=e.FIX_VERSIONS_FIELD;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../atlassian/jira/shared/util-jira-v3-api/src/lib/issue/index.cjs.js");exports.FIX_VERSIONS_FIELD=t.FIX_VERSIONS_FIELD;exports.isAtlassianDocumentFormatParagraphNode=t.isAtlassianDocumentFormatParagraphNode;exports.isAtlassianDocumentFormatTextNode=t.isAtlassianDocumentFormatTextNode;
@@ -1,3 +1,30 @@
1
+ export declare interface AtlassianDocumentFormat {
2
+ type: 'doc';
3
+ version: number;
4
+ content: AtlassianDocumentFormatNode[];
5
+ }
6
+
7
+ export declare interface AtlassianDocumentFormatBlockNode {
8
+ type: string;
9
+ content: AtlassianDocumentFormatNode[];
10
+ }
11
+
12
+ export declare interface AtlassianDocumentFormatInlineNode {
13
+ type: string;
14
+ }
15
+
16
+ export declare type AtlassianDocumentFormatNode = AtlassianDocumentFormatInlineNode | AtlassianDocumentFormatBlockNode;
17
+
18
+ export declare interface AtlassianDocumentFormatParagraphNode extends AtlassianDocumentFormatBlockNode {
19
+ type: 'paragraph';
20
+ content: AtlassianDocumentFormatInlineNode[];
21
+ }
22
+
23
+ export declare interface AtlassianDocumentFormatTextNode extends AtlassianDocumentFormatInlineNode {
24
+ type: 'text';
25
+ text: string;
26
+ }
27
+
1
28
  export declare interface AvatarUrls {
2
29
  '48x48': string;
3
30
  '24x24': string;
@@ -5,13 +32,6 @@ export declare interface AvatarUrls {
5
32
  '32x32': string;
6
33
  }
7
34
 
8
- export declare type CommentAuthor = {
9
- accountId: string;
10
- active: boolean;
11
- displayName: string;
12
- self: string;
13
- };
14
-
15
35
  export declare interface CreatedIssue {
16
36
  id: string;
17
37
  key: string;
@@ -80,6 +100,10 @@ export declare interface HistoryMetadataParticipant {
80
100
  url: string;
81
101
  }
82
102
 
103
+ export declare function isAtlassianDocumentFormatParagraphNode(node: AtlassianDocumentFormatNode): node is AtlassianDocumentFormatParagraphNode;
104
+
105
+ export declare function isAtlassianDocumentFormatTextNode(node: AtlassianDocumentFormatNode): node is AtlassianDocumentFormatTextNode;
106
+
83
107
  export declare interface Issue {
84
108
  id: string;
85
109
  expand?: string;
@@ -89,16 +113,12 @@ export declare interface Issue {
89
113
  }
90
114
 
91
115
  export declare type IssueComment = {
92
- author: CommentAuthor;
93
- body: {
94
- type: string;
95
- version: number;
96
- content: unknown[];
97
- };
116
+ author: User;
117
+ body: AtlassianDocumentFormat;
98
118
  created: string;
99
119
  id: string;
100
120
  self: string;
101
- updateAuthor: CommentAuthor;
121
+ updateAuthor: User;
102
122
  updated: string;
103
123
  visibility: Visibility;
104
124
  };
@@ -261,17 +281,7 @@ export declare interface StaticIssueFields {
261
281
  };
262
282
  created?: string;
263
283
  updated?: string;
264
- description?: {
265
- type: 'doc';
266
- version: 1;
267
- content: {
268
- type: 'paragraph';
269
- content: {
270
- type: 'text';
271
- text: string;
272
- }[];
273
- }[];
274
- };
284
+ description?: AtlassianDocumentFormat;
275
285
  timetracking?: {
276
286
  remainingEstimate: string;
277
287
  timeSpent: string;
@@ -286,6 +296,14 @@ export declare interface StaticIssueFields {
286
296
  issuelinks?: IssueLink[];
287
297
  }
288
298
 
299
+ export declare interface TransitionIssueRequest {
300
+ fields?: any;
301
+ historyMetadata?: HistoryMetadata;
302
+ properties?: EntityProperty[];
303
+ transition: IssueTransition;
304
+ update?: any;
305
+ }
306
+
289
307
  export declare type UpdateIssue = CreatedIssue;
290
308
 
291
309
  export declare interface User {
@@ -1,4 +1,6 @@
1
- import { FIX_VERSIONS_FIELD as r } from "../atlassian/jira/shared/util-jira-v3-api/src/lib/issue/index.es.js";
1
+ import { FIX_VERSIONS_FIELD as t, isAtlassianDocumentFormatParagraphNode as e, isAtlassianDocumentFormatTextNode as r } from "../atlassian/jira/shared/util-jira-v3-api/src/lib/issue/index.es.js";
2
2
  export {
3
- r as FIX_VERSIONS_FIELD
3
+ t as FIX_VERSIONS_FIELD,
4
+ e as isAtlassianDocumentFormatParagraphNode,
5
+ r as isAtlassianDocumentFormatTextNode
4
6
  };