diff --git a/directus/schema.json b/directus/schema.json index 86185db..b548b43 100644 --- a/directus/schema.json +++ b/directus/schema.json @@ -156,6 +156,32 @@ }, "schema": null }, + { + "collection": "Blog_Settings", + "meta": { + "collection": "Blog_Settings", + "icon": "notes", + "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, + "sort": 2, + "group": "Settings", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": {} + }, { "collection": "Humans", "meta": { @@ -260,58 +286,6 @@ }, "schema": null }, - { - "collection": "Website_Settings", - "meta": { - "collection": "Website_Settings", - "icon": "globe", - "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, - "sort": 2, - "group": "Settings", - "collapse": "open", - "preview_url": null, - "versioning": false - }, - "schema": {} - }, - { - "collection": "Sitemap_Settings", - "meta": { - "collection": "Sitemap_Settings", - "icon": "map", - "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, - "sort": 3, - "group": "Settings", - "collapse": "open", - "preview_url": null, - "versioning": false - }, - "schema": {} - }, { "collection": "Types", "meta": { @@ -338,6 +312,32 @@ }, "schema": null }, + { + "collection": "Website_Settings", + "meta": { + "collection": "Website_Settings", + "icon": "globe", + "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, + "sort": 3, + "group": "Settings", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": {} + }, { "collection": "Relations", "meta": { @@ -363,6 +363,32 @@ "versioning": false }, "schema": null + }, + { + "collection": "Sitemap_Settings", + "meta": { + "collection": "Sitemap_Settings", + "icon": "map", + "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, + "sort": 4, + "group": "Settings", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": {} } ], "fields": [ @@ -2216,6 +2242,556 @@ "searchable": true } }, + { + "collection": "Blog_Settings", + "field": "id", + "type": "integer", + "schema": { + "name": "id", + "table": "Blog_Settings", + "data_type": "integer", + "default_value": "nextval('\"Blog_Settings_id_seq\"'::regclass)", + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": true, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "Blog_Settings", + "field": "id", + "special": null, + "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": "Blog_Settings", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "Blog_Settings", + "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": "Blog_Settings", + "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": "Blog_Settings", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "Blog_Settings", + "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": "Blog_Settings", + "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": "Blog_Settings", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "Blog_Settings", + "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": "Blog_Settings", + "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": "Blog_Settings", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "Blog_Settings", + "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": "Blog_Settings", + "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": "Blog_Settings", + "field": "enabled", + "type": "boolean", + "schema": { + "name": "enabled", + "table": "Blog_Settings", + "data_type": "boolean", + "default_value": false, + "generation_expression": null, + "max_length": null, + "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": "Blog_Settings", + "field": "enabled", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": null, + "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": "Blog_Settings", + "field": "divider-sps3fe", + "type": "alias", + "schema": null, + "meta": { + "collection": "Blog_Settings", + "field": "divider-sps3fe", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "title": "Texts", + "icon": "text_rotate_vertical" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, + { + "collection": "Blog_Settings", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "Blog_Settings", + "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": "Blog_Settings", + "field": "title", + "special": null, + "interface": "input", + "options": { + "iconLeft": "title" + }, + "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": "subtext", + "type": "text", + "schema": { + "name": "subtext", + "table": "Blog_Settings", + "data_type": "text", + "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": "Blog_Settings", + "field": "subtext", + "special": null, + "interface": "input-rich-text-md", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, + { + "collection": "Blog_Settings", + "field": "divider-sanit4", + "type": "alias", + "schema": null, + "meta": { + "collection": "Blog_Settings", + "field": "divider-sanit4", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "title": "Routing", + "icon": "route" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, + { + "collection": "Blog_Settings", + "field": "index_route_template", + "type": "string", + "schema": { + "name": "index_route_template", + "table": "Blog_Settings", + "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": "Blog_Settings", + "field": "index_route_template", + "special": null, + "interface": "input", + "options": { + "iconLeft": "route" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, + { + "collection": "Blog_Settings", + "field": "blog_route_template", + "type": "string", + "schema": { + "name": "blog_route_template", + "table": "Blog_Settings", + "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": "Blog_Settings", + "field": "blog_route_template", + "special": null, + "interface": "input", + "options": { + "iconLeft": "link" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, { "collection": "Humans", "field": "id", @@ -4920,26 +5496,6 @@ "one_deselect_action": "nullify" } }, - { - "collection": "Menu_Column_links", - "field": "item", - "related_collection": null, - "schema": null, - "meta": { - "many_collection": "Menu_Column_links", - "many_field": "item", - "one_collection": null, - "one_field": null, - "one_collection_field": "collection", - "one_allowed_collections": [ - "Menu_Link", - "Menu_Link_With_Icon" - ], - "junction_field": "Menu_Column_id", - "sort_field": null, - "one_deselect_action": "nullify" - } - }, { "collection": "Menu_Column_links", "field": "Menu_Column_id", @@ -4966,6 +5522,26 @@ "one_deselect_action": "nullify" } }, + { + "collection": "Menu_Column_links", + "field": "item", + "related_collection": null, + "schema": null, + "meta": { + "many_collection": "Menu_Column_links", + "many_field": "item", + "one_collection": null, + "one_field": null, + "one_collection_field": "collection", + "one_allowed_collections": [ + "Menu_Link", + "Menu_Link_With_Icon" + ], + "junction_field": "Menu_Column_id", + "sort_field": null, + "one_deselect_action": "nullify" + } + }, { "collection": "Menu_Link", "field": "user_created", @@ -5070,6 +5646,58 @@ "one_deselect_action": "nullify" } }, + { + "collection": "Blog_Settings", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "blog_settings_user_updated_foreign", + "table": "Blog_Settings", + "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": "Blog_Settings", + "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_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "blog_settings_user_created_foreign", + "table": "Blog_Settings", + "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": "Blog_Settings", + "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": "Humans", "field": "user_updated",