@veltdev/types-dev 4.3.0-beta.15 → 4.3.0-beta.17

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.
@@ -197,6 +197,8 @@ declare class RecorderDataAsset {
197
197
  thumbnailUrl?: string;
198
198
  }
199
199
  export declare class RecorderData {
200
+ recorderId: string;
201
+ metadata?: RecorderMetadata;
200
202
  assets: RecorderDataAsset[];
201
203
  transcription: RecorderDataTranscription;
202
204
  }
@@ -206,11 +208,6 @@ export interface RecorderRequestQuery {
206
208
  export interface GetRecordingDataResponse {
207
209
  data: Record<string, RecorderData> | null;
208
210
  }
209
- export interface GetRecordingsResponse {
210
- data: Record<string, RecorderAnnotationData> | null;
211
- }
212
- export declare class RecorderAnnotationData extends RecorderAnnotation {
213
- transcriptionData: RecorderDataTranscription;
214
- assets: RecorderDataAsset[];
211
+ export interface GetRecordingsResponse extends RecorderData {
215
212
  }
216
213
  export {};
@@ -1,14 +1,10 @@
1
- import { RecordedData } from "../../models/data/recorder.model";
2
- import { RecorderAnnotation, RecorderData } from "../../models/data/recorder-annotation.data.model";
1
+ import { RecorderData } from "../../models/data/recorder-annotation.data.model";
3
2
  import { RecorderEventTypes } from "../../utils/enums";
4
- export interface TranscriptionDoneEvent {
5
- data: Record<string, RecorderData> | null;
3
+ export interface TranscriptionDoneEvent extends RecorderData {
6
4
  }
7
- export interface RecordingDoneEvent {
8
- data: Record<string, RecordedData> | null;
5
+ export interface RecordingDoneEvent extends RecorderData {
9
6
  }
10
- export interface RecordingDeleteEvent {
11
- data: Record<string, RecorderAnnotation> | null;
7
+ export interface RecordingDeleteEvent extends RecorderData {
12
8
  }
13
9
  export type RecorderEventTypesMap = {
14
10
  [RecorderEventTypes.TRANSCRIPTION_DONE]: TranscriptionDoneEvent;
@@ -2,6 +2,7 @@
2
2
  import { Observable } from "rxjs";
3
3
  import { RecorderData, RecorderRequestQuery, GetRecordingDataResponse, GetRecordingsResponse } from "../data/recorder-annotation.data.model";
4
4
  import { RecorderEventTypesMap } from "../data/recorder-events.data.model";
5
+ import { RecordedData } from "../data/recorder.model";
5
6
 
6
7
  export declare class RecorderElement {
7
8
 
@@ -10,7 +11,7 @@ export declare class RecorderElement {
10
11
  /**
11
12
  * @deprecated Use on('recordingDone') method instead
12
13
  */
13
- onRecordedData: () => Observable<any>;
14
+ onRecordedData: () => Observable<RecordedData | null>;
14
15
 
15
16
  /**
16
17
  * To enable recording countdown
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "4.3.0-beta.15",
3
+ "version": "4.3.0-beta.17",
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": [