@veltdev/sdk-staging 6.0.9-beta.1 → 6.0.9
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/app/models/data/notification.model.d.ts +2 -0
- package/app/models/element/comment-element.model.d.ts +15 -0
- package/{chunk-CFLYO4ZJ.js → chunk-F7SQEW6P.js} +1 -1
- package/{chunk-AJXYT2YT.js → chunk-FVDWCK7Z.js} +1 -1
- package/package.json +1 -1
- package/velt-comment.js +1 -1
- package/velt-notification.js +1 -1
- package/velt-recorder.js +1 -1
- package/velt-user-invite.js +1 -1
- package/velt.js +2 -2
- /package/{chunk-PSVE75CB.js → chunk-ABRVWIPQ.js} +0 -0
|
@@ -301,6 +301,8 @@ export interface CrossOrganizationConfig {
|
|
|
301
301
|
* @see specs/org-notifications-top15-document-window/spec.md
|
|
302
302
|
*/
|
|
303
303
|
export interface UserScopedNotificationsConfig {
|
|
304
|
+
/** Whether user-scoped notifications are active. Defaults to `true` on enable; an explicit `false` disables (input/prop parity with `CrossOrganizationConfig`). */
|
|
305
|
+
enabled?: boolean;
|
|
304
306
|
/** Max user-scoped notifications fetched. Default 25; clamped to [1, 200]. */
|
|
305
307
|
limit?: number;
|
|
306
308
|
}
|
|
@@ -1082,11 +1082,26 @@ export declare class CommentElement {
|
|
|
1082
1082
|
|
|
1083
1083
|
/**
|
|
1084
1084
|
* To accept comment annotation
|
|
1085
|
+
*
|
|
1086
|
+
* @deprecated Use {@link acceptSuggestion} instead.
|
|
1087
|
+
*
|
|
1088
|
+
* The legacy "comments-as-suggestions" flow. Writes the workflow status
|
|
1089
|
+
* (`annotation.status = Accepted`) and does NOT change `annotation.type`, so a
|
|
1090
|
+
* suggestion card accepted this way keeps rendering as a suggestion.
|
|
1091
|
+
* `acceptSuggestion` writes `annotation.suggestion.status` AND flips `type` to
|
|
1092
|
+
* `'comment'`, which is what retires the card.
|
|
1093
|
+
*
|
|
1094
|
+
* Still functional; no removal date is set. `approveCommentAnnotation` is a
|
|
1095
|
+
* separate mechanism and is NOT deprecated.
|
|
1085
1096
|
*/
|
|
1086
1097
|
public acceptCommentAnnotation: (request: AcceptCommentAnnotationRequest) => Promise<AcceptCommentAnnotationEvent | null>;
|
|
1087
1098
|
|
|
1088
1099
|
/**
|
|
1089
1100
|
* To reject comment annotation
|
|
1101
|
+
*
|
|
1102
|
+
* @deprecated Use {@link rejectSuggestion} instead. The reject half of the
|
|
1103
|
+
* legacy flow — writes `annotation.status = Rejected` without touching
|
|
1104
|
+
* `annotation.type`. See {@link acceptCommentAnnotation}.
|
|
1090
1105
|
*/
|
|
1091
1106
|
public rejectCommentAnnotation: (request: RejectCommentAnnotationRequest) => Promise<RejectCommentAnnotationEvent | null>;
|
|
1092
1107
|
|