fix: remove large files from git

This commit is contained in:
theshy
2025-07-31 17:47:50 +08:00
parent 3e5e383a95
commit ff8cad36ca
2 changed files with 20 additions and 10 deletions

View File

@ -32,7 +32,16 @@ export async function GET() {
updatedAt: userProfile?.updatedAt,
},
settings: userSettings,
recordings: recordings.map((recording) => ({
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,
@ -40,7 +49,8 @@ export async function GET() {
fileSize: recording.fileSize,
mimeType: recording.mimeType,
createdAt: recording.createdAt.toISOString(),
})),
})
),
exportDate: new Date().toISOString(),
version: "1.0.0",
};

View File

@ -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);