@waveform-playlist/core 13.0.0-next.5 → 13.0.0-next.6
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.mts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
var MAX_CANVAS_WIDTH = 1e3;
|
|
3
3
|
|
|
4
4
|
// src/types/clip.ts
|
|
5
|
+
var TRACK_VIEW_FIELDS = [
|
|
6
|
+
"name",
|
|
7
|
+
"color",
|
|
8
|
+
"height",
|
|
9
|
+
"renderMode",
|
|
10
|
+
"spectrogramConfig",
|
|
11
|
+
"spectrogramColorMap"
|
|
12
|
+
];
|
|
5
13
|
function isLoadingClip(clip) {
|
|
6
14
|
return !("sampleRate" in clip) || clip.sampleRate == null;
|
|
7
15
|
}
|
|
@@ -1781,6 +1789,7 @@ export {
|
|
|
1781
1789
|
MIN_PIXELS_PER_UNIT,
|
|
1782
1790
|
PPQN,
|
|
1783
1791
|
SPECTROGRAM_DEFAULTS,
|
|
1792
|
+
TRACK_VIEW_FIELDS,
|
|
1784
1793
|
annotationMinDurationTicks,
|
|
1785
1794
|
appendPeaks,
|
|
1786
1795
|
appendToAudioBuffer,
|