@cliquify.me/types 4.0.11 → 4.0.13
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 +66 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export interface State {
|
|
|
17
17
|
};
|
|
18
18
|
acceptsMap: Record<string, string[]>;
|
|
19
19
|
}
|
|
20
|
-
export type ItemType = "text" | "image" | "video" | "audio" | "helper" | "caption" | "template" | "composition" | "illustration" | "shape" | "progressBar" | "progressFrame" | "radialAudioBars" | "linealAudioBars";
|
|
20
|
+
export type ItemType = "text" | "image" | "video" | "audio" | "helper" | "caption" | "template" | "composition" | "illustration" | "shape" | "progressBar" | "progressFrame" | "radialAudioBars" | "linealAudioBars" | "waveAudioBars" | "hillAudioBars";
|
|
21
21
|
export interface IDisplay {
|
|
22
22
|
from: number;
|
|
23
23
|
to: number;
|
|
@@ -96,6 +96,10 @@ export type ITrackItem = (ITrackItemBase & {
|
|
|
96
96
|
type: "radialAudioBars";
|
|
97
97
|
}) | (ITrackItemBase & {
|
|
98
98
|
type: "linealAudioBars";
|
|
99
|
+
}) | (ITrackItemBase & {
|
|
100
|
+
type: "waveAudioBars";
|
|
101
|
+
}) | (ITrackItemBase & {
|
|
102
|
+
type: "hillAudioBars";
|
|
99
103
|
});
|
|
100
104
|
export interface IStateManager {
|
|
101
105
|
getState(): State;
|
|
@@ -393,7 +397,7 @@ export interface ITimelineScaleState {
|
|
|
393
397
|
segments: number;
|
|
394
398
|
index: number;
|
|
395
399
|
}
|
|
396
|
-
export type IItem = IAudio | IImage | IText | IVideo | ICaption | ITemplate | IComposition | IIllustration | IShape | IProgressBar | IProgressFrame | IRadialAudioBars | ILinealAudioBars;
|
|
400
|
+
export type IItem = IAudio | IImage | IText | IVideo | ICaption | ITemplate | IComposition | IIllustration | IShape | IProgressBar | IProgressFrame | IRadialAudioBars | ILinealAudioBars | IWaveAudioBars | IHillAudioBars;
|
|
397
401
|
export interface IComposition extends ITrackItemBase {
|
|
398
402
|
type: "composition";
|
|
399
403
|
trackItemIds: string[];
|
|
@@ -449,6 +453,14 @@ export interface ILinealAudioBars extends ITrackItemBase {
|
|
|
449
453
|
type: "linealAudioBars";
|
|
450
454
|
details: ILinealAudioBarsDetails;
|
|
451
455
|
}
|
|
456
|
+
export interface IWaveAudioBars extends ITrackItemBase {
|
|
457
|
+
type: "waveAudioBars";
|
|
458
|
+
details: IWaveAudioBarsDetails;
|
|
459
|
+
}
|
|
460
|
+
export interface IHillAudioBars extends ITrackItemBase {
|
|
461
|
+
type: "hillAudioBars";
|
|
462
|
+
details: IHillAudioBarsDetails;
|
|
463
|
+
}
|
|
452
464
|
export interface IProgressBarDetails extends ICommonDetails {
|
|
453
465
|
width: number;
|
|
454
466
|
height: number;
|
|
@@ -478,6 +490,53 @@ export interface IProgressFrameDetails extends ICommonDetails {
|
|
|
478
490
|
flipX: boolean;
|
|
479
491
|
flipY: boolean;
|
|
480
492
|
inverted: boolean;
|
|
493
|
+
barThickness: number;
|
|
494
|
+
}
|
|
495
|
+
export interface IWaveAudioBarsDetails extends ICommonDetails {
|
|
496
|
+
width: number;
|
|
497
|
+
height: number;
|
|
498
|
+
top: string;
|
|
499
|
+
left: string;
|
|
500
|
+
border: string;
|
|
501
|
+
borderRadius: number;
|
|
502
|
+
borderWidth: number;
|
|
503
|
+
borderColor: string;
|
|
504
|
+
opacity: number;
|
|
505
|
+
flipX: boolean;
|
|
506
|
+
flipY: boolean;
|
|
507
|
+
srcs: string[];
|
|
508
|
+
reproduceAudio: boolean;
|
|
509
|
+
radialBarColor: string;
|
|
510
|
+
audioDatas: any[];
|
|
511
|
+
offsetPixelSpeed: number;
|
|
512
|
+
lineColor: string | string[];
|
|
513
|
+
lineGap: number;
|
|
514
|
+
topRoundness: number;
|
|
515
|
+
bottomRoundness: number;
|
|
516
|
+
lines: number;
|
|
517
|
+
sections: number;
|
|
518
|
+
}
|
|
519
|
+
export interface IHillAudioBarsDetails extends ICommonDetails {
|
|
520
|
+
width: number;
|
|
521
|
+
height: number;
|
|
522
|
+
top: string;
|
|
523
|
+
left: string;
|
|
524
|
+
border: string;
|
|
525
|
+
borderRadius: number;
|
|
526
|
+
borderWidth: number;
|
|
527
|
+
borderColor: string;
|
|
528
|
+
opacity: number;
|
|
529
|
+
flipX: boolean;
|
|
530
|
+
flipY: boolean;
|
|
531
|
+
srcs: string[];
|
|
532
|
+
reproduceAudio: boolean;
|
|
533
|
+
radialBarColor: string;
|
|
534
|
+
audioDatas: any[];
|
|
535
|
+
strokeColor: string;
|
|
536
|
+
fillColor: string | null;
|
|
537
|
+
strokeWidth: number | null;
|
|
538
|
+
copies: number | null;
|
|
539
|
+
blendMode: string | null;
|
|
481
540
|
}
|
|
482
541
|
export interface IRadialAudioBarsDetails extends ICommonDetails {
|
|
483
542
|
width: number;
|
|
@@ -513,6 +572,10 @@ export interface ILinealAudioBarsDetails extends ICommonDetails {
|
|
|
513
572
|
audioDatas: any[];
|
|
514
573
|
linealBarColor: string;
|
|
515
574
|
backgroundColor: string;
|
|
575
|
+
lineThickness: number;
|
|
576
|
+
gapSize: number;
|
|
577
|
+
roundness: number;
|
|
578
|
+
placement: string | null;
|
|
516
579
|
}
|
|
517
580
|
export interface IShape extends ITrackItemBase {
|
|
518
581
|
type: "shape";
|
|
@@ -547,7 +610,7 @@ export interface ITrack {
|
|
|
547
610
|
}
|
|
548
611
|
export type ITrackItemAndDetails = ITrackItem & IItem;
|
|
549
612
|
export type IRecordItemAndDetails = Record<string, ITrackItem & IItem>;
|
|
550
|
-
export type ITrackType = "main" | "text" | "image" | "video" | "audio" | "helper" | "caption" | "template" | "composition" | "illustration" | "shape" | "progressBar" | "progressFrame" | "radialAudioBars" | "linealAudioBars";
|
|
613
|
+
export type ITrackType = "main" | "text" | "image" | "video" | "audio" | "helper" | "caption" | "template" | "composition" | "illustration" | "shape" | "progressBar" | "progressFrame" | "radialAudioBars" | "linealAudioBars" | "waveAudioBars" | 'hillAudioBars';
|
|
551
614
|
export interface ITimelineScrollState {
|
|
552
615
|
/**
|
|
553
616
|
* Timeline scroll state by X-axis.
|