@veltdev/types 5.0.2-beta.36 → 5.0.2-beta.38
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.
- package/app/models/data/comment-annotation.data.model.d.ts +11 -0
- package/app/models/data/comment.data.model.d.ts +18 -0
- package/app/models/data/reaction-annotation.data.model.d.ts +5 -0
- package/app/models/element/comment-element.model.d.ts +4 -0
- package/app/utils/constants.d.ts +34 -5
- package/app/utils/enums.d.ts +1 -1
- package/package.json +1 -1
|
@@ -251,6 +251,17 @@ export declare class CommentAnnotation {
|
|
|
251
251
|
* See specs/agent-suggestion-comment-ui/spec.md (INV-001).
|
|
252
252
|
*/
|
|
253
253
|
agent?: AgentData;
|
|
254
|
+
/**
|
|
255
|
+
* Server-derived set of all user IDs involved in this annotation
|
|
256
|
+
* (subscribed + unsubscribed participants). Written upstream; read-only
|
|
257
|
+
* from the SDK.
|
|
258
|
+
*/
|
|
259
|
+
involvedUserIds?: string[];
|
|
260
|
+
/**
|
|
261
|
+
* Server-derived set of user IDs @mentioned across this annotation's
|
|
262
|
+
* comments. Written upstream; read-only from the SDK.
|
|
263
|
+
*/
|
|
264
|
+
mentionedUserIds?: string[];
|
|
254
265
|
}
|
|
255
266
|
export declare class GhostComment {
|
|
256
267
|
targetElement?: TargetElement | null;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Attachment } from "./attachment.model";
|
|
2
2
|
import { AutocompleteGroupReplaceData, AutocompleteReplaceData, AutocompleteUserContactReplaceData } from "./autocomplete.data.model";
|
|
3
|
+
import type { AgentData } from "./comment-annotation.data.model";
|
|
3
4
|
import { ReactionAnnotation } from "./reaction-annotation.data.model";
|
|
4
5
|
import { RecordedData } from "./recorder.model";
|
|
5
6
|
import { User } from "./user.data.model";
|
|
@@ -88,4 +89,21 @@ export declare class Comment {
|
|
|
88
89
|
*/
|
|
89
90
|
isEdited?: boolean;
|
|
90
91
|
reactionAnnotations?: ReactionAnnotation[];
|
|
92
|
+
/**
|
|
93
|
+
* Origin of this individual comment. `'agent'` indicates the comment was
|
|
94
|
+
* authored by an AI agent (agent replies / multi-agent threads). Stamped
|
|
95
|
+
* server-side; mirrors `CommentAnnotation.sourceType` at the comment level.
|
|
96
|
+
*/
|
|
97
|
+
sourceType?: string;
|
|
98
|
+
/**
|
|
99
|
+
* AI agent identity + output for an agent-authored comment. Present on
|
|
100
|
+
* per-comment agent replies. Read-only from the SDK; written upstream by the
|
|
101
|
+
* agent. Mirrors `CommentAnnotation.agent` at the comment level.
|
|
102
|
+
*/
|
|
103
|
+
agent?: AgentData;
|
|
104
|
+
/**
|
|
105
|
+
* Customer-supplied metadata bag persisted as-is. Only present when a caller
|
|
106
|
+
* provides it; not server-generated.
|
|
107
|
+
*/
|
|
108
|
+
metadata?: any;
|
|
91
109
|
}
|
|
@@ -54,6 +54,11 @@ export declare class ReactionAnnotation {
|
|
|
54
54
|
iconUrl?: string;
|
|
55
55
|
iconEmoji?: string;
|
|
56
56
|
metadata?: ReactionMetadata;
|
|
57
|
+
/**
|
|
58
|
+
* Server-derived set of all user IDs involved in this reaction annotation.
|
|
59
|
+
* Written upstream; read-only from the SDK.
|
|
60
|
+
*/
|
|
61
|
+
involvedUserIds?: string[];
|
|
57
62
|
}
|
|
58
63
|
export declare class ReactionMetadata extends BaseMetadata {
|
|
59
64
|
[key: string]: any;
|
|
@@ -946,6 +946,8 @@ export declare class CommentElement {
|
|
|
946
946
|
* To disable collapsed comment
|
|
947
947
|
*/
|
|
948
948
|
public disableCollapsedComments: () => void;
|
|
949
|
+
public enableCollapsedRepliesPreview: () => void;
|
|
950
|
+
public disableCollapsedRepliesPreview: () => void;
|
|
949
951
|
|
|
950
952
|
/**
|
|
951
953
|
* To enable query params comments
|
|
@@ -2294,6 +2296,8 @@ export declare class CommentElement {
|
|
|
2294
2296
|
* To disable collapsed comment
|
|
2295
2297
|
*/
|
|
2296
2298
|
private _disableCollapsedComments;
|
|
2299
|
+
private _enableCollapsedRepliesPreview;
|
|
2300
|
+
private _disableCollapsedRepliesPreview;
|
|
2297
2301
|
|
|
2298
2302
|
/**
|
|
2299
2303
|
* To enable query params comments
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -216,18 +216,47 @@ export declare class Constants {
|
|
|
216
216
|
VELT_COMMENT_SIDEBAR_LIST_ITEM_V2: string;
|
|
217
217
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_V2: string;
|
|
218
218
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_CATEGORY_V2: string;
|
|
219
|
+
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_CATEGORY_LABEL_V2: string;
|
|
219
220
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_CATEGORY_CONTENT_V2: string;
|
|
220
221
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_ITEM_V2: string;
|
|
221
222
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_ITEM_INDICATOR_V2: string;
|
|
222
223
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_ITEM_LABEL_V2: string;
|
|
223
|
-
|
|
224
|
-
VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_TRIGGER_V2: string;
|
|
225
|
-
VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_CONTENT_V2: string;
|
|
226
|
-
VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_CONTENT_MARK_ALL_READ_V2: string;
|
|
227
|
-
VELT_COMMENT_SIDEBAR_MINIMAL_ACTIONS_DROPDOWN_CONTENT_MARK_ALL_RESOLVED_V2: string;
|
|
224
|
+
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_LIST_ITEM_COUNT_V2: string;
|
|
228
225
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_V2: string;
|
|
229
226
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_TRIGGER_V2: string;
|
|
230
227
|
VELT_COMMENT_SIDEBAR_FILTER_DROPDOWN_CONTENT_V2: string;
|
|
228
|
+
VELT_COMMENT_SIDEBAR_FILTER_BUTTON_V2: string;
|
|
229
|
+
VELT_COMMENT_SIDEBAR_FILTER_BUTTON_V2_APPLIED_ICON: string;
|
|
230
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2: string;
|
|
231
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION: string;
|
|
232
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_FIELD: string;
|
|
233
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_LIST: string;
|
|
234
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_LABEL: string;
|
|
235
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_CONTROL: string;
|
|
236
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_OPTION_LIST: string;
|
|
237
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_OPTION: string;
|
|
238
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_OPTION_CHECKBOX: string;
|
|
239
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_CONTROL_VALUE: string;
|
|
240
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_CONTROL_CHIP: string;
|
|
241
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_CONTROL_CHIP_LIST: string;
|
|
242
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_CONTROL_SEARCH: string;
|
|
243
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_CONTROL_CHEVRON: string;
|
|
244
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_OPTION_NAME: string;
|
|
245
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_SECTION_OPTION_COUNT: string;
|
|
246
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_TITLE: string;
|
|
247
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_CLOSE_BUTTON: string;
|
|
248
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_GROUP_BY: string;
|
|
249
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_RESET_BUTTON: string;
|
|
250
|
+
VELT_COMMENT_SIDEBAR_FILTER_CONTAINER_V2_APPLY_BUTTON: string;
|
|
251
|
+
VELT_COMMENT_SIDEBAR_SEARCH_V2: string;
|
|
252
|
+
VELT_COMMENT_SIDEBAR_SEARCH_V2_ICON: string;
|
|
253
|
+
VELT_COMMENT_SIDEBAR_SEARCH_V2_INPUT: string;
|
|
254
|
+
VELT_COMMENT_SIDEBAR_FULLSCREEN_BUTTON_V2: string;
|
|
255
|
+
VELT_COMMENT_SIDEBAR_LIST_GROUP_HEADER_V2: string;
|
|
256
|
+
VELT_COMMENT_SIDEBAR_LIST_GROUP_HEADER_V2_LABEL: string;
|
|
257
|
+
VELT_COMMENT_SIDEBAR_LIST_GROUP_HEADER_V2_COUNT: string;
|
|
258
|
+
VELT_COMMENT_SIDEBAR_LIST_GROUP_HEADER_V2_SEPARATOR: string;
|
|
259
|
+
VELT_COMMENT_SIDEBAR_LIST_GROUP_HEADER_V2_CHEVRON: string;
|
|
231
260
|
VELT_COMMENT_SIDEBAR_HEADER_V2: string;
|
|
232
261
|
VELT_COMMENT_SIDEBAR_CLOSE_BUTTON_V2: string;
|
|
233
262
|
VELT_COMMENT_SIDEBAR_EMPTY_PLACEHOLDER_V2: string;
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -290,7 +290,7 @@ export type RecorderType = 'audio' | 'video' | 'screen';
|
|
|
290
290
|
export type RecorderFileFormat = 'mp3' | 'mp4' | 'webm';
|
|
291
291
|
export type RecorderLayoutMode = 'floating' | 'thread';
|
|
292
292
|
export type SupportedMimeType = 'audio' | 'video';
|
|
293
|
-
export type FirebaseRegion = 'usCentral1' | 'asiaSouthEast1' | 'europeWest1';
|
|
293
|
+
export type FirebaseRegion = 'usCentral1' | 'asiaSouthEast1' | 'europeWest1' | 'australiaSouthEast1';
|
|
294
294
|
export type VideoEventType = 'play' | 'pause' | 'ratechange' | 'seeked' | 'timeupdate' | 'volumechange';
|
|
295
295
|
export type RewriterType = 'copywriter' | 'generic';
|
|
296
296
|
export type RecorderStatusType = 'started' | 'paused' | 'resumed' | 'stopped' | 'error' | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types",
|
|
3
|
-
"version": "5.0.2-beta.
|
|
3
|
+
"version": "5.0.2-beta.38",
|
|
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": [
|