Files
directus/api/src/database/system-data/fields/settings.yaml
Rijk van Zanten c4ae4b66cc Finalize interface names (#5521)
* Rename button-links->presentation-links

* Rename checkboxes->select-multiple-checkbox

* Rename code->input-code

* Rename checkboxes files

* Rename color->select-color

* Rename divider->presentation-divider

* Rename dropdown-multiselect->select-multiple-dropdown

* Rename hash->input-hash

* Rename icon->select-icon

* Rename image->file-image

* Rename m2a-builder->list-m2a

* Rename many-to-many->list-m2m

* Rename many-to-one->select-dropdown-m2o

* Rename markdown->input-rich-text-md

* Rename notice->presentation-notice

* Rename one-to-many->list-o2m

* Rename radio-buttons->select-radio

* Rename repeater->list

* Rename text-input->input

* Rename textarea->input-multiline

* Rename toggle->boolean

* Rename tree-view->list-o2m-tree-view

* Rename wysiwyg->input-rich-text-html

* Use correct interfaces in system defaults

* Rename collection->system-collection

* Rename collections->system-collections

* Rename display-template->system-display-template

* Rename field->system-field

* Rename interface->system-interface

* Rename interface-options->system-interface-options

* Rename scope->interface-scope

* Rename tfa-setup->system-mfa-setup

* Fix oversights

* Remove old todo

* Some more tweaks

* Add migration, fix dropdown name in system use

* Merge numeric + input

* Replace dropdown->select-dropdown in app use

* Merge slug->input, user->select-dropdown-m2o

* Fix type issue

* Fix seeder field name
2021-05-06 16:49:32 -04:00

216 lines
4.7 KiB
YAML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
table: directus_settings
fields:
- field: id
hidden: true
- field: project_name
interface: input
options:
iconRight: title
placeholder: My project...
translations:
language: en-US
translations: Name
width: half
- field: project_url
interface: input
options:
iconRight: link
placeholder: https://example.com
translations:
language: en-US
translations: Website
width: half
- field: project_color
interface: select-color
note: Login & Logo Background
translations:
language: en-US
translations: Brand Color
width: half
- field: project_logo
interface: file
note: White 40x40 SVG/PNG
translations:
language: en-US
translations: Brand Logo
width: half
- field: public_divider
interface: presentation-divider
options:
icon: public
title: Public Pages
special:
- alias
- no-data
width: full
- field: public_foreground
interface: file
translations:
language: en-US
translations: Login Foreground
width: half
- field: public_background
interface: file
translations:
language: en-US
translations: Login Background
width: half
- field: public_note
interface: input-multiline
options:
placeholder: A short, public message that supports markdown formatting...
width: full
- field: security_divider
interface: presentation-divider
options:
icon: security
title: Security
special:
- alias
- no-data
width: full
- field: auth_password_policy
interface: select-dropdown
options:
choices:
- value: null
text: None  Not Recommended
- value: '/^.{8,}$/'
text: Weak Minimum 8 Characters
- value: "/(?=^.{8,}$)(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()_+}{';'?>.<,])(?!.*\\s).*$/"
text: Strong Upper / Lowercase / Numbers / Special
allowOther: true
width: half
- field: auth_login_attempts
interface: input
options:
iconRight: lock
placeholder: $t:unlimited
width: half
- field: files_divider
interface: presentation-divider
options:
icon: storage
title: Files & Thumbnails
special:
- alias
- no-data
width: full
- field: storage_asset_presets
interface: list
options:
fields:
- field: key
name: Key
type: string
schema:
is_nullable: false
meta:
interface: input
options:
slug: true
onlyOnCreate: false
width: half
- field: fit
name: Fit
type: string
schema:
is_nullable: false
meta:
interface: select-dropdown
options:
choices:
- value: contain
text: Contain (preserve aspect ratio)
- value: cover
text: Cover (forces exact size)
- value: inside
text: Fit inside
- value: outside
text: Fit outside
width: half
- field: width
name: Width
type: integer
schema:
is_nullable: false
meta:
interface: input
width: half
- field: height
name: Height
type: integer
schema:
is_nullable: false
meta:
interface: input
width: half
- field: quality
type: integer
name: Quality
schema:
default_value: 80
is_nullable: false
meta:
interface: slider
options:
max: 100
min: 0
step: 1
width: half
- field: withoutEnlargement
type: boolean
schema:
default_value: false
meta:
interface: boolean
width: half
options:
label: Don't upscale images
template: '{{key}}'
special: json
width: full
- field: storage_asset_transform
interface: select-dropdown
options:
choices:
- value: all
text: All
- value: none
text: None
- value: presets
text: Presets Only
width: half
- field: overrides_divider
interface: presentation-divider
options:
icon: brush
title: App Overrides
special:
- alias
- no-data
width: full
- field: custom_css
interface: input-code
options:
language: css
lineNumber: true
width: full