@veltdev/types-dev 6.0.16-beta.2 → 6.0.18-beta.1
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;
|
|
@@ -1391,6 +1391,21 @@ export declare class CommentElement {
|
|
|
1391
1391
|
*/
|
|
1392
1392
|
public disableDraftConfirmation: () => void;
|
|
1393
1393
|
|
|
1394
|
+
/**
|
|
1395
|
+
* To enable id-scoped anchoring for comment pins. When a pin's saved xpath is rooted at an
|
|
1396
|
+
* element id, that id is authoritative: the pin is placed only inside that element (on its
|
|
1397
|
+
* saved path, else on the id element itself with the saved position percentages), and is not
|
|
1398
|
+
* shown where the id is absent, duplicated or hidden. New pins also skip framework-generated ids (React `useId`,
|
|
1399
|
+
* Radix) when choosing the id to root at. Applies to existing pins. Defaults to disabled.
|
|
1400
|
+
*/
|
|
1401
|
+
public enableIdScopedAnchoring: () => void;
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* To disable id-scoped anchoring. Pins resolve through the default anchor resolution,
|
|
1405
|
+
* which is the default behaviour.
|
|
1406
|
+
*/
|
|
1407
|
+
public disableIdScopedAnchoring: () => void;
|
|
1408
|
+
|
|
1394
1409
|
/**
|
|
1395
1410
|
* To enable filter comments on dom
|
|
1396
1411
|
*/
|
|
@@ -2780,6 +2795,16 @@ export declare class CommentElement {
|
|
|
2780
2795
|
*/
|
|
2781
2796
|
private _disableDraftConfirmation;
|
|
2782
2797
|
|
|
2798
|
+
/**
|
|
2799
|
+
* To enable id-scoped anchoring for comment pins
|
|
2800
|
+
*/
|
|
2801
|
+
private _enableIdScopedAnchoring;
|
|
2802
|
+
|
|
2803
|
+
/**
|
|
2804
|
+
* To disable id-scoped anchoring for comment pins
|
|
2805
|
+
*/
|
|
2806
|
+
private _disableIdScopedAnchoring;
|
|
2807
|
+
|
|
2783
2808
|
/**
|
|
2784
2809
|
* To enable filter comments on dom
|
|
2785
2810
|
*/
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -18,6 +18,12 @@ export declare class Constants {
|
|
|
18
18
|
* (catchError → of([]) → every row on the page silently vanishes).
|
|
19
19
|
*/
|
|
20
20
|
static FIRESTORE_MAX_DISJUNCTIONS: number;
|
|
21
|
+
/**
|
|
22
|
+
* Firestore's cap on the values of one `in` / `array-contains-any` filter. Hosted queries slice or
|
|
23
|
+
* batch their id lists to it, and the Tier B gateway ops that replace those queries apply the SAME
|
|
24
|
+
* cap client-side so both tiers ask for the same rows (Group 9: one name, not nine literals).
|
|
25
|
+
*/
|
|
26
|
+
static readonly FIRESTORE_IN_QUERY_LIMIT = 30;
|
|
21
27
|
static DEFAULT_VELT_CONTEXT: string;
|
|
22
28
|
static VISIBILITY_SELF_PREFIX: string;
|
|
23
29
|
static VISIBILITY_ORG_PREFIX: string;
|
|
@@ -641,6 +647,7 @@ export declare class Constants {
|
|
|
641
647
|
VELT_COMMENT_VIEWS_MIGRATED: string;
|
|
642
648
|
VELT_AUTH_PROXY_HOST: string;
|
|
643
649
|
VELT_PORTABLE_SESSION: string;
|
|
650
|
+
VELT_PORTABLE_SIGNED_OUT: string;
|
|
644
651
|
};
|
|
645
652
|
static NON_NESTABLE_ELEMENTS: {
|
|
646
653
|
[tag: string]: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.18-beta.1",
|
|
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": [
|