Skip to content
On this page

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

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

type

type: string | null

uploaded_by

uploaded_by: string | null

uploaded_on

uploaded_on: string

width

width: number | null

Source

files.ts:3