confluence.js 1.6.1 → 1.6.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ### 1.6.3
4
+
5
+ - `atlas_doc_format` added to some models. Thanks to [Andrew McClenaghan](https://github.com/andymac4182) for pull request.
6
+
7
+ ### 1.6.2
8
+
9
+ - Badge fixed
10
+ - Dependencies updated
11
+
3
12
  ### 1.6.1
4
13
 
5
14
  `AuthenticationService` added to export facade. Thanks to [Andrew McClenaghan](https://github.com/andymac4182) for this improvement.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  <a href="https://www.npmjs.com/package/confluence.js"><img alt="NPM version" src="https://img.shields.io/npm/v/confluence.js.svg?maxAge=3600&style=flat-square" /></a>
5
5
  <a href="https://www.npmjs.com/package/confluence.js"><img alt="NPM downloads per month" src="https://img.shields.io/npm/dm/confluence.js.svg?maxAge=3600&style=flat-square" /></a>
6
- <a href="https://github.com/MrRefactoring/confluence.js"><img alt="build status" src="https://img.shields.io/github/workflow/status/mrrefactoring/confluence.js/CI?style=flat-square"></a>
6
+ <a href="https://github.com/MrRefactoring/confluence.js"><img alt="build status" src="https://img.shields.io/github/actions/workflow/status/mrrefactoring/confluence.js/ci.yaml?style=flat-square"></a>
7
7
  <a href="https://github.com/mrrefactoring/confluence.js/blob/develop/LICENSE"><img alt="license" src="https://img.shields.io/github/license/mrrefactoring/confluence.js?color=green&style=flat-square"/></a>
8
8
 
9
9
  <span>JavaScript / TypeScript library for Node.JS and browsers to easily interact with Atlassian Confluence API</span>
@@ -1,2 +1,2 @@
1
1
  import { AccountIdEmailRecord } from './accountIdEmailRecord';
2
- export declare type AccountIdEmailRecordArray = AccountIdEmailRecord[];
2
+ export type AccountIdEmailRecordArray = AccountIdEmailRecord[];
@@ -1,2 +1,2 @@
1
1
  import { AddContentRestriction } from './addContentRestriction';
2
- export declare type AddContentRestrictionUpdateArray = AddContentRestriction[];
2
+ export type AddContentRestrictionUpdateArray = AddContentRestriction[];
@@ -13,6 +13,7 @@ export interface Attachment {
13
13
  comment: string;
14
14
  mediaTypeDescription: string;
15
15
  fileId: string;
16
+ collectionName?: string;
16
17
  };
17
18
  _expandable: {
18
19
  childTypes: string;
@@ -3,4 +3,4 @@ import { AppDescriptor } from './appDescriptor';
3
3
  * A list of app modules in the same format as the `modules` property in the [app
4
4
  * descriptor](https://developer.atlassian.com/cloud/confluence/app-descriptor/).
5
5
  */
6
- export declare type ConnectModules = AppDescriptor[];
6
+ export type ConnectModules = AppDescriptor[];
@@ -2,4 +2,4 @@
2
2
  * Container for content. This can be either a space (containing a page or blogpost)* or a page/blog post (containing an
3
3
  * attachment or comment)
4
4
  */
5
- export declare type Container = Record<string, any>;
5
+ export type Container = Record<string, any>;
@@ -30,6 +30,7 @@ export interface Content {
30
30
  storage?: ContentBody;
31
31
  editor2?: ContentBody;
32
32
  anonymous_export_view?: ContentBody;
33
+ atlas_doc_format?: ContentBody;
33
34
  _expandable: {
34
35
  editor?: string;
35
36
  view?: string;
@@ -38,6 +39,7 @@ export interface Content {
38
39
  storage?: string;
39
40
  editor2?: string;
40
41
  anonymous_export_view?: string;
42
+ atlas_doc_format?: string;
41
43
  };
42
44
  };
43
45
  restrictions?: {
@@ -46,5 +46,6 @@ export interface ContentCreate {
46
46
  storage?: ContentBodyCreate;
47
47
  editor2?: ContentBodyCreate;
48
48
  anonymous_export_view?: ContentBodyCreate;
49
+ atlas_doc_format?: ContentBodyCreate;
49
50
  };
50
51
  }
@@ -1,2 +1,2 @@
1
1
  import { ContentRestrictionUpdate } from './contentRestrictionUpdate';
2
- export declare type ContentRestrictionUpdateArray = ContentRestrictionUpdate[];
2
+ export type ContentRestrictionUpdateArray = ContentRestrictionUpdate[];
@@ -37,5 +37,6 @@ export interface ContentUpdate {
37
37
  storage?: ContentBodyCreateStorage;
38
38
  editor2?: ContentBodyCreate;
39
39
  anonymous_export_view?: ContentBodyCreate;
40
+ atlas_doc_format?: ContentBodyCreate;
40
41
  };
41
42
  }
@@ -1 +1 @@
1
- export declare type Embeddable = Record<string, any>;
1
+ export type Embeddable = Record<string, any>;
@@ -1,4 +1,4 @@
1
- export declare type GenericLinks = {
1
+ export type GenericLinks = {
2
2
  [key: string]: any;
3
3
  self: string;
4
4
  next?: string;
@@ -1,2 +1,2 @@
1
1
  import { LabelCreate } from './labelCreate';
2
- export declare type LabelCreateArray = LabelCreate[];
2
+ export type LabelCreateArray = LabelCreate[];
@@ -7,4 +7,4 @@
7
7
  * "example3": 123
8
8
  * }
9
9
  */
10
- export declare type PropertyValue = Record<string, any>;
10
+ export type PropertyValue = Record<string, any>;
@@ -1,2 +1,2 @@
1
1
  import { ConnectModules } from '../models';
2
- export declare type RegisterModules = ConnectModules;
2
+ export type RegisterModules = ConnectModules;
package/out/api/space.js CHANGED
@@ -22,6 +22,7 @@ class Space {
22
22
  favouriteUserKey: parameters === null || parameters === void 0 ? void 0 : parameters.favouriteUserKey,
23
23
  start: parameters === null || parameters === void 0 ? void 0 : parameters.start,
24
24
  limit: parameters === null || parameters === void 0 ? void 0 : parameters.limit,
25
+ expand: parameters === null || parameters === void 0 ? void 0 : parameters.expand,
25
26
  },
26
27
  };
27
28
  return this.client.sendRequest(config, callback);
@@ -1 +1 @@
1
- {"version":3,"file":"space.js","sourceRoot":"","sources":["../../src/api/space.ts"],"names":[],"mappings":";;;;AAIA,wDAAqD;AAGrD,MAAa,KAAK;IAChB,YAAoB,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAqBhC,SAAS,CAAwB,UAAiC,EAAE,QAAsB;;YAC9F,MAAM,MAAM,GAAkB;gBAC5B,GAAG,EAAE,YAAY;gBACjB,MAAM,EAAE,KAAK;gBACb,MAAM,EAAE;oBACN,QAAQ,EAAE,IAAA,iCAAe,EAAC,UAAU,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,Q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AAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AAjRD,sBAiRC"}
package/out/callback.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  import { AxiosError } from 'axios';
2
- export declare type Callback<T> = (err: AxiosError | null, data?: T) => void;
2
+ export type Callback<T> = (err: AxiosError | null, data?: T) => void;
@@ -1,2 +1,2 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- export declare type RequestConfig = AxiosRequestConfig;
2
+ export type RequestConfig = AxiosRequestConfig;
@@ -2,4 +2,4 @@
2
2
  * Container for content. This can be either a space (containing a page or blogpost)* or a page/blog post (containing an
3
3
  * attachment or comment)
4
4
  */
5
- export declare type Container = Record<string, any>;
5
+ export type Container = Record<string, any>;
@@ -29,6 +29,7 @@ export interface Content {
29
29
  storage?: ContentBody;
30
30
  editor2?: ContentBody;
31
31
  anonymous_export_view?: ContentBody;
32
+ atlas_doc_format?: ContentBody;
32
33
  _expandable: {
33
34
  editor?: string;
34
35
  view?: string;
@@ -37,6 +38,7 @@ export interface Content {
37
38
  storage?: string;
38
39
  editor2?: string;
39
40
  anonymous_export_view?: string;
41
+ atlas_doc_format?: string;
40
42
  };
41
43
  };
42
44
  restrictions?: {
@@ -1 +1 @@
1
- export declare type Embeddable = Record<string, any>;
1
+ export type Embeddable = Record<string, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "confluence.js",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
4
4
  "description": "confluence.js is a powerful Node.JS/Browser module that allows you to interact with the Confluence API very easily",
5
5
  "author": "Vladislav Tupikin <mrrefactoring@yandex.ru>",
6
6
  "license": "MIT",
@@ -42,31 +42,32 @@
42
42
  "atlassian"
43
43
  ],
44
44
  "devDependencies": {
45
- "@swc-node/register": "^1.5.4",
46
- "@types/express": "^4.17.14",
45
+ "@swc-node/register": "1.5.8",
46
+ "@swc/helpers": "^0.4.14",
47
+ "@types/express": "^4.17.17",
47
48
  "@types/oauth": "^0.9.1",
48
49
  "@types/sinon": "^10.0.13",
49
- "@typescript-eslint/eslint-plugin": "^5.41.0",
50
- "@typescript-eslint/parser": "^5.41.0",
51
- "ava": "^5.0.1",
50
+ "@typescript-eslint/eslint-plugin": "^5.56.0",
51
+ "@typescript-eslint/parser": "^5.56.0",
52
+ "ava": "^5.2.0",
52
53
  "dotenv": "^16.0.3",
53
- "eslint": "^8.26.0",
54
+ "eslint": "^8.36.0",
54
55
  "eslint-config-airbnb": "^19.0.4",
55
56
  "eslint-config-airbnb-typescript": "^17.0.0",
56
- "eslint-import-resolver-typescript": "^3.5.2",
57
- "eslint-plugin-import": "^2.26.0",
58
- "prettier": "^2.7.1",
57
+ "eslint-import-resolver-typescript": "^3.5.3",
58
+ "eslint-plugin-import": "^2.27.5",
59
+ "prettier": "^2.8.7",
59
60
  "prettier-plugin-jsdoc": "^0.4.2",
60
- "sinon": "^14.0.1",
61
- "typedoc": "^0.23.19",
62
- "typedoc-plugin-extras": "^2.3.0",
63
- "typescript": "^4.8.4"
61
+ "sinon": "^15.0.2",
62
+ "typedoc": "^0.23.28",
63
+ "typedoc-plugin-extras": "^2.3.2",
64
+ "typescript": "^5.0.2"
64
65
  },
65
66
  "dependencies": {
66
67
  "atlassian-jwt": "^2.0.2",
67
68
  "axios": "^0.27.2",
68
69
  "form-data": "^4.0.0",
69
70
  "oauth": "^0.10.0",
70
- "tslib": "^2.4.0"
71
+ "tslib": "^2.5.0"
71
72
  }
72
73
  }
@@ -14,6 +14,7 @@ export interface Attachment {
14
14
  comment: string;
15
15
  mediaTypeDescription: string;
16
16
  fileId: string;
17
+ collectionName?: string;
17
18
  };
18
19
  _expandable: {
19
20
  childTypes: string;
@@ -31,6 +31,7 @@ export interface Content {
31
31
  storage?: ContentBody;
32
32
  editor2?: ContentBody;
33
33
  anonymous_export_view?: ContentBody;
34
+ atlas_doc_format?: ContentBody;
34
35
  _expandable: {
35
36
  editor?: string;
36
37
  view?: string;
@@ -39,6 +40,7 @@ export interface Content {
39
40
  storage?: string;
40
41
  editor2?: string;
41
42
  anonymous_export_view?: string;
43
+ atlas_doc_format?: string;
42
44
  };
43
45
  };
44
46
  restrictions?: {
@@ -47,5 +47,6 @@ export interface ContentCreate {
47
47
  storage?: ContentBodyCreate;
48
48
  editor2?: ContentBodyCreate;
49
49
  anonymous_export_view?: ContentBodyCreate;
50
+ atlas_doc_format?: ContentBodyCreate;
50
51
  };
51
52
  }
@@ -38,5 +38,6 @@ export interface ContentUpdate {
38
38
  storage?: ContentBodyCreateStorage;
39
39
  editor2?: ContentBodyCreate;
40
40
  anonymous_export_view?: ContentBodyCreate;
41
+ atlas_doc_format?: ContentBodyCreate;
41
42
  };
42
43
  }
package/src/api/space.ts CHANGED
@@ -41,6 +41,7 @@ export class Space {
41
41
  favouriteUserKey: parameters?.favouriteUserKey,
42
42
  start: parameters?.start,
43
43
  limit: parameters?.limit,
44
+ expand: parameters?.expand,
44
45
  },
45
46
  };
46
47
 
@@ -30,6 +30,7 @@ export interface Content {
30
30
  storage?: ContentBody;
31
31
  editor2?: ContentBody;
32
32
  anonymous_export_view?: ContentBody;
33
+ atlas_doc_format?: ContentBody;
33
34
  _expandable: {
34
35
  editor?: string;
35
36
  view?: string;
@@ -38,6 +39,7 @@ export interface Content {
38
39
  storage?: string;
39
40
  editor2?: string;
40
41
  anonymous_export_view?: string;
42
+ atlas_doc_format?: string;
41
43
  };
42
44
  };
43
45
  restrictions?: {