@cliquify.me/types 6.0.1 → 6.0.2

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/package.json +11 -4
  2. package/src/index.ts +0 -857
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cliquify.me/types",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -8,9 +8,16 @@
8
8
  "files": [
9
9
  "dist"
10
10
  ],
11
- "main": "src/index.ts",
12
- "module": "src/index.ts",
13
- "types": "src/index.ts",
11
+ "main": "dist/index.umd.js",
12
+ "module": "dist/index.es.js",
13
+ "types": "dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/index.es.js",
17
+ "require": "./dist/index.umd.js",
18
+ "types": "./dist/index.d.ts"
19
+ }
20
+ },
14
21
  "devDependencies": {
15
22
  "@types/node": "^20.11.24",
16
23
  "typescript": "5.4.5",
package/src/index.ts DELETED
@@ -1,857 +0,0 @@
1
- // ============================================================================
2
- // BASIC TYPES AND ENUMS
3
- // ============================================================================
4
-
5
- export type ItemType =
6
- | "text"
7
- | "image"
8
- | "video"
9
- | "audio"
10
- | "helper"
11
- | "caption"
12
- | "template"
13
- | "composition"
14
- | "illustration"
15
- | "shape"
16
- | "rect"
17
- | "progressBar"
18
- | "progressFrame"
19
- | "progressSquare"
20
- | "radialAudioBars"
21
- | "linealAudioBars"
22
- | "waveAudioBars"
23
- | "hillAudioBars";
24
-
25
- export type ITrackType =
26
- | "main"
27
- | "text"
28
- | "image"
29
- | "video"
30
- | "audio"
31
- | "helper"
32
- | "caption"
33
- | "template"
34
- | "composition"
35
- | "illustration"
36
- | "shape"
37
- | "rect"
38
- | "progressBar"
39
- | "progressSquare"
40
- | "progressFrame"
41
- | "radialAudioBars"
42
- | "linealAudioBars";
43
-
44
- export type ITransitionType =
45
- | "none"
46
- | "fade"
47
- | "slide"
48
- | "wipe"
49
- | "flip"
50
- | "clockWipe"
51
- | "star"
52
- | "circle"
53
- | "rectangle"
54
- | "slidingDoors";
55
-
56
- export type IKindHistory =
57
- | "add"
58
- | "remove"
59
- | "update"
60
- | "replace"
61
- | "update:details"
62
- | "layer:selection"
63
- | "undo"
64
- | "design:resize"
65
- | "design:load"
66
- | "redo"
67
- | "add:transition"
68
- | "edit:track";
69
-
70
- // ============================================================================
71
- // CORE INTERFACES
72
- // ============================================================================
73
-
74
- export interface ISize {
75
- width: number;
76
- height: number;
77
- type?: string;
78
- name?: string;
79
- }
80
-
81
- export interface IDisplay {
82
- from: number;
83
- to: number;
84
- }
85
-
86
- export interface ITrim {
87
- from: number;
88
- to: number;
89
- }
90
-
91
- export interface IBoxShadow {
92
- color: string;
93
- x: number;
94
- y: number;
95
- blur: number;
96
- }
97
-
98
- export interface IMetadata {
99
- resourceId: string;
100
- order: number;
101
- }
102
-
103
- // ============================================================================
104
- // ANIMATION TYPES
105
- // ============================================================================
106
-
107
- export interface IBasicAnimation {
108
- name: string;
109
- composition: ICompositionAnimation[];
110
- }
111
-
112
- export interface ICompositionAnimation {
113
- property: string;
114
- from: number;
115
- to: number;
116
- durationInFrames: number;
117
- ease?: (t: number) => number;
118
- easing: string;
119
- delay: number;
120
- details?: {
121
- fonts: {
122
- fontFamily: string;
123
- url: string;
124
- }[];
125
- };
126
- text?: string;
127
- persist?: boolean;
128
- }
129
-
130
- // ============================================================================
131
- // TRANSITION TYPES
132
- // ============================================================================
133
-
134
- export interface ITransition {
135
- id: string;
136
- trackId: string;
137
- fromId: string;
138
- toId: string;
139
- type: string;
140
- name?: string;
141
- duration: number;
142
- preview?: string;
143
- direction?: any;
144
- kind: string;
145
- }
146
-
147
- // ============================================================================
148
- // TRACK AND TIMELINE TYPES
149
- // ============================================================================
150
-
151
- export interface ITrack {
152
- id: string;
153
- type: ITrackType;
154
- items: string[];
155
- muted: boolean;
156
- metadata?: Partial<IMetadata>;
157
- accepts?: string[];
158
- index?: number;
159
- magnetic?: boolean;
160
- static?: boolean;
161
- }
162
-
163
- export interface ITimelineScaleState {
164
- unit: number;
165
- zoom: number;
166
- segments: number;
167
- index: number;
168
- }
169
-
170
- export interface ITimelineScrollState {
171
- /**
172
- * Timeline scroll state by X-axis.
173
- */
174
- left: number;
175
-
176
- /**
177
- * Timeline scroll state by Y-axis.
178
- */
179
- top: number;
180
- }
181
-
182
- export interface CanvasSpacing {
183
- left: number;
184
- right: number;
185
- }
186
-
187
- export interface ItemStructure {
188
- id: string;
189
- items: string[];
190
- transitions: string[];
191
- tracks: ITrack[];
192
- }
193
-
194
- // ============================================================================
195
- // COMMON DETAILS INTERFACE
196
- // ============================================================================
197
-
198
- interface ICommonDetails {
199
- width?: number;
200
- height?: number;
201
- transform?: string;
202
- opacity?: number;
203
- border?: string;
204
- borderRadius?: number;
205
- boxShadow?: IBoxShadow;
206
- top?: number | string;
207
- left?: number | string;
208
- borderColor?: string;
209
- borderWidth?: number;
210
- }
211
-
212
- // ============================================================================
213
- // TRACK ITEM BASE AND TYPES
214
- // ============================================================================
215
-
216
- export interface ITrackItemBase {
217
- id: string;
218
- name: string;
219
- type: ItemType;
220
- preview?: string;
221
- display: IDisplay;
222
- duration?: number;
223
- trim?: ITrim;
224
- isMain?: boolean;
225
- animations?: {
226
- in: IBasicAnimation;
227
- out: IBasicAnimation;
228
- loop: IBasicAnimation;
229
- timed: IBasicAnimation;
230
- };
231
- playbackRate?: number;
232
- modifier?: IDisplay;
233
- details?: any;
234
- activeEdit?: boolean;
235
- metadata: Record<string, any>;
236
- transitionInfo?: {
237
- isFrom: boolean;
238
- isTo: boolean;
239
- transition: ITransition;
240
- };
241
- }
242
-
243
- export type ITrackItem =
244
- | IAudio
245
- | IImage
246
- | IText
247
- | IVideo
248
- | ICaption
249
- | ITemplate
250
- | IComposition
251
- | IIllustration
252
- | IShape
253
- | IRect
254
- | IProgressBar
255
- | IProgressSquare
256
- | IProgressFrame
257
- | IRadialAudioBars
258
- | ILinealAudioBars
259
- | IWaveAudioBars
260
- | IHillAudioBars;
261
-
262
- // ============================================================================
263
- // DETAILS INTERFACES
264
- // ============================================================================
265
-
266
- export interface ICaptionWord {
267
- end: number;
268
- start: number;
269
- word: string;
270
- }
271
-
272
- export interface ICaptionDetails extends ICommonDetails {
273
- skewX: number;
274
- skewY: number;
275
- text: string;
276
- fontSize: number;
277
- fontFamily: string;
278
- fontUrl: string;
279
- color: string;
280
- lineHeight: number | string;
281
- letterSpacing: number | string;
282
- fontWeight: number;
283
- fontStyle: string;
284
- textDecoration: string;
285
- textAlign: "center" | "left" | "right";
286
- wordSpacing: number | string;
287
- textShadow: string;
288
- backgroundColor: string;
289
- opacity: number;
290
- width: number;
291
- height: number;
292
- top: number | string;
293
- left: number | string;
294
- border: string;
295
- wordWrap: "normal" | "break-word";
296
- wordBreak: "normal" | "break-word" | "break-all";
297
- WebkitTextStrokeColor: string;
298
- WebkitTextStrokeWidth: string;
299
- borderWidth: number;
300
- borderColor: string;
301
- boxShadow: { color: string; x: number; y: number; blur: number };
302
- textTransform: "capitalize" | "uppercase" | "lowercase";
303
- words: ICaptionWord[];
304
- appearedColor?: string;
305
- activeColor?: string;
306
- activeFillColor?: string;
307
- animation?: string;
308
- isKeywordColor?: string;
309
- preservedColorKeyWord?: boolean;
310
- linesPerCaption?: number;
311
- wordsPerLine?: string;
312
- showObject?: string;
313
- }
314
-
315
- export interface ITextDetails extends ICommonDetails {
316
- skewX: number;
317
- skewY: number;
318
- text: string;
319
- fontSize: number;
320
- fontFamily: string;
321
- fontUrl: string;
322
- color: string;
323
- lineHeight: number | string;
324
- letterSpacing: number | string;
325
- fontWeight: number;
326
- fontStyle: string;
327
- textDecoration: string;
328
- textAlign: "center" | "left" | "right";
329
- wordSpacing: number | string;
330
- textShadow: string;
331
- backgroundColor: string;
332
- opacity: number;
333
- width: number;
334
- textTransform: "capitalize" | "uppercase" | "lowercase";
335
- height: number;
336
- top: number | string;
337
- left: number | string;
338
- border: string;
339
- wordWrap: "normal" | "break-word";
340
- wordBreak: "normal" | "break-word" | "break-all";
341
- WebkitTextStrokeColor: string;
342
- WebkitTextStrokeWidth: string;
343
- borderWidth: number;
344
- borderColor: string;
345
- boxShadow: { color: string; x: number; y: number; blur: number };
346
- }
347
-
348
- export interface IImageDetails extends ICommonDetails {
349
- src: string;
350
- background: string;
351
- width: number;
352
- height: number;
353
- opacity: number;
354
- transform: string;
355
- border: string;
356
- borderRadius: number;
357
- boxShadow: IBoxShadow;
358
- top: string;
359
- left: string;
360
- transformOrigin: string;
361
- crop: {
362
- x: number;
363
- y: number;
364
- width: number;
365
- height: number;
366
- };
367
- blur: number;
368
- brightness: number;
369
- flipX: boolean;
370
- flipY: boolean;
371
- rotate: string;
372
- visibility: "visible" | "hidden";
373
- }
374
-
375
- export interface IVideoDetails extends ICommonDetails {
376
- src: string;
377
- frames?: number;
378
- background?: string;
379
- stream?: ReadableStream<Uint8Array>;
380
- blob?: Blob;
381
- width: number;
382
- height: number;
383
- volume?: number;
384
- boxShadow?: IBoxShadow;
385
- transformOrigin?: string;
386
- crop?: {
387
- x: number;
388
- y: number;
389
- width: number;
390
- height: number;
391
- };
392
- blur: number;
393
- brightness: number;
394
- flipX: boolean;
395
- flipY: boolean;
396
- rotate: string;
397
- visibility: "visible" | "hidden";
398
- }
399
-
400
- export interface IAudioDetails extends ICommonDetails {
401
- src: string;
402
- volume?: number;
403
- }
404
-
405
- export interface IIllustrationDetails extends ICommonDetails {
406
- path: string;
407
- src: string;
408
- width: number;
409
- height: number;
410
- opacity: number;
411
- transform: string;
412
- border: string;
413
- top: string;
414
- left: string;
415
- flipX: boolean;
416
- flipY: boolean;
417
- rotate: string;
418
- svgString: string;
419
- initialSvgString: string;
420
- visibility: "visible" | "hidden";
421
- colorMap: Record<string, string>;
422
- }
423
-
424
- export interface IShapeDetails extends ICommonDetails {
425
- path: string;
426
- src: string;
427
- width: number;
428
- height: number;
429
- opacity: number;
430
- transform: string;
431
- border: string;
432
- top: string;
433
- left: string;
434
- flipX: boolean;
435
- flipY: boolean;
436
- rotate: string;
437
- visibility: "visible" | "hidden";
438
- backgroundColor: string;
439
- }
440
-
441
- export interface IRectDetails extends ICommonDetails {
442
- width: number;
443
- height: number;
444
- opacity: number;
445
- transform: string;
446
- border: string;
447
- top: string;
448
- left: string;
449
- flipX: boolean;
450
- flipY: boolean;
451
- rotate: string;
452
- visibility: "visible" | "hidden";
453
- backgroundColor: string;
454
- boxShadow: IBoxShadow;
455
- blur: number;
456
- brightness: number;
457
- }
458
-
459
- export interface IProgressBarDetails extends ICommonDetails {
460
- width: number;
461
- height: number;
462
- top: string;
463
- left: string;
464
- backgroundColors: string[];
465
- border: string;
466
- borderRadius: number;
467
- borderWidth: number;
468
- borderColor: string;
469
- opacity: number;
470
- flipX: boolean;
471
- flipY: boolean;
472
- inverted: boolean;
473
- }
474
-
475
- export interface IProgressFrameDetails extends ICommonDetails {
476
- width: number;
477
- height: number;
478
- top: string;
479
- left: string;
480
- backgroundColors: string[];
481
- border: string;
482
- borderRadius: number;
483
- borderWidth: number;
484
- borderColor: string;
485
- opacity: number;
486
- flipX: boolean;
487
- flipY: boolean;
488
- inverted: boolean;
489
- barThickness: number;
490
- }
491
-
492
- export interface IProgressSquareDetails extends ICommonDetails {
493
- width: number;
494
- height: number;
495
- top: string;
496
- left: string;
497
- strokeColors: string[];
498
- strokeWidth: number;
499
- inverted: boolean;
500
- strokeBackground: string;
501
- flipX: boolean;
502
- flipY: boolean;
503
- rotate: string;
504
- transform: string;
505
- opacity: number;
506
- }
507
-
508
- export interface IRadialAudioBarsDetails extends ICommonDetails {
509
- width: number;
510
- height: number;
511
- top: string;
512
- left: string;
513
- border: string;
514
- borderRadius: number;
515
- borderWidth: number;
516
- borderColor: string;
517
- opacity: number;
518
- flipX: boolean;
519
- flipY: boolean;
520
- srcs: string[];
521
- reproduceAudio: boolean;
522
- radialBarColor: string;
523
- audioDatas: any[];
524
- }
525
-
526
- export interface ILinealAudioBarsDetails extends ICommonDetails {
527
- width: number;
528
- height: number;
529
- top: string;
530
- left: string;
531
- border: string;
532
- borderRadius: number;
533
- borderWidth: number;
534
- borderColor: string;
535
- opacity: number;
536
- flipX: boolean;
537
- flipY: boolean;
538
- srcs: string[];
539
- reproduceAudio: boolean;
540
- audioDatas: any[];
541
- linealBarColor: string;
542
- backgroundColor: string;
543
- lineThickness: number;
544
- gapSize: number;
545
- roundness: number;
546
- placement: string | null;
547
- inverted: boolean;
548
- strokeColor: string;
549
- fillColor: string | null;
550
- strokeWidth: number | null;
551
- copies: number | null;
552
- offsetPixelSpeed: number;
553
- lineColor: string | string[];
554
- lineGap: number;
555
- topRoundness: number;
556
- bottomRoundness: number;
557
- lines: number;
558
- sections: number;
559
- }
560
-
561
- export interface IWaveAudioBarsDetails extends ICommonDetails {
562
- width: number;
563
- height: number;
564
- top: string;
565
- left: string;
566
- border: string;
567
- borderRadius: number;
568
- borderWidth: number;
569
- borderColor: string;
570
- opacity: number;
571
- flipX: boolean;
572
- flipY: boolean;
573
- srcs: string[];
574
- reproduceAudio: boolean;
575
- radialBarColor: string;
576
- audioDatas: any[];
577
- offsetPixelSpeed: number;
578
- lineColor: string | string[];
579
- lineGap: number;
580
- topRoundness: number;
581
- bottomRoundness: number;
582
- lines: number;
583
- sections: number;
584
- }
585
-
586
- export interface IHillAudioBarsDetails extends ICommonDetails {
587
- width: number;
588
- height: number;
589
- top: string;
590
- left: string;
591
- border: string;
592
- borderRadius: number;
593
- borderWidth: number;
594
- borderColor: string;
595
- opacity: number;
596
- flipX: boolean;
597
- flipY: boolean;
598
- srcs: string[];
599
- reproduceAudio: boolean;
600
- radialBarColor: string;
601
- audioDatas: any[];
602
- strokeColor: string;
603
- fillColor: string | null;
604
- strokeWidth: number | null;
605
- copies: number | null;
606
- blendMode: string | null;
607
- }
608
-
609
- // ============================================================================
610
- // TRACK ITEM INTERFACES
611
- // ============================================================================
612
-
613
- export interface IText extends ITrackItemBase {
614
- type: "text";
615
- details: ITextDetails;
616
- }
617
-
618
- export interface ICaption extends ITrackItemBase {
619
- type: "caption";
620
- details: ICaptionDetails;
621
- }
622
-
623
- export interface IImage extends ITrackItemBase {
624
- type: "image";
625
- details: IImageDetails;
626
- }
627
-
628
- export interface IVideo extends ITrackItemBase {
629
- type: "video";
630
- details: IVideoDetails;
631
- }
632
-
633
- export interface IAudio extends ITrackItemBase {
634
- type: "audio";
635
- details: IAudioDetails;
636
- }
637
-
638
- export interface IIllustration extends ITrackItemBase {
639
- type: "illustration";
640
- details: IIllustrationDetails;
641
- }
642
-
643
- export interface IShape extends ITrackItemBase {
644
- type: "shape";
645
- details: IShapeDetails;
646
- }
647
-
648
- export interface IRect extends ITrackItemBase {
649
- type: "rect";
650
- details: IRectDetails;
651
- }
652
-
653
- export interface IProgressBar extends ITrackItemBase {
654
- type: "progressBar";
655
- details: IProgressBarDetails;
656
- }
657
-
658
- export interface IProgressSquare extends ITrackItemBase {
659
- type: "progressSquare";
660
- details: IProgressSquareDetails;
661
- }
662
-
663
- export interface IProgressFrame extends ITrackItemBase {
664
- type: "progressFrame";
665
- details: IProgressFrameDetails;
666
- }
667
-
668
- export interface IRadialAudioBars extends ITrackItemBase {
669
- type: "radialAudioBars";
670
- details: IRadialAudioBarsDetails;
671
- }
672
-
673
- export interface ILinealAudioBars extends ITrackItemBase {
674
- type: "linealAudioBars";
675
- details: ILinealAudioBarsDetails;
676
- }
677
-
678
- export interface IWaveAudioBars extends ITrackItemBase {
679
- type: "waveAudioBars";
680
- details: IWaveAudioBarsDetails;
681
- }
682
-
683
- export interface IHillAudioBars extends ITrackItemBase {
684
- type: "hillAudioBars";
685
- details: IHillAudioBarsDetails;
686
- }
687
-
688
- export interface IComposition extends ITrackItemBase {
689
- type: "composition";
690
- trackItemIds: string[];
691
- trackItemsMap: Record<string, ITrackItem>;
692
- tracks: ITrack[];
693
- size: ISize;
694
- }
695
-
696
- export interface ITemplate extends ITrackItemBase {
697
- type: "template";
698
- trackItemIds: string[];
699
- trackItemsMap: Record<string, ITrackItem>;
700
- transitionsMap: Record<string, ITransition>;
701
- transitionIds: string[];
702
- size: ISize;
703
- tracks: ITrack[];
704
- structure: ItemStructure[];
705
- }
706
-
707
- // ============================================================================
708
- // STATE AND DESIGN INTERFACES
709
- // ============================================================================
710
-
711
- export interface State {
712
- tracks: ITrack[];
713
- trackItemIds: string[];
714
- trackItemsMap: Record<string, ITrackItem>;
715
- transitionIds: string[];
716
- transitionsMap: Record<string, ITransition>;
717
- scale: ITimelineScaleState;
718
- duration: number;
719
- activeIds: string[];
720
- size: ISize;
721
- structure: ItemStructure[];
722
- fps: number;
723
- background: {
724
- type: "color" | "image";
725
- value: string;
726
- };
727
- }
728
-
729
- export interface IDesign {
730
- id: string | number;
731
- size: ISize;
732
- duration?: number;
733
- fps: number; // frames per second
734
- tracks: ITrack[];
735
- trackItemIds: string[];
736
- trackItemsMap: Record<string, ITrackItem>;
737
- transitionIds: string[];
738
- transitionsMap: Record<string, ITransition>;
739
- structure?: ItemStructure[];
740
- background?: {
741
- type: "color" | "image";
742
- value: string;
743
- };
744
- }
745
-
746
- // ============================================================================
747
- // STATE MANAGEMENT INTERFACES
748
- // ============================================================================
749
-
750
- export interface IUpdateStateOptions {
751
- updateHistory?: boolean;
752
- kind?: IKindHistory;
753
- }
754
-
755
- export interface IStateManager {
756
- getState(): State;
757
- subscribe(callback: (state: State) => void): void;
758
- updateState(
759
- partialState: Partial<State>,
760
- updateHistory?: IUpdateStateOptions
761
- ): void;
762
- subscribeToScale: (callback: (v: { scale: State["scale"] }) => void) => void;
763
- subscribeToDuration: (
764
- callback: (duration: { duration: State["duration"] }) => void
765
- ) => void;
766
- subscribeToUpdateTracks: (
767
- callback: (tracksUpdate: {
768
- tracks: State["tracks"];
769
- duration: State["duration"];
770
- trackItemsMap: State["trackItemsMap"];
771
- }) => void
772
- ) => void;
773
- subscribeToActiveIds: (
774
- callback: (activeIds: { activeIds: State["activeIds"] }) => void
775
- ) => void;
776
- subscribeToAddOrRemoveItems: (
777
- callback: (trackItemIds: { trackItemIds: State["trackItemIds"] }) => void
778
- ) => void;
779
- subscribeToHistory: (
780
- callback: (history: {
781
- tracks: State["tracks"];
782
- trackItemsMap: State["trackItemsMap"];
783
- trackItemIds: State["trackItemIds"];
784
- transitionIds: State["transitionIds"];
785
- transitionsMap: State["transitionsMap"];
786
- }) => void
787
- ) => void;
788
- subscribeToUpdateTrackItem: (
789
- callback: (trackItemUpdate: {
790
- trackItemsMap: State["trackItemsMap"];
791
- }) => void
792
- ) => void;
793
- subscribeToUpdateItemDetails: (
794
- callback: (trackItemUpdate: {
795
- trackItemsMap: State["trackItemsMap"];
796
- }) => void
797
- ) => void;
798
-
799
- subscribeToUpdateTrackItemTiming: (
800
- callback: (trackItemUpdate: {
801
- trackItemsMap: State["trackItemsMap"];
802
- changedTrimIds?: string[];
803
- changedDisplayIds?: string[];
804
- }) => void
805
- ) => void;
806
-
807
- subscribeToFps: (callback: (fps: { fps: State["fps"] }) => void) => void;
808
-
809
- subscribeToUpdateAnimations: (
810
- callback: (trackItemUpdate: {
811
- trackItemsMap: State["trackItemsMap"];
812
- changedAnimationIds?: string[];
813
- }) => void
814
- ) => void;
815
-
816
- subscribeToTracks: (
817
- callback: (tracksUpdate: {
818
- tracks: State["tracks"];
819
- changedTracks: string[];
820
- }) => void
821
- ) => void;
822
-
823
- subscribeToState: (
824
- callback: (tracksInfo: {
825
- tracks: State["tracks"];
826
- trackItemIds: State["trackItemIds"];
827
- trackItemsMap: State["trackItemsMap"];
828
- transitionIds: State["transitionIds"];
829
- transitionsMap: State["transitionsMap"];
830
- structure: State["structure"];
831
- }) => void
832
- ) => void;
833
- }
834
-
835
- // ============================================================================
836
- // UTILITY TYPES AND MAPS
837
- // ============================================================================
838
-
839
- export interface ITrackItemsMap {
840
- [id: string]: ITrackItem;
841
- }
842
-
843
- export interface IItemsDetailsMap {
844
- [id: string]: ITrackItem;
845
- }
846
-
847
- export interface ItransitionsMap {
848
- [id: string]: ITransition;
849
- }
850
-
851
- export type ITrackItemAndDetails = ITrackItem;
852
- export type IRecordItemAndDetails = Record<string, ITrackItem>;
853
-
854
- export interface IBulkAction {
855
- type: string;
856
- payload?: any;
857
- }