@veltdev/types-dev 3.0.230 → 3.0.231
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.
|
@@ -51,7 +51,6 @@ export interface CommentSuggestionEventData {
|
|
|
51
51
|
replaceContentText?: string;
|
|
52
52
|
annotation?: any;
|
|
53
53
|
}
|
|
54
|
-
type UpdateContext = (context: any, config?: UpdateContextConfig) => void;
|
|
55
54
|
export type CommentEventTypesMap = {
|
|
56
55
|
[CommentEventTypes.ADD_COMMENT_ANNOTATION]: AddCommentAnnotationEvent;
|
|
57
56
|
[CommentEventTypes.APPROVE_COMMENT_ANNOTATION]: ApproveCommentAnnotationEvent;
|
|
@@ -102,7 +101,6 @@ export interface ApproveCommentAnnotationEvent {
|
|
|
102
101
|
annotationId: string;
|
|
103
102
|
commentAnnotation: CommentAnnotation;
|
|
104
103
|
metadata: VeltEventMetadata;
|
|
105
|
-
updateContext: UpdateContext;
|
|
106
104
|
}
|
|
107
105
|
export interface AcceptCommentAnnotationEvent {
|
|
108
106
|
annotationId: string;
|
|
@@ -111,7 +109,6 @@ export interface AcceptCommentAnnotationEvent {
|
|
|
111
109
|
actionUser: User;
|
|
112
110
|
replaceContentHtml?: string;
|
|
113
111
|
replaceContentText?: string;
|
|
114
|
-
updateContext: UpdateContext;
|
|
115
112
|
}
|
|
116
113
|
export interface RejectCommentAnnotationEvent {
|
|
117
114
|
annotationId: string;
|
|
@@ -120,7 +117,6 @@ export interface RejectCommentAnnotationEvent {
|
|
|
120
117
|
actionUser: User;
|
|
121
118
|
replaceContentHtml?: string;
|
|
122
119
|
replaceContentText?: string;
|
|
123
|
-
updateContext: UpdateContext;
|
|
124
120
|
}
|
|
125
121
|
export interface DeleteCommentAnnotationEvent {
|
|
126
122
|
annotationId: string;
|
|
@@ -131,20 +127,17 @@ export interface SubscribeCommentAnnotationEvent {
|
|
|
131
127
|
annotationId: string;
|
|
132
128
|
commentAnnotation: CommentAnnotation;
|
|
133
129
|
metadata: VeltEventMetadata;
|
|
134
|
-
updateContext: UpdateContext;
|
|
135
130
|
}
|
|
136
131
|
export interface UnsubscribeCommentAnnotationEvent {
|
|
137
132
|
annotationId: string;
|
|
138
133
|
commentAnnotation: CommentAnnotation;
|
|
139
134
|
metadata: VeltEventMetadata;
|
|
140
|
-
updateContext: UpdateContext;
|
|
141
135
|
}
|
|
142
136
|
export interface AssignUserEvent {
|
|
143
137
|
annotationId: string;
|
|
144
138
|
assignedTo: UserContact;
|
|
145
139
|
commentAnnotation: CommentAnnotation;
|
|
146
140
|
metadata?: any;
|
|
147
|
-
updateContext: UpdateContext;
|
|
148
141
|
}
|
|
149
142
|
export interface AddCommentEvent {
|
|
150
143
|
annotationId: string;
|
|
@@ -152,7 +145,6 @@ export interface AddCommentEvent {
|
|
|
152
145
|
commentId: number;
|
|
153
146
|
comment: Comment;
|
|
154
147
|
metadata: VeltEventMetadata;
|
|
155
|
-
updateContext: UpdateContext;
|
|
156
148
|
}
|
|
157
149
|
export interface UpdateCommentEvent {
|
|
158
150
|
annotationId: string;
|
|
@@ -160,7 +152,6 @@ export interface UpdateCommentEvent {
|
|
|
160
152
|
commentId: number;
|
|
161
153
|
comment: Comment;
|
|
162
154
|
metadata: VeltEventMetadata;
|
|
163
|
-
updateContext: UpdateContext;
|
|
164
155
|
}
|
|
165
156
|
export interface DeleteCommentEvent {
|
|
166
157
|
annotationId: string;
|
|
@@ -168,7 +159,6 @@ export interface DeleteCommentEvent {
|
|
|
168
159
|
commentId: number;
|
|
169
160
|
comment: Comment;
|
|
170
161
|
metadata: VeltEventMetadata;
|
|
171
|
-
updateContext: UpdateContext;
|
|
172
162
|
}
|
|
173
163
|
export interface DeleteRecordingEvent {
|
|
174
164
|
annotationId: string;
|
|
@@ -183,7 +173,6 @@ export interface ReactionEvent {
|
|
|
183
173
|
commentId: number;
|
|
184
174
|
reaction: ReactionAnnotation;
|
|
185
175
|
metadata: VeltEventMetadata;
|
|
186
|
-
updateContext: UpdateContext;
|
|
187
176
|
}
|
|
188
177
|
export interface AddReactionEvent extends ReactionEvent {
|
|
189
178
|
}
|
|
@@ -197,7 +186,6 @@ export interface UpdateStatusEvent {
|
|
|
197
186
|
newStatus: CustomStatus;
|
|
198
187
|
oldStatus: CustomStatus;
|
|
199
188
|
metadata: VeltEventMetadata;
|
|
200
|
-
updateContext: UpdateContext;
|
|
201
189
|
}
|
|
202
190
|
export interface UpdatePriorityEvent {
|
|
203
191
|
annotationId: string;
|
|
@@ -205,7 +193,6 @@ export interface UpdatePriorityEvent {
|
|
|
205
193
|
newPriority?: CustomPriority;
|
|
206
194
|
oldPriority?: CustomPriority;
|
|
207
195
|
metadata: VeltEventMetadata;
|
|
208
|
-
updateContext: UpdateContext;
|
|
209
196
|
}
|
|
210
197
|
export interface UpdateAccessEvent {
|
|
211
198
|
annotationId: string;
|
|
@@ -213,13 +200,11 @@ export interface UpdateAccessEvent {
|
|
|
213
200
|
newAccessMode?: CommentAccessMode;
|
|
214
201
|
oldAccessMode?: CommentAccessMode;
|
|
215
202
|
metadata: VeltEventMetadata;
|
|
216
|
-
updateContext: UpdateContext;
|
|
217
203
|
}
|
|
218
204
|
export interface ResolveCommentEvent {
|
|
219
205
|
annotationId: string;
|
|
220
206
|
commentAnnotation: CommentAnnotation;
|
|
221
207
|
metadata: VeltEventMetadata;
|
|
222
|
-
updateContext: UpdateContext;
|
|
223
208
|
}
|
|
224
209
|
export interface GetLinkResponse {
|
|
225
210
|
annotationId: string;
|
|
@@ -233,4 +218,3 @@ export interface CopyLinkEvent {
|
|
|
233
218
|
link: string;
|
|
234
219
|
metadata: VeltEventMetadata;
|
|
235
220
|
}
|
|
236
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.231",
|
|
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": [
|