Skip to content
This repository was archived by the owner on May 3, 2025. It is now read-only.

Commit 95d9419

Browse files
refactor: auto-fix sort-exports errors
1 parent 8bdd7d8 commit 95d9419

File tree

9 files changed

+19
-19
lines changed

9 files changed

+19
-19
lines changed

src/components/files/file-select-menu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,5 +198,5 @@ const getEmptyStateCta = (
198198
);
199199
};
200200

201-
export type { FileSelectMenuProps, FileSelectMenuFilters };
202-
export { FileSelectMenu, defaultFilters };
201+
export type { FileSelectMenuFilters, FileSelectMenuProps };
202+
export { defaultFilters, FileSelectMenu };

src/components/markdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,5 +160,5 @@ const Markdown: React.FC<MarkdownProps> = (props: MarkdownProps) => {
160160
);
161161
};
162162

163-
export type { MarkdownProps, MarkdownComponentMap };
163+
export type { MarkdownComponentMap, MarkdownProps };
164164
export { defaultComponents, Markdown };

src/components/piano-roll/piano-roll-randomizer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,5 +272,5 @@ const PianoRollRandomizer: React.FC<PianoRollRandomizerProps> = (
272272
);
273273
};
274274

275-
export type { PianoRollRandomizerSettings, PianoRollRandomizerProps };
275+
export type { PianoRollRandomizerProps, PianoRollRandomizerSettings };
276276
export { PianoRollRandomizer };

src/utils/analytics-utils.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ const _trackProjectSaved = (
119119

120120
export {
121121
identifyUser,
122+
trackFeedbackSubmitted,
123+
trackLoginFailed,
122124
trackPage,
125+
trackPasswordResetRequested,
126+
trackProjectCreated,
123127
trackProjectSavedFromFileMenu,
124-
trackFeedbackSubmitted,
125128
trackProjectSavedFromKeyboardShortcut,
126-
trackPasswordResetRequested,
129+
trackProjectSyncFailed,
127130
trackUserCreated,
128-
trackLoginFailed,
129131
trackUserCreationAttempted,
130-
trackProjectCreated,
131-
trackProjectSyncFailed,
132132
};

src/utils/core-utils.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,16 +150,16 @@ const unixTime = (date?: Date): number =>
150150
Math.floor((date?.getTime() ?? new Date().getTime()) / 1000);
151151

152152
export {
153-
partitionValueToArray,
154-
getBorderYProps,
155153
getBorderXProps,
154+
getBorderYProps,
156155
isEqual,
157156
isInstanceOf,
158157
isNilOrEmpty,
159-
pick,
160158
isNotNilOrEmpty,
161159
makeDefaultValues,
160+
partitionValueToArray,
161+
pick,
162162
randomInt,
163-
unixTime,
164163
toList,
164+
unixTime,
165165
};

src/utils/env.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ const isDevelopment = () => env.NODE_ENV === "development";
4141
export type { Environment };
4242
export {
4343
env,
44-
isDevelopment,
44+
EnvironmentName,
4545
getCurrentEnvironment,
4646
getTargetBranch,
47-
EnvironmentName,
47+
isDevelopment,
4848
};

src/utils/id-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ const remapIds = <T extends Entity>(
4949
});
5050
};
5151

52-
export { generateId, generateIdMap, remapIds, isUuid };
52+
export { generateId, generateIdMap, isUuid, remapIds };

src/utils/midi-note-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ const isMidiNote = (maybeNote?: number | string): maybeNote is MidiNote => {
1212

1313
const isSharp = (note: MidiNote): boolean => note.includes("#");
1414

15-
export { isSharp, isMidiNote };
15+
export { isMidiNote, isSharp };

src/utils/track-section-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ export {
112112
fillWithPlaceholders,
113113
fillWithPlaceholdersByTrackId,
114114
getByTrackId,
115-
getStepCountOffset,
116115
getCountByTrackId,
117116
getMaxCountByTrackId,
118-
getTotalStepCount,
119117
getMaxStepCountByTrackId,
118+
getStepCountOffset,
119+
getTotalStepCount,
120120
};

0 commit comments

Comments
 (0)