Skip to content

Commit a4ca4e3

Browse files
committed
fix format
1 parent 217a30d commit a4ca4e3

5 files changed

Lines changed: 7 additions & 11 deletions

File tree

.claude/settings.local.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"enableAllProjectMcpServers": false
3-
}
3+
}

packages/raga-web-app/src/components/trackTable/trackTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ import { useShallow } from "zustand/shallow";
3030

3131
import { TRACK_TABLE_HEADER_HEIGHT, TRACK_TABLE_ROW_HEIGHT } from "../../common/constants";
3232
import { ClientErrors } from "../../common/errorMessages";
33-
import { AudioFileSource, getTrackFileSource, getTrackFileType } from "../../common/trackUtils";
3433
import { stopPropagation } from "../../common/reactUtils";
3534
import { TrackPropertySortKey } from "../../common/trackPropertySortKey";
35+
import { AudioFileSource, getTrackFileSource, getTrackFileType } from "../../common/trackUtils";
3636
import { useIsTrackReadyForAnalysis } from "../../hooks/useIsTrackReadyForAnalysis";
3737
import { appStore, useAppStore } from "../../store/appStore";
3838
import type { TrackTableSortState } from "../../store/slices/trackTableSlice";

packages/raga-web-app/src/hooks/useSelectedTrackFileURL.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { useState } from "react";
22
import { Roarr as log } from "roarr";
33

4+
import { getAudioFileURL } from "../audio/buffer";
45
import { DEFAULT_AUDIO_FILES_SERVER_PORT } from "../common/constants";
56
import { isSupportedWebAudioFileFormat } from "../common/webAudioUtils";
6-
import { getAudioFileURL } from "../audio/buffer";
77
import { appStore } from "../store/appStore";
88
import { useTaskEffect } from ".";
99
import useSelectedTrackDef from "./useSelectedTrackDef";

packages/raga-web-app/src/store/slices/audioAnalyzerSlice.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { type Operation, run, useAbortSignal } from "effection";
22
import { Roarr as log } from "roarr";
33

4+
import { analyzeBPM } from "../../audio/bpm";
5+
import { loadAudioBuffer, type LoadAudioBufferOptions } from "../../audio/buffer";
46
import { withTimeout } from "../../common/asyncUtils";
57
import {
68
ANALYZE_AUDIO_FILE_TIMEOUT,
79
DEFAULT_AUDIO_FILES_SERVER_PORT,
810
} from "../../common/constants";
911
import { ClientErrors } from "../../common/errorMessages";
10-
import { analyzeBPM } from "../../audio/bpm";
11-
import { loadAudioBuffer, type LoadAudioBufferOptions } from "../../audio/buffer";
1212
import { isTrackReadyForAnalysis } from "../../hooks/useIsTrackReadyForAnalysis";
1313
import type { AppStoreGet, AppStoreSet, AppStoreSliceCreator } from "../zustandUtils";
1414

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
// Global utility types
2-
type PartialRecord<K extends keyof any, T> = {
3-
[P in K]?: T;
4-
};
2+
type PartialRecord<K extends keyof any, T> = Partial<Record<K, T>>;
53

64
// Re-export commonly used types
75
declare global {
8-
type PartialRecord<K extends keyof any, T> = {
9-
[P in K]?: T;
10-
};
6+
type PartialRecord<K extends keyof any, T> = Partial<Record<K, T>>;
117
}

0 commit comments

Comments
 (0)