@veltdev/sdk-staging 4.0.0-beta.26 → 4.0.0-beta.27
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.
|
@@ -164,4 +164,10 @@ 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
|
+
}
|
|
167
173
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
|
-
import { RecorderData } from "../data/recorder-annotation.data.model";
|
|
3
|
+
import { RecorderData, RecorderRequestQuery, GetRecordingDataResponse } from "../data/recorder-annotation.data.model";
|
|
4
4
|
import { RecorderEventTypesMap } from "../data/recorder-events.data.model";
|
|
5
5
|
|
|
6
6
|
export declare class RecorderElement {
|
|
@@ -39,6 +39,11 @@ export declare class RecorderElement {
|
|
|
39
39
|
*/
|
|
40
40
|
public on: <T extends keyof RecorderEventTypesMap>(action: T) => Observable<RecorderEventTypesMap[T]>;
|
|
41
41
|
|
|
42
|
+
/**
|
|
43
|
+
* To get recording data by recorder ids
|
|
44
|
+
*/
|
|
45
|
+
getRecordingData: (query: RecorderRequestQuery) => Promise<GetRecordingDataResponse>;
|
|
46
|
+
|
|
42
47
|
constructor();
|
|
43
48
|
|
|
44
49
|
private _initRecording;
|
|
@@ -74,4 +79,9 @@ export declare class RecorderElement {
|
|
|
74
79
|
* Subscribe to recorder actions
|
|
75
80
|
*/
|
|
76
81
|
private _on;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* To get recording data by recorder ids
|
|
85
|
+
*/
|
|
86
|
+
private _getRecordingData;
|
|
77
87
|
}
|
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.27",
|
|
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": [
|