diff --git a/backend/directus-config/development/collections/permissions.json b/backend/directus-config/development/collections/permissions.json index 70c5395b..d28f6faa 100644 --- a/backend/directus-config/development/collections/permissions.json +++ b/backend/directus-config/development/collections/permissions.json @@ -1649,7 +1649,7 @@ "permissions": null, "validation": null, "presets": { - "role": "cb5c5489-f8a8-4d91-984d-584cbae84a06" + "role": "72f08162-fbd4-432e-b3f2-c8a6ecb289fc" }, "fields": [ "first_name", @@ -2205,102 +2205,6 @@ "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", "_syncId": "8e8dcb5f-e3df-4d10-a44b-ac916bed0567" }, - { - "collection": "oceannomads_events", - "action": "create", - "permissions": null, - "validation": null, - "presets": null, - "fields": [ - "*" - ], - "policy": "b0eb656b-96e5-4a30-a083-6ef8141e6a4c", - "_syncId": "c20b5c36-b03c-4a4d-8a86-0c5fc5805bbb" - }, - { - "collection": "oceannomads_events", - "action": "delete", - "permissions": null, - "validation": null, - "presets": null, - "fields": [ - "*" - ], - "policy": "b0eb656b-96e5-4a30-a083-6ef8141e6a4c", - "_syncId": "e61f5cdf-33e2-46db-828b-aab05c30dd32" - }, - { - "collection": "oceannomads_events", - "action": "read", - "permissions": null, - "validation": null, - "presets": null, - "fields": [ - "*" - ], - "policy": "b0eb656b-96e5-4a30-a083-6ef8141e6a4c", - "_syncId": "c86a309a-d4ec-4135-bff4-238825ea7053" - }, - { - "collection": "oceannomads_events", - "action": "update", - "permissions": null, - "validation": null, - "presets": null, - "fields": [ - "*" - ], - "policy": "b0eb656b-96e5-4a30-a083-6ef8141e6a4c", - "_syncId": "d03d2704-3311-4dc1-bb94-b542c89f94b4" - }, - { - "collection": "oceannomads_profiles", - "action": "create", - "permissions": null, - "validation": null, - "presets": null, - "fields": [ - "*" - ], - "policy": "b0eb656b-96e5-4a30-a083-6ef8141e6a4c", - "_syncId": "5a2ba99b-bd06-4a47-8fc1-3919001d1c4a" - }, - { - "collection": "oceannomads_profiles", - "action": "delete", - "permissions": null, - "validation": null, - "presets": null, - "fields": [ - "*" - ], - "policy": "b0eb656b-96e5-4a30-a083-6ef8141e6a4c", - "_syncId": "47783f7d-cb09-4dbd-a2ad-cf26c3c02192" - }, - { - "collection": "oceannomads_profiles", - "action": "read", - "permissions": null, - "validation": null, - "presets": null, - "fields": [ - "*" - ], - "policy": "b0eb656b-96e5-4a30-a083-6ef8141e6a4c", - "_syncId": "3f0621ff-34ba-4f6c-9274-b5fb1ccf8c3a" - }, - { - "collection": "oceannomads_profiles", - "action": "update", - "permissions": null, - "validation": null, - "presets": null, - "fields": [ - "*" - ], - "policy": "b0eb656b-96e5-4a30-a083-6ef8141e6a4c", - "_syncId": "dc87ced0-4465-4e68-8732-97d73b0d2de4" - }, { "collection": "attestations_directus_users", "action": "create", diff --git a/backend/directus-config/development/seed/directus_files.json b/backend/directus-config/development/seed/directus_files.json index 1b3b2fa3..7b826c39 100644 --- a/backend/directus-config/development/seed/directus_files.json +++ b/backend/directus-config/development/seed/directus_files.json @@ -17,16 +17,6 @@ "title": "Utopia Logo", "tags": [], "description": "Utopia Logo" - }, - { - "_sync_id": "vessel-svg", - "_file_path": "./files/vessel.svg", - "storage": "local", - "folder": "27b2a288-d50a-48b7-88cd-35945503277b", - "filename_download": "vessel.svg", - "title": "Vessel SVG", - "tags": [], - "description": "Vessel SVG" } ] } \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/vessel.svg b/backend/directus-config/development/seed/files/vessel.svg deleted file mode 100644 index 91a500fe..00000000 --- a/backend/directus-config/development/seed/files/vessel.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/backend/directus-config/development/seed/gallery.json b/backend/directus-config/development/seed/gallery.json index 1d8548fa..8d38324d 100644 --- a/backend/directus-config/development/seed/gallery.json +++ b/backend/directus-config/development/seed/gallery.json @@ -16,6 +16,10 @@ { "_sync_id": "b0c52d6e-b3d2-4e3b-89e2-065be324e27b", "hideInputLabel": false + }, + { + "_sync_id": "6d18b616-6f4f-4987-9860-681b88bdc068", + "hideInputLabel": false } ] } \ No newline at end of file diff --git a/backend/directus-config/development/seed/items.json b/backend/directus-config/development/seed/items.json index bd44cb0d..fd778c6f 100644 --- a/backend/directus-config/development/seed/items.json +++ b/backend/directus-config/development/seed/items.json @@ -13,7 +13,7 @@ "_sync_id": "item-places-1", "name": "Welcome to Utopia Map", "subname" : "The opensource collaborative mapping plattform", - "text": "Check out our [GitHub](https://github.com/utopia-os/utopia-map)!", + "text": "The Utopia Map is a flexible collaborative app for decentralized coordination and real-life networking that can be adapted to the specific requirements of different networks. Its central element is the interactive geographical map, where users can add and manage **Items** in predefined **Layers**. \n\nUtopia Map is made for networks and initiatives that aim to connect people in real life. By providing a custom instance of Utopia Map, each network can grow and coordinate its ecosystem effectively while encouraging real-world interactions and collaborations.\n\n## Key Features\n- **Interactive Map**: The core feature is an intuitive geographical map where users can add, edit, and manage items like members, activities, and resources. Each map instance has its own identity, users, and unique configuration.\n- **Customizable Layers**: Items are organized into predefined Layers, each with specific icons, colors, texts, and Map Markers. This ensures clarity and relevance for different networks.\n- **Dynamic Map Markers**: Geographic position of item are indicated on the map by adaptive and customizable Map Markers\n- **Popups**: Clicking a Map Marker reveals a Popup — a compact preview of the Item with its most relevant information. Define custom Popups for each of your Layers.\n- **Profiles**: Each Item has a dedicated Profile that showcases all its associated data, making it easier to explore and manage. Define custom profiles for each of your Layers.\n\nCheck out our [GitHub](https://github.com/utopia-os/utopia-map)!", "position": { "type": "Point", "coordinates": [ @@ -21,13 +21,13 @@ 50.51565268622562 ] }, + "image": "utopia-logo", "layer" : "layer-places" }, { "_sync_id": "item-event-1", "name": "Some Event", - "subname" : "The opensource collaborative mapping plattform", - "text": "Check out our [GitHub](https://github.com/utopia-os/utopia-map)!", + "text": "This is an example event. Events are temporary items that disappear once the end date has passed.", "position": { "type": "Point", "coordinates": [ @@ -40,9 +40,9 @@ "end": "2027-06-25T12:00:00" }, { - "_sync_id": "item-nomad-location-1", - "name": "Anton Tranelis", - "text": "bla blab ...", + "_sync_id": "item-user-1", + "name": "Admin User", + "text": "This is the personal profile of the admin user. Every user can place his personal profile on the map.", "position": { "type": "Point", "coordinates": [ @@ -50,46 +50,7 @@ 51.41565268622562 ] }, - "layer" : "layer-nomads_location" - }, - { - "_sync_id": "item-nomad-base-1", - "name": "Anton Tranelis", - "text": "bla blab ...", - "position": { - "type": "Point", - "coordinates": [ - 9.67625824315172, - 48.41565268622562 - ] - }, - "layer" : "layer-nomads_base" - }, - { - "_sync_id": "item-vessel-1", - "name": "Vessel XY", - "text": "shipping the sea", - "position": { - "type": "Point", - "coordinates": [ - -2.67625824315172, - 48.61565268622562 - ] - }, - "layer" : "layer-vessels" - }, - { - "_sync_id": "item-basecamp-1", - "name": "Basecamp XY", - "text": "come and join our camp", - "position": { - "type": "Point", - "coordinates": [ - 1.6007423400878908, - 50.184428095190555 - ] - }, - "layer" : "layer-basecamps" + "layer" : "layer-people" } ] } \ No newline at end of file diff --git a/backend/directus-config/development/seed/layers.json b/backend/directus-config/development/seed/layers.json index 6fc73da9..a76fe0a0 100644 --- a/backend/directus-config/development/seed/layers.json +++ b/backend/directus-config/development/seed/layers.json @@ -12,72 +12,13 @@ { "_sync_id": "layer-places", "name": "Places", - "itemType": "type-simple", + "itemType": "type-text-gallery", "userProfileLayer": false, - "indexIcon": "map-pin-outline", - "menuColor": "#2ECDA7", - "menuIcon": "point-solid", + "menuColor": "#008e5b", "menuText": "Add new Place", + "markerIcon" : "marker-point", "markerShape" : "circle", "markerDefaultColor2": null, - "onlyOnePerOwner": false, - "index_plus_button": true, - "public_edit_items": false, - "listed": true, - "item_presets": null, - "sort": 1 - }, - { - "_sync_id": "layer-events", - "name": "Events", - "itemType": "type-event", - "userProfileLayer": false, - "indexIcon": "calendar-outline", - "menuColor": "#6644FF", - "menuIcon": "calendar-solid", - "menuText": "Add new Event", - "markerIcon" : "marker-calendar", - "markerShape" : "square", - "markerDefaultColor2": null, - "onlyOnePerOwner": false, - "index_plus_button": true, - "public_edit_items": false, - "listed": true, - "item_presets": null, - "sort": 5 - }, - { - "_sync_id": "layer-nomads_location", - "name": "Nomads Location", - "itemType": "type-ON_nomads_location", - "userProfileLayer": false, - "indexIcon": "users-outline", - "menuColor": "#18222F", - "menuIcon": "user-solid", - "menuText": "Share your Location", - "markerIcon" : "marker-user", - "markerShape" : "square", - "markerDefaultColor2": null, - "onlyOnePerOwner": true, - "index_plus_button": true, - "public_edit_items": false, - "listed": true, - "item_presets": null, - "sort": 1 - }, - { - "_sync_id": "layer-nomads_base", - "name": "Nomads Base", - "itemType": "type-ON_nomads_location", - "userProfileLayer": false, - "indexIcon": "house-outline", - "menuColor": "#B05463", - "menuIcon" : "house-solid", - "menuText": "Share a new Home Base", - "markerIcon" : "marker-house", - "markerShape" : "square", - "markerDefaultColor2": null, - "onlyOnePerOwner": true, "index_plus_button": true, "public_edit_items": false, "listed": true, @@ -85,42 +26,37 @@ "sort": 2 }, { - "_sync_id": "layer-vessels", - "name": "Vessels", - "itemType": "type-text-gallery", + "_sync_id": "layer-events", + "name": "Events", + "itemType": "type-event", "userProfileLayer": false, - "indexIcon": "boat-outline", - "menuColor": "#19898F", - "menuIcon" : "boat-solid", - "menuText": "Add a new Vessel", - "markerIcon" : "marker-boat", + "menuColor": "#c4037d", + "menuText": "Add new Event", + "markerIcon" : "marker-calendar", "markerShape" : "square", "markerDefaultColor2": null, - "onlyOnePerOwner": true, "index_plus_button": true, "public_edit_items": false, "listed": true, "item_presets": null, "sort": 3 }, + { - "_sync_id": "layer-basecamps", - "name": "Basecamps", - "itemType": "type-text-gallery", - "userProfileLayer": false, - "indexIcon": "camp-solid", - "menuColor": "#FFA439", - "menuIcon" : "camp-solid", - "menuText": "Add a new Basecamp", - "markerIcon" : "marker-camp", + "_sync_id": "layer-people", + "name": "People", + "itemType": "type-user-text-gallery", + "userProfileLayer": true, + "menuColor": "#e87520", + "menuText": "Add a new Vessel", + "markerIcon" : "marker-user", "markerShape" : "square", "markerDefaultColor2": null, - "onlyOnePerOwner": true, "index_plus_button": true, "public_edit_items": false, "listed": true, "item_presets": null, - "sort": 4 + "sort": 1 } ] } \ No newline at end of file diff --git a/backend/directus-config/development/seed/layers_maps.json b/backend/directus-config/development/seed/layers_maps.json index ff4e0e94..ad943771 100644 --- a/backend/directus-config/development/seed/layers_maps.json +++ b/backend/directus-config/development/seed/layers_maps.json @@ -15,23 +15,13 @@ "maps_id": "map-local-development" }, { - "_sync_id": "layer-nomads-location-map-local-development", - "layers_id": "layer-nomads_location", + "_sync_id": "layer-people-map-local-development", + "layers_id": "layer-people", "maps_id": "map-local-development" }, { - "_sync_id": "layer-nomads-base-map-local-development", - "layers_id": "layer-nomads_base", - "maps_id": "map-local-development" - }, - { - "_sync_id": "layer-vessel-map-local-development", - "layers_id": "layer-vessels", - "maps_id": "map-local-development" - }, - { - "_sync_id": "layer-basecamps-map-local-development", - "layers_id": "layer-basecamps", + "_sync_id": "layer-places-map-local-development", + "layers_id": "layer-places", "maps_id": "map-local-development" } ] diff --git a/backend/directus-config/development/seed/maps.json b/backend/directus-config/development/seed/maps.json index d47aa6f2..3a33d5f5 100644 --- a/backend/directus-config/development/seed/maps.json +++ b/backend/directus-config/development/seed/maps.json @@ -13,7 +13,7 @@ "_sync_id": "map-local-development", "name": "Local Development", "url": "http://local.development", - "logo": "vessel-svg", + "logo": "utopia-logo", "zoom": 6, "own_tag_space": true, "center": { diff --git a/backend/directus-config/development/seed/marker_icons.json b/backend/directus-config/development/seed/marker_icons.json index b168ac1c..2554cc86 100644 --- a/backend/directus-config/development/seed/marker_icons.json +++ b/backend/directus-config/development/seed/marker_icons.json @@ -133,7 +133,9 @@ "_sync_id": "marker-point", "id": "point", "size": "12.00000", - "image": "point-solid" + "image": "point-solid", + "image_outline": "map-pin-outline", + "size_outline": "18.00000" }, { "_sync_id": "marker-puzzle", diff --git a/backend/directus-config/development/seed/texts.json b/backend/directus-config/development/seed/texts.json index e5447001..3877c904 100644 --- a/backend/directus-config/development/seed/texts.json +++ b/backend/directus-config/development/seed/texts.json @@ -24,6 +24,14 @@ "hideWhenEmpty": true, "showMarkdownHint": true, "size": "full" + }, + { + "_sync_id": "c960bbfc-5d98-4f6d-ae44-7a2b63d3359b", + "dataField": "text", + "heading": null, + "hideWhenEmpty": true, + "showMarkdownHint": true, + "size": "full" } ] } \ No newline at end of file diff --git a/backend/directus-config/development/seed/types.json b/backend/directus-config/development/seed/types.json index 92704e1b..53083881 100644 --- a/backend/directus-config/development/seed/types.json +++ b/backend/directus-config/development/seed/types.json @@ -29,6 +29,7 @@ "user_updated": null, "date_updated": null, "template": "flex", + "show_start_end_input": true, "show_text": true, "show_profile_button" : true, "show_start_end" : true @@ -65,6 +66,22 @@ "show_name_input" : true, "show_header_view_in_form" : false, "small_form_edit" : false + }, + { + "_sync_id": "type-user-text-gallery", + "name": "user:text+gallery", + "user_created": null, + "date_created": "2025-01-01T00:00:00.000Z", + "user_updated": null, + "date_updated": null, + "template": "flex", + "show_text": true, + "show_profile_button" : true, + "show_start_end" : false, + "show_text_input" : false, + "show_name_input" : false, + "show_header_view_in_form" : false, + "small_form_edit" : false } ] } diff --git a/backend/directus-config/development/snapshot/collections/oceannomads_events.json b/backend/directus-config/development/snapshot/collections/oceannomads_events.json deleted file mode 100644 index 3803ada5..00000000 --- a/backend/directus-config/development/snapshot/collections/oceannomads_events.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "collection": "oceannomads_events", - "meta": { - "accountability": "all", - "archive_app_filter": true, - "archive_field": null, - "archive_value": null, - "collapse": "open", - "collection": "oceannomads_events", - "color": null, - "display_template": null, - "group": null, - "hidden": false, - "icon": null, - "item_duplication_fields": null, - "note": null, - "preview_url": null, - "singleton": false, - "sort": 23, - "sort_field": null, - "translations": null, - "unarchive_value": null, - "versioning": false - }, - "schema": { - "name": "oceannomads_events" - } -} diff --git a/backend/directus-config/development/snapshot/collections/oceannomads_profiles.json b/backend/directus-config/development/snapshot/collections/oceannomads_profiles.json deleted file mode 100644 index 336e924b..00000000 --- a/backend/directus-config/development/snapshot/collections/oceannomads_profiles.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "collection": "oceannomads_profiles", - "meta": { - "accountability": "all", - "archive_app_filter": true, - "archive_field": null, - "archive_value": null, - "collapse": "open", - "collection": "oceannomads_profiles", - "color": null, - "display_template": null, - "group": null, - "hidden": false, - "icon": null, - "item_duplication_fields": null, - "note": null, - "preview_url": null, - "singleton": false, - "sort": 24, - "sort_field": null, - "translations": null, - "unarchive_value": null, - "versioning": false - }, - "schema": { - "name": "oceannomads_profiles" - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_events/creator_email.json b/backend/directus-config/development/snapshot/fields/oceannomads_events/creator_email.json deleted file mode 100644 index 82f830af..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_events/creator_email.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_events", - "field": "creator_email", - "type": "string", - "meta": { - "collection": "oceannomads_events", - "conditions": null, - "display": null, - "display_options": null, - "field": "creator_email", - "group": null, - "hidden": false, - "interface": "input", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 9, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "full" - }, - "schema": { - "name": "creator_email", - "table": "oceannomads_events", - "data_type": "character varying", - "default_value": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_events/date_created.json b/backend/directus-config/development/snapshot/fields/oceannomads_events/date_created.json deleted file mode 100644 index 611e1dd3..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_events/date_created.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "collection": "oceannomads_events", - "field": "date_created", - "type": "timestamp", - "meta": { - "collection": "oceannomads_events", - "conditions": null, - "display": "datetime", - "display_options": { - "relative": true - }, - "field": "date_created", - "group": null, - "hidden": true, - "interface": "datetime", - "note": null, - "options": null, - "readonly": true, - "required": false, - "sort": 2, - "special": [ - "date-created" - ], - "translations": null, - "validation": null, - "validation_message": null, - "width": "half" - }, - "schema": { - "name": "date_created", - "table": "oceannomads_events", - "data_type": "timestamp with time zone", - "default_value": null, - "max_length": null, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_events/date_updated.json b/backend/directus-config/development/snapshot/fields/oceannomads_events/date_updated.json deleted file mode 100644 index df0e5a55..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_events/date_updated.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "collection": "oceannomads_events", - "field": "date_updated", - "type": "timestamp", - "meta": { - "collection": "oceannomads_events", - "conditions": null, - "display": "datetime", - "display_options": { - "relative": true - }, - "field": "date_updated", - "group": null, - "hidden": true, - "interface": "datetime", - "note": null, - "options": null, - "readonly": true, - "required": false, - "sort": 3, - "special": [ - "date-updated" - ], - "translations": null, - "validation": null, - "validation_message": null, - "width": "half" - }, - "schema": { - "name": "date_updated", - "table": "oceannomads_events", - "data_type": "timestamp with time zone", - "default_value": null, - "max_length": null, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_events/end.json b/backend/directus-config/development/snapshot/fields/oceannomads_events/end.json deleted file mode 100644 index 2393285c..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_events/end.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_events", - "field": "end", - "type": "dateTime", - "meta": { - "collection": "oceannomads_events", - "conditions": null, - "display": null, - "display_options": null, - "field": "end", - "group": null, - "hidden": false, - "interface": "datetime", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 6, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "full" - }, - "schema": { - "name": "end", - "table": "oceannomads_events", - "data_type": "timestamp without time zone", - "default_value": null, - "max_length": null, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_events/id.json b/backend/directus-config/development/snapshot/fields/oceannomads_events/id.json deleted file mode 100644 index 6d6286e1..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_events/id.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_events", - "field": "id", - "type": "string", - "meta": { - "collection": "oceannomads_events", - "conditions": null, - "display": null, - "display_options": null, - "field": "id", - "group": null, - "hidden": false, - "interface": "input", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 1, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "full" - }, - "schema": { - "name": "id", - "table": "oceannomads_events", - "data_type": "character varying", - "default_value": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": false, - "is_unique": true, - "is_indexed": false, - "is_primary_key": true, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_events/location.json b/backend/directus-config/development/snapshot/fields/oceannomads_events/location.json deleted file mode 100644 index 8a81dde8..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_events/location.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_events", - "field": "location", - "type": "string", - "meta": { - "collection": "oceannomads_events", - "conditions": null, - "display": null, - "display_options": null, - "field": "location", - "group": null, - "hidden": false, - "interface": "input", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 8, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "full" - }, - "schema": { - "name": "location", - "table": "oceannomads_events", - "data_type": "character varying", - "default_value": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_events/start.json b/backend/directus-config/development/snapshot/fields/oceannomads_events/start.json deleted file mode 100644 index 89958451..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_events/start.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_events", - "field": "start", - "type": "dateTime", - "meta": { - "collection": "oceannomads_events", - "conditions": null, - "display": null, - "display_options": null, - "field": "start", - "group": null, - "hidden": false, - "interface": "datetime", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 5, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "full" - }, - "schema": { - "name": "start", - "table": "oceannomads_events", - "data_type": "timestamp without time zone", - "default_value": null, - "max_length": null, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_events/text.json b/backend/directus-config/development/snapshot/fields/oceannomads_events/text.json deleted file mode 100644 index 071f6f55..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_events/text.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_events", - "field": "text", - "type": "text", - "meta": { - "collection": "oceannomads_events", - "conditions": null, - "display": null, - "display_options": null, - "field": "text", - "group": null, - "hidden": false, - "interface": "input-multiline", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 7, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "full" - }, - "schema": { - "name": "text", - "table": "oceannomads_events", - "data_type": "text", - "default_value": null, - "max_length": null, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_events/title.json b/backend/directus-config/development/snapshot/fields/oceannomads_events/title.json deleted file mode 100644 index 916caaa6..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_events/title.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_events", - "field": "title", - "type": "string", - "meta": { - "collection": "oceannomads_events", - "conditions": null, - "display": null, - "display_options": null, - "field": "title", - "group": null, - "hidden": false, - "interface": "input", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 4, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "full" - }, - "schema": { - "name": "title", - "table": "oceannomads_events", - "data_type": "character varying", - "default_value": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/avatar_url.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/avatar_url.json deleted file mode 100644 index 18140dff..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/avatar_url.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_profiles", - "field": "avatar_url", - "type": "string", - "meta": { - "collection": "oceannomads_profiles", - "conditions": null, - "display": null, - "display_options": null, - "field": "avatar_url", - "group": null, - "hidden": false, - "interface": "input", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 8, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "full" - }, - "schema": { - "name": "avatar_url", - "table": "oceannomads_profiles", - "data_type": "character varying", - "default_value": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/date_created.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/date_created.json deleted file mode 100644 index d4735a53..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/date_created.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "collection": "oceannomads_profiles", - "field": "date_created", - "type": "timestamp", - "meta": { - "collection": "oceannomads_profiles", - "conditions": null, - "display": "datetime", - "display_options": { - "relative": true - }, - "field": "date_created", - "group": null, - "hidden": true, - "interface": "datetime", - "note": null, - "options": null, - "readonly": true, - "required": false, - "sort": 3, - "special": [ - "date-created" - ], - "translations": null, - "validation": null, - "validation_message": null, - "width": "half" - }, - "schema": { - "name": "date_created", - "table": "oceannomads_profiles", - "data_type": "timestamp with time zone", - "default_value": null, - "max_length": null, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/date_updated.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/date_updated.json deleted file mode 100644 index 991f590f..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/date_updated.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "collection": "oceannomads_profiles", - "field": "date_updated", - "type": "timestamp", - "meta": { - "collection": "oceannomads_profiles", - "conditions": null, - "display": "datetime", - "display_options": { - "relative": true - }, - "field": "date_updated", - "group": null, - "hidden": true, - "interface": "datetime", - "note": null, - "options": null, - "readonly": true, - "required": false, - "sort": 4, - "special": [ - "date-updated" - ], - "translations": null, - "validation": null, - "validation_message": null, - "width": "half" - }, - "schema": { - "name": "date_updated", - "table": "oceannomads_profiles", - "data_type": "timestamp with time zone", - "default_value": null, - "max_length": null, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/email.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/email.json deleted file mode 100644 index 0fb1d979..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/email.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_profiles", - "field": "email", - "type": "string", - "meta": { - "collection": "oceannomads_profiles", - "conditions": null, - "display": null, - "display_options": null, - "field": "email", - "group": null, - "hidden": false, - "interface": "input", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 2, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "half" - }, - "schema": { - "name": "email", - "table": "oceannomads_profiles", - "data_type": "character varying", - "default_value": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/first_name.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/first_name.json deleted file mode 100644 index e8dfbd38..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/first_name.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_profiles", - "field": "first_name", - "type": "string", - "meta": { - "collection": "oceannomads_profiles", - "conditions": null, - "display": null, - "display_options": null, - "field": "first_name", - "group": null, - "hidden": false, - "interface": "input", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 5, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "half" - }, - "schema": { - "name": "first_name", - "table": "oceannomads_profiles", - "data_type": "character varying", - "default_value": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/id.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/id.json deleted file mode 100644 index b7de15e1..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/id.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_profiles", - "field": "id", - "type": "string", - "meta": { - "collection": "oceannomads_profiles", - "conditions": null, - "display": null, - "display_options": null, - "field": "id", - "group": null, - "hidden": false, - "interface": "input", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 1, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "half" - }, - "schema": { - "name": "id", - "table": "oceannomads_profiles", - "data_type": "character varying", - "default_value": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": false, - "is_unique": true, - "is_indexed": false, - "is_primary_key": true, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/last_name.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/last_name.json deleted file mode 100644 index f5e6a759..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/last_name.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_profiles", - "field": "last_name", - "type": "string", - "meta": { - "collection": "oceannomads_profiles", - "conditions": null, - "display": null, - "display_options": null, - "field": "last_name", - "group": null, - "hidden": false, - "interface": "input", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 6, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "half" - }, - "schema": { - "name": "last_name", - "table": "oceannomads_profiles", - "data_type": "character varying", - "default_value": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/location.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/location.json deleted file mode 100644 index ec6eaeb7..00000000 --- a/backend/directus-config/development/snapshot/fields/oceannomads_profiles/location.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "collection": "oceannomads_profiles", - "field": "location", - "type": "string", - "meta": { - "collection": "oceannomads_profiles", - "conditions": null, - "display": null, - "display_options": null, - "field": "location", - "group": null, - "hidden": false, - "interface": "input", - "note": null, - "options": null, - "readonly": false, - "required": false, - "sort": 7, - "special": null, - "translations": null, - "validation": null, - "validation_message": null, - "width": "full" - }, - "schema": { - "name": "location", - "table": "oceannomads_profiles", - "data_type": "character varying", - "default_value": null, - "max_length": 255, - "numeric_precision": null, - "numeric_scale": null, - "is_nullable": true, - "is_unique": false, - "is_indexed": false, - "is_primary_key": false, - "is_generated": false, - "generation_expression": null, - "has_auto_increment": false, - "foreign_key_table": null, - "foreign_key_column": null - } -} diff --git a/backend/directus-config/development/specs/item.graphql b/backend/directus-config/development/specs/item.graphql index b5885981..bfab4213 100644 --- a/backend/directus-config/development/specs/item.graphql +++ b/backend/directus-config/development/specs/item.graphql @@ -7,14 +7,6 @@ type Query { relations_by_id(id: ID!, version: String): relations relations_aggregated(groupBy: [String], filter: relations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [relations_aggregated!]! relations_by_version(version: String!, id: ID!): version_relations - oceannomads_events(filter: oceannomads_events_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [oceannomads_events!]! - oceannomads_events_by_id(id: ID!, version: String): oceannomads_events - oceannomads_events_aggregated(groupBy: [String], filter: oceannomads_events_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [oceannomads_events_aggregated!]! - oceannomads_events_by_version(version: String!, id: ID!): version_oceannomads_events - oceannomads_profiles(filter: oceannomads_profiles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [oceannomads_profiles!]! - oceannomads_profiles_by_id(id: ID!, version: String): oceannomads_profiles - oceannomads_profiles_aggregated(groupBy: [String], filter: oceannomads_profiles_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [oceannomads_profiles_aggregated!]! - oceannomads_profiles_by_version(version: String!, id: ID!): version_oceannomads_profiles attestations(filter: attestations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [attestations!]! attestations_by_id(id: ID!, version: String): attestations attestations_aggregated(groupBy: [String], filter: attestations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [attestations_aggregated!]! @@ -146,10 +138,6 @@ type Mutation { create_directus_sync_id_map_item(data: create_directus_sync_id_map_input!): directus_sync_id_map create_relations_items(filter: relations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_relations_input!]): [relations!]! create_relations_item(data: create_relations_input!): relations - create_oceannomads_events_items(filter: oceannomads_events_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_oceannomads_events_input!]): [oceannomads_events!]! - create_oceannomads_events_item(data: create_oceannomads_events_input!): oceannomads_events - create_oceannomads_profiles_items(filter: oceannomads_profiles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_oceannomads_profiles_input!]): [oceannomads_profiles!]! - create_oceannomads_profiles_item(data: create_oceannomads_profiles_input!): oceannomads_profiles create_attestations_items(filter: attestations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_attestations_input!]): [attestations!]! create_attestations_item(data: create_attestations_input!): attestations create_attestations_directus_users_items(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_attestations_directus_users_input!]): [attestations_directus_users!]! @@ -218,12 +206,6 @@ type Mutation { update_relations_items(filter: relations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_relations_input!): [relations!]! update_relations_batch(filter: relations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_relations_input!]): [relations!]! update_relations_item(id: ID!, data: update_relations_input!): relations - update_oceannomads_events_items(filter: oceannomads_events_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_oceannomads_events_input!): [oceannomads_events!]! - update_oceannomads_events_batch(filter: oceannomads_events_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_oceannomads_events_input!]): [oceannomads_events!]! - update_oceannomads_events_item(id: ID!, data: update_oceannomads_events_input!): oceannomads_events - update_oceannomads_profiles_items(filter: oceannomads_profiles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_oceannomads_profiles_input!): [oceannomads_profiles!]! - update_oceannomads_profiles_batch(filter: oceannomads_profiles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_oceannomads_profiles_input!]): [oceannomads_profiles!]! - update_oceannomads_profiles_item(id: ID!, data: update_oceannomads_profiles_input!): oceannomads_profiles update_attestations_items(filter: attestations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_attestations_input!): [attestations!]! update_attestations_batch(filter: attestations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_attestations_input!]): [attestations!]! update_attestations_item(id: ID!, data: update_attestations_input!): attestations @@ -321,10 +303,6 @@ type Mutation { delete_directus_sync_id_map_item(id: ID!): delete_one delete_relations_items(ids: [ID]!): delete_many delete_relations_item(id: ID!): delete_one - delete_oceannomads_events_items(ids: [ID]!): delete_many - delete_oceannomads_events_item(id: ID!): delete_one - delete_oceannomads_profiles_items(ids: [ID]!): delete_many - delete_oceannomads_profiles_item(id: ID!): delete_one delete_attestations_items(ids: [ID]!): delete_many delete_attestations_item(id: ID!): delete_one delete_attestations_directus_users_items(ids: [ID]!): delete_many @@ -413,8 +391,6 @@ type Subscription { directus_sync_id_map_mutated(event: EventEnum): directus_sync_id_map_mutated directus_policies_mutated(event: EventEnum): directus_policies_mutated relations_mutated(event: EventEnum): relations_mutated - oceannomads_events_mutated(event: EventEnum): oceannomads_events_mutated - oceannomads_profiles_mutated(event: EventEnum): oceannomads_profiles_mutated attestations_mutated(event: EventEnum): attestations_mutated attestations_directus_users_mutated(event: EventEnum): attestations_directus_users_mutated contactInfos_mutated(event: EventEnum): contactInfos_mutated @@ -2082,84 +2058,6 @@ type marker_icons_mutated { data: marker_icons } -type oceannomads_events { - creator_email: String - date_created: Date - date_created_func: datetime_functions - date_updated: Date - date_updated_func: datetime_functions - end: Date - end_func: datetime_functions - id: ID! - location: String - start: Date - start_func: datetime_functions - text: String - title: String -} - -type oceannomads_events_aggregated { - group: JSON - countAll: Int - count: oceannomads_events_aggregated_count - countDistinct: oceannomads_events_aggregated_count -} - -type oceannomads_events_aggregated_count { - creator_email: Int - date_created: Int - date_updated: Int - end: Int - id: Int - location: Int - start: Int - text: Int - title: Int -} - -type oceannomads_events_mutated { - key: ID! - event: EventEnum - data: oceannomads_events -} - -type oceannomads_profiles { - avatar_url: String - date_created: Date - date_created_func: datetime_functions - date_updated: Date - date_updated_func: datetime_functions - email: String - first_name: String - id: ID! - last_name: String - location: String -} - -type oceannomads_profiles_aggregated { - group: JSON - countAll: Int - count: oceannomads_profiles_aggregated_count - countDistinct: oceannomads_profiles_aggregated_count -} - -type oceannomads_profiles_aggregated_count { - avatar_url: Int - date_created: Int - date_updated: Int - email: Int - first_name: Int - id: Int - last_name: Int - location: Int -} - -type oceannomads_profiles_mutated { - key: ID! - event: EventEnum - data: oceannomads_profiles -} - type relations { id: ID! relation: String @@ -2773,31 +2671,6 @@ type version_marker_icons { size_outline: Float } -"""""" -type version_oceannomads_events { - creator_email: String - date_created: Date - date_updated: Date - end: Date - id: ID - location: String - start: Date - text: String - title: String -} - -"""""" -type version_oceannomads_profiles { - avatar_url: String - date_created: Date - date_updated: Date - email: String - first_name: String - id: ID - last_name: String - location: String -} - """""" type version_relations { id: ID @@ -3343,29 +3216,6 @@ input create_marker_icons_input { size_outline: Float } -input create_oceannomads_events_input { - creator_email: String - date_created: Date - date_updated: Date - end: Date - id: ID! - location: String - start: Date - text: String - title: String -} - -input create_oceannomads_profiles_input { - avatar_url: String - date_created: Date - date_updated: Date - email: String - first_name: String - id: ID! - last_name: String - location: String -} - input create_relations_input { id: ID relation: String @@ -4365,39 +4215,6 @@ input number_filter_operators { _nbetween: [GraphQLStringOrFloat] } -input oceannomads_events_filter { - creator_email: string_filter_operators - date_created: date_filter_operators - date_created_func: datetime_function_filter_operators - date_updated: date_filter_operators - date_updated_func: datetime_function_filter_operators - end: date_filter_operators - end_func: datetime_function_filter_operators - id: string_filter_operators - location: string_filter_operators - start: date_filter_operators - start_func: datetime_function_filter_operators - text: string_filter_operators - title: string_filter_operators - _and: [oceannomads_events_filter] - _or: [oceannomads_events_filter] -} - -input oceannomads_profiles_filter { - avatar_url: string_filter_operators - date_created: date_filter_operators - date_created_func: datetime_function_filter_operators - date_updated: date_filter_operators - date_updated_func: datetime_function_filter_operators - email: string_filter_operators - first_name: string_filter_operators - id: string_filter_operators - last_name: string_filter_operators - location: string_filter_operators - _and: [oceannomads_profiles_filter] - _or: [oceannomads_profiles_filter] -} - input relations_filter { id: number_filter_operators relation: string_filter_operators @@ -4937,29 +4754,6 @@ input update_marker_icons_input { size_outline: Float } -input update_oceannomads_events_input { - creator_email: String - date_created: Date - date_updated: Date - end: Date - id: ID - location: String - start: Date - text: String - title: String -} - -input update_oceannomads_profiles_input { - avatar_url: String - date_created: Date - date_updated: Date - email: String - first_name: String - id: ID - last_name: String - location: String -} - input update_relations_input { id: ID relation: String diff --git a/backend/directus-config/development/specs/openapi.json b/backend/directus-config/development/specs/openapi.json index cc1dc745..1bc06cd8 100644 --- a/backend/directus-config/development/specs/openapi.json +++ b/backend/directus-config/development/specs/openapi.json @@ -8289,784 +8289,6 @@ ] } }, - "/items/oceannomads_events": { - "post": { - "summary": "Create an Item", - "description": "Create a new oceannomads_events item.", - "tags": [ - "Items", - "ItemsOceannomadsEvents" - ], - "operationId": "createItemsOceannomadsEvents", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsOceannomadsEvents" - } - }, - { - "$ref": "#/components/schemas/ItemsOceannomadsEvents" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsOceannomadsEvents" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the oceannomads_events items.", - "tags": [ - "Items", - "ItemsOceannomadsEvents" - ], - "operationId": "readItemsOceannomadsEvents", - "security": [ - { - "Auth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/components/schemas/ItemsOceannomadsEvents" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple oceannomads_events items at the same time.", - "tags": [ - "Items", - "ItemsOceannomadsEvents" - ], - "operationId": "updateItemsOceannomadsEvents", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsOceannomadsEvents" - } - }, - { - "$ref": "#/components/schemas/ItemsOceannomadsEvents" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsOceannomadsEvents" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing oceannomads_events items.", - "tags": [ - "Items", - "ItemsOceannomadsEvents" - ], - "operationId": "deleteItemsOceannomadsEvents", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/oceannomads_events/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single oceannomads_events item by unique identifier.", - "tags": [ - "Items", - "ItemsOceannomadsEvents" - ], - "operationId": "readSingleItemsOceannomadsEvents", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Version" - }, - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsOceannomadsEvents" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing oceannomads_events item.", - "tags": [ - "Items", - "ItemsOceannomadsEvents" - ], - "operationId": "updateSingleItemsOceannomadsEvents", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "$ref": "#/components/schemas/ItemsOceannomadsEvents" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsOceannomadsEvents" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing oceannomads_events item.", - "tags": [ - "Items", - "ItemsOceannomadsEvents" - ], - "operationId": "deleteSingleItemsOceannomadsEvents", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "parameters": [ - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ] - } - }, - "/items/oceannomads_profiles": { - "post": { - "summary": "Create an Item", - "description": "Create a new oceannomads_profiles item.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "createItemsOceannomadsProfiles", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - }, - { - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the oceannomads_profiles items.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "readItemsOceannomadsProfiles", - "security": [ - { - "Auth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple oceannomads_profiles items at the same time.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "updateItemsOceannomadsProfiles", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - }, - { - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing oceannomads_profiles items.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "deleteItemsOceannomadsProfiles", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/oceannomads_profiles/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single oceannomads_profiles item by unique identifier.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "readSingleItemsOceannomadsProfiles", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Version" - }, - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing oceannomads_profiles item.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "updateSingleItemsOceannomadsProfiles", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing oceannomads_profiles item.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "deleteSingleItemsOceannomadsProfiles", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "parameters": [ - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ] - } - }, "/items/attestations": { "post": { "summary": "Create an Item", @@ -21258,14 +20480,6 @@ "name": "ItemsRelations", "x-collection": "relations" }, - { - "name": "ItemsOceannomadsEvents", - "x-collection": "oceannomads_events" - }, - { - "name": "ItemsOceannomadsProfiles", - "x-collection": "oceannomads_profiles" - }, { "name": "ItemsAttestations", "x-collection": "attestations" @@ -23347,98 +22561,6 @@ }, "x-collection": "relations" }, - "ItemsOceannomadsEvents": { - "type": "object", - "properties": { - "creator_email": { - "nullable": true, - "type": "string" - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "end": { - "nullable": true, - "type": "string", - "format": "date-time" - }, - "id": { - "nullable": false, - "type": "string" - }, - "location": { - "nullable": true, - "type": "string" - }, - "start": { - "nullable": true, - "type": "string", - "format": "date-time" - }, - "text": { - "nullable": true, - "type": "string" - }, - "title": { - "nullable": true, - "type": "string" - } - }, - "x-collection": "oceannomads_events", - "required": [ - "id" - ] - }, - "ItemsOceannomadsProfiles": { - "type": "object", - "properties": { - "avatar_url": { - "nullable": true, - "type": "string" - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "email": { - "nullable": true, - "type": "string" - }, - "first_name": { - "nullable": true, - "type": "string" - }, - "id": { - "nullable": false, - "type": "string" - }, - "last_name": { - "nullable": true, - "type": "string" - }, - "location": { - "nullable": true, - "type": "string" - } - }, - "x-collection": "oceannomads_profiles", - "required": [ - "id" - ] - }, "ItemsAttestations": { "type": "object", "properties": { diff --git a/backend/directus-config/development/specs/system.graphql b/backend/directus-config/development/specs/system.graphql index 67752053..8e3d1a0f 100644 --- a/backend/directus-config/development/specs/system.graphql +++ b/backend/directus-config/development/specs/system.graphql @@ -264,8 +264,6 @@ type Subscription { directus_sync_id_map_mutated(event: EventEnum): directus_sync_id_map_mutated directus_policies_mutated(event: EventEnum): directus_policies_mutated relations_mutated(event: EventEnum): relations_mutated - oceannomads_events_mutated(event: EventEnum): oceannomads_events_mutated - oceannomads_profiles_mutated(event: EventEnum): oceannomads_profiles_mutated attestations_mutated(event: EventEnum): attestations_mutated attestations_directus_users_mutated(event: EventEnum): attestations_directus_users_mutated contactInfos_mutated(event: EventEnum): contactInfos_mutated @@ -2068,47 +2066,6 @@ type marker_icons_mutated { data: marker_icons } -type oceannomads_events { - creator_email: String - date_created: Date - date_created_func: datetime_functions - date_updated: Date - date_updated_func: datetime_functions - end: Date - end_func: datetime_functions - id: ID! - location: String - start: Date - start_func: datetime_functions - text: String - title: String -} - -type oceannomads_events_mutated { - key: ID! - event: EventEnum - data: oceannomads_events -} - -type oceannomads_profiles { - avatar_url: String - date_created: Date - date_created_func: datetime_functions - date_updated: Date - date_updated_func: datetime_functions - email: String - first_name: String - id: ID! - last_name: String - location: String -} - -type oceannomads_profiles_mutated { - key: ID! - event: EventEnum - data: oceannomads_profiles -} - type policy_me_globals_type { enforce_tfa: Boolean app_access: Boolean diff --git a/backend/directus-config/development/sql/type-ui-components.sql b/backend/directus-config/development/sql/type-ui-components.sql index 4d3c8fc3..a939e120 100644 --- a/backend/directus-config/development/sql/type-ui-components.sql +++ b/backend/directus-config/development/sql/type-ui-components.sql @@ -64,3 +64,30 @@ ON CONFLICT (id) DO UPDATE item = excluded.item, sort = excluded.sort, types_id = excluded.types_id; + +-- Type: user:text+gallery +INSERT INTO public."types_profileTemplate" (collection, id, item, sort, types_id) +SELECT + 'texts', '6', 'c960bbfc-5d98-4f6d-ae44-7a2b63d3359b' , '1', types.id +FROM + public.types as types +WHERE + name = 'user:text+gallery' +ON CONFLICT (id) DO UPDATE + SET collection = excluded.collection, + item = excluded.item, + sort = excluded.sort, + types_id = excluded.types_id; + +INSERT INTO public."types_profileTemplate" (collection, id, item, sort, types_id) +SELECT + 'gallery', '7', '6d18b616-6f4f-4987-9860-681b88bdc068' , '2', types.id +FROM + public.types as types +WHERE + name = 'user:text+gallery' +ON CONFLICT (id) DO UPDATE + SET collection = excluded.collection, + item = excluded.item, + sort = excluded.sort, + types_id = excluded.types_id; \ No newline at end of file