@veltdev/types 5.0.2-beta.1 → 5.0.2-beta.11
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/client/snippyly.model.d.ts +20 -1
- package/app/models/data/activity-resolver.data.model.d.ts +27 -0
- package/app/models/data/activity.data.model.d.ts +179 -0
- package/app/models/data/attachment-resolver.data.model.d.ts +2 -2
- package/app/models/data/attachment.model.d.ts +1 -0
- package/app/models/data/autocomplete.data.model.d.ts +3 -3
- package/app/models/data/base-metadata.data.model.d.ts +3 -0
- package/app/models/data/comment-actions.data.model.d.ts +4 -0
- package/app/models/data/comment-annotation.data.model.d.ts +10 -2
- package/app/models/data/comment-events.data.model.d.ts +15 -2
- package/app/models/data/comment-resolver.data.model.d.ts +3 -3
- package/app/models/data/config.data.model.d.ts +26 -0
- package/app/models/data/core-events.data.model.d.ts +74 -1
- package/app/models/data/crdt.data.model.d.ts +51 -0
- package/app/models/data/document.data.model.d.ts +2 -0
- package/app/models/data/live-state-events.data.model.d.ts +6 -0
- package/app/models/data/notification-resolver.data.model.d.ts +39 -0
- package/app/models/data/notification.model.d.ts +4 -0
- package/app/models/data/provider.data.model.d.ts +8 -1
- package/app/models/data/reaction-resolver.data.model.d.ts +3 -3
- package/app/models/data/recorder-annotation.data.model.d.ts +11 -0
- package/app/models/data/recorder-resolver.data.model.d.ts +58 -0
- package/app/models/data/resolver.data.model.d.ts +1 -0
- package/app/models/data/user-resolver.data.model.d.ts +17 -1
- package/app/models/data/user.data.model.d.ts +2 -0
- package/app/models/element/activity-element.model.d.ts +33 -0
- package/app/models/element/comment-element.model.d.ts +8 -8
- package/app/models/element/crdt-element.model.d.ts +88 -1
- package/app/utils/constants.d.ts +153 -0
- package/app/utils/enums.d.ts +24 -3
- package/models.d.ts +4 -0
- package/package.json +1 -1
- package/types.d.ts +1 -0
package/app/utils/enums.d.ts
CHANGED
|
@@ -25,7 +25,11 @@ export declare enum ResolverActions {
|
|
|
25
25
|
REACTION_ADD = "reaction.add",
|
|
26
26
|
REACTION_DELETE = "reaction.delete",
|
|
27
27
|
ATTACHMENT_ADD = "attachment.add",
|
|
28
|
-
ATTACHMENT_DELETE = "attachment.delete"
|
|
28
|
+
ATTACHMENT_DELETE = "attachment.delete",
|
|
29
|
+
RECORDER_ANNOTATION_ADD = "recorder_annotation.add",
|
|
30
|
+
RECORDER_ANNOTATION_UPDATE = "recorder_annotation.update",
|
|
31
|
+
RECORDER_ANNOTATION_DELETE = "recorder_annotation.delete",
|
|
32
|
+
ACTIVITY_SAVE = "activity.save"
|
|
29
33
|
}
|
|
30
34
|
export declare const CommentEventTypes: {
|
|
31
35
|
readonly ADD_COMMENT_ANNOTATION: "addCommentAnnotation";
|
|
@@ -60,9 +64,12 @@ export declare const CommentEventTypes: {
|
|
|
60
64
|
readonly COMMENT_PIN_CLICKED: "commentPinClicked";
|
|
61
65
|
readonly COMMENT_BUBBLE_CLICKED: "commentBubbleClicked";
|
|
62
66
|
readonly COMMENT_TOOL_CLICK: "commentToolClick";
|
|
67
|
+
readonly COMMENT_TOOL_CLICKED: "commentToolClicked";
|
|
63
68
|
readonly SIDEBAR_BUTTON_CLICK: "sidebarButtonClick";
|
|
69
|
+
readonly SIDEBAR_BUTTON_CLICKED: "sidebarButtonClicked";
|
|
64
70
|
readonly ATTACHMENT_DOWNLOAD_CLICKED: "attachmentDownloadClicked";
|
|
65
71
|
readonly COMMENT_SAVED: "commentSaved";
|
|
72
|
+
readonly COMMENT_SAVE_TRIGGERED: "commentSaveTriggered";
|
|
66
73
|
readonly VISIBILITY_OPTION_CLICKED: "visibilityOptionClicked";
|
|
67
74
|
};
|
|
68
75
|
export declare const RecorderEventTypes: {
|
|
@@ -84,6 +91,9 @@ export declare const CoreEventTypes: {
|
|
|
84
91
|
readonly COMMENT_RESOLVER: "commentResolver";
|
|
85
92
|
readonly ATTACHMENT_RESOLVER: "attachmentResolver";
|
|
86
93
|
readonly REACTION_RESOLVER: "reactionResolver";
|
|
94
|
+
readonly RECORDER_RESOLVER: "recorderResolver";
|
|
95
|
+
readonly NOTIFICATION_RESOLVER: "notificationResolver";
|
|
96
|
+
readonly ACTIVITY_RESOLVER: "activityResolver";
|
|
87
97
|
readonly VELT_BUTTON_CLICK: "veltButtonClick";
|
|
88
98
|
readonly USER_UPDATE: "userUpdate";
|
|
89
99
|
readonly INIT_UPDATE: "initUpdate";
|
|
@@ -169,7 +179,8 @@ export declare enum Features {
|
|
|
169
179
|
REWRITER = "rewriter",
|
|
170
180
|
LIVE_SELECTION = "liveSelection",
|
|
171
181
|
NOTIFICATION = "notification",
|
|
172
|
-
REACTION = "reaction"
|
|
182
|
+
REACTION = "reaction",
|
|
183
|
+
ACTIVITY = "activity"
|
|
173
184
|
}
|
|
174
185
|
export declare enum AnalyticsFeatures {
|
|
175
186
|
AREA = "area",
|
|
@@ -191,7 +202,7 @@ export declare enum AnalyticsFeatures {
|
|
|
191
202
|
INLINE_COMMENT = "inlineComment",
|
|
192
203
|
COMMENT_SIDEBAR = "commentSidebar"
|
|
193
204
|
}
|
|
194
|
-
export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction' | 'multiThread';
|
|
205
|
+
export type FeatureType = 'area' | 'arrow' | 'audioHuddle' | 'comment' | 'cursor' | 'huddle' | 'liveStateSync' | 'presence' | 'recorder' | 'rewriter' | 'tag' | 'liveSelection' | 'notification' | 'reaction' | 'multiThread' | 'activity';
|
|
195
206
|
export type AssignToType = 'dropdown' | 'checkbox';
|
|
196
207
|
export declare enum DeviceType {
|
|
197
208
|
DESKTOP = "Desktop",
|
|
@@ -310,3 +321,13 @@ export type NotificationSettingsItemType = 'ALL' | 'MINE' | 'NONE' | string;
|
|
|
310
321
|
* Type for notification settings layout
|
|
311
322
|
*/
|
|
312
323
|
export type NotificationSettingsLayout = 'accordion' | 'dropdown';
|
|
324
|
+
/**
|
|
325
|
+
* Enum for comment visibility options in the visibility banner dropdown
|
|
326
|
+
*/
|
|
327
|
+
export declare enum CommentVisibilityOption {
|
|
328
|
+
RESTRICTED_SELF = "restrictedSelf",
|
|
329
|
+
RESTRICTED_SELECTED_PEOPLE = "restrictedSelectedPeople",
|
|
330
|
+
ORGANIZATION_PRIVATE = "organizationPrivate",
|
|
331
|
+
PUBLIC = "public"
|
|
332
|
+
}
|
|
333
|
+
export type CommentVisibilityOptionType = `${CommentVisibilityOption}`;
|
package/models.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './app/utils/enums';
|
|
2
2
|
export * from './app/models/data/anchor-record.data.model';
|
|
3
3
|
export * from './app/models/data/attachment.model';
|
|
4
|
+
export * from './app/models/data/activity.data.model';
|
|
4
5
|
export * from './app/models/data/area-annotation.data.model';
|
|
5
6
|
export * from './app/models/data/arrow-annotation.data.model';
|
|
6
7
|
export * from './app/models/data/base-metadata.data.model';
|
|
@@ -37,6 +38,7 @@ export * from './app/models/data/location.model';
|
|
|
37
38
|
export * from './app/models/data/media-preview-config.data.model';
|
|
38
39
|
export * from './app/models/data/multi-thread.data.model';
|
|
39
40
|
export * from './app/models/data/notification.model';
|
|
41
|
+
export * from './app/models/data/notification-resolver.data.model';
|
|
40
42
|
export * from './app/models/data/notifications-events.data.model';
|
|
41
43
|
export * from './app/models/data/page-info.model';
|
|
42
44
|
export * from './app/models/data/permission.data.model';
|
|
@@ -71,7 +73,9 @@ export * from './app/models/data/views.data.model';
|
|
|
71
73
|
export * from './app/models/data/autocomplete.data.model';
|
|
72
74
|
export * from './app/models/data/reaction-annotation.data.model';
|
|
73
75
|
export * from './app/models/data/reaction-resolver.data.model';
|
|
76
|
+
export * from './app/models/data/recorder-resolver.data.model';
|
|
74
77
|
export * from './app/models/data/attachment-resolver.data.model';
|
|
78
|
+
export * from './app/models/data/activity-resolver.data.model';
|
|
75
79
|
export * from './app/models/data/reaction.data.model';
|
|
76
80
|
export * from './app/models/data/organization-groups.data.model';
|
|
77
81
|
export * from './app/models/data/organization-metadata.model';
|
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.11",
|
|
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": [
|
package/types.d.ts
CHANGED
|
@@ -17,4 +17,5 @@ export * from './app/models/element/notification-element.model';
|
|
|
17
17
|
export * from './app/models/element/autocomplete-element.model';
|
|
18
18
|
export * from './app/models/element/reaction-element.model';
|
|
19
19
|
export * from './app/models/element/crdt-element.model';
|
|
20
|
+
export * from './app/models/element/activity-element.model';
|
|
20
21
|
export * from './models';
|