mirror of
https://github.com/directus/directus.git
synced 2026-02-05 17:35:00 -05:00
Status Interface
Renders a dropdown with the available status options.
Options
| Option | Description | Default |
|---|---|---|
status_mapping |
What statuses are available | null |
Status Mapping format
type Status = {
[key: string]: {
name: string;
text_color: string;
background_color: string;
soft_delete: boolean;
published: boolean;
}
}
status_mapping is the only option for an interface that isn't camelCased. This is due to the fact
that the API relies on the same setting for it's permissions management.