@pageproof/sdk-pr 294.0.1606952193658 → 294.0.1607642976802

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,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0-beta.152
4
+
5
+ Released on the 11th of December 2020.
6
+
7
+ - [[#294](https://github.com/PageProofCom/sdk/pull/294)]
8
+ - Support for allowing to disabling replies on comments (by reviewers) in statuses. See [TeamCommentFeatures.disableReplyingToCommentsInStatuses](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/models/TeamCommentFeatures.js~TeamCommentFeatures.html#instance-member-disableReplyingToCommentsInStatuses).
9
+ - Added `canAddCommentReplies` to proof model, to tell if replies are disabled on comments (by reviewers). See [Proofs.canAddCommentReplies](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/models/Proof.js~Proof.html#instance-member-canAddCommentReplies).
10
+ ## 2.0.0-beta.151
11
+
12
+ Released on the 11th of December 2020.
13
+
14
+ - Minor improvement around user preferences reset method.
15
+
16
+ ## 2.0.0-beta.150
17
+
18
+ Released on the 8th of December 2020.
19
+
20
+ - [[#296](https://github.com/PageProofCom/sdk/pull/296)] Adds support for colors user preferences. See [Preferences](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/api/Preferences.js~Preferences.html).
21
+
3
22
  ## 2.0.0-beta.149
4
23
 
5
24
  Released on the 24th of November 2020.
@@ -25,15 +44,6 @@ Released on the 20th of November 2020.
25
44
 
26
45
  - Improved support for the enhancement adapter interface.
27
46
 
28
- ## 2.0.0-beta.146
29
-
30
- Released on the 2nd of December 2020.
31
-
32
- - [[#294](https://github.com/PageProofCom/sdk/pull/294)]
33
- - Support for allowing to disabling replies on comments (by reviewers) in statuses. See [TeamCommentFeatures.disableReplyingToCommentsInStatuses](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/models/TeamCommentFeatures.js~TeamCommentFeatures.html#instance-member-disableReplyingToCommentsInStatuses).
34
- - Added `canAddCommentReplies` to proof model, to tell if replies are disabled on comments (by reviewers). See [Proofs.canAddCommentReplies](https://docs.pageproof.tech/@pageproof/sdk/beta/class/src/models/Proof.js~Proof.html#instance-member-canAddCommentReplies).
35
-
36
-
37
47
  ## 2.0.0-beta.145
38
48
 
39
49
  Released on the 2nd of November 2020.
@@ -25,9 +25,10 @@ declare class Preferences extends API {
25
25
  * PageProof.Enum.Preference.DEFAULT_DUE_DATE,
26
26
  * PageProof.Enum.Preference.DEFAULT_DUE_TIME,
27
27
  * PageProof.Enum.Preference.DEFAULT_MESSAGE_TO_REVIEWERS,
28
+ * PageProof.Enum.Preference.COLORS,
28
29
  * PageProof.Enum.Preference.DEFAULT_REMINDER,
29
30
  * ]);
30
- * const [dueDate, dueTime, messageToReviewers, proofReminders] = preferences;
31
+ * const [dueDate, dueTime, messageToReviewers, colors, proofReminders] = preferences;
31
32
  * console.log(messageToReviewers.getValueOrDefault());
32
33
  *
33
34
  * @example <caption>Retrieving a single preference</caption>
@@ -3,6 +3,6 @@ declare namespace Preference {
3
3
  export const DEFAULT_DUE_DATE: string;
4
4
  export const DEFAULT_DUE_TIME: string;
5
5
  export const DEFAULT_MESSAGE_TO_REVIEWERS: string;
6
- export const ENABLE_COLOR_BLIND_UI: string;
6
+ export const COLORS: string;
7
7
  export const DEFAULT_REMINDER: string;
8
8
  }
@@ -1 +1 @@
1
- "use strict";exports.__esModule=true;var Preference={DEFAULT_DUE_DATE:"dueDate",DEFAULT_DUE_TIME:"dueTime",DEFAULT_MESSAGE_TO_REVIEWERS:"messageToReviewers",ENABLE_COLOR_BLIND_UI:"colorBlind",DEFAULT_REMINDER:"proofReminders"};exports.default=Preference;
1
+ "use strict";exports.__esModule=true;var Preference={DEFAULT_DUE_DATE:"dueDate",DEFAULT_DUE_TIME:"dueTime",DEFAULT_MESSAGE_TO_REVIEWERS:"messageToReviewers",COLORS:"colors",DEFAULT_REMINDER:"proofReminders"};exports.default=Preference;
@@ -306,7 +306,7 @@ declare class Proof {
306
306
  /**
307
307
  * Whether reviewers can add replies to comments.
308
308
  *
309
- * @since v2.0.0-beta.146
309
+ * @since v2.0.0-beta.152
310
310
  * @type {boolean}
311
311
  */
312
312
  canAddCommentReplies: boolean;
@@ -10,7 +10,7 @@ declare class TeamCommentFeatures {
10
10
  /**
11
11
  * Array of proof statuses where replies have been disabled to comments (by reviewers).
12
12
  *
13
- * @since v2.0.0-beta.146
13
+ * @since v2.0.0-beta.152
14
14
  * @type {Array<ProofStatus>}
15
15
  */
16
16
  disableReplyingToCommentsInStatuses: Array<ProofStatus>;
@@ -92,8 +92,9 @@
92
92
  "body": true
93
93
  },
94
94
  "preferences.reset": {
95
+ "version": 2,
95
96
  "method": "POST",
96
- "path": "api/users/preferences/update",
97
+ "path": "/api/users/preferences/reset",
97
98
  "body": ["preferences"]
98
99
  },
99
100
  "dashboard.inbox": {