@veltdev/types-dev 3.0.29 → 3.0.31
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 +1 -0
- package/app/models/data/document-paths.data.model.d.ts +4 -0
- package/app/models/data/reaction-annotation.data.model.d.ts +4 -0
- package/app/models/element/reaction-element.model.d.ts +14 -0
- package/app/utils/constants.d.ts +3 -0
- package/app/utils/enums.d.ts +2 -1
- package/package.json +1 -1
|
@@ -166,6 +166,7 @@ export declare class CommentAnnotation {
|
|
|
166
166
|
unsubscribedUsers?: CommentAnnotationUnsubscribedUsers;
|
|
167
167
|
subscribedGroups?: CommentAnnotationSubscribedGroups;
|
|
168
168
|
resolvedByUserId?: string | null;
|
|
169
|
+
multiThreadAnnotationId?: string;
|
|
169
170
|
}
|
|
170
171
|
export declare class GhostComment {
|
|
171
172
|
targetElement?: TargetElement | null;
|
|
@@ -11,6 +11,10 @@ export declare class ReactionAnnotation {
|
|
|
11
11
|
* Auto generated.
|
|
12
12
|
*/
|
|
13
13
|
annotationId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Connected comment annotation id of reaction annotation
|
|
16
|
+
*/
|
|
17
|
+
commentAnnotationId?: string;
|
|
14
18
|
reactions?: Reaction[];
|
|
15
19
|
/**
|
|
16
20
|
* Timestamp when the reaction annotation was last updated.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
|
+
export { ReactionMap } from '../data/reaction-annotation.data.model';
|
|
3
|
+
|
|
2
4
|
export declare class ReactionElement {
|
|
3
5
|
/**
|
|
4
6
|
* To enable dark mode
|
|
@@ -9,6 +11,12 @@ export declare class ReactionElement {
|
|
|
9
11
|
* To disable dark mode
|
|
10
12
|
*/
|
|
11
13
|
disableDarkMode: () => void;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* To set custom reactions
|
|
17
|
+
* @param reactions Reactions to be set
|
|
18
|
+
*/
|
|
19
|
+
public setCustomReactions: (reactions: ReactionMap) => void;
|
|
12
20
|
constructor();
|
|
13
21
|
|
|
14
22
|
/**
|
|
@@ -20,4 +28,10 @@ export declare class ReactionElement {
|
|
|
20
28
|
* To disable dark mode
|
|
21
29
|
*/
|
|
22
30
|
private _disableDarkMode;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* To set custom reactions
|
|
34
|
+
* @param reactions Reactions to be set
|
|
35
|
+
*/
|
|
36
|
+
private _setCustomReactions;
|
|
23
37
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare class Constants {
|
|
|
13
13
|
static FIREBASE_PARTIAL_PATH_ARROW: string;
|
|
14
14
|
static FIREBASE_PARTIAL_PATH_AREA: string;
|
|
15
15
|
static FIREBASE_PARTIAL_PATH_COMMENT: string;
|
|
16
|
+
static FIREBASE_PARTIAL_PATH_MULTI_THREAD: string;
|
|
16
17
|
static FIREBASE_PARTIAL_PATH_TAG: string;
|
|
17
18
|
static FIREBASE_PARTIAL_PATH_SELECTION: string;
|
|
18
19
|
static FIREBASE_PARTIAL_PATH_AUDIO_HUDDLE: string;
|
|
@@ -231,6 +232,7 @@ export declare class Constants {
|
|
|
231
232
|
VELT_COMMENT_TYPE: string;
|
|
232
233
|
TARGET_INLINE_COMMENT_ELEMENT_ID: string;
|
|
233
234
|
TARGET_COMMENT_ELEMENT_ID: string;
|
|
235
|
+
TARGET_ELEMENT_ID: string;
|
|
234
236
|
VELT_ID: string;
|
|
235
237
|
VELT_ELEMENT: string;
|
|
236
238
|
VELT_ANNOTATION_ID: string;
|
|
@@ -282,6 +284,7 @@ export declare class Constants {
|
|
|
282
284
|
VELT_IFRAME_CONTAINER_STATIC: string;
|
|
283
285
|
VELT_IS_FIRST_COMPONENT: string;
|
|
284
286
|
VELT_DOWNLOAD_BUTTON: string;
|
|
287
|
+
VELT_COMMENT_DIALOG_PORTAL_INTERNAL: string;
|
|
285
288
|
};
|
|
286
289
|
static INJECTION_STYLE_PROPS: {
|
|
287
290
|
/**
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export declare enum Features {
|
|
|
56
56
|
ARROW = "arrow",
|
|
57
57
|
AUDIO_HUDDLE = "audioHuddle",
|
|
58
58
|
COMMENT = "comment",
|
|
59
|
+
MULTI_THREAD = "multiThread",
|
|
59
60
|
CURSOR = "cursor",
|
|
60
61
|
HUDDLE = "huddle",
|
|
61
62
|
LIVE_STATE_SYNC = "liveStateSync",
|
|
@@ -67,7 +68,7 @@ export declare enum Features {
|
|
|
67
68
|
NOTIFICATION = "notification",
|
|
68
69
|
REACTION = "reaction"
|
|
69
70
|
}
|
|
70
|
-
export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction';
|
|
71
|
+
export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction' | 'multiThread';
|
|
71
72
|
export declare enum DeviceType {
|
|
72
73
|
DESKTOP = "Desktop",
|
|
73
74
|
MOBILE = "Mobile",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.31",
|
|
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": [
|