Skip to content
On this page

Directus Cloud

Everything you need to start building. Provisioned in 90 seconds. Starting at $15/month.

Get Started

This is an auto-generated document to support extension builders understand the internal packages they can utilize. To find our written guides, tutorials, and API/SDK reference, check out our main docs .

Directus / @directus/types / File

Type Alias: File ​

File: object

Type declaration ​

charset ​

charset: string | null

created_on ​

created_on: string

description ​

description: string | null

duration ​

duration: number | null

embed ​

embed: string | null

filename_disk ​

filename_disk: string

filename_download ​

filename_download: string

filesize ​

filesize: number

focal_point_x ​

focal_point_x: number | null

focal_point_y ​

focal_point_y: number | null

folder ​

folder: string | null

height ​

height: number | null

id ​

id: string

location ​

location: string | null

metadata ​

metadata: Record<string, any> | null

modified_by ​

modified_by: string | null

modified_on ​

modified_on: string

storage ​

storage: string

tags ​

tags: string | null

title ​

title: string | null

tus_data ​

tus_data: Record<string, any> | null

tus_id ​

tus_id: string | null

type ​

type: string | null

uploaded_by ​

uploaded_by: string | null

uploaded_on ​

uploaded_on: string | null

width ​

width: number | null

Defined in ​

files.ts:3