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

Interface: CoreSchema<Schema> ​

Type Parameters ​

• Schema = any

Properties ​

directus_activity ​

directus_activity: IfAny<Schema, object, "directus_activity" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_activity"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:24


directus_collections ​

directus_collections: DirectusCollection<Schema>[]

Defined in ​

schema/core.ts:25


directus_comments ​

directus_comments: IfAny<Schema, object, "directus_comments" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_comments"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:26


directus_dashboards ​

directus_dashboards: IfAny<Schema, object, "directus_dashboards" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_dashboards"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:27


directus_extensions ​

directus_extensions: DirectusExtension<Schema>[]

Defined in ​

schema/core.ts:28


directus_fields ​

directus_fields: DirectusField<Schema>[]

Defined in ​

schema/core.ts:29


directus_files ​

directus_files: IfAny<Schema, object, "directus_files" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_files"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:30


directus_flows ​

directus_flows: IfAny<Schema, object, "directus_flows" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_flows"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:31


directus_folders ​

directus_folders: IfAny<Schema, object, "directus_folders" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_folders"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:32


directus_notifications ​

directus_notifications: IfAny<Schema, object, "directus_notifications" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_notifications"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:33


directus_operations ​

directus_operations: IfAny<Schema, object, "directus_operations" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_operations"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:34


directus_panels ​

directus_panels: IfAny<Schema, object, "directus_panels" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_panels"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:35


directus_permissions ​

directus_permissions: IfAny<Schema, object, "directus_permissions" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_permissions"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:36


directus_presets ​

directus_presets: IfAny<Schema, object, "directus_presets" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_presets"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:37


directus_relations ​

directus_relations: DirectusRelation<Schema>[]

Defined in ​

schema/core.ts:38


directus_roles ​

directus_roles: IfAny<Schema, object, "directus_roles" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_roles"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:39


directus_settings ​

directus_settings: IfAny<Schema, object, "directus_settings" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_settings"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>

Defined in ​

schema/core.ts:40


directus_shares ​

directus_shares: IfAny<Schema, object, "directus_shares" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_shares"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:41


directus_users ​

directus_users: IfAny<Schema, object, "directus_users" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_users"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:42


directus_versions ​

directus_versions: IfAny<Schema, object, "directus_versions" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_versions"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:43


directus_webhooks ​

directus_webhooks: IfAny<Schema, object, "directus_webhooks" extends keyof Schema ? UnpackList<Schema[keyof Schema & "directus_webhooks"]> extends Item ? { [Field in string | number | symbol]: Item[Field] } & object : never : object>[]

Defined in ​

schema/core.ts:44