@cliquify.me/types 4.0.16 → 4.0.18
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/dist/index.d.ts +22 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type ItemType = "text" | "image" | "video" | "audio" | "helper" | "caption" | "template" | "composition" | "illustration" | "shape" | "rect" | "progressBar" | "progressFrame" | "radialAudioBars" | "linealAudioBars" | "waveAudioBars" | "hillAudioBars";
|
|
2
|
-
export type ITrackType = "main" | "text" | "image" | "video" | "audio" | "helper" | "caption" | "template" | "composition" | "illustration" | "shape" | "rect" | "progressBar" | "progressFrame" | "radialAudioBars" | "linealAudioBars";
|
|
1
|
+
export type ItemType = "text" | "image" | "video" | "audio" | "helper" | "caption" | "template" | "composition" | "illustration" | "shape" | "rect" | "progressBar" | "progressFrame" | "progressSquare" | "radialAudioBars" | "linealAudioBars" | "waveAudioBars" | "hillAudioBars";
|
|
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
4
|
export type IKindHistory = "add" | "remove" | "update" | "replace" | "update:details" | "layer:selection" | "undo" | "design:resize" | "design:load" | "redo" | "add:transition";
|
|
5
5
|
export interface ISize {
|
|
@@ -131,7 +131,7 @@ export interface ITrackItemBase {
|
|
|
131
131
|
transition: ITransition;
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
export type ITrackItem = IAudio | IImage | IText | IVideo | ICaption | ITemplate | IComposition | IIllustration | IShape | IRect | IProgressBar | IProgressFrame | IRadialAudioBars | ILinealAudioBars | IWaveAudioBars | IHillAudioBars;
|
|
134
|
+
export type ITrackItem = IAudio | IImage | IText | IVideo | ICaption | ITemplate | IComposition | IIllustration | IShape | IRect | IProgressBar | IProgressSquare | IProgressFrame | IRadialAudioBars | ILinealAudioBars | IWaveAudioBars | IHillAudioBars;
|
|
135
135
|
export interface ICaptionWord {
|
|
136
136
|
end: number;
|
|
137
137
|
start: number;
|
|
@@ -352,6 +352,21 @@ export interface IProgressFrameDetails extends ICommonDetails {
|
|
|
352
352
|
inverted: boolean;
|
|
353
353
|
barThickness: number;
|
|
354
354
|
}
|
|
355
|
+
export interface IProgressSquareDetails extends ICommonDetails {
|
|
356
|
+
width: number;
|
|
357
|
+
height: number;
|
|
358
|
+
top: string;
|
|
359
|
+
left: string;
|
|
360
|
+
strokeColors: string[];
|
|
361
|
+
strokeWidth: number;
|
|
362
|
+
inverted: boolean;
|
|
363
|
+
strokeBackground: string;
|
|
364
|
+
flipX: boolean;
|
|
365
|
+
flipY: boolean;
|
|
366
|
+
rotate: string;
|
|
367
|
+
transform: string;
|
|
368
|
+
opacity: number;
|
|
369
|
+
}
|
|
355
370
|
export interface IRadialAudioBarsDetails extends ICommonDetails {
|
|
356
371
|
width: number;
|
|
357
372
|
height: number;
|
|
@@ -485,6 +500,10 @@ export interface IProgressBar extends ITrackItemBase {
|
|
|
485
500
|
type: "progressBar";
|
|
486
501
|
details: IProgressBarDetails;
|
|
487
502
|
}
|
|
503
|
+
export interface IProgressSquare extends ITrackItemBase {
|
|
504
|
+
type: "progressSquare";
|
|
505
|
+
details: IProgressSquareDetails;
|
|
506
|
+
}
|
|
488
507
|
export interface IProgressFrame extends ITrackItemBase {
|
|
489
508
|
type: "progressFrame";
|
|
490
509
|
details: IProgressFrameDetails;
|