@veltdev/types-dev 4.5.0-beta.163 → 4.5.0-beta.165

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.
@@ -55,6 +55,9 @@ export interface PartialCommentAnnotationResult {
55
55
  originalData: CommentAnnotation | null;
56
56
  eventType?: ResolverActions;
57
57
  }
58
+ export interface PartialTargetTextRange {
59
+ text: string;
60
+ }
58
61
  export interface PartialCommentAnnotation {
59
62
  annotationId: string;
60
63
  metadata?: BaseMetadata;
@@ -63,5 +66,7 @@ export interface PartialCommentAnnotation {
63
66
  };
64
67
  from?: PartialUser;
65
68
  assignedTo?: PartialUser;
69
+ targetTextRange?: PartialTargetTextRange;
66
70
  resolvedByUserId?: string | null;
71
+ [key: string]: any;
67
72
  }
@@ -4,6 +4,7 @@ export interface ResolverConfig {
4
4
  deleteRetryConfig?: RetryConfig;
5
5
  getRetryConfig?: RetryConfig;
6
6
  resolveUsersConfig?: ResolveUsersConfig;
7
+ fieldsToRemove?: string[];
7
8
  }
8
9
  export interface ResolveUsersConfig {
9
10
  organization?: boolean;
@@ -107,4 +107,5 @@ export interface VeltAuthProvider {
107
107
  user: User;
108
108
  options?: Options;
109
109
  retryConfig?: AuthRetryConfig;
110
+ onTokenExpired?: () => Promise<string>;
110
111
  }
@@ -123,6 +123,11 @@ export declare class CrdtElement {
123
123
  */
124
124
  private _registerSyncUser;
125
125
 
126
+ /**
127
+ * Subscribe to registered user changes for a specific CRDT document
128
+ */
129
+ private _onRegisteredUserChange;
130
+
126
131
  /**
127
132
  * Set presence for a specific CRDT document
128
133
  * @param id Document ID
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "4.5.0-beta.163",
3
+ "version": "4.5.0-beta.165",
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": [