@venturialstd/jira 0.1.24 → 0.1.25

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,7 +1,7 @@
1
1
  export interface JiraComments {
2
2
  id: string;
3
3
  author: JiraUsers;
4
- body: any;
4
+ body: JiraDocumentFormat;
5
5
  created: string;
6
6
  updated: string;
7
7
  visibility?: {
@@ -20,3 +20,18 @@ export interface JiraUsers {
20
20
  '32x32': string;
21
21
  };
22
22
  }
23
+ export interface JiraDocumentFormat {
24
+ version: number;
25
+ type: 'doc';
26
+ content: JiraDocumentNode[];
27
+ }
28
+ export interface JiraDocumentNode {
29
+ type: string;
30
+ content?: JiraDocumentNode[];
31
+ text?: string;
32
+ marks?: Array<{
33
+ type: string;
34
+ attrs?: Record<string, string | number | boolean>;
35
+ }>;
36
+ attrs?: Record<string, string | number | boolean>;
37
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"jira.event.type.js","sourceRoot":"","sources":["../../../types/jira.event.type.ts"],"names":[],"mappings":"","sourcesContent":["export interface JiraComments {\r\n id: string;\r\n author: JiraUsers;\r\n body: any;\r\n created: string;\r\n updated: string;\r\n visibility?: {\r\n type: string;\r\n value: string;\r\n };\r\n}\r\n\r\nexport interface JiraUsers {\r\n accountId: string;\r\n displayName: string;\r\n emailAddress?: string;\r\n avatarUrls?: {\r\n '48x48': string;\r\n '24x24': string;\r\n '16x16': string;\r\n '32x32': string;\r\n };\r\n}\r\n"]}
1
+ {"version":3,"file":"jira.event.type.js","sourceRoot":"","sources":["../../../types/jira.event.type.ts"],"names":[],"mappings":"","sourcesContent":["export interface JiraComments {\r\n id: string;\r\n author: JiraUsers;\r\n body: JiraDocumentFormat;\r\n created: string;\r\n updated: string;\r\n visibility?: {\r\n type: string;\r\n value: string;\r\n };\r\n}\r\n\r\nexport interface JiraUsers {\r\n accountId: string;\r\n displayName: string;\r\n emailAddress?: string;\r\n avatarUrls?: {\r\n '48x48': string;\r\n '24x24': string;\r\n '16x16': string;\r\n '32x32': string;\r\n };\r\n}\r\n\r\nexport interface JiraDocumentFormat {\r\n version: number;\r\n type: 'doc';\r\n content: JiraDocumentNode[];\r\n}\r\n\r\nexport interface JiraDocumentNode {\r\n type: string;\r\n content?: JiraDocumentNode[];\r\n text?: string;\r\n marks?: Array<{\r\n type: string;\r\n attrs?: Record<string, string | number | boolean>;\r\n }>;\r\n attrs?: Record<string, string | number | boolean>;\r\n}\r\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venturialstd/jira",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "description": "Jira Client",
5
5
  "main": "dist/jira/index.js",
6
6
  "types": "dist/jira/index.d.ts",