refactor(backend): remove ocean nomad features from seed data (#382)

* removed ocean nomad specific collections

* removed vessel icon

* updated seeds

* added profilecomponentes to type

* added text to item

* improved sample data

* improved sample data

* improved sample data

* fix comment

---------

Co-authored-by: Anton Tranelis <mail@antontranelis.de>
This commit is contained in:
Ulf Gebhardt 2025-09-13 12:48:06 +02:00 committed by GitHub
parent 298876a269
commit a2b7c16133
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
34 changed files with 90 additions and 2200 deletions

View File

@ -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",

View File

@ -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"
}
]
}

View File

@ -1,19 +0,0 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="666px" height="541px" viewBox="0 0 6660 5410" preserveAspectRatio="xMidYMid meet">
<g id="layer101" fill="#000000" stroke="none">
</g>
<g id="layer102" fill="#182d45" stroke="none">
<path d="M2600 5360 c-58 -5 -242 -8 -410 -8 -168 0 -316 -2 -330 -5 -14 -4 -81 -11 -150 -17 -125 -11 -369 -43 -445 -60 -22 -5 -82 -13 -134 -20 -172 -20 -424 -141 -607 -291 -159 -131 -215 -184 -288 -270 -105 -126 -138 -192 -176 -357 -26 -112 -29 -139 -20 -172 13 -48 30 -66 78 -81 55 -17 2639 -31 4715 -26 2008 5 1780 -11 1785 125 7 204 -81 382 -303 611 -119 123 -228 214 -315 263 -66 38 -193 81 -375 128 -185 49 -240 53 -863 69 -204 5 -376 13 -382 16 -5 3 -128 10 -272 16 -145 5 -375 14 -513 19 -137 5 -302 16 -365 24 -285 36 -483 47 -630 36z"/>
<path d="M1025 3861 c-75 -10 -141 -39 -180 -80 -27 -30 -30 -38 -29 -99 0 -81 21 -130 253 -597 171 -344 251 -490 353 -643 87 -129 163 -274 224 -422 58 -144 73 -173 145 -290 94 -154 161 -204 215 -159 40 33 45 71 44 319 0 132 4 301 9 377 12 163 14 329 13 868 -1 230 3 440 9 495 14 124 2 166 -56 195 -34 17 -70 21 -250 27 -348 13 -686 17 -750 9z"/>
<path d="M4653 3856 c-31 -9 -78 -49 -96 -81 -9 -15 -12 -174 -13 -585 0 -574 -17 -1381 -29 -1400 -12 -20 16 -602 30 -637 8 -18 29 -42 47 -53 67 -40 129 -17 169 63 20 40 34 63 132 217 63 100 173 307 323 610 75 151 151 297 170 323 19 26 44 71 55 100 11 29 47 102 79 162 32 61 79 157 103 215 83 192 112 255 134 290 12 19 33 64 46 100 14 36 53 130 87 210 34 80 73 171 87 203 18 44 23 68 18 97 -8 48 -20 63 -70 91 -91 51 -93 51 -283 60 -103 5 -227 13 -277 19 -106 12 -673 9 -712 -4z"/>
<path d="M2412 3831 c-137 -6 -145 -7 -164 -31 -15 -18 -19 -34 -15 -60 27 -171 49 -238 144 -440 30 -63 66 -148 79 -188 13 -39 42 -109 65 -154 23 -45 66 -139 95 -208 59 -136 131 -270 259 -480 45 -74 116 -196 158 -270 41 -74 123 -207 182 -295 59 -88 123 -191 142 -230 20 -38 79 -137 133 -220 53 -82 115 -182 138 -222 23 -40 75 -116 115 -170 129 -174 268 -394 364 -573 92 -173 150 -250 189 -250 27 0 91 72 103 115 17 63 14 520 -5 683 -14 122 -15 175 -3 492 7 195 14 661 15 1035 0 374 4 802 8 951 8 312 4 346 -52 395 -20 17 -50 37 -67 45 -35 14 -457 34 -739 34 -94 0 -220 4 -280 10 -324 29 -650 41 -864 31z"/>
</g>
<g id="layer103" fill="#37949a" stroke="none">
<path d="M1950 5193 c-8 -1 -96 -9 -195 -18 -163 -14 -462 -52 -475 -60 -3 -2 -50 -8 -105 -15 -115 -14 -190 -40 -324 -112 -115 -62 -204 -123 -280 -192 -31 -29 -80 -69 -108 -90 -29 -21 -53 -41 -53 -44 0 -4 -26 -36 -59 -72 -64 -72 -115 -156 -126 -210 -4 -19 -20 -68 -36 -108 -16 -40 -29 -74 -29 -75 0 -1 1317 -3 2928 -4 1610 -1 3032 -5 3161 -8 l234 -7 -6 34 c-36 190 -116 317 -339 533 -172 168 -263 221 -433 251 -43 7 -103 21 -132 29 -129 38 -291 50 -783 60 -146 3 -346 9 -445 15 -336 18 -640 30 -755 30 -64 0 -170 7 -235 15 -342 42 -444 48 -920 49 -259 1 -478 0 -485 -1z"/>
</g>
<g id="layer104" fill="#f9d400" stroke="none">
<path d="M3515 379 c-97 -43 -174 -69 -201 -69 -13 0 -58 17 -99 37 -60 30 -79 35 -93 26 -28 -18 -20 -76 21 -137 41 -61 82 -95 145 -119 60 -24 101 -21 158 9 155 84 178 94 214 94 24 0 92 -22 174 -55 148 -60 187 -67 210 -34 22 32 6 60 -55 95 -30 16 -83 52 -119 78 -149 111 -232 129 -355 75z"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -16,6 +16,10 @@
{
"_sync_id": "b0c52d6e-b3d2-4e3b-89e2-065be324e27b",
"hideInputLabel": false
},
{
"_sync_id": "6d18b616-6f4f-4987-9860-681b88bdc068",
"hideInputLabel": false
}
]
}

View File

@ -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"
}
]
}

View File

@ -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
}
]
}

View File

@ -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"
}
]

View File

@ -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": {

View File

@ -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",

View File

@ -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"
}
]
}

View File

@ -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
}
]
}

View File

@ -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"
}
}

View File

@ -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"
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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

View File

@ -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": {

View File

@ -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

View File

@ -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;