From ce7dd18badefa5ae58ed6ea188705b85f3d19acd Mon Sep 17 00:00:00 2001 From: Quinn Hegeman <102350242+itsfinniii@users.noreply.github.com> Date: Sat, 7 Mar 2026 15:50:59 +0100 Subject: [PATCH] Add plugin settings --- directus/schema.json | 1079 ++++++++++++++++++++++++++++++------------ 1 file changed, 766 insertions(+), 313 deletions(-) diff --git a/directus/schema.json b/directus/schema.json index a40249c..824b452 100644 --- a/directus/schema.json +++ b/directus/schema.json @@ -1092,6 +1092,32 @@ }, "schema": {} }, + { + "collection": "Plugin_Settings", + "meta": { + "collection": "Plugin_Settings", + "icon": "plug_connect", + "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": 8, + "group": "Settings", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": {} + }, { "collection": "Hero", "meta": { @@ -16555,6 +16581,26 @@ "collection": "Photo_Settings", "field": "id", "type": "integer", + "schema": { + "name": "id", + "table": "Photo_Settings", + "data_type": "integer", + "default_value": "nextval('\"Photo_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": "Photo_Settings", "field": "id", @@ -16575,32 +16621,32 @@ "validation": null, "validation_message": null, "searchable": true - }, - "schema": { - "name": "id", - "table": "Photo_Settings", - "data_type": "integer", - "default_value": "nextval('\"Photo_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": "Photo_Settings", "field": "user_created", "type": "uuid", + "schema": { + "name": "user_created", + "table": "Photo_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": "Photo_Settings", "field": "user_created", @@ -16625,11 +16671,16 @@ "validation": null, "validation_message": null, "searchable": true - }, + } + }, + { + "collection": "Photo_Settings", + "field": "date_created", + "type": "timestamp", "schema": { - "name": "user_created", + "name": "date_created", "table": "Photo_Settings", - "data_type": "uuid", + "data_type": "timestamp with time zone", "default_value": null, "generation_expression": null, "max_length": null, @@ -16641,16 +16692,11 @@ "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, - "foreign_key_schema": "public", - "foreign_key_table": "directus_users", - "foreign_key_column": "id", + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, "comment": null - } - }, - { - "collection": "Photo_Settings", - "field": "date_created", - "type": "timestamp", + }, "meta": { "collection": "Photo_Settings", "field": "date_created", @@ -16675,11 +16721,16 @@ "validation": null, "validation_message": null, "searchable": true - }, + } + }, + { + "collection": "Photo_Settings", + "field": "user_updated", + "type": "uuid", "schema": { - "name": "date_created", + "name": "user_updated", "table": "Photo_Settings", - "data_type": "timestamp with time zone", + "data_type": "uuid", "default_value": null, "generation_expression": null, "max_length": null, @@ -16691,16 +16742,11 @@ "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, - "foreign_key_schema": null, - "foreign_key_table": null, - "foreign_key_column": null, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", "comment": null - } - }, - { - "collection": "Photo_Settings", - "field": "user_updated", - "type": "uuid", + }, "meta": { "collection": "Photo_Settings", "field": "user_updated", @@ -16725,11 +16771,16 @@ "validation": null, "validation_message": null, "searchable": true - }, + } + }, + { + "collection": "Photo_Settings", + "field": "date_updated", + "type": "timestamp", "schema": { - "name": "user_updated", + "name": "date_updated", "table": "Photo_Settings", - "data_type": "uuid", + "data_type": "timestamp with time zone", "default_value": null, "generation_expression": null, "max_length": null, @@ -16741,16 +16792,11 @@ "is_indexed": false, "is_primary_key": false, "has_auto_increment": false, - "foreign_key_schema": "public", - "foreign_key_table": "directus_users", - "foreign_key_column": "id", + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, "comment": null - } - }, - { - "collection": "Photo_Settings", - "field": "date_updated", - "type": "timestamp", + }, "meta": { "collection": "Photo_Settings", "field": "date_updated", @@ -16775,18 +16821,23 @@ "validation": null, "validation_message": null, "searchable": true - }, + } + }, + { + "collection": "Photo_Settings", + "field": "enabled", + "type": "boolean", "schema": { - "name": "date_updated", + "name": "enabled", "table": "Photo_Settings", - "data_type": "timestamp with time zone", + "data_type": "boolean", "default_value": null, "generation_expression": null, "max_length": null, "numeric_precision": null, "numeric_scale": null, "is_generated": false, - "is_nullable": true, + "is_nullable": false, "is_unique": false, "is_indexed": false, "is_primary_key": false, @@ -16795,12 +16846,7 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - } - }, - { - "collection": "Photo_Settings", - "field": "enabled", - "type": "boolean", + }, "meta": { "collection": "Photo_Settings", "field": "enabled", @@ -16823,32 +16869,13 @@ "validation": null, "validation_message": null, "searchable": true - }, - "schema": { - "name": "enabled", - "table": "Photo_Settings", - "data_type": "boolean", - "default_value": null, - "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 } }, { "collection": "Photo_Settings", "field": "divider-5yf0y-", "type": "alias", + "schema": null, "meta": { "collection": "Photo_Settings", "field": "divider-5yf0y-", @@ -16875,13 +16902,32 @@ "validation": null, "validation_message": null, "searchable": true - }, - "schema": null + } }, { "collection": "Photo_Settings", "field": "categories_index_route_template_url", "type": "string", + "schema": { + "name": "categories_index_route_template_url", + "table": "Photo_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": "Photo_Settings", "field": "categories_index_route_template_url", @@ -16904,32 +16950,13 @@ "validation": null, "validation_message": null, "searchable": true - }, - "schema": { - "name": "categories_index_route_template_url", - "table": "Photo_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": "Photo_Settings", "field": "divider-sdaevk", "type": "alias", + "schema": null, "meta": { "collection": "Photo_Settings", "field": "divider-sdaevk", @@ -16956,13 +16983,32 @@ "validation": null, "validation_message": null, "searchable": true - }, - "schema": null + } }, { "collection": "Photo_Settings", "field": "category_route_template_url", "type": "string", + "schema": { + "name": "category_route_template_url", + "table": "Photo_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": "Photo_Settings", "field": "category_route_template_url", @@ -16985,18 +17031,23 @@ "validation": null, "validation_message": null, "searchable": true - }, + } + }, + { + "collection": "Photo_Settings", + "field": "albums_per_category_page", + "type": "integer", "schema": { - "name": "category_route_template_url", + "name": "albums_per_category_page", "table": "Photo_Settings", - "data_type": "character varying", - "default_value": null, + "data_type": "integer", + "default_value": 6, "generation_expression": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, "is_generated": false, - "is_nullable": false, + "is_nullable": true, "is_unique": false, "is_indexed": false, "is_primary_key": false, @@ -17005,12 +17056,7 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - } - }, - { - "collection": "Photo_Settings", - "field": "albums_per_category_page", - "type": "integer", + }, "meta": { "collection": "Photo_Settings", "field": "albums_per_category_page", @@ -17035,32 +17081,32 @@ "validation": null, "validation_message": null, "searchable": true - }, - "schema": { - "name": "albums_per_category_page", - "table": "Photo_Settings", - "data_type": "integer", - "default_value": 6, - "generation_expression": null, - "max_length": null, - "numeric_precision": 32, - "numeric_scale": 0, - "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": "Photo_Settings", "field": "category_icons", "type": "uuid", + "schema": { + "name": "category_icons", + "table": "Photo_Settings", + "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": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "Photo_Category_Icons", + "foreign_key_column": "id", + "comment": null + }, "meta": { "collection": "Photo_Settings", "field": "category_icons", @@ -17085,32 +17131,13 @@ "validation": null, "validation_message": null, "searchable": true - }, - "schema": { - "name": "category_icons", - "table": "Photo_Settings", - "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": false, - "is_indexed": false, - "is_primary_key": false, - "has_auto_increment": false, - "foreign_key_schema": "public", - "foreign_key_table": "Photo_Category_Icons", - "foreign_key_column": "id", - "comment": null } }, { "collection": "Photo_Settings", "field": "divider-oos72w", "type": "alias", + "schema": null, "meta": { "collection": "Photo_Settings", "field": "divider-oos72w", @@ -17137,13 +17164,32 @@ "validation": null, "validation_message": null, "searchable": true - }, - "schema": null + } }, { "collection": "Photo_Settings", "field": "album_route_template_url", "type": "string", + "schema": { + "name": "album_route_template_url", + "table": "Photo_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": "Photo_Settings", "field": "album_route_template_url", @@ -17166,16 +17212,21 @@ "validation": null, "validation_message": null, "searchable": true - }, + } + }, + { + "collection": "Photo_Settings", + "field": "photos_per_album_page", + "type": "integer", "schema": { - "name": "album_route_template_url", + "name": "photos_per_album_page", "table": "Photo_Settings", - "data_type": "character varying", - "default_value": null, + "data_type": "integer", + "default_value": 25, "generation_expression": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, "is_generated": false, "is_nullable": false, "is_unique": false, @@ -17186,12 +17237,7 @@ "foreign_key_table": null, "foreign_key_column": null, "comment": null - } - }, - { - "collection": "Photo_Settings", - "field": "photos_per_album_page", - "type": "integer", + }, "meta": { "collection": "Photo_Settings", "field": "photos_per_album_page", @@ -17216,32 +17262,13 @@ "validation": null, "validation_message": null, "searchable": true - }, - "schema": { - "name": "photos_per_album_page", - "table": "Photo_Settings", - "data_type": "integer", - "default_value": 25, - "generation_expression": null, - "max_length": null, - "numeric_precision": 32, - "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": "Photo_Settings", "field": "divider-8djkvo", "type": "alias", + "schema": null, "meta": { "collection": "Photo_Settings", "field": "divider-8djkvo", @@ -17268,13 +17295,32 @@ "validation": null, "validation_message": null, "searchable": true - }, - "schema": null + } }, { "collection": "Photo_Settings", "field": "photo_route_template_url", "type": "string", + "schema": { + "name": "photo_route_template_url", + "table": "Photo_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": "Photo_Settings", "field": "photo_route_template_url", @@ -17297,32 +17343,32 @@ "validation": null, "validation_message": null, "searchable": true - }, - "schema": { - "name": "photo_route_template_url", - "table": "Photo_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": "Photo_Settings", "field": "photo_icons", "type": "integer", + "schema": { + "name": "photo_icons", + "table": "Photo_Settings", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "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": "public", + "foreign_key_table": "Photo_Icons", + "foreign_key_column": "id", + "comment": null + }, "meta": { "collection": "Photo_Settings", "field": "photo_icons", @@ -17347,26 +17393,6 @@ "validation": null, "validation_message": null, "searchable": true - }, - "schema": { - "name": "photo_icons", - "table": "Photo_Settings", - "data_type": "integer", - "default_value": null, - "generation_expression": null, - "max_length": null, - "numeric_precision": 32, - "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": "public", - "foreign_key_table": "Photo_Icons", - "foreign_key_column": "id", - "comment": null } }, { @@ -18528,6 +18554,381 @@ "searchable": true } }, + { + "collection": "Plugin_Settings", + "field": "id", + "type": "integer", + "schema": { + "name": "id", + "table": "Plugin_Settings", + "data_type": "integer", + "default_value": "nextval('\"Plugin_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": "Plugin_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": "Plugin_Settings", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "Plugin_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": "Plugin_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": "Plugin_Settings", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "Plugin_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": "Plugin_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": "Plugin_Settings", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "Plugin_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": "Plugin_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": "Plugin_Settings", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "Plugin_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": "Plugin_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": "Plugin_Settings", + "field": "divider-3hkxd4", + "type": "alias", + "schema": null, + "meta": { + "collection": "Plugin_Settings", + "field": "divider-3hkxd4", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "title": "Swetrix", + "icon": "auto_graph" + }, + "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 + } + }, + { + "collection": "Plugin_Settings", + "field": "swetrix_url", + "type": "string", + "schema": { + "name": "swetrix_url", + "table": "Plugin_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": 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": "Plugin_Settings", + "field": "swetrix_url", + "special": null, + "interface": "input", + "options": { + "iconLeft": "link" + }, + "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": "Plugin_Settings", + "field": "swetrix_id", + "type": "string", + "schema": { + "name": "swetrix_id", + "table": "Plugin_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": 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": "Plugin_Settings", + "field": "swetrix_id", + "special": null, + "interface": "input", + "options": { + "iconLeft": "numbers" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null, + "searchable": true + } + }, { "collection": "Hero", "field": "id", @@ -25095,6 +25496,32 @@ "one_deselect_action": "nullify" } }, + { + "collection": "Photo_Settings", + "field": "category_icons", + "related_collection": "Photo_Category_Icons", + "schema": { + "constraint_name": "photo_settings_category_icons_foreign", + "table": "Photo_Settings", + "column": "category_icons", + "foreign_key_schema": "public", + "foreign_key_table": "Photo_Category_Icons", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "Photo_Settings", + "many_field": "category_icons", + "one_collection": "Photo_Category_Icons", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, { "collection": "Photo_Settings", "field": "photo_icons", @@ -25173,32 +25600,6 @@ "one_deselect_action": "nullify" } }, - { - "collection": "Photo_Settings", - "field": "category_icons", - "related_collection": "Photo_Category_Icons", - "schema": { - "constraint_name": "photo_settings_category_icons_foreign", - "table": "Photo_Settings", - "column": "category_icons", - "foreign_key_schema": "public", - "foreign_key_table": "Photo_Category_Icons", - "foreign_key_column": "id", - "on_update": "NO ACTION", - "on_delete": "NO ACTION" - }, - "meta": { - "many_collection": "Photo_Settings", - "many_field": "category_icons", - "one_collection": "Photo_Category_Icons", - "one_field": null, - "one_collection_field": null, - "one_allowed_collections": null, - "junction_field": null, - "sort_field": null, - "one_deselect_action": "nullify" - } - }, { "collection": "Photo_Icons", "field": "download_icon", @@ -25407,6 +25808,84 @@ "one_deselect_action": "nullify" } }, + { + "collection": "Photo_Category_Icons", + "field": "date_icon", + "related_collection": "directus_files", + "schema": { + "constraint_name": "photo_category_icons_date_icon_foreign", + "table": "Photo_Category_Icons", + "column": "date_icon", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "Photo_Category_Icons", + "many_field": "date_icon", + "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": "Photo_Category_Icons", + "field": "location_icon", + "related_collection": "directus_files", + "schema": { + "constraint_name": "photo_category_icons_location_icon_foreign", + "table": "Photo_Category_Icons", + "column": "location_icon", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "Photo_Category_Icons", + "many_field": "location_icon", + "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": "Photo_Category_Icons", + "field": "photos_icon", + "related_collection": "directus_files", + "schema": { + "constraint_name": "photo_category_icons_photos_icon_foreign", + "table": "Photo_Category_Icons", + "column": "photos_icon", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "Photo_Category_Icons", + "many_field": "photos_icon", + "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": "Photo_Category_Icons", "field": "user_updated", @@ -25460,23 +25939,23 @@ } }, { - "collection": "Photo_Category_Icons", - "field": "photos_icon", - "related_collection": "directus_files", + "collection": "Plugin_Settings", + "field": "user_created", + "related_collection": "directus_users", "schema": { - "constraint_name": "photo_category_icons_photos_icon_foreign", - "table": "Photo_Category_Icons", - "column": "photos_icon", + "constraint_name": "plugin_settings_user_created_foreign", + "table": "Plugin_Settings", + "column": "user_created", "foreign_key_schema": "public", - "foreign_key_table": "directus_files", + "foreign_key_table": "directus_users", "foreign_key_column": "id", "on_update": "NO ACTION", "on_delete": "NO ACTION" }, "meta": { - "many_collection": "Photo_Category_Icons", - "many_field": "photos_icon", - "one_collection": "directus_files", + "many_collection": "Plugin_Settings", + "many_field": "user_created", + "one_collection": "directus_users", "one_field": null, "one_collection_field": null, "one_allowed_collections": null, @@ -25486,49 +25965,23 @@ } }, { - "collection": "Photo_Category_Icons", - "field": "location_icon", - "related_collection": "directus_files", + "collection": "Plugin_Settings", + "field": "user_updated", + "related_collection": "directus_users", "schema": { - "constraint_name": "photo_category_icons_location_icon_foreign", - "table": "Photo_Category_Icons", - "column": "location_icon", + "constraint_name": "plugin_settings_user_updated_foreign", + "table": "Plugin_Settings", + "column": "user_updated", "foreign_key_schema": "public", - "foreign_key_table": "directus_files", + "foreign_key_table": "directus_users", "foreign_key_column": "id", "on_update": "NO ACTION", "on_delete": "NO ACTION" }, "meta": { - "many_collection": "Photo_Category_Icons", - "many_field": "location_icon", - "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": "Photo_Category_Icons", - "field": "date_icon", - "related_collection": "directus_files", - "schema": { - "constraint_name": "photo_category_icons_date_icon_foreign", - "table": "Photo_Category_Icons", - "column": "date_icon", - "foreign_key_schema": "public", - "foreign_key_table": "directus_files", - "foreign_key_column": "id", - "on_update": "NO ACTION", - "on_delete": "NO ACTION" - }, - "meta": { - "many_collection": "Photo_Category_Icons", - "many_field": "date_icon", - "one_collection": "directus_files", + "many_collection": "Plugin_Settings", + "many_field": "user_updated", + "one_collection": "directus_users", "one_field": null, "one_collection_field": null, "one_allowed_collections": null,