diff --git a/directus/schema.json b/directus/schema.json index db19cf4..08dffa0 100644 --- a/directus/schema.json +++ b/directus/schema.json @@ -27,10 +27,10 @@ "schema": null }, { - "collection": "Sitemap_Settings", + "collection": "Website_Settings", "meta": { - "collection": "Sitemap_Settings", - "icon": "map", + "collection": "Website_Settings", + "icon": "globe", "note": null, "display_template": null, "hidden": false, @@ -51,9 +51,926 @@ "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": 2, + "group": "Settings", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": {} } ], "fields": [ + { + "collection": "Website_Settings", + "field": "id", + "type": "integer", + "meta": { + "collection": "Website_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 + }, + "schema": { + "name": "id", + "table": "Website_Settings", + "data_type": "integer", + "default_value": "nextval('\"Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "Website_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 + }, + "schema": { + "name": "user_created", + "table": "Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "Website_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 + }, + "schema": { + "name": "date_created", + "table": "Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "Website_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 + }, + "schema": { + "name": "user_updated", + "table": "Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "Website_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 + }, + "schema": { + "name": "date_updated", + "table": "Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "divider-bsruqn", + "type": "alias", + "meta": { + "collection": "Website_Settings", + "field": "divider-bsruqn", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "title": "Web", + "icon": "globe" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": null + }, + { + "collection": "Website_Settings", + "field": "domain_name", + "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "domain_name", + "special": null, + "interface": "input", + "options": { + "iconLeft": "globe_uk" + }, + "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 + }, + "schema": { + "name": "domain_name", + "table": "Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "application_name", + "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "application_name", + "special": null, + "interface": "input", + "options": { + "iconLeft": "drive_file_rename_outline" + }, + "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 + }, + "schema": { + "name": "application_name", + "table": "Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "divider-wcrsnh", + "type": "alias", + "meta": { + "collection": "Website_Settings", + "field": "divider-wcrsnh", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "title": "Author", + "icon": "person" + }, + "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 + }, + "schema": null + }, + { + "collection": "Website_Settings", + "field": "author_name", + "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "author_name", + "special": null, + "interface": "input", + "options": { + "iconLeft": "person" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": { + "name": "author_name", + "table": "Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "author_url", + "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "author_url", + "special": null, + "interface": "input", + "options": { + "iconLeft": "link" + }, + "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 + }, + "schema": { + "name": "author_url", + "table": "Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "divider-na1tmi", + "type": "alias", + "meta": { + "collection": "Website_Settings", + "field": "divider-na1tmi", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "title": "Development", + "icon": "developer_mode" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": null + }, + { + "collection": "Website_Settings", + "field": "designer", + "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "designer", + "special": null, + "interface": "input", + "options": { + "iconLeft": "design_services" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 13, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": { + "name": "designer", + "table": "Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "developer", + "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "developer", + "special": null, + "interface": "input", + "options": { + "iconLeft": "code" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 14, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": { + "name": "developer", + "table": "Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "divider-bf0u1u", + "type": "alias", + "meta": { + "collection": "Website_Settings", + "field": "divider-bf0u1u", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "title": "Ownership & Copyright", + "icon": "person_shield" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 15, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": null + }, + { + "collection": "Website_Settings", + "field": "owner", + "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "owner", + "special": null, + "interface": "input", + "options": { + "iconLeft": "person" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 16, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": { + "name": "owner", + "table": "Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "copyright", + "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "copyright", + "special": null, + "interface": "input", + "options": { + "iconLeft": "copyright" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 17, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": { + "name": "copyright", + "table": "Website_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 + } + }, + { + "collection": "Website_Settings", + "field": "divider-beklpn", + "type": "alias", + "meta": { + "collection": "Website_Settings", + "field": "divider-beklpn", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "title": "Twitter", + "icon": "x_twitter" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 18, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": null + }, + { + "collection": "Website_Settings", + "field": "twitter_id", + "type": "bigInteger", + "meta": { + "collection": "Website_Settings", + "field": "twitter_id", + "special": null, + "interface": "input", + "options": { + "iconLeft": "numbers" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 19, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": { + "name": "twitter_id", + "table": "Website_Settings", + "data_type": "bigint", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 64, + "numeric_scale": 0, + "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 + } + }, + { + "collection": "Website_Settings", + "field": "twitter_handle", + "type": "string", + "meta": { + "collection": "Website_Settings", + "field": "twitter_handle", + "special": null, + "interface": "input", + "options": { + "iconLeft": "alternate_email" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 20, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + }, + "schema": { + "name": "twitter_handle", + "table": "Website_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 + } + }, { "collection": "Sitemap_Settings", "field": "id", @@ -352,6 +1269,58 @@ } ], "relations": [ + { + "collection": "Website_Settings", + "field": "user_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "website_settings_user_created_foreign", + "table": "Website_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": "Website_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": "Website_Settings", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "website_settings_user_updated_foreign", + "table": "Website_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": "Website_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": "Sitemap_Settings", "field": "user_created",