"use client"; import Image from "next/image"; import Link from "next/link"; import { UploadForm } from "../components/uploadForm"; import { FilesTable } from "../components/filesTable"; import { useState } from "react"; interface FileData { id: string; filename: string; mimetype: string; size: number; createdAt: string; updatedAt: string; } export default function FilesPage() { const [, setNewFile] = useState(null); const handleFileUploaded = (file: FileData) => { // This will trigger the FilesTable to add the new file setNewFile(file); }; return (
Vtor.io logo

File Management

Upload and manage your media files here. Select files to upload them to the server.

Upload Files

Files in Database

Back to Home API Documentation
); }