develop
HerrHase 3 years ago
parent ca1fd41498
commit aeb838134a

@ -47,6 +47,29 @@ collections:
comment: '' comment: ''
collation: utf8_general_ci collation: utf8_general_ci
engine: InnoDB engine: InnoDB
- collection: site
meta:
collection: site
icon: null
note: null
display_template: null
hidden: false
singleton: true
translations: null
archive_field: null
archive_app_filter: true
archive_value: null
unarchive_value: null
sort_field: null
accountability: all
color: null
item_duplication_fields: null
schema:
name: site
schema: db787832552465385
comment: ''
collation: utf8_general_ci
engine: InnoDB
- collection: snippets - collection: snippets
meta: meta:
collection: snippets collection: snippets
@ -166,12 +189,12 @@ fields:
special: null special: null
interface: select-dropdown-m2o interface: select-dropdown-m2o
options: options:
template: "{{title}} /\_{{slug}}" template: '{{title}}'
display: raw display: raw
display_options: null display_options: null
readonly: false readonly: false
hidden: false hidden: false
sort: 4 sort: null
width: full width: full
group: null group: null
translations: null translations: null
@ -252,6 +275,83 @@ fields:
note: null note: null
conditions: null conditions: null
required: false required: false
- collection: site
field: logo
type: string
schema:
name: logo
table: site
data_type: char
default_value: null
generation_expression: null
max_length: 36
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
foreign_key_column: id
foreign_key_table: directus_files
comment: ''
meta:
collection: site
field: logo
special: null
interface: file-image
options: null
display: image
display_options:
circle: true
readonly: false
hidden: false
sort: 5
width: full
group: null
translations: null
note: null
conditions: null
required: false
- collection: site
field: user_updated
type: string
schema:
name: user_updated
table: site
data_type: char
default_value: null
generation_expression: null
max_length: 36
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
foreign_key_column: id
foreign_key_table: directus_users
comment: ''
meta:
collection: site
field: user_updated
special:
- user-updated
interface: select-dropdown-m2o
options:
template: '{{avatar.$thumbnail}} {{first_name}} {{last_name}}'
display: user
display_options: null
readonly: true
hidden: true
sort: 2
width: half
group: null
translations: null
note: null
conditions: null
required: false
- collection: snippets - collection: snippets
field: file field: file
type: string type: string
@ -477,7 +577,7 @@ fields:
display_options: null display_options: null
readonly: true readonly: true
hidden: true hidden: true
sort: 6 sort: 5
width: half width: half
group: null group: null
translations: null translations: null
@ -516,7 +616,7 @@ fields:
display_options: null display_options: null
readonly: true readonly: true
hidden: true hidden: true
sort: 8 sort: 7
width: half width: half
group: null group: null
translations: null translations: null
@ -707,7 +807,7 @@ fields:
display_options: null display_options: null
readonly: true readonly: true
hidden: true hidden: true
sort: 1 sort: null
width: full width: full
group: null group: null
translations: null translations: null
@ -751,6 +851,43 @@ fields:
note: null note: null
conditions: null conditions: null
required: false required: false
- collection: site
field: id
type: integer
schema:
name: id
table: site
data_type: int unsigned
default_value: null
generation_expression: null
max_length: null
numeric_precision: 10
numeric_scale: 0
is_generated: false
is_nullable: false
is_unique: false
is_primary_key: true
has_auto_increment: true
foreign_key_column: null
foreign_key_table: null
comment: ''
meta:
collection: site
field: id
special: null
interface: input
options: null
display: null
display_options: null
readonly: true
hidden: true
sort: 1
width: full
group: null
translations: null
note: null
conditions: null
required: false
- collection: snippets - collection: snippets
field: id field: id
type: uuid type: uuid
@ -1088,7 +1225,48 @@ fields:
display_options: null display_options: null
readonly: false readonly: false
hidden: false hidden: false
sort: 2 sort: null
width: full
group: null
translations: null
note: If empty and page is set, it will show title of page
conditions: null
required: false
- collection: menu_items
field: target
type: string
schema:
name: target
table: menu_items
data_type: varchar
default_value: null
generation_expression: null
max_length: 255
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
foreign_key_column: null
foreign_key_table: null
comment: ''
meta:
collection: menu_items
field: target
special: null
interface: select-dropdown
options:
choices:
- text: New Tab
value: _blank
allowNone: true
display: raw
display_options: null
readonly: false
hidden: false
sort: null
width: full width: full
group: null group: null
translations: null translations: null
@ -1126,19 +1304,56 @@ fields:
display_options: null display_options: null
readonly: false readonly: false
hidden: false hidden: false
sort: 5 sort: null
width: full width: full
group: null group: null
translations: null translations: null
note: null note: null
conditions: null conditions: null
required: false required: false
- collection: menu_items - collection: menus_menu_items
field: target field: sort
type: integer
schema:
name: sort
table: menus_menu_items
data_type: int
default_value: null
generation_expression: null
max_length: null
numeric_precision: 10
numeric_scale: 0
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
foreign_key_column: null
foreign_key_table: null
comment: ''
meta:
collection: menus_menu_items
field: sort
special: null
interface: null
options: null
display: null
display_options: null
readonly: false
hidden: true
sort: null
width: full
group: null
translations: null
note: null
conditions: null
required: false
- collection: site
field: title
type: string type: string
schema: schema:
name: target name: title
table: menu_items table: site
data_type: varchar data_type: varchar
default_value: null default_value: null
generation_expression: null generation_expression: null
@ -1154,15 +1369,12 @@ fields:
foreign_key_table: null foreign_key_table: null
comment: '' comment: ''
meta: meta:
collection: menu_items collection: site
field: target field: title
special: null special: null
interface: select-dropdown interface: input
options: options:
choices: trim: true
- text: New tab
value: _blank
allowOther: true
display: raw display: raw
display_options: null display_options: null
readonly: false readonly: false
@ -1174,6 +1386,44 @@ fields:
note: null note: null
conditions: null conditions: null
required: false required: false
- collection: site
field: description
type: string
schema:
name: description
table: site
data_type: varchar
default_value: null
generation_expression: null
max_length: 255
numeric_precision: null
numeric_scale: null
is_generated: false
is_nullable: true
is_unique: false
is_primary_key: false
has_auto_increment: false
foreign_key_column: null
foreign_key_table: null
comment: ''
meta:
collection: site
field: description
special: null
interface: input
options:
trim: true
display: raw
display_options: null
readonly: false
hidden: false
sort: 4
width: full
group: null
translations: null
note: null
conditions: null
required: false
- collection: snippets - collection: snippets
field: status field: status
type: string type: string
@ -1668,7 +1918,7 @@ fields:
relative: true relative: true
readonly: true readonly: true
hidden: true hidden: true
sort: 7 sort: 6
width: half width: half
group: null group: null
translations: null translations: null
@ -1707,7 +1957,7 @@ fields:
relative: true relative: true
readonly: true readonly: true
hidden: true hidden: true
sort: 9 sort: 8
width: half width: half
group: null group: null
translations: null translations: null
@ -2041,7 +2291,7 @@ fields:
- m2m - m2m
interface: list-m2m interface: list-m2m
options: options:
template: '{{menu_items_id.title}} / {{menu_items_id.page.title}}' template: '{{menu_items_id.title}}{{menu_items_id.page.title}}'
display: raw display: raw
display_options: null display_options: null
readonly: false readonly: false
@ -2053,6 +2303,28 @@ fields:
note: null note: null
conditions: null conditions: null
required: false required: false
- collection: menu_items
field: menus
type: m2m
schema: null
meta:
collection: menu_items
field: menus
special:
- m2m
interface: list-m2m
options: null
display: null
display_options: null
readonly: false
hidden: true
sort: null
width: full
group: null
translations: null
note: null
conditions: null
required: false
relations: relations:
- collection: menu_items - collection: menu_items
field: page field: page
@ -2064,7 +2336,7 @@ relations:
foreign_key_column: id foreign_key_column: id
constraint_name: menu_items_page_foreign constraint_name: menu_items_page_foreign
on_update: RESTRICT on_update: RESTRICT
on_delete: SET NULL on_delete: CASCADE
meta: meta:
many_collection: menu_items many_collection: menu_items
many_field: page many_field: page
@ -2090,7 +2362,7 @@ relations:
many_collection: menus_menu_items many_collection: menus_menu_items
many_field: menu_items_id many_field: menu_items_id
one_collection: menu_items one_collection: menu_items
one_field: null one_field: menus
one_collection_field: null one_collection_field: null
one_allowed_collections: null one_allowed_collections: null
junction_field: menus_id junction_field: menus_id
@ -2115,6 +2387,48 @@ relations:
one_collection_field: null one_collection_field: null
one_allowed_collections: null one_allowed_collections: null
junction_field: menu_items_id junction_field: menu_items_id
sort_field: sort
one_deselect_action: delete
- collection: site
field: logo
related_collection: directus_files
schema:
table: site
column: logo
foreign_key_table: directus_files
foreign_key_column: id
constraint_name: site_logo_foreign
on_update: RESTRICT
on_delete: RESTRICT
meta:
many_collection: site
many_field: logo
one_collection: directus_files
one_field: null
one_collection_field: null
one_allowed_collections: null
junction_field: null
sort_field: null
one_deselect_action: nullify
- collection: site
field: user_updated
related_collection: directus_users
schema:
table: site
column: user_updated
foreign_key_table: directus_users
foreign_key_column: id
constraint_name: site_user_updated_foreign
on_update: RESTRICT
on_delete: RESTRICT
meta:
many_collection: site
many_field: user_updated
one_collection: directus_users
one_field: null
one_collection_field: null
one_allowed_collections: null
junction_field: null
sort_field: null sort_field: null
one_deselect_action: nullify one_deselect_action: nullify
- collection: snippets - collection: snippets

Loading…
Cancel
Save