fix: remove large files from git
This commit is contained in:
@ -32,15 +32,25 @@ export async function GET() {
|
||||
updatedAt: userProfile?.updatedAt,
|
||||
},
|
||||
settings: userSettings,
|
||||
recordings: recordings.map((recording) => ({
|
||||
id: recording.id,
|
||||
title: recording.title,
|
||||
audioUrl: recording.audioUrl,
|
||||
duration: recording.duration,
|
||||
fileSize: recording.fileSize,
|
||||
mimeType: recording.mimeType,
|
||||
createdAt: recording.createdAt.toISOString(),
|
||||
})),
|
||||
recordings: recordings.map(
|
||||
(recording: {
|
||||
id: string;
|
||||
title: string;
|
||||
audioUrl: string;
|
||||
duration: number;
|
||||
fileSize: number;
|
||||
mimeType: string;
|
||||
createdAt: Date;
|
||||
}) => ({
|
||||
id: recording.id,
|
||||
title: recording.title,
|
||||
audioUrl: recording.audioUrl,
|
||||
duration: recording.duration,
|
||||
fileSize: recording.fileSize,
|
||||
mimeType: recording.mimeType,
|
||||
createdAt: recording.createdAt.toISOString(),
|
||||
})
|
||||
),
|
||||
exportDate: new Date().toISOString(),
|
||||
version: "1.0.0",
|
||||
};
|
||||
|
||||
@ -5,7 +5,7 @@ import AudioPlayer from "@/components/AudioPlayer";
|
||||
|
||||
export default function S3TestPage() {
|
||||
const [testUrl, setTestUrl] = useState("");
|
||||
const [result, setResult] = useState<any>(null);
|
||||
const [result, setResult] = useState<Record<string, any> | null>(null);
|
||||
const [loading, setLoading] = useState(false);
|
||||
const [showAudioPlayer, setShowAudioPlayer] = useState(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user