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 / Field

Interface: Field ​

Extends ​

Properties ​

children? ​

optional children: null | Field[]

Defined in ​

fields.ts:66


collection ​

collection: string

Inherited from ​

FieldRaw.collection

Defined in ​

fields.ts:57


field ​

field: string

Inherited from ​

FieldRaw.field

Defined in ​

fields.ts:58


meta ​

meta: null | FieldMeta

Inherited from ​

FieldRaw.meta

Defined in ​

fields.ts:61


name ​

name: string

Defined in ​

fields.ts:65


schema ​

schema: null | Column

Inherited from ​

FieldRaw.schema

Defined in ​

fields.ts:60


type ​

type: "string" | "boolean" | "alias" | "unknown" | "bigInteger" | "date" | "dateTime" | "decimal" | "float" | "integer" | "json" | "text" | "time" | "timestamp" | "binary" | "uuid" | "hash" | "csv" | "geometry" | "geometry.Point" | "geometry.LineString" | "geometry.Polygon" | "geometry.MultiPoint" | "geometry.MultiLineString" | "geometry.MultiPolygon"

Inherited from ​

FieldRaw.type

Defined in ​

fields.ts:59