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