@veltdev/types-dev 4.0.0-beta.125 → 4.0.0-beta.126

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.
@@ -277,10 +277,10 @@ export declare class Snippyly {
277
277
  /**
278
278
  * To set the ui state.
279
279
  */
280
- setUiState: (uiState: { [key: string]: any }) => void;
280
+ setUiState: <T extends object>(uiState: T) => void;
281
281
 
282
282
  /**
283
283
  * To get the ui state.
284
284
  */
285
- getUiState: () => Observable<{ [key: string]: any }>;
285
+ getUiState: <T extends object>() => Observable<T>;
286
286
  }
@@ -1,15 +1,7 @@
1
1
  import { RecorderEventTypes } from "../../utils/enums";
2
+ import { RecorderData } from "./recorder-annotation.data.model";
2
3
  export interface TranscriptionDoneEvent {
3
- transcription: string;
4
- id?: string;
5
- tag?: string;
6
- type?: string;
7
- thumbnailUrl?: string;
8
- thumbnailWithPlayIconUrl?: string;
9
- videoUrl?: string;
10
- audioUrl?: string;
11
- videoPlayerUrl?: string;
12
- getThumbnailTag?: (url?: string) => string;
4
+ data: Record<string, RecorderData> | null;
13
5
  }
14
6
  export type RecorderEventTypesMap = {
15
7
  [RecorderEventTypes.TRANSCRIPTION_DONE]: TranscriptionDoneEvent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "4.0.0-beta.125",
3
+ "version": "4.0.0-beta.126",
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": [