@veltdev/types-dev 6.0.0-beta.34 → 6.0.0-beta.36

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.
@@ -28,6 +28,20 @@ export declare class NotificationRawData {
28
28
  * Annotation object
29
29
  */
30
30
  annotationData?: any;
31
+ /**
32
+ * Comment-visibility stamp for private comments
33
+ * (PM-2026-07-28-private-comment-notification-leak). Absent = public (legacy).
34
+ * The backend enforces visibility from this stamp on the per-user notification
35
+ * fan-out and on every notification read path.
36
+ * - `accessTokens`: the annotation's hashed visibility tokens (authoritative match)
37
+ * - `userIds` / `organizationIds`: the readable mirror (client ids)
38
+ */
39
+ visibility?: {
40
+ type: string;
41
+ userIds?: string[];
42
+ organizationIds?: string[];
43
+ accessTokens: string[];
44
+ };
31
45
  /**
32
46
  * Comment object for comment annotation
33
47
  */
@@ -12,6 +12,7 @@ export declare class Constants {
12
12
  static LISTENER_CONTEXT_BATCH_SIZE: number;
13
13
  static DEFAULT_VELT_CONTEXT: string;
14
14
  static VISIBILITY_SELF_PREFIX: string;
15
+ static VISIBILITY_ORG_PREFIX: string;
15
16
  static FIREBASE_PARTIAL_PATH_ORGANIZATIONS: string;
16
17
  static FIREBASE_PARTIAL_PATH_FOLDERS: string;
17
18
  static FIREBASE_PARTIAL_PATH_DOCS: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "6.0.0-beta.34",
3
+ "version": "6.0.0-beta.36",
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": [