@veltdev/types-dev 6.0.0-beta.36 → 6.0.0-beta.5
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 +3 -12
- package/app/models/data/comment-events.data.model.d.ts +0 -39
- package/app/models/data/config.data.model.d.ts +0 -154
- package/app/models/data/notification.model.d.ts +0 -14
- package/app/models/data/reaction-resolver.data.model.d.ts +0 -1
- package/app/models/data/selection.model.d.ts +8 -10
- package/app/models/data/suggestion.data.model.d.ts +2 -52
- package/app/models/data/user-resolver.data.model.d.ts +9 -11
- package/app/models/data/user.data.model.d.ts +18 -21
- package/app/models/element/activity-element.model.d.ts +1 -0
- package/app/models/element/area-element.model.d.ts +1 -0
- package/app/models/element/arrow-element.model.d.ts +2 -1
- package/app/models/element/autocomplete-element.model.d.ts +1 -0
- package/app/models/element/comment-element.model.d.ts +77 -103
- package/app/models/element/contact-element.model.d.ts +2 -1
- package/app/models/element/crdt-element.model.d.ts +1 -1
- package/app/models/element/cursor-element.model.d.ts +2 -1
- package/app/models/element/huddle-element.model.d.ts +2 -1
- package/app/models/element/live-state-sync-element.model.d.ts +1 -1
- package/app/models/element/notification-element.model.d.ts +2 -33
- package/app/models/element/presence-element.model.d.ts +11 -32
- package/app/models/element/reaction-element.model.d.ts +1 -1
- package/app/models/element/recorder-element.model.d.ts +2 -21
- package/app/models/element/rewriter-element.model.d.ts +1 -43
- package/app/models/element/selection-element.model.d.ts +1 -1
- package/app/models/element/suggestion-element.model.d.ts +1 -0
- package/app/models/element/tag-element.model.d.ts +8 -7
- package/app/models/element/views-element.model.d.ts +1 -1
- package/app/utils/constants.d.ts +0 -1
- package/app/utils/enums.d.ts +83 -97
- package/package.json +2 -8
- package/types.d.ts +22 -22
- package/velt.d.ts +3 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
1
2
|
import { Observable } from "rxjs";
|
|
2
3
|
import { PresenceUser } from "../data/presence-user.data.model";
|
|
3
4
|
import { GetPresenceDataResponse, PresenceEventTypesMap } from "../data/presence-events.data.model";
|
|
4
5
|
import { PresenceRequestQuery } from "../data/presence-actions.data.model";
|
|
5
|
-
import { FlockOptions } from "../data/flock-options.model";
|
|
6
6
|
|
|
7
7
|
export declare class PresenceElement {
|
|
8
8
|
|
|
@@ -21,27 +21,15 @@ export declare class PresenceElement {
|
|
|
21
21
|
setInactivityTime: (time: number) => void;
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
25
|
-
* @param options
|
|
24
|
+
* Enables follow along mode globally
|
|
25
|
+
* @param options {FollowOptions: {useHistoryAPI: boolean, onNavigate: (url: PageInfo) => void}}}
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
enableFollowAlongMode: (useHistoryAPI: boolean) => any;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* To disable follow along mode
|
|
31
31
|
*/
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Start/join a flock session by following the given user
|
|
36
|
-
* @param userId The leader user ID
|
|
37
|
-
* @param name The leader user name
|
|
38
|
-
*/
|
|
39
|
-
startFollowingUser: (userId: string, name: string) => void;
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Exit the flock session / stop following
|
|
43
|
-
*/
|
|
44
|
-
stopFollowingUser: () => void;
|
|
32
|
+
disableFollowAlongMode: () => any;
|
|
45
33
|
|
|
46
34
|
/**
|
|
47
35
|
* To enable adding self to the presence list
|
|
@@ -93,24 +81,15 @@ export declare class PresenceElement {
|
|
|
93
81
|
private _setInactivityTime;
|
|
94
82
|
|
|
95
83
|
/**
|
|
96
|
-
*
|
|
97
|
-
|
|
98
|
-
private _enableFlockMode;
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* Disable flock mode globally
|
|
102
|
-
*/
|
|
103
|
-
private _disableFlockMode;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Start/join a flock session by following the given user
|
|
84
|
+
* Enables follow along mode globally
|
|
85
|
+
* @param options {FollowOptions: {useHistoryAPI: boolean, onNavigate: (url: PageInfo) => void}}}
|
|
107
86
|
*/
|
|
108
|
-
private
|
|
87
|
+
private _enableFollowAlongMode;
|
|
109
88
|
|
|
110
89
|
/**
|
|
111
|
-
*
|
|
90
|
+
* To disable follow along mode
|
|
112
91
|
*/
|
|
113
|
-
private
|
|
92
|
+
private _disableFollowAlongMode;
|
|
114
93
|
|
|
115
94
|
/**
|
|
116
95
|
* To enable adding self to the presence list
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
1
2
|
import { Observable } from "rxjs";
|
|
2
3
|
import { RecorderData, RecorderRequestQuery, GetRecordingDataResponse, GetRecordingsResponse, DeleteRecordingsResponse } from "../data/recorder-annotation.data.model";
|
|
3
4
|
import { RecorderEventTypesMap } from "../data/recorder-events.data.model";
|
|
@@ -5,23 +6,13 @@ import { RecordedData, RecorderQualityConstraints, RecorderEncodingOptions, Reco
|
|
|
5
6
|
|
|
6
7
|
export declare class RecorderElement {
|
|
7
8
|
|
|
8
|
-
initRecording: (type: string, panelId?: string) =>
|
|
9
|
+
initRecording: (type: string, panelId?: string) => any;
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* @deprecated Use on('recordingDone') method instead
|
|
12
13
|
*/
|
|
13
14
|
onRecordedData: () => Observable<RecordedData | null>;
|
|
14
15
|
|
|
15
|
-
/**
|
|
16
|
-
* To enable dark mode in recording
|
|
17
|
-
*/
|
|
18
|
-
enableDarkMode: () => void;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* To disable dark mode in recording
|
|
22
|
-
*/
|
|
23
|
-
disableDarkMode: () => void;
|
|
24
|
-
|
|
25
16
|
/**
|
|
26
17
|
* To enable recording countdown
|
|
27
18
|
*/
|
|
@@ -182,16 +173,6 @@ export declare class RecorderElement {
|
|
|
182
173
|
*/
|
|
183
174
|
private _onRecordedData;
|
|
184
175
|
|
|
185
|
-
/**
|
|
186
|
-
* To enable dark mode in recording
|
|
187
|
-
*/
|
|
188
|
-
private _enableDarkMode;
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* To disable dark mode in recording
|
|
192
|
-
*/
|
|
193
|
-
private _disableDarkMode;
|
|
194
|
-
|
|
195
176
|
/**
|
|
196
177
|
* To enable dark mode in comments
|
|
197
178
|
*/
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { RewriterAskAiRequest, RewriterAskAiResponse, RewriterReplaceTextRequest, RewriterReplaceTextResponse, RewriterAddCommentRequest, RewriterAddCommentResponse, RewriterEventTypesMap } from "../data/rewriter-events.data.model";
|
|
3
|
-
|
|
1
|
+
// @ts-nocheck
|
|
4
2
|
export declare class RewriterElement {
|
|
5
3
|
/**
|
|
6
4
|
* To enable rewriter feature
|
|
@@ -21,26 +19,6 @@ export declare class RewriterElement {
|
|
|
21
19
|
* To disable the default rewriter UI on text selection
|
|
22
20
|
*/
|
|
23
21
|
disableDefaultUI: () => void;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Subscribe to rewriter events
|
|
27
|
-
*/
|
|
28
|
-
on: <T extends keyof RewriterEventTypesMap>(action: T) => Observable<RewriterEventTypesMap[T]>;
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Call AI with the currently selected text
|
|
32
|
-
*/
|
|
33
|
-
askAi: (request: RewriterAskAiRequest) => Promise<RewriterAskAiResponse>;
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Replace the selected text in the DOM with the given text
|
|
37
|
-
*/
|
|
38
|
-
replaceText: (request: RewriterReplaceTextRequest) => Promise<RewriterReplaceTextResponse>;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Add a comment annotation on the selected text with the given text as comment body
|
|
42
|
-
*/
|
|
43
|
-
addComment: (request: RewriterAddCommentRequest) => Promise<RewriterAddCommentResponse>;
|
|
44
22
|
constructor();
|
|
45
23
|
|
|
46
24
|
/**
|
|
@@ -62,24 +40,4 @@ export declare class RewriterElement {
|
|
|
62
40
|
* To disable the default rewriter UI on text selection
|
|
63
41
|
*/
|
|
64
42
|
private _disableDefaultUI;
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Subscribe to rewriter events
|
|
68
|
-
*/
|
|
69
|
-
private _on;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* Call AI with the currently selected text
|
|
73
|
-
*/
|
|
74
|
-
private _askAi;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Replace the selected text in the DOM with the given text
|
|
78
|
-
*/
|
|
79
|
-
private _replaceText;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Add a comment annotation on the selected text with the given text as comment body
|
|
83
|
-
*/
|
|
84
|
-
private _addComment;
|
|
85
43
|
}
|
|
@@ -1,30 +1,31 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
1
2
|
import { Observable } from "rxjs";
|
|
2
|
-
import {
|
|
3
|
+
import { TagPinAnnotation } from "../data/tag-annotation.data.model";
|
|
3
4
|
export declare class TagElement {
|
|
4
5
|
/**
|
|
5
6
|
* Subscribe to tags on the current document.
|
|
6
7
|
*
|
|
7
|
-
* Returns Observable<
|
|
8
|
+
* Returns Observable<TagPinAnnotation[] | null>.
|
|
8
9
|
*/
|
|
9
|
-
getAllTagAnnotations: (documentId?: string, documentParams?: object) => Observable<
|
|
10
|
+
getAllTagAnnotations: (documentId?: string, documentParams?: object) => Observable<TagPinAnnotation[] | null>;
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* To delete selected tags
|
|
13
14
|
*/
|
|
14
|
-
deleteTag: () =>
|
|
15
|
+
deleteTag: () => any;
|
|
15
16
|
|
|
16
17
|
/**
|
|
17
18
|
* To allow text selection in specific elements only
|
|
18
19
|
* @param elementIds Element ids to be allowed
|
|
19
20
|
*/
|
|
20
|
-
allowedElementIds: (elementIds: string[]) =>
|
|
21
|
+
allowedElementIds: (elementIds: string[]) => any;
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
24
|
* To add tags on specific elements
|
|
24
25
|
*
|
|
25
26
|
* @param elementId ID of html element
|
|
26
27
|
*/
|
|
27
|
-
attachTag: (elementId: string) =>
|
|
28
|
+
attachTag: (elementId: string) => any;
|
|
28
29
|
|
|
29
30
|
/**
|
|
30
31
|
* Subscribe to add tag mode change.
|
|
@@ -36,7 +37,7 @@ export declare class TagElement {
|
|
|
36
37
|
/**
|
|
37
38
|
* Subscribe to tags on the current document.
|
|
38
39
|
*
|
|
39
|
-
* Returns Observable<
|
|
40
|
+
* Returns Observable<TagPinAnnotation[] | null>.
|
|
40
41
|
*/
|
|
41
42
|
private _getAllTagAnnotations;
|
|
42
43
|
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ export declare class Constants {
|
|
|
12
12
|
static LISTENER_CONTEXT_BATCH_SIZE: number;
|
|
13
13
|
static DEFAULT_VELT_CONTEXT: string;
|
|
14
14
|
static VISIBILITY_SELF_PREFIX: string;
|
|
15
|
-
static VISIBILITY_ORG_PREFIX: string;
|
|
16
15
|
static FIREBASE_PARTIAL_PATH_ORGANIZATIONS: string;
|
|
17
16
|
static FIREBASE_PARTIAL_PATH_FOLDERS: string;
|
|
18
17
|
static FIREBASE_PARTIAL_PATH_DOCS: string;
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -1,40 +1,38 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
};
|
|
37
|
-
export type ResolverActions = (typeof ResolverActions)[keyof typeof ResolverActions];
|
|
1
|
+
export declare enum CommentStatus {
|
|
2
|
+
NEWLY_ADDED = "newlyAdded",
|
|
3
|
+
ADDED = "added",
|
|
4
|
+
UPDATED = "updated",
|
|
5
|
+
DELETED = "deleted",
|
|
6
|
+
APPROVED = "approved",
|
|
7
|
+
ASSIGNED = "assigned",
|
|
8
|
+
STATUS_CHANGED = "statusChanged",
|
|
9
|
+
PRIORITY_CHANGED = "priorityChanged",
|
|
10
|
+
ACCESS_MODE_CHANGED = "accessModeChanged",
|
|
11
|
+
CUSTOM_LIST_CHANGED = "customListChanged",
|
|
12
|
+
ACCEPTED = "accepted",
|
|
13
|
+
REJECTED = "rejected",
|
|
14
|
+
REACTION_ADDED = "reactionAdded",
|
|
15
|
+
REACTION_DELETED = "reactionDeleted",
|
|
16
|
+
SUBSCRIBED = "subscribed",
|
|
17
|
+
UNSUBSCRIBED = "unsubscribed",
|
|
18
|
+
SUGGESTION_ACCEPTED = "suggestionAccepted",
|
|
19
|
+
SUGGESTION_REJECTED = "suggestionRejected"
|
|
20
|
+
}
|
|
21
|
+
export declare enum ResolverActions {
|
|
22
|
+
COMMENT_ANNOTATION_ADD = "comment_annotation.add",
|
|
23
|
+
COMMENT_ANNOTATION_DELETE = "comment_annotation.delete",
|
|
24
|
+
COMMENT_ADD = "comment.add",
|
|
25
|
+
COMMENT_DELETE = "comment.delete",
|
|
26
|
+
COMMENT_UPDATE = "comment.update",
|
|
27
|
+
REACTION_ADD = "reaction.add",
|
|
28
|
+
REACTION_DELETE = "reaction.delete",
|
|
29
|
+
ATTACHMENT_ADD = "attachment.add",
|
|
30
|
+
ATTACHMENT_DELETE = "attachment.delete",
|
|
31
|
+
RECORDER_ANNOTATION_ADD = "recorder_annotation.add",
|
|
32
|
+
RECORDER_ANNOTATION_UPDATE = "recorder_annotation.update",
|
|
33
|
+
RECORDER_ANNOTATION_DELETE = "recorder_annotation.delete",
|
|
34
|
+
ACTIVITY_SAVE = "activity.save"
|
|
35
|
+
}
|
|
38
36
|
/**
|
|
39
37
|
* Opt-in additional (non-core) comment save events for the Comment Annotations Resolver
|
|
40
38
|
* (specs/comment-resolver iteration-2). Values mirror the non-core `CommentActivityActionTypes`
|
|
@@ -44,23 +42,22 @@ export type ResolverActions = (typeof ResolverActions)[keyof typeof ResolverActi
|
|
|
44
42
|
* `ResolverActions`. Kept in enums.ts (a leaf module) to avoid a
|
|
45
43
|
* resolver.data.model ↔ comment-resolver.data.model import cycle.
|
|
46
44
|
*/
|
|
47
|
-
export declare
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
export type CommentResolverSaveEvent = (typeof CommentResolverSaveEvent)[keyof typeof CommentResolverSaveEvent];
|
|
45
|
+
export declare enum CommentResolverSaveEvent {
|
|
46
|
+
STATUS_CHANGE = "comment_annotation.status_change",
|
|
47
|
+
PRIORITY_CHANGE = "comment_annotation.priority_change",
|
|
48
|
+
ASSIGN = "comment_annotation.assign",
|
|
49
|
+
ACCESS_MODE_CHANGE = "comment_annotation.access_mode_change",
|
|
50
|
+
CUSTOM_LIST_CHANGE = "comment_annotation.custom_list_change",
|
|
51
|
+
APPROVE = "comment_annotation.approve",
|
|
52
|
+
ACCEPT = "comment.accept",
|
|
53
|
+
REJECT = "comment.reject",
|
|
54
|
+
SUGGESTION_ACCEPT = "comment_annotation.suggestion_accept",
|
|
55
|
+
SUGGESTION_REJECT = "comment_annotation.suggestion_reject",
|
|
56
|
+
REACTION_ADD = "comment.reaction_add",
|
|
57
|
+
REACTION_DELETE = "comment.reaction_delete",
|
|
58
|
+
SUBSCRIBE = "comment_annotation.subscribe",
|
|
59
|
+
UNSUBSCRIBE = "comment_annotation.unsubscribe"
|
|
60
|
+
}
|
|
64
61
|
export declare const CommentEventTypes: {
|
|
65
62
|
readonly ADD_COMMENT_ANNOTATION: "addCommentAnnotation";
|
|
66
63
|
readonly ADD_COMMENT_ANNOTATION_DRAFT: "addCommentAnnotationDraft";
|
|
@@ -98,11 +95,6 @@ export declare const CommentEventTypes: {
|
|
|
98
95
|
readonly COMMENT_TOOL_CLICKED: "commentToolClicked";
|
|
99
96
|
readonly SIDEBAR_BUTTON_CLICK: "sidebarButtonClick";
|
|
100
97
|
readonly SIDEBAR_BUTTON_CLICKED: "sidebarButtonClicked";
|
|
101
|
-
readonly SIDEBAR_OPEN: "sidebarOpen";
|
|
102
|
-
readonly SIDEBAR_CLOSE: "sidebarClose";
|
|
103
|
-
readonly FULLSCREEN_CLICK: "fullscreenClick";
|
|
104
|
-
readonly COMMENT_CLICK: "commentClick";
|
|
105
|
-
readonly COMMENT_NAVIGATION_BUTTON_CLICK: "commentNavigationButtonClick";
|
|
106
98
|
readonly ATTACHMENT_DOWNLOAD_CLICKED: "attachmentDownloadClicked";
|
|
107
99
|
readonly COMMENT_SAVED: "commentSaved";
|
|
108
100
|
readonly COMMENT_SAVE_TRIGGERED: "commentSaveTriggered";
|
|
@@ -208,12 +200,11 @@ export declare enum ArrowStatus {
|
|
|
208
200
|
UPDATED = "updated",
|
|
209
201
|
DELETED = "deleted"
|
|
210
202
|
}
|
|
211
|
-
export declare
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
}
|
|
216
|
-
export type AreaStatus = (typeof AreaStatus)[keyof typeof AreaStatus];
|
|
203
|
+
export declare enum AreaStatus {
|
|
204
|
+
ADDED = "added",
|
|
205
|
+
UPDATED = "updated",
|
|
206
|
+
DELETED = "deleted"
|
|
207
|
+
}
|
|
217
208
|
export declare enum DocumentViewsStatus {
|
|
218
209
|
FIRST_VIEWED = "firstViewed"
|
|
219
210
|
}
|
|
@@ -286,21 +277,19 @@ export declare enum Roles {
|
|
|
286
277
|
ADMIN = "Admin",
|
|
287
278
|
COMMENTER = "Commenter"
|
|
288
279
|
}
|
|
289
|
-
export declare
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
}
|
|
294
|
-
export type DocumentAccessType = (typeof DocumentAccessType)[keyof typeof DocumentAccessType];
|
|
280
|
+
export declare enum DocumentAccessType {
|
|
281
|
+
PUBLIC = "public",
|
|
282
|
+
RESTRICTED = "restricted",
|
|
283
|
+
ORGANIZATION_PRIVATE = "organizationPrivate"
|
|
284
|
+
}
|
|
295
285
|
export declare enum DetectionStrategy {
|
|
296
286
|
DEFAULT = "default",
|
|
297
287
|
DYNAMIC_ID = "dynamicId"
|
|
298
288
|
}
|
|
299
|
-
export declare
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
}
|
|
303
|
-
export type CommentAccessMode = (typeof CommentAccessMode)[keyof typeof CommentAccessMode];
|
|
289
|
+
export declare enum CommentAccessMode {
|
|
290
|
+
PUBLIC = "public",
|
|
291
|
+
PRIVATE = "private"
|
|
292
|
+
}
|
|
304
293
|
export declare enum UnreadIndicatorMode {
|
|
305
294
|
MINIMAL = "minimal",
|
|
306
295
|
VERBOSE = "verbose"
|
|
@@ -313,27 +302,25 @@ export declare enum CommentCountType {
|
|
|
313
302
|
TOTAL = "total",
|
|
314
303
|
UNREAD = "unread"
|
|
315
304
|
}
|
|
316
|
-
export declare
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
}
|
|
322
|
-
export
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
};
|
|
330
|
-
export type ContactListScopeForOrganizationUsers = (typeof ContactListScopeForOrganizationUsers)[keyof typeof ContactListScopeForOrganizationUsers];
|
|
305
|
+
export declare enum ServerConnectionState {
|
|
306
|
+
ONLINE = "online",
|
|
307
|
+
OFFLINE = "offline",
|
|
308
|
+
PENDING_INIT = "pendingInit",
|
|
309
|
+
PENDING_DATA = "pendingData"
|
|
310
|
+
}
|
|
311
|
+
export declare enum ContactListScopeForOrganizationUsers {
|
|
312
|
+
ALL = "all",
|
|
313
|
+
ORGANIZATION = "organization",
|
|
314
|
+
ORGANIZATION_USER_GROUP = "organizationUserGroup",
|
|
315
|
+
DOCUMENT = "document",
|
|
316
|
+
FOLDER = "folder"
|
|
317
|
+
}
|
|
331
318
|
export type RecorderMode = 'audio' | 'video' | 'screen' | 'all' | string;
|
|
332
319
|
export type RecorderType = 'audio' | 'video' | 'screen';
|
|
333
320
|
export type RecorderFileFormat = 'mp3' | 'mp4' | 'webm';
|
|
334
321
|
export type RecorderLayoutMode = 'floating' | 'thread';
|
|
335
322
|
export type SupportedMimeType = 'audio' | 'video';
|
|
336
|
-
export type FirebaseRegion = 'usCentral1' | 'asiaSouthEast1' | 'europeWest1' | 'australiaSouthEast1'
|
|
323
|
+
export type FirebaseRegion = 'usCentral1' | 'asiaSouthEast1' | 'europeWest1' | 'australiaSouthEast1';
|
|
337
324
|
export type VideoEventType = 'play' | 'pause' | 'ratechange' | 'seeked' | 'timeupdate' | 'volumechange';
|
|
338
325
|
export type RewriterType = 'copywriter' | 'generic';
|
|
339
326
|
export type RecorderStatusType = 'started' | 'paused' | 'resumed' | 'stopped' | 'error' | null;
|
|
@@ -367,11 +354,10 @@ export type InlineSortingCriteria = 'createdFirst' | 'createdLast' | 'updatedFir
|
|
|
367
354
|
export type NotificationPanelMode = 'popover' | 'sidebar';
|
|
368
355
|
export type SidebarActionButtonType = 'default' | 'toggle';
|
|
369
356
|
export type SidebarButtonCountType = 'default' | 'filter';
|
|
370
|
-
export declare
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
}
|
|
374
|
-
export type CommentSidebarSystemFiltersOperator = (typeof CommentSidebarSystemFiltersOperator)[keyof typeof CommentSidebarSystemFiltersOperator];
|
|
357
|
+
export declare enum CommentSidebarSystemFiltersOperator {
|
|
358
|
+
AND = "and",
|
|
359
|
+
OR = "or"
|
|
360
|
+
}
|
|
375
361
|
/**
|
|
376
362
|
* Type for notification settings accordion types
|
|
377
363
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/types-dev",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.5",
|
|
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": [
|
|
@@ -38,11 +38,5 @@
|
|
|
38
38
|
},
|
|
39
39
|
"author": "",
|
|
40
40
|
"license": "ISC",
|
|
41
|
-
"typings": "./velt.d.ts"
|
|
42
|
-
"types": "./velt.d.ts",
|
|
43
|
-
"exports": {
|
|
44
|
-
".": {
|
|
45
|
-
"types": "./velt.d.ts"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
41
|
+
"typings": "./velt.d.ts"
|
|
48
42
|
}
|
package/types.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
1
|
+
export * from './app/client/snippyly.model';
|
|
2
|
+
export * from './app/client/velt.model';
|
|
3
|
+
export * from './app/models/element/area-element.model';
|
|
4
|
+
export * from './app/models/element/arrow-element.model';
|
|
5
|
+
export * from './app/models/element/comment-element.model';
|
|
6
|
+
export * from './app/models/element/contact-element.model';
|
|
7
|
+
export * from './app/models/element/cursor-element.model';
|
|
8
|
+
export * from './app/models/element/huddle-element.model';
|
|
9
|
+
export * from './app/models/element/live-state-sync-element.model';
|
|
10
|
+
export * from './app/models/element/presence-element.model';
|
|
11
|
+
export * from './app/models/element/recorder-element.model';
|
|
12
|
+
export * from './app/models/element/rewriter-element.model';
|
|
13
|
+
export * from './app/models/element/selection-element.model';
|
|
14
|
+
export * from './app/models/element/tag-element.model';
|
|
15
|
+
export * from './app/models/element/views-element.model';
|
|
16
|
+
export * from './app/models/element/notification-element.model';
|
|
17
|
+
export * from './app/models/element/autocomplete-element.model';
|
|
18
|
+
export * from './app/models/element/reaction-element.model';
|
|
19
|
+
export * from './app/models/element/crdt-element.model';
|
|
20
|
+
export * from './app/models/element/activity-element.model';
|
|
21
|
+
export * from './app/models/element/suggestion-element.model';
|
|
22
|
+
export * from './models';
|
package/velt.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
1
2
|
import * as snippyly from './types';
|
|
2
|
-
export
|
|
3
|
+
export * from './types';
|
|
3
4
|
export type Snippyly = { init: (api: string, config: snippyly.Config) => Snippyly, loaded: boolean, loadSnippyly: Function } & snippyly.Snippyly;
|
|
4
5
|
export const Snippyly: {
|
|
5
6
|
init: (api: string, config?: snippyly.Config) => Promise<Snippyly>,
|
|
@@ -7,7 +8,7 @@ export const Snippyly: {
|
|
|
7
8
|
loaded: boolean
|
|
8
9
|
} & snippyly.Snippyly;
|
|
9
10
|
|
|
10
|
-
export const Velt
|
|
11
|
+
export const Velt = Snippyly;
|
|
11
12
|
|
|
12
13
|
////////////////////
|
|
13
14
|
// Global object
|