Add tags and two new folders in Directus
This commit is contained in:
@@ -131,10 +131,36 @@
|
||||
"schema": {}
|
||||
},
|
||||
{
|
||||
"collection": "Single_Pages",
|
||||
"collection": "Tags",
|
||||
"meta": {
|
||||
"collection": "Single_Pages",
|
||||
"icon": "file_present",
|
||||
"collection": "Tags",
|
||||
"icon": "tag",
|
||||
"note": null,
|
||||
"display_template": null,
|
||||
"hidden": false,
|
||||
"singleton": false,
|
||||
"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,
|
||||
"sort": 1,
|
||||
"group": "Subtypes",
|
||||
"collapse": "open",
|
||||
"preview_url": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {}
|
||||
},
|
||||
{
|
||||
"collection": "Web_Pages",
|
||||
"meta": {
|
||||
"collection": "Web_Pages",
|
||||
"icon": "globe_uk",
|
||||
"note": null,
|
||||
"display_template": null,
|
||||
"hidden": false,
|
||||
@@ -261,10 +287,10 @@
|
||||
"schema": {}
|
||||
},
|
||||
{
|
||||
"collection": "Settings",
|
||||
"collection": "Subtypes",
|
||||
"meta": {
|
||||
"collection": "Settings",
|
||||
"icon": "settings",
|
||||
"collection": "Subtypes",
|
||||
"icon": "subtitles_gear",
|
||||
"note": null,
|
||||
"display_template": null,
|
||||
"hidden": false,
|
||||
@@ -287,13 +313,13 @@
|
||||
"schema": null
|
||||
},
|
||||
{
|
||||
"collection": "Types",
|
||||
"collection": "Single_Pages",
|
||||
"meta": {
|
||||
"collection": "Types",
|
||||
"icon": "type_specimen",
|
||||
"collection": "Single_Pages",
|
||||
"icon": "file_present",
|
||||
"note": null,
|
||||
"display_template": null,
|
||||
"hidden": true,
|
||||
"hidden": false,
|
||||
"singleton": false,
|
||||
"translations": null,
|
||||
"archive_field": null,
|
||||
@@ -339,13 +365,13 @@
|
||||
"schema": {}
|
||||
},
|
||||
{
|
||||
"collection": "Relations",
|
||||
"collection": "Settings",
|
||||
"meta": {
|
||||
"collection": "Relations",
|
||||
"icon": "route",
|
||||
"collection": "Settings",
|
||||
"icon": "settings",
|
||||
"note": null,
|
||||
"display_template": null,
|
||||
"hidden": true,
|
||||
"hidden": false,
|
||||
"singleton": false,
|
||||
"translations": null,
|
||||
"archive_field": null,
|
||||
@@ -389,6 +415,58 @@
|
||||
"versioning": false
|
||||
},
|
||||
"schema": {}
|
||||
},
|
||||
{
|
||||
"collection": "Types",
|
||||
"meta": {
|
||||
"collection": "Types",
|
||||
"icon": "type_specimen",
|
||||
"note": null,
|
||||
"display_template": null,
|
||||
"hidden": true,
|
||||
"singleton": false,
|
||||
"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,
|
||||
"sort": 5,
|
||||
"group": null,
|
||||
"collapse": "open",
|
||||
"preview_url": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": null
|
||||
},
|
||||
{
|
||||
"collection": "Relations",
|
||||
"meta": {
|
||||
"collection": "Relations",
|
||||
"icon": "route",
|
||||
"note": null,
|
||||
"display_template": null,
|
||||
"hidden": true,
|
||||
"singleton": false,
|
||||
"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,
|
||||
"sort": 6,
|
||||
"group": null,
|
||||
"collapse": "open",
|
||||
"preview_url": null,
|
||||
"versioning": false
|
||||
},
|
||||
"schema": null
|
||||
}
|
||||
],
|
||||
"fields": [
|
||||
@@ -2242,6 +2320,396 @@
|
||||
"searchable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"collection": "Tags",
|
||||
"field": "id",
|
||||
"type": "uuid",
|
||||
"schema": {
|
||||
"name": "id",
|
||||
"table": "Tags",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"generation_expression": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_generated": false,
|
||||
"is_nullable": false,
|
||||
"is_unique": true,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": true,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_schema": null,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null,
|
||||
"comment": null
|
||||
},
|
||||
"meta": {
|
||||
"collection": "Tags",
|
||||
"field": "id",
|
||||
"special": [
|
||||
"uuid"
|
||||
],
|
||||
"interface": "input",
|
||||
"options": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"readonly": true,
|
||||
"hidden": true,
|
||||
"sort": 1,
|
||||
"width": "full",
|
||||
"translations": null,
|
||||
"note": null,
|
||||
"conditions": null,
|
||||
"required": false,
|
||||
"group": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"searchable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"collection": "Tags",
|
||||
"field": "user_created",
|
||||
"type": "uuid",
|
||||
"schema": {
|
||||
"name": "user_created",
|
||||
"table": "Tags",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"generation_expression": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_generated": false,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_schema": "public",
|
||||
"foreign_key_table": "directus_users",
|
||||
"foreign_key_column": "id",
|
||||
"comment": null
|
||||
},
|
||||
"meta": {
|
||||
"collection": "Tags",
|
||||
"field": "user_created",
|
||||
"special": [
|
||||
"user-created"
|
||||
],
|
||||
"interface": "select-dropdown-m2o",
|
||||
"options": {
|
||||
"template": "{{avatar}} {{first_name}} {{last_name}}"
|
||||
},
|
||||
"display": "user",
|
||||
"display_options": null,
|
||||
"readonly": true,
|
||||
"hidden": true,
|
||||
"sort": 2,
|
||||
"width": "half",
|
||||
"translations": null,
|
||||
"note": null,
|
||||
"conditions": null,
|
||||
"required": false,
|
||||
"group": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"searchable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"collection": "Tags",
|
||||
"field": "date_created",
|
||||
"type": "timestamp",
|
||||
"schema": {
|
||||
"name": "date_created",
|
||||
"table": "Tags",
|
||||
"data_type": "timestamp with time zone",
|
||||
"default_value": null,
|
||||
"generation_expression": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_generated": false,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_schema": null,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null,
|
||||
"comment": null
|
||||
},
|
||||
"meta": {
|
||||
"collection": "Tags",
|
||||
"field": "date_created",
|
||||
"special": [
|
||||
"date-created"
|
||||
],
|
||||
"interface": "datetime",
|
||||
"options": null,
|
||||
"display": "datetime",
|
||||
"display_options": {
|
||||
"relative": true
|
||||
},
|
||||
"readonly": true,
|
||||
"hidden": true,
|
||||
"sort": 3,
|
||||
"width": "half",
|
||||
"translations": null,
|
||||
"note": null,
|
||||
"conditions": null,
|
||||
"required": false,
|
||||
"group": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"searchable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"collection": "Tags",
|
||||
"field": "user_updated",
|
||||
"type": "uuid",
|
||||
"schema": {
|
||||
"name": "user_updated",
|
||||
"table": "Tags",
|
||||
"data_type": "uuid",
|
||||
"default_value": null,
|
||||
"generation_expression": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_generated": false,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_schema": "public",
|
||||
"foreign_key_table": "directus_users",
|
||||
"foreign_key_column": "id",
|
||||
"comment": null
|
||||
},
|
||||
"meta": {
|
||||
"collection": "Tags",
|
||||
"field": "user_updated",
|
||||
"special": [
|
||||
"user-updated"
|
||||
],
|
||||
"interface": "select-dropdown-m2o",
|
||||
"options": {
|
||||
"template": "{{avatar}} {{first_name}} {{last_name}}"
|
||||
},
|
||||
"display": "user",
|
||||
"display_options": null,
|
||||
"readonly": true,
|
||||
"hidden": true,
|
||||
"sort": 4,
|
||||
"width": "half",
|
||||
"translations": null,
|
||||
"note": null,
|
||||
"conditions": null,
|
||||
"required": false,
|
||||
"group": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"searchable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"collection": "Tags",
|
||||
"field": "date_updated",
|
||||
"type": "timestamp",
|
||||
"schema": {
|
||||
"name": "date_updated",
|
||||
"table": "Tags",
|
||||
"data_type": "timestamp with time zone",
|
||||
"default_value": null,
|
||||
"generation_expression": null,
|
||||
"max_length": null,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_generated": false,
|
||||
"is_nullable": true,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_schema": null,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null,
|
||||
"comment": null
|
||||
},
|
||||
"meta": {
|
||||
"collection": "Tags",
|
||||
"field": "date_updated",
|
||||
"special": [
|
||||
"date-updated"
|
||||
],
|
||||
"interface": "datetime",
|
||||
"options": null,
|
||||
"display": "datetime",
|
||||
"display_options": {
|
||||
"relative": true
|
||||
},
|
||||
"readonly": true,
|
||||
"hidden": true,
|
||||
"sort": 5,
|
||||
"width": "half",
|
||||
"translations": null,
|
||||
"note": null,
|
||||
"conditions": null,
|
||||
"required": false,
|
||||
"group": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"searchable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"collection": "Tags",
|
||||
"field": "text",
|
||||
"type": "string",
|
||||
"schema": {
|
||||
"name": "text",
|
||||
"table": "Tags",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"generation_expression": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_generated": false,
|
||||
"is_nullable": false,
|
||||
"is_unique": false,
|
||||
"is_indexed": true,
|
||||
"is_primary_key": false,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_schema": null,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null,
|
||||
"comment": null
|
||||
},
|
||||
"meta": {
|
||||
"collection": "Tags",
|
||||
"field": "text",
|
||||
"special": null,
|
||||
"interface": "input",
|
||||
"options": {
|
||||
"iconLeft": "title"
|
||||
},
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"readonly": false,
|
||||
"hidden": false,
|
||||
"sort": 6,
|
||||
"width": "full",
|
||||
"translations": null,
|
||||
"note": null,
|
||||
"conditions": null,
|
||||
"required": true,
|
||||
"group": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"searchable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"collection": "Tags",
|
||||
"field": "code",
|
||||
"type": "string",
|
||||
"schema": {
|
||||
"name": "code",
|
||||
"table": "Tags",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"generation_expression": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_generated": false,
|
||||
"is_nullable": false,
|
||||
"is_unique": true,
|
||||
"is_indexed": true,
|
||||
"is_primary_key": false,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_schema": null,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null,
|
||||
"comment": null
|
||||
},
|
||||
"meta": {
|
||||
"collection": "Tags",
|
||||
"field": "code",
|
||||
"special": null,
|
||||
"interface": "input",
|
||||
"options": {
|
||||
"iconLeft": "barcode_reader"
|
||||
},
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"readonly": false,
|
||||
"hidden": false,
|
||||
"sort": 7,
|
||||
"width": "full",
|
||||
"translations": null,
|
||||
"note": null,
|
||||
"conditions": null,
|
||||
"required": true,
|
||||
"group": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"searchable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"collection": "Tags",
|
||||
"field": "color",
|
||||
"type": "string",
|
||||
"schema": {
|
||||
"name": "color",
|
||||
"table": "Tags",
|
||||
"data_type": "character varying",
|
||||
"default_value": null,
|
||||
"generation_expression": null,
|
||||
"max_length": 255,
|
||||
"numeric_precision": null,
|
||||
"numeric_scale": null,
|
||||
"is_generated": false,
|
||||
"is_nullable": false,
|
||||
"is_unique": false,
|
||||
"is_indexed": false,
|
||||
"is_primary_key": false,
|
||||
"has_auto_increment": false,
|
||||
"foreign_key_schema": null,
|
||||
"foreign_key_table": null,
|
||||
"foreign_key_column": null,
|
||||
"comment": null
|
||||
},
|
||||
"meta": {
|
||||
"collection": "Tags",
|
||||
"field": "color",
|
||||
"special": null,
|
||||
"interface": "select-color",
|
||||
"options": null,
|
||||
"display": null,
|
||||
"display_options": null,
|
||||
"readonly": false,
|
||||
"hidden": false,
|
||||
"sort": 8,
|
||||
"width": "full",
|
||||
"translations": null,
|
||||
"note": null,
|
||||
"conditions": null,
|
||||
"required": true,
|
||||
"group": null,
|
||||
"validation": null,
|
||||
"validation_message": null,
|
||||
"searchable": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"collection": "Blog_Settings",
|
||||
"field": "id",
|
||||
@@ -5646,6 +6114,58 @@
|
||||
"one_deselect_action": "nullify"
|
||||
}
|
||||
},
|
||||
{
|
||||
"collection": "Tags",
|
||||
"field": "user_created",
|
||||
"related_collection": "directus_users",
|
||||
"schema": {
|
||||
"constraint_name": "tags_user_created_foreign",
|
||||
"table": "Tags",
|
||||
"column": "user_created",
|
||||
"foreign_key_schema": "public",
|
||||
"foreign_key_table": "directus_users",
|
||||
"foreign_key_column": "id",
|
||||
"on_update": "NO ACTION",
|
||||
"on_delete": "NO ACTION"
|
||||
},
|
||||
"meta": {
|
||||
"many_collection": "Tags",
|
||||
"many_field": "user_created",
|
||||
"one_collection": "directus_users",
|
||||
"one_field": null,
|
||||
"one_collection_field": null,
|
||||
"one_allowed_collections": null,
|
||||
"junction_field": null,
|
||||
"sort_field": null,
|
||||
"one_deselect_action": "nullify"
|
||||
}
|
||||
},
|
||||
{
|
||||
"collection": "Tags",
|
||||
"field": "user_updated",
|
||||
"related_collection": "directus_users",
|
||||
"schema": {
|
||||
"constraint_name": "tags_user_updated_foreign",
|
||||
"table": "Tags",
|
||||
"column": "user_updated",
|
||||
"foreign_key_schema": "public",
|
||||
"foreign_key_table": "directus_users",
|
||||
"foreign_key_column": "id",
|
||||
"on_update": "NO ACTION",
|
||||
"on_delete": "NO ACTION"
|
||||
},
|
||||
"meta": {
|
||||
"many_collection": "Tags",
|
||||
"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,
|
||||
"one_deselect_action": "nullify"
|
||||
}
|
||||
},
|
||||
{
|
||||
"collection": "Blog_Settings",
|
||||
"field": "user_updated",
|
||||
|
||||
Reference in New Issue
Block a user