@veltdev/types-dev 4.4.0-beta.17 → 4.4.0-beta.19

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.
@@ -11,7 +11,8 @@ export interface DeleteAttachmentResolverRequest {
11
11
  event?: ResolverActions;
12
12
  }
13
13
  export interface SaveAttachmentResolverRequest {
14
- attachment: Attachment;
14
+ attachment: ResolverAttachment;
15
+ metadata?: AttachmentResolverMetadata;
15
16
  event?: ResolverActions;
16
17
  }
17
18
  export interface PartialAttachment {
@@ -19,7 +20,7 @@ export interface PartialAttachment {
19
20
  name: string;
20
21
  attachmentId: number;
21
22
  }
22
- export interface Attachment {
23
+ export interface ResolverAttachment {
23
24
  attachmentId: number;
24
25
  /**
25
26
  * File to be uploaded
@@ -39,12 +40,12 @@ export interface Attachment {
39
40
  mimeType?: string;
40
41
  }
41
42
  export interface AttachmentResolverMetadata {
42
- organizationId: string;
43
- documentId: string;
44
- folderId: string;
45
- attachmentId: number;
46
- commentAnnotationId: string;
47
- apiKey: string;
43
+ organizationId: string | null;
44
+ documentId: string | null;
45
+ folderId?: string | null;
46
+ attachmentId: number | null;
47
+ commentAnnotationId: string | null;
48
+ apiKey: string | null;
48
49
  }
49
50
  export interface SaveAttachmentResolverData {
50
51
  url: string;
@@ -26,6 +26,7 @@ export interface SaveCommentResolverRequest {
26
26
  [key: string]: PartialCommentAnnotation;
27
27
  };
28
28
  event?: ResolverActions;
29
+ metadata?: BaseMetadata;
29
30
  commentId?: string;
30
31
  }
31
32
  export interface PartialComment {
@@ -24,6 +24,7 @@ export interface SaveReactionResolverRequest {
24
24
  reactionAnnotation: {
25
25
  [key: string]: PartialReactionAnnotation;
26
26
  };
27
+ metadata?: BaseMetadata;
27
28
  event?: ResolverActions;
28
29
  }
29
30
  export interface PartialReactionAnnotationResult {
@@ -2,6 +2,7 @@ export interface ResolverConfig {
2
2
  resolveTimeout?: number;
3
3
  saveRetryConfig?: RetryConfig;
4
4
  deleteRetryConfig?: RetryConfig;
5
+ getRetryConfig?: RetryConfig;
5
6
  }
6
7
  export interface ResolverResponse<T> {
7
8
  data?: T;
package/models.d.ts CHANGED
@@ -64,6 +64,7 @@ export * from './app/models/data/views.data.model';
64
64
  export * from './app/models/data/autocomplete.data.model';
65
65
  export * from './app/models/data/reaction-annotation.data.model';
66
66
  export * from './app/models/data/reaction-resolver.data.model';
67
+ export * from './app/models/data/attachment-resolver.data.model';
67
68
  export * from './app/models/data/reaction.data.model';
68
69
  export * from './app/models/data/organization-groups.data.model';
69
70
  export * from './app/models/data/organization-metadata.model';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "4.4.0-beta.17",
3
+ "version": "4.4.0-beta.19",
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": [