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

Type alias: DirectusCollection<Schema>

DirectusCollection<Schema>: Object

Type parameters

Schema extends object

Type declaration

collection

collection: string

fields?

fields?: NestedPartial<DirectusField<Schema>>[]

meta

meta: MergeCoreCollection<Schema, "directus_collections", Object>

schema

schema: Object & Record<string, unknown> | null

Source

schema/collection.ts:3