File Upload

File upload metadata with name, size, MIME type, and URL.

Report an issue
common

Install

$ npx shadcn@latest add @open-types/file-upload

Source

export interface FileUpload {
  name: string;
  size: number;
  type: string;
  url?: string;
  last_modified?: number;
}
export interface FileUpload {
  name: string;
  size: number;
  type: string;
  url?: string;
  last_modified?: number;
}