@veltdev/types-dev 5.0.0-beta.13 → 5.0.0-beta.14

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.
@@ -30,6 +30,7 @@ export interface CommentContext {
30
30
  */
31
31
  [key: string]: unknown;
32
32
  }
33
+ export type CommentContextProviderResponse = CommentContext | null | undefined;
33
34
  /**
34
35
  * A function that provides custom context for comments.
35
36
  * Can return the context synchronously or asynchronously via a Promise.
@@ -38,4 +39,4 @@ export interface CommentContext {
38
39
  * @param location - Optional location information
39
40
  * @returns The comment context object or a Promise that resolves to it
40
41
  */
41
- export type CommentContextProvider = (documentId: string, location?: Location) => CommentContext | Promise<CommentContext>;
42
+ export type CommentContextProvider = (documentId: string, location?: Location) => CommentContextProviderResponse | Promise<CommentContextProviderResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "5.0.0-beta.13",
3
+ "version": "5.0.0-beta.14",
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": [