@veltdev/sdk-staging 4.5.0-beta.3 → 4.5.0-beta.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-sidebar-config.model.d.ts +5 -0
- package/app/models/data/config.data.model.d.ts +4 -0
- package/app/models/data/presence-actions.data.model.d.ts +5 -0
- package/app/models/data/presence-events.data.model.d.ts +8 -0
- package/app/models/data/recorder-events.data.model.d.ts +10 -0
- package/app/models/data/recorder.model.d.ts +6 -8
- package/app/models/element/presence-element.model.d.ts +13 -1
- package/app/utils/enums.d.ts +4 -1
- package/models.d.ts +1 -0
- package/package.json +1 -1
- package/velt.js +82 -82
|
@@ -10,6 +10,7 @@ declare class FilterTypeConfig {
|
|
|
10
10
|
}
|
|
11
11
|
export declare class CommentSidebarFilterConfig {
|
|
12
12
|
location?: FilterTypeConfig;
|
|
13
|
+
document?: FilterTypeConfig;
|
|
13
14
|
people?: FilterTypeConfig;
|
|
14
15
|
assigned?: FilterTypeConfig;
|
|
15
16
|
tagged?: FilterTypeConfig;
|
|
@@ -25,6 +26,10 @@ export declare class CommentSidebarGroupConfig {
|
|
|
25
26
|
}
|
|
26
27
|
export declare class CommentSidebarFilters {
|
|
27
28
|
location?: Location[];
|
|
29
|
+
document?: {
|
|
30
|
+
id?: string;
|
|
31
|
+
documentName?: string;
|
|
32
|
+
}[];
|
|
28
33
|
people?: {
|
|
29
34
|
userId?: string;
|
|
30
35
|
email?: string;
|
|
@@ -49,6 +49,10 @@ export declare class Config {
|
|
|
49
49
|
* Default: false
|
|
50
50
|
*/
|
|
51
51
|
advancedQueriesDisabled?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* The domain of the API proxy.
|
|
54
|
+
*/
|
|
55
|
+
apiProxyDomain?: string;
|
|
52
56
|
}
|
|
53
57
|
export interface ExtendedFirebaseOptions extends FirebaseOptions {
|
|
54
58
|
storeDbId: string;
|
|
@@ -3,6 +3,14 @@ import { PresenceUser } from "./presence-user.data.model";
|
|
|
3
3
|
export interface PresenceMultipleUsersOnlineEvent {
|
|
4
4
|
users: PresenceUser[];
|
|
5
5
|
}
|
|
6
|
+
export interface PresenceUserStateChangeEvent {
|
|
7
|
+
user: PresenceUser;
|
|
8
|
+
state: string;
|
|
9
|
+
}
|
|
6
10
|
export type PresenceEventTypesMap = {
|
|
7
11
|
[PresenceEventTypes.MULTIPLE_USERS_ONLINE]: PresenceMultipleUsersOnlineEvent;
|
|
12
|
+
[PresenceEventTypes.USER_STATE_CHANGE]: PresenceUserStateChangeEvent;
|
|
8
13
|
};
|
|
14
|
+
export interface GetPresenceDataResponse {
|
|
15
|
+
data: PresenceUser[] | null;
|
|
16
|
+
}
|
|
@@ -8,6 +8,16 @@ export interface RecordingDeleteEvent extends RecorderData {
|
|
|
8
8
|
}
|
|
9
9
|
export interface RecordingEditDoneEvent extends RecorderData {
|
|
10
10
|
}
|
|
11
|
+
export interface RecordingErrorEvent {
|
|
12
|
+
type: string;
|
|
13
|
+
message: string;
|
|
14
|
+
recorderId?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface RecordingSaveInitiatedEvent {
|
|
17
|
+
annotationId?: string;
|
|
18
|
+
message: string;
|
|
19
|
+
type: 'edit' | 'record';
|
|
20
|
+
}
|
|
11
21
|
export type RecorderEventTypesMap = {
|
|
12
22
|
[RecorderEventTypes.TRANSCRIPTION_DONE]: TranscriptionDoneEvent;
|
|
13
23
|
[RecorderEventTypes.RECORDING_DONE]: RecordingDoneEvent;
|
|
@@ -93,15 +93,13 @@ export declare class RecordedData {
|
|
|
93
93
|
};
|
|
94
94
|
getThumbnailTag: (url?: string) => string;
|
|
95
95
|
}
|
|
96
|
+
export declare class RecorderQualityConstraintsOptions {
|
|
97
|
+
video?: MediaTrackConstraints;
|
|
98
|
+
audio?: MediaTrackConstraints;
|
|
99
|
+
}
|
|
96
100
|
export declare class RecorderQualityConstraints {
|
|
97
|
-
safari?:
|
|
98
|
-
|
|
99
|
-
audio?: MediaTrackConstraints;
|
|
100
|
-
};
|
|
101
|
-
other?: {
|
|
102
|
-
video?: MediaTrackConstraints;
|
|
103
|
-
audio?: MediaTrackConstraints;
|
|
104
|
-
};
|
|
101
|
+
safari?: RecorderQualityConstraintsOptions;
|
|
102
|
+
other?: RecorderQualityConstraintsOptions;
|
|
105
103
|
}
|
|
106
104
|
export declare class RecorderEncodingOptions {
|
|
107
105
|
safari?: MediaRecorderOptions;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { PresenceUser } from "../data/presence-user.data.model";
|
|
4
|
-
import { PresenceEventTypesMap } from "../data/presence-events.data.model";
|
|
4
|
+
import { GetPresenceDataResponse, PresenceEventTypesMap } from "../data/presence-events.data.model";
|
|
5
|
+
import { PresenceRequestQuery } from "../data/presence-actions.data.model";
|
|
6
|
+
|
|
5
7
|
export declare class PresenceElement {
|
|
6
8
|
|
|
7
9
|
/**
|
|
@@ -38,6 +40,11 @@ export declare class PresenceElement {
|
|
|
38
40
|
*/
|
|
39
41
|
disableSelf: () => void;
|
|
40
42
|
|
|
43
|
+
/**
|
|
44
|
+
* To get the presence data
|
|
45
|
+
*/
|
|
46
|
+
getData: (query?: PresenceRequestQuery) => Observable<GetPresenceDataResponse>;
|
|
47
|
+
|
|
41
48
|
/**
|
|
42
49
|
* Subscribe to presence events
|
|
43
50
|
*/
|
|
@@ -77,6 +84,11 @@ export declare class PresenceElement {
|
|
|
77
84
|
*/
|
|
78
85
|
private _disableSelf;
|
|
79
86
|
|
|
87
|
+
/**
|
|
88
|
+
* To get the presence data
|
|
89
|
+
*/
|
|
90
|
+
private _getData;
|
|
91
|
+
|
|
80
92
|
/**
|
|
81
93
|
* Subscribe to presence events
|
|
82
94
|
*/
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -60,6 +60,8 @@ export declare const RecorderEventTypes: {
|
|
|
60
60
|
readonly RECORDING_DONE: "recordingDone";
|
|
61
61
|
readonly RECORDING_EDIT_DONE: "recordingEditDone";
|
|
62
62
|
readonly DELETE_RECORDING: "deleteRecording";
|
|
63
|
+
readonly ERROR: "error";
|
|
64
|
+
readonly RECORDING_SAVE_INITIATED: "recordingSaveInitiated";
|
|
63
65
|
};
|
|
64
66
|
export declare const CoreEventTypes: {
|
|
65
67
|
readonly VELT_BUTTON_CLICK: "veltButtonClick";
|
|
@@ -78,6 +80,7 @@ export declare const LiveStateSyncEventTypes: {
|
|
|
78
80
|
};
|
|
79
81
|
export declare const PresenceEventTypes: {
|
|
80
82
|
readonly MULTIPLE_USERS_ONLINE: "multipleUsersOnline";
|
|
83
|
+
readonly USER_STATE_CHANGE: "userStateChange";
|
|
81
84
|
};
|
|
82
85
|
export type CommentEventType = typeof CommentEventTypes[keyof typeof CommentEventTypes];
|
|
83
86
|
export type RecorderEventType = typeof RecorderEventTypes[keyof typeof RecorderEventTypes];
|
|
@@ -253,7 +256,7 @@ export type ReactionPinType = 'timeline' | 'comment';
|
|
|
253
256
|
export type SidebarPosition = 'left' | 'right';
|
|
254
257
|
export type SidebarSortingCriteria = 'date' | 'unread' | null;
|
|
255
258
|
export type SidebarFilterCriteria = 'all' | 'read' | 'unread' | 'resolved';
|
|
256
|
-
export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'pages' | 'statuses' | 'priorities' | 'categories' | 'versions';
|
|
259
|
+
export type SidebarFilterSearchType = 'people' | 'assigned' | 'tagged' | 'pages' | 'documents' | 'statuses' | 'priorities' | 'categories' | 'versions';
|
|
257
260
|
export type InlineSortingCriteria = 'createdFirst' | 'createdLast' | 'updatedFirst' | 'updatedLast';
|
|
258
261
|
export type NotificationPanelMode = 'popover' | 'sidebar';
|
|
259
262
|
export type SidebarActionButtonType = 'default' | 'toggle';
|
package/models.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export * from './app/models/data/notification.model';
|
|
|
38
38
|
export * from './app/models/data/page-info.model';
|
|
39
39
|
export * from './app/models/data/permission.data.model';
|
|
40
40
|
export * from './app/models/data/presence-user.data.model';
|
|
41
|
+
export * from './app/models/data/presence-actions.data.model';
|
|
41
42
|
export * from './app/models/data/presence-events.data.model';
|
|
42
43
|
export * from './app/models/data/recorder.model';
|
|
43
44
|
export * from './app/models/data/recorder-annotation.data.model';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk-staging",
|
|
3
|
-
"version": "4.5.0-beta.
|
|
3
|
+
"version": "4.5.0-beta.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": [
|