@veltdev/types 6.0.16 → 6.0.18
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.
|
@@ -66,6 +66,13 @@ export interface PartialCommentAnnotationResult {
|
|
|
66
66
|
} | null;
|
|
67
67
|
originalData: CommentAnnotation | null;
|
|
68
68
|
eventType?: ResolverActions | CommentResolverSaveEvent;
|
|
69
|
+
/**
|
|
70
|
+
* INTERNAL (SDK write path only, never sent to a resolver). True when `originalData` still
|
|
71
|
+
* carries `context.textEditorConfig.text` on purpose: the row is a legacy one whose resolver
|
|
72
|
+
* copy does not hold the anchor yet and this save is not a core event that hands it over.
|
|
73
|
+
* `CommonDbUtilsService` forwards it to the Velt-DB filter as `keepContextText`.
|
|
74
|
+
*/
|
|
75
|
+
veltCopyKeepsContextText?: boolean;
|
|
69
76
|
}
|
|
70
77
|
export interface PartialTargetTextRange {
|
|
71
78
|
text: string;
|
|
@@ -78,6 +85,22 @@ export interface PartialCommentAnnotation {
|
|
|
78
85
|
};
|
|
79
86
|
from?: PartialUser;
|
|
80
87
|
assignedTo?: PartialUser;
|
|
88
|
+
/**
|
|
89
|
+
* The TipTap anchor text (`context.textEditorConfig.text`) — the highlighted sentence a
|
|
90
|
+
* text comment created through `@veltdev/tiptap-velt-comments` is attached to. Moved here
|
|
91
|
+
* from the annotation's `context` blob (which is otherwise customer-owned and stays in
|
|
92
|
+
* Velt) and merged back on read; the same PII class as `targetTextRange.text`. Present
|
|
93
|
+
* only when the annotation carries it (PM-2026-09-29-self-hosting-pii-egress-side-channels).
|
|
94
|
+
* When `context` itself is listed in `fieldsToRemove`, the WHOLE context object travels
|
|
95
|
+
* here instead.
|
|
96
|
+
*/
|
|
97
|
+
context?: {
|
|
98
|
+
textEditorConfig?: {
|
|
99
|
+
text?: string;
|
|
100
|
+
[key: string]: any;
|
|
101
|
+
};
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
};
|
|
81
104
|
targetTextRange?: PartialTargetTextRange;
|
|
82
105
|
resolvedByUserId?: string | null;
|
|
83
106
|
[key: string]: any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.18",
|
|
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": [
|