@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 +19 -9
- package/lib/api/Preferences.d.ts +2 -1
- package/lib/enum/Preference.d.ts +1 -1
- package/lib/enum/Preference.js +1 -1
- package/lib/models/Proof.d.ts +1 -1
- package/lib/models/TeamCommentFeatures.d.ts +1 -1
- package/lib/network/endpoints.json +2 -1
- package/lib/pageproof.js +1 -1
- package/package.json +1 -1
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.
|
package/lib/api/Preferences.d.ts
CHANGED
|
@@ -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>
|
package/lib/enum/Preference.d.ts
CHANGED
|
@@ -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
|
|
6
|
+
export const COLORS: string;
|
|
7
7
|
export const DEFAULT_REMINDER: string;
|
|
8
8
|
}
|
package/lib/enum/Preference.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";exports.__esModule=true;var Preference={DEFAULT_DUE_DATE:"dueDate",DEFAULT_DUE_TIME:"dueTime",DEFAULT_MESSAGE_TO_REVIEWERS:"messageToReviewers",
|
|
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;
|
package/lib/models/Proof.d.ts
CHANGED
|
@@ -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.
|
|
13
|
+
* @since v2.0.0-beta.152
|
|
14
14
|
* @type {Array<ProofStatus>}
|
|
15
15
|
*/
|
|
16
16
|
disableReplyingToCommentsInStatuses: Array<ProofStatus>;
|