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/sdk / schema / DirectusFile

Type Alias: DirectusFile<Schema> ​

DirectusFile<Schema>: MergeCoreCollection<Schema, "directus_files", { charset: string | null; description: string | null; duration: number | null; embed: unknown | null; filename_disk: string | null; filename_download: string; filesize: string | null; focal_point_x: number | null; focal_point_y: number | null; folder: DirectusFolder<Schema> | string | null; height: number | null; id: string; location: string | null; metadata: Record<string, any> | null; modified_by: DirectusUser<Schema> | string | null; modified_on: "datetime"; storage: string; tags: string[] | null; title: string | null; type: string | null; uploaded_by: DirectusUser<Schema> | string | null; uploaded_on: "datetime"; width: number | null; }>

Defined in: schema/file.ts:6

Type Parameters ​

• Schema = any