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

Type Alias: User ​

User: object

Type declaration ​

appearance ​

appearance: "auto" | "dark" | "light" | null

auth_data ​

auth_data: Record<string, any> | null

avatar ​

avatar: Avatar | null

description ​

description: string | null

email ​

email: string | null

email_notifications ​

email_notifications: boolean

external_identifier ​

external_identifier: string | null

first_name ​

first_name: string | null

id ​

id: string

language ​

language: string | null

last_access ​

last_access: string | null

last_name ​

last_name: string | null

last_page ​

last_page: string | null

location ​

location: string | null

password ​

password: string | null

policies ​

policies: Policy[]

provider ​

provider: string

role ​

role: Role | null

status ​

status: "draft" | "invited" | "unverified" | "active" | "suspended" | "archived"

tags ​

tags: string[] | null

tfa_secret ​

tfa_secret: string | null

theme_dark ​

theme_dark: string | null

theme_dark_overrides ​

theme_dark_overrides: Record<string, unknown> | null

theme_light ​

theme_light: string | null

theme_light_overrides ​

theme_light_overrides: Record<string, unknown> | null

title ​

title: string | null

token ​

token: string | null

Defined in ​

users.ts:16