@veltdev/sdk-staging 4.0.0-beta.29 → 4.0.0-beta.4
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 +0 -5
- package/app/models/data/config.data.model.d.ts +0 -1
- package/app/models/data/notification.model.d.ts +0 -16
- package/app/models/data/recorder-annotation.data.model.d.ts +0 -6
- package/app/models/element/recorder-element.model.d.ts +1 -22
- package/app/utils/constants.d.ts +0 -1
- package/app/utils/enums.d.ts +0 -4
- package/models.d.ts +0 -4
- package/package.json +1 -1
- package/velt.js +2 -2
- package/app/models/data/arrow-annotation.data.model.d.ts +0 -51
- package/app/models/data/multi-thread.data.model.d.ts +0 -61
- package/app/models/data/recorder-events.data.model.d.ts +0 -16
- package/app/models/data/user-resolver.data.model.d.ts +0 -5
|
@@ -27,7 +27,6 @@ import { ReactionElement } from "../models/element/reaction-element.model";
|
|
|
27
27
|
import { VeltEventMetadata } from "../models/data/event-metadata.data.model";
|
|
28
28
|
import { CoreEventTypesMap } from "../models/data/core-events.data.model";
|
|
29
29
|
import { Document, SetDocumentsRequestOptions } from "../models/data/document.data.model";
|
|
30
|
-
import { UserDataProvider } from "../models/data/user-resolver.data.model";
|
|
31
30
|
export declare class Snippyly {
|
|
32
31
|
constructor();
|
|
33
32
|
initConfig: (apiKey: string, config?: Config) => void;
|
|
@@ -58,10 +57,6 @@ export declare class Snippyly {
|
|
|
58
57
|
* To unset the document id
|
|
59
58
|
*/
|
|
60
59
|
unsetDocumentId: () => void;
|
|
61
|
-
/**
|
|
62
|
-
* To set the user data provider.
|
|
63
|
-
*/
|
|
64
|
-
setUserDataProvider: (userDataProvider: UserDataProvider) => void;
|
|
65
60
|
/**
|
|
66
61
|
* Get Document ID
|
|
67
62
|
*/
|
|
@@ -88,11 +88,6 @@ export declare class NotificationRawData {
|
|
|
88
88
|
[key: string]: any;
|
|
89
89
|
};
|
|
90
90
|
displayBodyMessage?: string;
|
|
91
|
-
displayBodyMessageTemplate?: string;
|
|
92
|
-
displayBodyMessageTemplateData?: {
|
|
93
|
-
users?: User[];
|
|
94
|
-
[key: string]: any;
|
|
95
|
-
};
|
|
96
91
|
customData?: any;
|
|
97
92
|
notifyUsers?: {
|
|
98
93
|
[email: string]: boolean;
|
|
@@ -132,17 +127,6 @@ export declare class Notification {
|
|
|
132
127
|
* Notification body message
|
|
133
128
|
*/
|
|
134
129
|
displayBodyMessage?: string;
|
|
135
|
-
/**
|
|
136
|
-
* Display body message template
|
|
137
|
-
*/
|
|
138
|
-
displayBodyMessageTemplate?: string;
|
|
139
|
-
/**
|
|
140
|
-
* Display body message template data
|
|
141
|
-
*/
|
|
142
|
-
displayBodyMessageTemplateData?: {
|
|
143
|
-
users?: User[];
|
|
144
|
-
[key: string]: any;
|
|
145
|
-
};
|
|
146
130
|
/**
|
|
147
131
|
* Display message template
|
|
148
132
|
*/
|
|
@@ -164,10 +164,4 @@ export declare class RecorderData {
|
|
|
164
164
|
assets: RecorderDataAsset[];
|
|
165
165
|
transcription: RecorderDataTranscription;
|
|
166
166
|
}
|
|
167
|
-
export interface RecorderRequestQuery {
|
|
168
|
-
recorderIds: string[];
|
|
169
|
-
}
|
|
170
|
-
export interface GetRecordingDataResponse {
|
|
171
|
-
data: Record<string, RecorderData> | null;
|
|
172
|
-
}
|
|
173
167
|
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
|
-
import { RecorderData
|
|
4
|
-
import { RecorderEventTypesMap } from "../data/recorder-events.data.model";
|
|
3
|
+
import { RecorderData } from "../data/recorder-annotation.data.model";
|
|
5
4
|
|
|
6
5
|
export declare class RecorderElement {
|
|
7
6
|
|
|
@@ -34,16 +33,6 @@ export declare class RecorderElement {
|
|
|
34
33
|
*/
|
|
35
34
|
disableRecordingTranscription: () => void;
|
|
36
35
|
|
|
37
|
-
/**
|
|
38
|
-
* Subscribe to recorder actions
|
|
39
|
-
*/
|
|
40
|
-
public on: <T extends keyof RecorderEventTypesMap>(action: T) => Observable<RecorderEventTypesMap[T]>;
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* To get recording data by recorder ids
|
|
44
|
-
*/
|
|
45
|
-
getRecordingData: (query: RecorderRequestQuery) => Promise<GetRecordingDataResponse>;
|
|
46
|
-
|
|
47
36
|
constructor();
|
|
48
37
|
|
|
49
38
|
private _initRecording;
|
|
@@ -74,14 +63,4 @@ export declare class RecorderElement {
|
|
|
74
63
|
* To disable recording transcription
|
|
75
64
|
*/
|
|
76
65
|
private _disableRecordingTranscription;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Subscribe to recorder actions
|
|
80
|
-
*/
|
|
81
|
-
private _on;
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* To get recording data by recorder ids
|
|
85
|
-
*/
|
|
86
|
-
private _getRecordingData;
|
|
87
66
|
}
|
package/app/utils/constants.d.ts
CHANGED
|
@@ -242,7 +242,6 @@ export declare class Constants {
|
|
|
242
242
|
VELT_COMMENT_DIALOG_BODY_THREAD_CARD: string;
|
|
243
243
|
VELT_COMMENT_DIALOG_PRIVATE_BANNER: string;
|
|
244
244
|
VELT_COMMENT_COMPOSER: string;
|
|
245
|
-
VELT_SKELETON_LOADER: string;
|
|
246
245
|
VELT_SHADOW_DOM_INTERNAL: string;
|
|
247
246
|
};
|
|
248
247
|
static ATTRIBUTES: {
|
package/app/utils/enums.d.ts
CHANGED
|
@@ -42,14 +42,10 @@ export declare const CommentEventTypes: {
|
|
|
42
42
|
readonly COMMENT_SIDEBAR_DATA_INIT: "commentSidebarDataInit";
|
|
43
43
|
readonly COMMENT_SIDEBAR_DATA_UPDATE: "commentSidebarDataUpdate";
|
|
44
44
|
};
|
|
45
|
-
export declare const RecorderEventTypes: {
|
|
46
|
-
readonly TRANSCRIPTION_DONE: "transcriptionDone";
|
|
47
|
-
};
|
|
48
45
|
export declare const CoreEventTypes: {
|
|
49
46
|
readonly VELT_BUTTON_CLICK: "veltButtonClick";
|
|
50
47
|
};
|
|
51
48
|
export type CommentEventType = typeof CommentEventTypes[keyof typeof CommentEventTypes];
|
|
52
|
-
export type RecorderEventType = typeof RecorderEventTypes[keyof typeof RecorderEventTypes];
|
|
53
49
|
export type CoreEventType = typeof CoreEventTypes[keyof typeof CoreEventTypes];
|
|
54
50
|
export declare enum TagStatus {
|
|
55
51
|
ADDED = "added",
|
package/models.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from './app/utils/enums';
|
|
2
2
|
export * from './app/models/data/attachment.model';
|
|
3
3
|
export * from './app/models/data/area-annotation.data.model';
|
|
4
|
-
export * from './app/models/data/arrow-annotation.data.model';
|
|
5
4
|
export * from './app/models/data/base-metadata.data.model';
|
|
6
5
|
export * from './app/models/data/button.data.model';
|
|
7
6
|
export * from './app/models/data/chatgpt.data.model';
|
|
@@ -29,14 +28,12 @@ export * from './app/models/data/localstorage.data.model';
|
|
|
29
28
|
export * from './app/models/data/location-metadata.model';
|
|
30
29
|
export * from './app/models/data/location.model';
|
|
31
30
|
export * from './app/models/data/media-preview-config.data.model';
|
|
32
|
-
export * from './app/models/data/multi-thread.data.model';
|
|
33
31
|
export * from './app/models/data/notification.model';
|
|
34
32
|
export * from './app/models/data/page-info.model';
|
|
35
33
|
export * from './app/models/data/permission.data.model';
|
|
36
34
|
export * from './app/models/data/presence-user.data.model';
|
|
37
35
|
export * from './app/models/data/recorder.model';
|
|
38
36
|
export * from './app/models/data/recorder-annotation.data.model';
|
|
39
|
-
export * from './app/models/data/recorder-events.data.model';
|
|
40
37
|
export * from './app/models/data/rewriter-annotation.data.model';
|
|
41
38
|
export * from './app/models/data/screen-size.data.model';
|
|
42
39
|
export * from './app/models/data/selection.model';
|
|
@@ -65,4 +62,3 @@ export * from './app/models/data/organization-groups.data.model';
|
|
|
65
62
|
export * from './app/models/data/organization-metadata.model';
|
|
66
63
|
export * from './app/models/data/user-organization.data.model';
|
|
67
64
|
export * from './app/models/data/event-metadata.data.model';
|
|
68
|
-
export * from './app/models/data/user-resolver.data.model';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veltdev/sdk-staging",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.4",
|
|
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": [
|