@cliquify.me/types 5.0.8 → 5.0.10

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +7 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export type ItemType = "text" | "image" | "video" | "audio" | "helper" | "caption" | "template" | "composition" | "illustration" | "shape" | "rect" | "progressBar" | "progressFrame" | "progressSquare" | "radialAudioBars" | "linealAudioBars" | "waveAudioBars" | "hillAudioBars";
2
2
  export type ITrackType = "main" | "text" | "image" | "video" | "audio" | "helper" | "caption" | "template" | "composition" | "illustration" | "shape" | "rect" | "progressBar" | "progressSquare" | "progressFrame" | "radialAudioBars" | "linealAudioBars";
3
3
  export type ITransitionType = "none" | "fade" | "slide" | "wipe" | "flip" | "clockWipe" | "star" | "circle" | "rectangle" | "slidingDoors";
4
- export type IKindHistory = "add" | "remove" | "update" | "replace" | "update:details" | "layer:selection" | "undo" | "design:resize" | "design:load" | "redo" | "add:transition";
4
+ export type IKindHistory = "add" | "remove" | "update" | "replace" | "update:details" | "layer:selection" | "undo" | "design:resize" | "design:load" | "redo" | "add:transition" | "edit:track";
5
5
  export interface ISize {
6
6
  width: number;
7
7
  height: number;
@@ -63,6 +63,7 @@ export interface ITrack {
63
63
  id: string;
64
64
  type: ITrackType;
65
65
  items: string[];
66
+ muted: boolean;
66
67
  metadata?: Partial<IMetadata>;
67
68
  accepts?: string[];
68
69
  index?: number;
@@ -596,6 +597,11 @@ export interface IStateManager {
596
597
  subscribeToDuration: (callback: (duration: {
597
598
  duration: State["duration"];
598
599
  }) => void) => void;
600
+ subscribeToUpdateTracks: (callback: (tracksUpdate: {
601
+ tracks: State["tracks"];
602
+ duration: State["duration"];
603
+ trackItemsMap: State["trackItemsMap"];
604
+ }) => void) => void;
599
605
  subscribeToActiveIds: (callback: (activeIds: {
600
606
  activeIds: State["activeIds"];
601
607
  }) => void) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cliquify.me/types",
3
- "version": "5.0.8",
3
+ "version": "5.0.10",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"