@veltdev/types-dev 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.
|
@@ -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
|
}
|
|
@@ -1143,11 +1143,26 @@ export declare class CommentElement {
|
|
|
1143
1143
|
|
|
1144
1144
|
/**
|
|
1145
1145
|
* To accept comment annotation
|
|
1146
|
+
*
|
|
1147
|
+
* @deprecated Use {@link acceptSuggestion} instead.
|
|
1148
|
+
*
|
|
1149
|
+
* The legacy "comments-as-suggestions" flow. Writes the workflow status
|
|
1150
|
+
* (`annotation.status = Accepted`) and does NOT change `annotation.type`, so a
|
|
1151
|
+
* suggestion card accepted this way keeps rendering as a suggestion.
|
|
1152
|
+
* `acceptSuggestion` writes `annotation.suggestion.status` AND flips `type` to
|
|
1153
|
+
* `'comment'`, which is what retires the card.
|
|
1154
|
+
*
|
|
1155
|
+
* Still functional; no removal date is set. `approveCommentAnnotation` is a
|
|
1156
|
+
* separate mechanism and is NOT deprecated.
|
|
1146
1157
|
*/
|
|
1147
1158
|
public acceptCommentAnnotation: (request: AcceptCommentAnnotationRequest) => Promise<AcceptCommentAnnotationEvent | null>;
|
|
1148
1159
|
|
|
1149
1160
|
/**
|
|
1150
1161
|
* To reject comment annotation
|
|
1162
|
+
*
|
|
1163
|
+
* @deprecated Use {@link rejectSuggestion} instead. The reject half of the
|
|
1164
|
+
* legacy flow — writes `annotation.status = Rejected` without touching
|
|
1165
|
+
* `annotation.type`. See {@link acceptCommentAnnotation}.
|
|
1151
1166
|
*/
|
|
1152
1167
|
public rejectCommentAnnotation: (request: RejectCommentAnnotationRequest) => Promise<RejectCommentAnnotationEvent | null>;
|
|
1153
1168
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "6.0.9
|
|
3
|
+
"version": "6.0.9",
|
|
4
4
|
"description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
|
|
5
5
|
"homepage": "https://velt.dev",
|
|
6
6
|
"keywords": [
|