diff --git a/.github/workflows/test.backend.seed.yml b/.github/workflows/test.backend.seed.yml new file mode 100644 index 00000000..50775dcc --- /dev/null +++ b/.github/workflows/test.backend.seed.yml @@ -0,0 +1,54 @@ +name: "test:build test docker" + +on: push + +jobs: + files-changed: + name: Detect File Changes - build - docker + runs-on: ubuntu-latest + outputs: + changes: ${{ steps.filter.outputs.match }} + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7 + - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 + id: filter + with: + filters: | + match: + - '.github/workflows/*' + - 'backend/**/*' + + backend-seed: + if: needs.files-changed.outputs.changes == 'true' + name: Backend Seed + needs: files-changed + runs-on: ubuntu-latest + env: + WORKING_DIRECTORY: ./ + steps: + - name: Checkout code + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7 + + - name: Build Docker Production + run: | + mkdir -p ./data/uploads + sudo chmod 777 -R ./data + docker compose -f docker-compose.yml up -d + sleep 5 + cd backend && ./seed.sh + working-directory: ${{env.WORKING_DIRECTORY}} + + #build-development: + # if: needs.files-changed.outputs.changes == 'true' + # name: Build Docker Development + # needs: files-changed + # runs-on: ubuntu-latest + # env: + # WORKING_DIRECTORY: ./ + # steps: + # - name: Checkout code + # uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7 + # + # - name: Build Docker Development + # run: docker compose build + # working-directory: ${{env.WORKING_DIRECTORY}} \ No newline at end of file diff --git a/app/.env.dist b/app/.env.dist index 5dc2cc82..19de2e08 100644 --- a/app/.env.dist +++ b/app/.env.dist @@ -1,7 +1,8 @@ VITE_OPEN_COLLECTIVE_API_KEY=your_key VITE_API_URL=http://localhost:8055/ -#VITE_API_URL=https://api.utopia-lab.org +#VITE_API_URL=https://api.utopia-lab.org/ VITE_MAP_URL=http://local.development #VITE_MAP_URL=CURRENT_WINDOW_LOCATION +#VITE_DIRECTUS_ADMIN_ROLE= VITE_VALIDATE_INVITE_FLOW_ID=01d61db0-25aa-4bfa-bc24-c6a8f208a455 VITE_REDEEM_INVITE_FLOW_ID=cc80ec73-ecf5-4789-bee5-1127fb1a6ed4 diff --git a/app/README.md b/app/README.md new file mode 100644 index 00000000..c54058af --- /dev/null +++ b/app/README.md @@ -0,0 +1,11 @@ +# App + +## Troubleshooting + +Map doesn't load and the Error `You must define the Admin roll in the .env file!` shows in the console. + +In order to get the map running you need to define the correct uuid of the admin roll in the `.env` file. + +Go to http://localhost:8055 and login with the admin credentials. Navigate to http://localhost:8055/admin/settings/roles and click `Administrator` and copy the UUID from the URL. + +Put this UUID in the `.env` as `VITE_DIRECTUS_ADMIN_ROLE=UUID` \ No newline at end of file diff --git a/app/src/App.tsx b/app/src/App.tsx index 685e76c0..6535b6b8 100644 --- a/app/src/App.tsx +++ b/app/src/App.tsx @@ -12,7 +12,7 @@ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ /* eslint-disable @typescript-eslint/no-unsafe-call */ -import type { Item, Tag } from 'utopia-ui' +import type { Item, Tag, LayerProps } from 'utopia-ui' import { AppShell, @@ -72,6 +72,15 @@ function App() { const [layers, setLayers] = useState() const [layerPageRoutes, setLayerPageRoutes] = useState() const [loading, setLoading] = useState(true) + const [error, setError] = useState(null) + + const retryConnection = () => { + setError(null) + setLoading(true) + if (mapApiInstance) { + getMap() + } + } const [embedded, setEmbedded] = useState(true) @@ -95,12 +104,27 @@ function App() { }, [mapApiInstance]) const getMap = async () => { - const map = await mapApiInstance?.getItems() - map && setMap(map) - map && map != 'null' && setLayersApiInstance(new layersApi(map.id)) - map && map != 'null' && map.own_tag_space - ? setTagsApi(new itemsApi('tags', undefined, map.id)) - : setTagsApi(new itemsApi('tags')) + try { + const map = await mapApiInstance?.getItems() + map && setMap(map) + map && map != 'null' && setLayersApiInstance(new layersApi(map.id)) + map && map != 'null' && map.own_tag_space + ? setTagsApi(new itemsApi('tags', undefined, map.id)) + : setTagsApi(new itemsApi('tags')) + // eslint-disable-next-line no-catch-all/no-catch-all + } catch (error: any) { + // eslint-disable-next-line no-console + console.error('Failed to load map:', error) + setError( + typeof error === 'string' + ? error + : error?.errors?.[0]?.message || + error?.message || + 'Failed to connect to the server. Please check your connection and try again.', + ) + setLoading(false) + // Don't rethrow since we're handling the error by setting error state + } } useEffect(() => { @@ -108,25 +132,40 @@ function App() { }, [layersApiInstance]) const getLayers = async () => { - const layers = await layersApiInstance?.getItems() - layers && setLayers(layers) - setLayerPageRoutes( - layers - ?.filter((l: any) => l.listed) - .map((l: any) => ({ - path: '/' + l.name, // url - icon: ( - - code.replace(/stroke=".*?"/g, 'stroke="currentColor"') - } - /> - ), - name: l.name, // name that appear in Sidebar - })), - ) + try { + const layers = await layersApiInstance?.getItems() + layers && setLayers(layers) + setLayerPageRoutes( + layers + ?.filter((l: LayerProps) => l.listed) + .map((l: LayerProps) => ({ + path: '/' + l.name, // url + icon: ( + + code.replace(/stroke=".*?"/g, 'stroke="currentColor"') + } + /> + ), + name: l.name, // name that appear in Sidebar + })), + ) + // eslint-disable-next-line no-catch-all/no-catch-all + } catch (error: any) { + // eslint-disable-next-line no-console + console.error('Failed to load layers:', error) + setError( + typeof error === 'string' + ? error + : error?.errors?.[0]?.message || + error?.message || + 'Failed to load map layers. Please check your permissions and try again.', + ) + setLoading(false) + // Don't rethrow since we're handling the error by setting error state + } } useEffect(() => { @@ -141,8 +180,11 @@ function App() { link.href = map?.logo && config.apiUrl + 'assets/' + map.logo // Specify the path to your favicon } - setLoading(false) - }, [map]) + // Only set loading to false when both map and layers are successfully loaded + if (map && layers) { + setLoading(false) + } + }, [map, layers]) useEffect(() => { if (!map) return @@ -161,11 +203,9 @@ function App() { appName={map.name} embedded={embedded} openCollectiveApiKey={config.openCollectiveApiKey} + hideSignup={map.hide_signup} > - + {tagsApi && } @@ -182,7 +222,15 @@ function App() { path='invite/:id' element={} /> - } /> + + } + /> } /> } /> - {layers.map((l: any) => ( + {layers.map((l: LayerProps) => ( } @@ -259,6 +307,35 @@ function App() { ) + else if (error) + return ( +
+
+
+ + + +
+

+ Connection Error +

+

{error}

+ +
+
+ ) else return (
diff --git a/app/src/api/layersApi.ts b/app/src/api/layersApi.ts index d7cd0c8f..b91e5881 100644 --- a/app/src/api/layersApi.ts +++ b/app/src/api/layersApi.ts @@ -23,6 +23,7 @@ export class layersApi { ], filter: { maps: { maps_id: { id: { _eq: this.mapId } } } }, limit: 500, + sort: ['sort'], }), ) return layers diff --git a/app/src/config/index.ts b/app/src/config/index.ts index 4f1630d5..98c8b891 100644 --- a/app/src/config/index.ts +++ b/app/src/config/index.ts @@ -1,6 +1,7 @@ export const config = { apiUrl: String(import.meta.env.VITE_API_URL ?? 'http://localhost:8055/'), mapUrl: String(import.meta.env.VITE_MAP_URL ?? 'http://local.development'), + adminRole: String(import.meta.env.VITE_DIRECTUS_ADMIN_ROLE ?? ''), validateInviteFlowId: String( import.meta.env.VITE_VALIDATE_INVITE_FLOW_ID ?? '01d61db0-25aa-4bfa-bc24-c6a8f208a455', ), @@ -10,4 +11,8 @@ export const config = { openCollectiveApiKey: String(import.meta.env.VITE_OPEN_COLLECTIVE_API_KEY ?? ''), } +if (config.adminRole === '') { + throw Error('You must define the Admin roll in the .env file!') +} + export type Config = typeof config diff --git a/app/src/pages/MapContainer.tsx b/app/src/pages/MapContainer.tsx index cc7500f5..96163ee5 100644 --- a/app/src/pages/MapContainer.tsx +++ b/app/src/pages/MapContainer.tsx @@ -1,6 +1,5 @@ /* eslint-disable @typescript-eslint/no-unnecessary-condition */ /* eslint-disable @typescript-eslint/no-explicit-any */ -/* eslint-disable @typescript-eslint/no-non-null-assertion */ /* eslint-disable import/no-relative-parent-imports */ /* eslint-disable array-callback-return */ /* eslint-disable new-cap */ @@ -20,10 +19,10 @@ import { PopupStartEndInput, PopupTextAreaInput, PopupTextInput, + HeaderView, } from 'utopia-ui' import { itemsApi } from '../api/itemsApi' -import { config } from '../config' import type { Place } from '../api/directus' import type { InviteApi } from '@/api/inviteApi' @@ -56,7 +55,7 @@ function MapContainer({ setApis((current) => [ ...current, { - id: layer.id!, + id: layer.id, api: new itemsApi('items', layer.id, undefined, { _or: [ { @@ -105,7 +104,6 @@ function MapContainer({ id={layer.id} key={layer.id} name={layer.name} - menuIcon={config.apiUrl + 'assets/' + layer.menuIcon} menuText={layer.menuText} menuColor={layer.menuColor} markerIcon={layer.markerIcon} @@ -116,7 +114,7 @@ function MapContainer({ layer.markerDefaultColor2 ? layer.markerDefaultColor2 : 'RGBA(35, 31, 32, 0.2)' } itemType={layer.itemType} - customEditLink='/edit-item' + customEditLink={layer.itemType.small_form_edit ? undefined : '/edit-item'} customEditParameter='id' public_edit_items={layer.public_edit_items} listed={layer.listed} @@ -125,11 +123,19 @@ function MapContainer({ {layer.itemType.show_start_end && } {layer.itemType.show_profile_button && ( - + )} {layer.itemType.show_text && } + {layer.itemType.show_header_view_in_form && } {layer.itemType.show_name_input && ( )} @@ -140,7 +146,7 @@ function MapContainer({
diff --git a/backend/README.md b/backend/README.md index 3d8ab163..b1af27d0 100644 --- a/backend/README.md +++ b/backend/README.md @@ -6,18 +6,7 @@ To run the backend you can simply execute To fill in all required data execute the following commands in order: ``` cd backend - -npx directus-sync push \ - --directus-url http://localhost:8055 \ - --directus-email admin@it4c.dev \ - --directus-password admin123 - -npx directus-sync seed push \ - --directus-url http://localhost:8055 \ - --directus-email admin@it4c.dev \ - --directus-password admin123 - -./directus-config/manual/seed.sh +./seed.sh ``` ## Pull Data from Docker to Harddrive @@ -27,6 +16,7 @@ In order to pull data from your locally running backend (see [docker-compose](.. ``` npx directus-sync pull \ + --dump-path ./directus-config/development \ --directus-url http://localhost:8055 \ --directus-email admin@it4c.dev \ --directus-password admin123 @@ -37,6 +27,7 @@ npx directus-sync pull \ To push local changes or to seed directus use the following command ``` npx directus-sync push \ + --dump-path ./directus-config/development \ --directus-url http://localhost:8055 \ --directus-email admin@it4c.dev \ --directus-password admin123 @@ -44,27 +35,7 @@ npx directus-sync push \ ## Seed Data for local development -Seed the development data via: -``` -npx directus-sync seed push \ - --directus-url http://localhost:8055 \ - --directus-email admin@it4c.dev \ - --directus-password admin123 -``` - -## Seed Data - find differences - -In order so see what changes would appear when seeding, you can execute: -``` -npx directus-sync seed diff \ - --directus-url http://localhost:8055 \ - --directus-email admin@it4c.dev \ - --directus-password admin123 -``` - -## Manual Seed - -In order to seed files and additional data not covered by `directus-sync` run the script `backend/directus-config/manual/seed.sh`. +In order to seed the development data, run the script `backend/seed.sh`. ## Backup Database @@ -130,7 +101,7 @@ docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql -v O Reassign ownership of tables: ``` -echo "REASSIGN OWNED BY admin TO directus" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus directus +echo "REASSIGN OWNED BY admin TO directus" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus directus" ``` > REASSIGN OWNED diff --git a/backend/directus-config/.gitignore b/backend/directus-config/.gitignore new file mode 100644 index 00000000..63cbc6fc --- /dev/null +++ b/backend/directus-config/.gitignore @@ -0,0 +1,3 @@ +/* +!development/ +!.gitignore \ No newline at end of file diff --git a/backend/directus-config/collections/folders.json b/backend/directus-config/collections/folders.json deleted file mode 100644 index 2177eb4b..00000000 --- a/backend/directus-config/collections/folders.json +++ /dev/null @@ -1,57 +0,0 @@ -[ - { - "name": "146. Friedensbaum", - "parent": "50431387-c49b-44bd-9311-911bf542163d", - "_syncId": "0b4ad883-d49f-4197-9941-24ae11f9a6eb" - }, - { - "name": "outline", - "parent": "a5d15142-dd36-4194-bee5-13ddc420a99d", - "_syncId": "0b66498d-8ee3-48fc-8fe7-72b6f86d8d0f" - }, - { - "name": "Docutopia Avatars", - "parent": null, - "_syncId": "0c7f264e-9946-4372-9e30-e4680b6cc2e2" - }, - { - "name": "map-logos", - "parent": null, - "_syncId": "27b2a288-d50a-48b7-88cd-35945503277b" - }, - { - "name": "fotos", - "parent": null, - "_syncId": "2daee21f-52b8-4152-88e9-ccf18169dcf0" - }, - { - "name": "item-avatars", - "parent": null, - "_syncId": "43837abb-cc52-4439-ac98-e3671cbc7773" - }, - { - "name": "Friedensbaum", - "parent": null, - "_syncId": "50431387-c49b-44bd-9311-911bf542163d" - }, - { - "name": "marker-icons", - "parent": null, - "_syncId": "889a110a-a117-40fa-b091-5c5a2766563f" - }, - { - "name": "heroicons", - "parent": null, - "_syncId": "a5d15142-dd36-4194-bee5-13ddc420a99d" - }, - { - "name": "solid", - "parent": "a5d15142-dd36-4194-bee5-13ddc420a99d", - "_syncId": "a97106b4-218b-45df-adc9-36184886e285" - }, - { - "name": "Würdekompass", - "parent": null, - "_syncId": "f612af27-e7dd-43f0-bde9-2f960f8897be" - } -] diff --git a/backend/directus-config/collections/operations.json b/backend/directus-config/collections/operations.json deleted file mode 100644 index b0c52d45..00000000 --- a/backend/directus-config/collections/operations.json +++ /dev/null @@ -1,793 +0,0 @@ -[ - { - "name": "Backend-Operation", - "key": "backend_operation", - "type": "condition", - "position_x": 25, - "position_y": 22, - "options": { - "filter": { - "$accountability": { - "origin": { - "_neq": "https://api.utopia-lab.org" - } - } - } - }, - "resolve": "8cc15ed4-8372-4a45-abaa-df19d560b01a", - "reject": null, - "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", - "_syncId": "30c1dc02-2ccb-4b45-9668-dcf9fd2b6f1c" - }, - { - "name": "Condition", - "key": "condition_r2r2k", - "type": "condition", - "position_x": 36, - "position_y": 19, - "options": { - "filter": { - "$last": { - "result": { - "_eq": true - } - } - } - }, - "resolve": "34a6106b-7789-4212-8bdc-e54798e2eca7", - "reject": "c548ce31-7864-4b71-af5f-9c6c0484f6a5", - "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", - "_syncId": "c6568ed4-4a25-4439-b491-82b3924937b7" - }, - { - "name": "Condition", - "key": "condition_wl4bz", - "type": "condition", - "position_x": 58, - "position_y": 1, - "options": { - "filter": { - "$last": { - "_eq": "0" - } - } - }, - "resolve": "57f3b6fe-4cf9-4a11-984f-320d80246980", - "reject": "e58a5edc-0ecb-42f3-89b1-c0306af1ed15", - "flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1", - "_syncId": "432dcfa2-28c5-4d75-884f-706877984bd6" - }, - { - "name": "Create item secret", - "key": "create_item_secret", - "type": "item-create", - "position_x": 19, - "position_y": 1, - "options": { - "permissions": "$full", - "emitEvents": false, - "collection": "itemSecrets", - "payload": { - "item": "{{ $trigger.item }}" - } - }, - "resolve": null, - "reject": null, - "flow": "234d13fe-112a-4408-9bdb-78dd8cbd6b82", - "_syncId": "491e552d-539e-4474-bcf5-a94dcc43e67e" - }, - { - "name": "Create secret", - "key": "create_secret", - "type": "item-create", - "position_x": 25, - "position_y": 2, - "options": { - "permissions": "$full", - "emitEvents": false, - "collection": "itemSecrets", - "payload": { - "item": "{{ $trigger.key }}" - } - }, - "resolve": null, - "reject": null, - "flow": "cbd7d15d-7f09-4f45-8060-3b24adabf82a", - "_syncId": "7b158384-5bce-4fd7-917a-4a61e53de6ec" - }, - { - "name": "Run Script", - "key": "exec_a3592", - "type": "exec", - "position_x": 37, - "position_y": 1, - "options": { - "code": "module.exports = async function(data) {\n\treturn data['$last'].map((item) => {\n \treturn {\n item: item.id,\n };\n });\n}" - }, - "resolve": "2d4009c7-0a19-4c55-813c-f1e0f3de1bf0", - "reject": null, - "flow": "9a1d1084-438f-471e-aac5-47e0749375e7", - "_syncId": "34632268-e471-42d0-aede-292069da3ed2" - }, - { - "name": "does_relation_exist", - "key": "exec_b85vb", - "type": "exec", - "position_x": 19, - "position_y": 19, - "options": { - "code": "module.exports = async function(data) {\n\treturn {\n \tresult: data['$last'].length > 0\n };\n}" - }, - "resolve": "c6568ed4-4a25-4439-b491-82b3924937b7", - "reject": null, - "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", - "_syncId": "2532ca4a-8804-4d52-b656-1deedb7f2169" - }, - { - "name": "get Creator", - "key": "get_creator", - "type": "item-read", - "position_x": 73, - "position_y": 1, - "options": { - "permissions": "$full", - "emitEvents": false, - "collection": "directus_users", - "query": { - "fields:": "first_name" - }, - "key": [ - "{{$trigger.user_created}}" - ] - }, - "resolve": "4ed7ef1e-df2c-4431-869c-5db36566c89e", - "reject": null, - "flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081", - "_syncId": "df666750-86d0-4e92-b01c-d54bb25b5e10" - }, - { - "name": "get_existing_relation", - "key": "get_existing_relation", - "type": "item-read", - "position_x": 2, - "position_y": 19, - "options": { - "permissions": "$full", - "emitEvents": false, - "collection": "items_items", - "query": { - "filter": { - "type": { - "_eq": "is_following" - }, - "items_id": { - "_eq": "{{ $trigger.body.item }}" - }, - "related_items_id": { - "_eq": "{{ $last[0].item }}" - } - } - } - }, - "resolve": "2532ca4a-8804-4d52-b656-1deedb7f2169", - "reject": null, - "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", - "_syncId": "0ef676a7-39b0-491e-8f42-21033af08078" - }, - { - "name": "Get Item", - "key": "get_item", - "type": "item-read", - "position_x": 37, - "position_y": 1, - "options": { - "permissions": "$trigger", - "emitEvents": false, - "collection": "items", - "key": [ - "{{$trigger.item}}" - ], - "query": { - "fields": "name" - } - }, - "resolve": "7aedff00-97c2-4865-9202-6015188303dc", - "reject": null, - "flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081", - "_syncId": "e41ca97f-b3f6-4baa-a910-db2913c9fe25" - }, - { - "name": "Get Map", - "key": "get_map", - "type": "item-read", - "position_x": 55, - "position_y": 1, - "options": { - "permissions": "$trigger", - "emitEvents": false, - "collection": "maps", - "query": { - "filter": { - "url": { - "_eq": "{{$trigger.map_url}}" - } - }, - "fields": "name,logo" - } - }, - "resolve": "df666750-86d0-4e92-b01c-d54bb25b5e10", - "reject": null, - "flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081", - "_syncId": "7aedff00-97c2-4865-9202-6015188303dc" - }, - { - "name": "Get Subscriber", - "key": "get_subscriber", - "type": "item-read", - "position_x": 19, - "position_y": 1, - "options": { - "permissions": "$full", - "emitEvents": false, - "collection": "directus_users", - "key": [ - "{{$trigger.subscriber}}" - ], - "query": { - "fields": "email, first_name" - } - }, - "resolve": "e41ca97f-b3f6-4baa-a910-db2913c9fe25", - "reject": null, - "flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081", - "_syncId": "bb96dab8-08c7-4b39-8ead-c2ed5d5a906c" - }, - { - "name": "Read Items", - "key": "item_create_jqtv7", - "type": "item-read", - "position_x": 19, - "position_y": 1, - "options": { - "permissions": "$trigger", - "emitEvents": false, - "collection": "items", - "query": { - "limit": -1 - } - }, - "resolve": "34632268-e471-42d0-aede-292069da3ed2", - "reject": null, - "flow": "9a1d1084-438f-471e-aac5-47e0749375e7", - "_syncId": "c5b9aa76-b524-47b8-acc5-dd0350a3a12a" - }, - { - "name": "Create Data", - "key": "item_create_x8h5h", - "type": "item-create", - "position_x": 37, - "position_y": 36, - "options": { - "permissions": "$full", - "emitEvents": false, - "collection": "items_items", - "payload": { - "items_id": "{{ $trigger.body.item }}", - "related_items_id": "{{ read_data[0].item }}", - "type": "is_following" - } - }, - "resolve": "5583fd94-c481-4a08-8632-115a2ce85577", - "reject": null, - "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", - "_syncId": "c548ce31-7864-4b71-af5f-9c6c0484f6a5" - }, - { - "name": "Read Data", - "key": "item_read_0u34g", - "type": "item-read", - "position_x": 4, - "position_y": 47, - "options": { - "collection": "layers", - "key": "{{$last.layer}}" - }, - "resolve": "a0be4bc8-1fe0-40fd-8cc7-01be6b25f5cb", - "reject": null, - "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", - "_syncId": "9823c564-3872-495a-b343-6108e328b0e4" - }, - { - "name": "Read Data", - "key": "item_read_3ku1k", - "type": "item-read", - "position_x": 38, - "position_y": 1, - "options": { - "collection": "items", - "query": { - "filter": { - "slug": { - "_starts_with": "{{$last}}" - } - }, - "aggregate": { - "count": "*" - } - } - }, - "resolve": "a1df90fb-43dd-4753-b1d5-437c2eb8ad9f", - "reject": null, - "flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1", - "_syncId": "ac036523-bc4d-4230-9475-01085fa4f8e1" - }, - { - "name": "Read Data", - "key": "item_read_3udhm", - "type": "item-read", - "position_x": 19, - "position_y": 1, - "options": { - "permissions": "$trigger", - "emitEvents": false, - "collection": "items", - "key": [ - "{{$trigger.payload.id}}" - ] - }, - "resolve": "0be87499-c06d-4cf9-9212-27729ec5ad4e", - "reject": null, - "flow": "bff21ad9-d142-4a6e-96fe-8da016576bc7", - "_syncId": "b95390e0-fa4c-4b2f-b7ea-a151b333229f" - }, - { - "name": "Read Data", - "key": "item_read_9qv1c", - "type": "item-read", - "position_x": 19, - "position_y": 1, - "options": { - "permissions": "$full", - "emitEvents": false, - "collection": "itemSecrets", - "query": { - "filter": { - "secret": { - "_eq": "{{$trigger.query.secret}}" - } - } - }, - "key": [] - }, - "resolve": null, - "reject": null, - "flow": "01d61db0-25aa-4bfa-bc24-c6a8f208a455", - "_syncId": "8bf158c9-8540-4ce3-88da-0e5f17f76ed7" - }, - { - "name": "Read Data", - "key": "item_read_bls9m", - "type": "item-read", - "position_x": 5, - "position_y": 22, - "options": { - "collection": "items", - "key": "{{$trigger.payload.id}}" - }, - "resolve": "9823c564-3872-495a-b343-6108e328b0e4", - "reject": null, - "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", - "_syncId": "95ed41d5-f195-4ebb-b444-402cff7c4a12" - }, - { - "name": "Read Data", - "key": "item_read_p8h47", - "type": "item-read", - "position_x": 22, - "position_y": 49, - "options": { - "collection": "layers_maps" - }, - "resolve": "373efd9a-c3c2-4bfc-b8d1-cd9b6f8492f9", - "reject": null, - "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", - "_syncId": "a0be4bc8-1fe0-40fd-8cc7-01be6b25f5cb" - }, - { - "name": "Read Data", - "key": "item_read_q6u16", - "type": "item-read", - "position_x": 41, - "position_y": 49, - "options": { - "collection": "maps" - }, - "resolve": "30c1dc02-2ccb-4b45-9668-dcf9fd2b6f1c", - "reject": null, - "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", - "_syncId": "373efd9a-c3c2-4bfc-b8d1-cd9b6f8492f9" - }, - { - "name": "Update Data", - "key": "item_update_chszs", - "type": "item-update", - "position_x": 100, - "position_y": 17, - "options": { - "collection": "items", - "query": { - "filter": { - "id": { - "_eq": "{{$trigger.payload.id}}" - } - } - }, - "payload": { - "slug": "{{slugify}}-{{singelton}}" - } - }, - "resolve": null, - "reject": null, - "flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1", - "_syncId": "e58a5edc-0ecb-42f3-89b1-c0306af1ed15" - }, - { - "name": "Update Data", - "key": "item_update_pv6i8", - "type": "item-update", - "position_x": 99, - "position_y": 1, - "options": { - "payload": { - "slug": "{{slugify}}" - }, - "query": { - "filter": { - "id": { - "_eq": "{{$trigger.payload.id}}" - } - } - }, - "collection": "items" - }, - "resolve": null, - "reject": null, - "flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1", - "_syncId": "57f3b6fe-4cf9-4a11-984f-320d80246980" - }, - { - "name": "Log to Console", - "key": "log_tj8ei", - "type": "log", - "position_x": 37, - "position_y": 1, - "options": { - "message": "{{$last}}" - }, - "resolve": null, - "reject": null, - "flow": "5e320392-429d-4759-95ec-c5adcff61f01", - "_syncId": "f26cd8dd-9fda-4019-9f81-d2a9de999c14" - }, - { - "name": "Send Email", - "key": "mail_kmf07", - "type": "mail", - "position_x": 91, - "position_y": 1, - "options": { - "type": "markdown", - "subject": "{{get_item.name}} {{$trigger.event}}", - "to": [ - "{{get_subscriber.email}}" - ], - "body": "Hi {{get_subscriber.first_name}},\n\n{{get_creator.first_name}} has {{$trigger.event}} [{{get_item.name}}]({{$trigger.map_url}}/item/{{$trigger.item}}) on [{{get_map[0].name}}]({{$trigger.map_url}}/item/{{$trigger.item}})." - }, - "resolve": null, - "reject": null, - "flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081", - "_syncId": "4ed7ef1e-df2c-4431-869c-5db36566c89e" - }, - { - "name": "prepare Mails", - "key": "prepare_mails", - "type": "exec", - "position_x": 55, - "position_y": 1, - "options": { - "code": "module.exports = async function(data) {\n\treturn data['$last'].map((item) => {\n \treturn {\n event: data['$trigger'].event === \"items.items.create\" ? \"created\" : \"updated\",\n item: data['$trigger'].payload.id,\n user_created: data['$accountability'].user,\n subscriber: item.directus_users_id,\n \t\t\tmap_url: data['$accountability'].origin,\n };\n });\n}" - }, - "resolve": "661c5585-4833-46b0-82aa-72be37ec0ff2", - "reject": null, - "flow": "bff21ad9-d142-4a6e-96fe-8da016576bc7", - "_syncId": "00e09aa0-d3d3-492a-8a17-f9b74f421954" - }, - { - "name": "Prepare Profile for Murmurations", - "key": "prepare_profile_for_murmurations", - "type": "transform", - "position_x": 19, - "position_y": 1, - "options": { - "json": { - "linked_schemas": [ - "people_schema-v0.1.0" - ], - "name": "{{$last.user_created.firstname}}", - "nickname": "{{$last.user_created.firstname}}", - "image": "{{$last.user_created.avatar}}", - "geolocation": { - "lat": 50.43312645607191, - "lon": 9.714832305908205 - } - } - }, - "resolve": "f26cd8dd-9fda-4019-9f81-d2a9de999c14", - "reject": null, - "flow": "5e320392-429d-4759-95ec-c5adcff61f01", - "_syncId": "c4d60433-bb2e-4d06-b10b-f3029b02963d" - }, - { - "name": "read data", - "key": "read_data", - "type": "item-read", - "position_x": 52, - "position_y": 2, - "options": { - "permissions": "$full", - "emitEvents": false, - "collection": "itemSecrets", - "query": { - "filter": { - "secret": { - "_eq": "{{$trigger.body.secret}}" - } - } - } - }, - "resolve": "0ef676a7-39b0-491e-8f42-21033af08078", - "reject": null, - "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", - "_syncId": "ae1677c8-3114-4015-9115-b9e763a7d5e1" - }, - { - "name": "Read Layer IDs", - "key": "read_layers_ids", - "type": "item-read", - "position_x": 37, - "position_y": 1, - "options": { - "permissions": "$full", - "emitEvents": false, - "collection": "layers_directus_users_1", - "key": [], - "query": { - "filter": { - "layers_id": { - "_eq": "{{$last.layer}}" - } - }, - "fields": "directus_users_id" - } - }, - "resolve": "00e09aa0-d3d3-492a-8a17-f9b74f421954", - "reject": null, - "flow": "bff21ad9-d142-4a6e-96fe-8da016576bc7", - "_syncId": "0be87499-c06d-4cf9-9212-27729ec5ad4e" - }, - { - "name": "read user items", - "key": "read_user_items", - "type": "item-read", - "position_x": 19, - "position_y": 2, - "options": { - "permissions": "$full", - "emitEvents": false, - "collection": "items", - "query": { - "filter": { - "user_created": { - "_eq": "{{$accountability.user}}" - } - } - } - }, - "resolve": "feca5834-de50-4593-9df4-7f9ec81f8c71", - "reject": null, - "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", - "_syncId": "020070b2-cf09-4a0d-82d0-c90b334a70cc" - }, - { - "name": "Webhook / Request URL", - "key": "request_dvnuy", - "type": "request", - "position_x": 31, - "position_y": 24, - "options": { - "method": "POST", - "url": "https://test-index.murmurations.network/v2/nodes", - "headers": [ - { - "header": "accept", - "value": "application/json" - }, - { - "header": "Content-Type", - "value": "application/json" - } - ], - "body": "{\n \"profile_url\": \"https://somenode.org/optional-subdirectory/node-profile.json\"\n}" - }, - "resolve": null, - "reject": null, - "flow": "5e320392-429d-4759-95ec-c5adcff61f01", - "_syncId": "6d14f1a8-cd2b-4dc1-9df3-5297f1e99cf0" - }, - { - "name": "Webhook updated", - "key": "request_juotc", - "type": "request", - "position_x": 48, - "position_y": 1, - "options": { - "url": "https://telegram-bot.utopia-lab.org/send_message", - "method": "POST", - "body": "{\"message\": \"**[{{$trigger.payload.name}}]({{$accountability.origin}}/item/{{$trigger.payload.id}})** updated\"}", - "headers": [ - { - "header": "Content-Type", - "value": "application/json" - } - ] - }, - "resolve": null, - "reject": null, - "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", - "_syncId": "4cd7018f-74a1-4cae-b185-3ee2b82ae1bd" - }, - { - "name": "Webhook created", - "key": "request_juotc_izixm", - "type": "request", - "position_x": 48, - "position_y": 17, - "options": { - "url": "https://telegram-bot.utopia-lab.org/send_message", - "method": "POST", - "body": "{\"message\": \"**[{{$trigger.payload.name}}]({{$accountability.origin}}/item/{{$trigger.payload.id}})** created\"}", - "headers": [ - { - "header": "Content-Type", - "value": "application/json" - } - ] - }, - "resolve": null, - "reject": null, - "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", - "_syncId": "05cdab2d-9373-494a-a13b-9a8cd6b9ea90" - }, - { - "name": "return inviting item", - "key": "return_inviting_item", - "type": "exec", - "position_x": 56, - "position_y": 36, - "options": { - "code": "module.exports = async function(data) {\n\treturn data.read_data[0].item\n}" - }, - "resolve": null, - "reject": null, - "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", - "_syncId": "5583fd94-c481-4a08-8632-115a2ce85577" - }, - { - "name": "return inviting item", - "key": "return_inviting_item_uxzvf", - "type": "exec", - "position_x": 54, - "position_y": 19, - "options": { - "code": "module.exports = async function(data) {\n\treturn data.read_data[0].item\n}" - }, - "resolve": null, - "reject": null, - "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", - "_syncId": "34a6106b-7789-4212-8bdc-e54798e2eca7" - }, - { - "name": "singelton", - "key": "singelton", - "type": "exec", - "position_x": 57, - "position_y": 16, - "options": { - "code": "module.exports = async function(data) {\n\treturn data.$last[0].count\n}" - }, - "resolve": "432dcfa2-28c5-4d75-884f-706877984bd6", - "reject": null, - "flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1", - "_syncId": "a1df90fb-43dd-4753-b1d5-437c2eb8ad9f" - }, - { - "name": "slugify", - "key": "slugify", - "type": "exec", - "position_x": 19, - "position_y": 1, - "options": { - "code": "module.exports = async function (data) {\n\tconst text = data.$trigger.payload.name;\n\n\tconst slug = text\n\t\t.toLowerCase()\n\t\t.trim()\n\t\t.replace(/[^\\w\\s-]/g, '')\n\t\t.replace(/[\\s_-]+/g, '-')\n\t\t.replace(/^-+|-+$/g, '');\n\n\treturn slug;\n};" - }, - "resolve": "ac036523-bc4d-4230-9475-01085fa4f8e1", - "reject": null, - "flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1", - "_syncId": "c7c8e08e-e94d-41f1-9b69-70251b2d3caf" - }, - { - "name": "test item ownership", - "key": "test_item_ownership", - "type": "exec", - "position_x": 36, - "position_y": 2, - "options": { - "code": "module.exports = async function(data) {\n\tif (!data.$last.some(item => item.id === data.$trigger.body.item)) {\n throw new Error('Not your item')\n }\n return {};\n}" - }, - "resolve": "ae1677c8-3114-4015-9115-b9e763a7d5e1", - "reject": null, - "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", - "_syncId": "feca5834-de50-4593-9df4-7f9ec81f8c71" - }, - { - "name": "Trigger Send Email", - "key": "trigger_4tvps", - "type": "trigger", - "position_x": 73, - "position_y": 1, - "options": { - "iterationMode": "parallel", - "flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081", - "payload": "{{$last}}" - }, - "resolve": null, - "reject": null, - "flow": "bff21ad9-d142-4a6e-96fe-8da016576bc7", - "_syncId": "661c5585-4833-46b0-82aa-72be37ec0ff2" - }, - { - "name": "trigger create secret flow", - "key": "trigger_create_secret_flow", - "type": "trigger", - "position_x": 55, - "position_y": 1, - "options": { - "iterationMode": "parallel", - "payload": "{{ $last }}", - "flow": "234d13fe-112a-4408-9bdb-78dd8cbd6b82" - }, - "resolve": null, - "reject": null, - "flow": "9a1d1084-438f-471e-aac5-47e0749375e7", - "_syncId": "2d4009c7-0a19-4c55-813c-f1e0f3de1bf0" - }, - { - "name": "Updated?", - "key": "updated", - "type": "condition", - "position_x": 21, - "position_y": 1, - "options": { - "filter": { - "$trigger": { - "event": { - "_eq": "items.items.update" - } - } - } - }, - "resolve": "4cd7018f-74a1-4cae-b185-3ee2b82ae1bd", - "reject": "05cdab2d-9373-494a-a13b-9a8cd6b9ea90", - "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", - "_syncId": "8cc15ed4-8372-4a45-abaa-df19d560b01a" - } -] diff --git a/backend/directus-config/collections/presets.json b/backend/directus-config/collections/presets.json deleted file mode 100644 index fe51488c..00000000 --- a/backend/directus-config/collections/presets.json +++ /dev/null @@ -1 +0,0 @@ -[] diff --git a/backend/directus-config/collections/dashboards.json b/backend/directus-config/development/collections/dashboards.json similarity index 100% rename from backend/directus-config/collections/dashboards.json rename to backend/directus-config/development/collections/dashboards.json diff --git a/backend/directus-config/collections/flows.json b/backend/directus-config/development/collections/flows.json similarity index 55% rename from backend/directus-config/collections/flows.json rename to backend/directus-config/development/collections/flows.json index 0c986f2d..d72a202a 100644 --- a/backend/directus-config/collections/flows.json +++ b/backend/directus-config/development/collections/flows.json @@ -8,7 +8,7 @@ "trigger": "webhook", "accountability": "all", "options": {}, - "operation": "8bf158c9-8540-4ce3-88da-0e5f17f76ed7", + "operation": "c880bc9d-1568-4c9c-b3d5-ddbd61f0a9d3", "_syncId": "01d61db0-25aa-4bfa-bc24-c6a8f208a455" }, { @@ -16,15 +16,35 @@ "icon": "bolt", "color": null, "description": "Creates a secret for an existing item, triggered by another flow", - "status": "active", + "status": "inactive", "trigger": "operation", "accountability": "all", "options": { "return": "$last" }, - "operation": "491e552d-539e-4474-bcf5-a94dcc43e67e", + "operation": "3767ea47-c9f5-4668-9cfa-9350803b9b31", "_syncId": "234d13fe-112a-4408-9bdb-78dd8cbd6b82" }, + { + "name": "Ocean Nomads: Delete Nomad", + "icon": "sailing", + "color": "#2ECDA7", + "description": "Deletes Nomads User and Items", + "status": "inactive", + "trigger": "event", + "accountability": "all", + "options": { + "type": "filter", + "scope": [ + "items.delete" + ], + "collections": [ + "oceannomads_profiles" + ] + }, + "operation": "2f4c3d12-87c3-44d5-aa5d-0e7d5529b149", + "_syncId": "3c6cdddf-2944-493d-bc7f-2769fd87b1d6" + }, { "name": "Post Profiles to Murmurations", "icon": "bolt", @@ -43,7 +63,7 @@ "updates" ] }, - "operation": "c4d60433-bb2e-4d06-b10b-f3029b02963d", + "operation": "8265ad6e-df54-48c8-b068-31c07f6b50a8", "_syncId": "5e320392-429d-4759-95ec-c5adcff61f01" }, { @@ -60,12 +80,73 @@ "operation": null, "_syncId": "6a48c246-2fb2-42ca-bebb-3f605e794d02" }, + { + "name": "Ocean Nomads: Create Location or Home", + "icon": "sailing", + "color": "#2ECDA7", + "description": "Creates Nomads Current Location or Home", + "status": "inactive", + "trigger": "event", + "accountability": "all", + "options": { + "type": "filter", + "return": "$last", + "scope": [ + "items.create" + ], + "collections": [ + "items" + ] + }, + "operation": "39d03980-4747-4970-80fa-2ad9afbdfb32", + "_syncId": "77f1fc79-d0fd-4f5d-a168-50fa3948a945" + }, + { + "name": "Ocean Nomads: Create Event", + "icon": "sailing", + "color": "#2ECDA7", + "description": "Creates Event Item on Map", + "status": "inactive", + "trigger": "event", + "accountability": "all", + "options": { + "type": "action", + "scope": [ + "items.create" + ], + "collections": [ + "oceannomads_events" + ] + }, + "operation": "67847550-3c95-4ee4-af02-32ebb69747d6", + "_syncId": "7b978be2-605f-4061-b5b3-46f151b1b80a" + }, + { + "name": "Ocean Nomads: Create Nomad", + "icon": "sailing", + "color": "#2ECDA7", + "description": "Creates Nomads User and Home Base", + "status": "inactive", + "trigger": "event", + "accountability": "all", + "options": { + "type": "action", + "scope": [ + "items.create" + ], + "collections": [ + "oceannomads_profiles" + ] + }, + "operation": "02499c24-46a9-4d77-8a2e-1b963cb3d62c", + "_syncId": "8b79cca0-d346-4d05-8bb2-c4b3c45d0721" + }, { "name": "Initial item secrets trigger", "icon": "salinity", "color": null, "description": "Generate a secret for each item", - "status": "active", + "status": "inactive", "trigger": "manual", "accountability": "all", "options": { @@ -74,7 +155,7 @@ ], "requireSelection": false }, - "operation": "c5b9aa76-b524-47b8-acc5-dd0350a3a12a", + "operation": "589ea382-5027-40fb-9f4d-3852389ccaab", "_syncId": "9a1d1084-438f-471e-aac5-47e0749375e7" }, { @@ -82,7 +163,7 @@ "icon": "mark_chat_read", "color": "#3584E4", "description": null, - "status": "active", + "status": "inactive", "trigger": "event", "accountability": "all", "options": { @@ -95,7 +176,7 @@ "items" ] }, - "operation": "95ed41d5-f195-4ebb-b444-402cff7c4a12", + "operation": "9838d2ca-3698-4d29-8429-038dfcaf7fab", "_syncId": "a78d01a4-13b3-46a4-8938-9606bf26e329" }, { @@ -116,9 +197,29 @@ "items" ] }, - "operation": "b95390e0-fa4c-4b2f-b7ea-a151b333229f", + "operation": "2eba1a24-aec5-477b-919f-f2276705606f", "_syncId": "bff21ad9-d142-4a6e-96fe-8da016576bc7" }, + { + "name": "Ocean Nomads: Update Nomad", + "icon": "sailing", + "color": "#2ECDA7", + "description": "Updates Nomads User, Home Base and Current Location", + "status": "inactive", + "trigger": "event", + "accountability": "all", + "options": { + "type": "action", + "scope": [ + "items.update" + ], + "collections": [ + "oceannomads_profiles" + ] + }, + "operation": "9d88e79c-2d51-4b66-9c36-341f1c8f9508", + "_syncId": "cb772a2c-150c-4cca-bc2c-1f8498a5cd92" + }, { "name": "Create Secret", "icon": "azm", @@ -136,7 +237,7 @@ "items" ] }, - "operation": "7b158384-5bce-4fd7-917a-4a61e53de6ec", + "operation": "05954e5e-1ca7-4a9c-b8c8-3ea6fceaa5de", "_syncId": "cbd7d15d-7f09-4f45-8060-3b24adabf82a" }, { @@ -151,7 +252,7 @@ "error_on_reject": true, "method": "POST" }, - "operation": "020070b2-cf09-4a0d-82d0-c90b334a70cc", + "operation": "0d9acb0c-571a-4a6a-b6c9-aa4f2dab8ca6", "_syncId": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4" }, { @@ -165,7 +266,7 @@ "options": { "return": "$last" }, - "operation": "bb96dab8-08c7-4b39-8ead-c2ed5d5a906c", + "operation": "43de95f1-d63b-4231-80c3-b399c45470f6", "_syncId": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081" }, { @@ -185,7 +286,7 @@ "items" ] }, - "operation": "c7c8e08e-e94d-41f1-9b69-70251b2d3caf", + "operation": "55857562-e0ab-49a5-a292-18f6c1cb075e", "_syncId": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1" } ] diff --git a/backend/directus-config/development/collections/folders.json b/backend/directus-config/development/collections/folders.json new file mode 100644 index 00000000..0a9f366b --- /dev/null +++ b/backend/directus-config/development/collections/folders.json @@ -0,0 +1,17 @@ +[ + { + "name": "map-logos", + "parent": null, + "_syncId": "27b2a288-d50a-48b7-88cd-35945503277b" + }, + { + "name": "icons-solid", + "parent": null, + "_syncId": "889a110a-a117-40fa-b091-5c5a2766563f" + }, + { + "name": "icons-outline", + "parent": null, + "_syncId": "f255d3a7-8ecc-4ee0-b584-dee753317415" + } +] diff --git a/backend/directus-config/development/collections/operations.json b/backend/directus-config/development/collections/operations.json new file mode 100644 index 00000000..8eb4b1bd --- /dev/null +++ b/backend/directus-config/development/collections/operations.json @@ -0,0 +1,1622 @@ +[ + { + "name": "Backend-Operation", + "key": "backend_operation", + "type": "condition", + "position_x": 25, + "position_y": 22, + "options": { + "filter": { + "$accountability": { + "origin": { + "_neq": "https://api.utopia-lab.org" + } + } + } + }, + "resolve": "28db9e52-c64d-4eb7-8bb9-b9f4e1355301", + "reject": null, + "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", + "_syncId": "b7241999-bfef-4086-bce1-b77d73323efb" + }, + { + "name": "Condition", + "key": "condition_d2q1f", + "type": "condition", + "position_x": 36, + "position_y": 1, + "options": { + "filter": { + "$trigger": { + "payload": { + "location": { + "_nempty": true + } + } + } + } + }, + "resolve": "28aaa64f-7cab-4e64-a5ea-4ab7f825250a", + "reject": "aad65a35-dcb2-4e71-a27a-b7600fea06a8", + "flow": "8b79cca0-d346-4d05-8bb2-c4b3c45d0721", + "_syncId": "6325ec57-0cde-491b-b453-f69effb404e6" + }, + { + "name": "Condition", + "key": "condition_ljedr", + "type": "condition", + "position_x": 54, + "position_y": 1, + "options": { + "filter": { + "item_read_i7dz7": { + "_and": [ + { + "location": { + "_nempty": true + } + }, + { + "location": { + "_nnull": true + } + } + ] + } + } + }, + "resolve": "ef204e62-9a47-4560-a940-336bdf2f897b", + "reject": "e76cc608-589d-4758-98ee-b01346e5f22c", + "flow": "cb772a2c-150c-4cca-bc2c-1f8498a5cd92", + "_syncId": "7e647ad3-8a87-43c6-aee3-08600f0382e0" + }, + { + "name": "Condition", + "key": "condition_n9mpy", + "type": "condition", + "position_x": 52, + "position_y": 1, + "options": { + "filter": { + "$trigger": { + "payload": { + "location": { + "_nempty": true + } + } + } + } + }, + "resolve": "ae903e53-b569-492c-85a1-b331f0030e96", + "reject": "5eb2d090-716a-405e-be6c-ca496961b5d3", + "flow": "7b978be2-605f-4061-b5b3-46f151b1b80a", + "_syncId": "e4e7b722-24be-484d-b1cf-f2f63ad31474" + }, + { + "name": "Condition", + "key": "condition_r2r2k", + "type": "condition", + "position_x": 36, + "position_y": 19, + "options": { + "filter": { + "$last": { + "result": { + "_eq": true + } + } + } + }, + "resolve": "bd160694-88f8-4148-bf9d-5122f8b883aa", + "reject": "37fd6139-7518-44d3-bae5-b38c5aa132b9", + "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", + "_syncId": "4659da47-fe8b-4968-8885-4e22d7330e63" + }, + { + "name": "Condition", + "key": "condition_vvsgp", + "type": "condition", + "position_x": 19, + "position_y": 1, + "options": { + "filter": { + "$trigger": { + "payload": { + "_or": [ + { + "layer": { + "_eq": "98f4cd2f-e1ce-4db8-bb16-f4bbf3d6991a" + } + }, + { + "layer": { + "_eq": "4f22c074-a5c0-47a3-9e76-2bb76eb2e362" + } + } + ] + } + } + } + }, + "resolve": "4d1d29aa-4bcc-451e-a2be-cd98b754e307", + "reject": "c9c55294-3bad-4cc0-9e5d-4a572492a3d7", + "flow": "77f1fc79-d0fd-4f5d-a168-50fa3948a945", + "_syncId": "39d03980-4747-4970-80fa-2ad9afbdfb32" + }, + { + "name": "Condition", + "key": "condition_wl4bz", + "type": "condition", + "position_x": 58, + "position_y": 1, + "options": { + "filter": { + "$last": { + "_eq": "0" + } + } + }, + "resolve": "ed868bc4-e5fb-42fd-96a9-e72b125d3f24", + "reject": "9c0fd031-ad6a-42e4-b978-742716acb1da", + "flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1", + "_syncId": "02e3984d-d938-4d1c-960b-c868831f1e72" + }, + { + "name": "Create item secret", + "key": "create_item_secret", + "type": "item-create", + "position_x": 19, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "itemSecrets", + "payload": { + "item": "{{ $trigger.item }}" + } + }, + "resolve": null, + "reject": null, + "flow": "234d13fe-112a-4408-9bdb-78dd8cbd6b82", + "_syncId": "3767ea47-c9f5-4668-9cfa-9350803b9b31" + }, + { + "name": "Create secret", + "key": "create_secret", + "type": "item-create", + "position_x": 25, + "position_y": 2, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "itemSecrets", + "payload": { + "item": "{{ $trigger.key }}" + } + }, + "resolve": null, + "reject": null, + "flow": "cbd7d15d-7f09-4f45-8060-3b24adabf82a", + "_syncId": "05954e5e-1ca7-4a9c-b8c8-3ea6fceaa5de" + }, + { + "name": "Run Script", + "key": "exec_a3592", + "type": "exec", + "position_x": 37, + "position_y": 1, + "options": { + "code": "module.exports = async function(data) {\n\treturn data['$last'].map((item) => {\n \treturn {\n item: item.id,\n };\n });\n}" + }, + "resolve": "95d762f9-4695-4168-aa65-5bd065b40742", + "reject": null, + "flow": "9a1d1084-438f-471e-aac5-47e0749375e7", + "_syncId": "a433dd53-77e2-4f4a-8ea3-7bb9eeae31bd" + }, + { + "name": "does_relation_exist", + "key": "exec_b85vb", + "type": "exec", + "position_x": 19, + "position_y": 19, + "options": { + "code": "module.exports = async function(data) {\n\treturn {\n \tresult: data['$last'].length > 0\n };\n}" + }, + "resolve": "4659da47-fe8b-4968-8885-4e22d7330e63", + "reject": null, + "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", + "_syncId": "06716525-6d29-46e2-bb01-0764bccd74e9" + }, + { + "name": "Run Script", + "key": "exec_p2t3z", + "type": "exec", + "position_x": 37, + "position_y": 17, + "options": { + "code": "// Your function in the myScript operation\nmodule.exports = function (data) {\n return payload = {...data.$trigger.payload}\n};" + }, + "resolve": null, + "reject": null, + "flow": "77f1fc79-d0fd-4f5d-a168-50fa3948a945", + "_syncId": "c9c55294-3bad-4cc0-9e5d-4a572492a3d7" + }, + { + "name": "Run Script", + "key": "exec_p5p4r", + "type": "exec", + "position_x": 18, + "position_y": 1, + "options": { + "code": "module.exports = async function(data) {\n const regex = /See More:\\s*(https?:\\/\\/[^\\s]+)/g;\n const payload = {...data.$trigger.payload}\n payload.text = payload.text.replace(regex, `[See More]($1)`);\n return payload;\n}" + }, + "resolve": "44ded01a-ae2f-4dd3-9a73-aaa2b2f7a2d3", + "reject": null, + "flow": "7b978be2-605f-4061-b5b3-46f151b1b80a", + "_syncId": "67847550-3c95-4ee4-af02-32ebb69747d6" + }, + { + "name": "get Creator", + "key": "get_creator", + "type": "item-read", + "position_x": 73, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "directus_users", + "query": { + "fields:": "first_name" + }, + "key": [ + "{{$trigger.user_created}}" + ] + }, + "resolve": "963022f0-a46a-4357-9321-898e995dda48", + "reject": null, + "flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081", + "_syncId": "b160f6e2-fc44-428b-886e-39d5552727d5" + }, + { + "name": "get_existing_relation", + "key": "get_existing_relation", + "type": "item-read", + "position_x": 2, + "position_y": 19, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "items_items", + "query": { + "filter": { + "type": { + "_eq": "is_following" + }, + "items_id": { + "_eq": "{{ $trigger.body.item }}" + }, + "related_items_id": { + "_eq": "{{ $last[0].item }}" + } + } + } + }, + "resolve": "06716525-6d29-46e2-bb01-0764bccd74e9", + "reject": null, + "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", + "_syncId": "87295976-e35b-44a8-98ba-8ef659f3b4a4" + }, + { + "name": "Get Item", + "key": "get_item", + "type": "item-read", + "position_x": 37, + "position_y": 1, + "options": { + "permissions": "$trigger", + "emitEvents": false, + "collection": "items", + "key": [ + "{{$trigger.item}}" + ], + "query": { + "fields": "name" + } + }, + "resolve": "0e6dff93-766c-4a5f-918a-0f458794733b", + "reject": null, + "flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081", + "_syncId": "500fd5a0-592d-4434-8763-59072ca3b334" + }, + { + "name": "Get Map", + "key": "get_map", + "type": "item-read", + "position_x": 55, + "position_y": 1, + "options": { + "permissions": "$trigger", + "emitEvents": false, + "collection": "maps", + "query": { + "filter": { + "url": { + "_eq": "{{$trigger.map_url}}" + } + }, + "fields": "name,logo" + } + }, + "resolve": "b160f6e2-fc44-428b-886e-39d5552727d5", + "reject": null, + "flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081", + "_syncId": "0e6dff93-766c-4a5f-918a-0f458794733b" + }, + { + "name": "Get Subscriber", + "key": "get_subscriber", + "type": "item-read", + "position_x": 19, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "directus_users", + "key": [ + "{{$trigger.subscriber}}" + ], + "query": { + "fields": "email, first_name" + } + }, + "resolve": "500fd5a0-592d-4434-8763-59072ca3b334", + "reject": null, + "flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081", + "_syncId": "43de95f1-d63b-4231-80c3-b399c45470f6" + }, + { + "name": "Create Nomads User", + "key": "item_create_dj57t", + "type": "item-create", + "position_x": 19, + "position_y": 1, + "options": { + "permissions": "$public", + "emitEvents": false, + "collection": "directus_users", + "payload": { + "email": "{{$trigger.payload.email}}", + "first_name": "{{$trigger.payload.first_name}} {{$trigger.payload.last_name}}" + } + }, + "resolve": "6325ec57-0cde-491b-b453-f69effb404e6", + "reject": null, + "flow": "8b79cca0-d346-4d05-8bb2-c4b3c45d0721", + "_syncId": "02499c24-46a9-4d77-8a2e-1b963cb3d62c" + }, + { + "name": "Read Items", + "key": "item_create_jqtv7", + "type": "item-read", + "position_x": 19, + "position_y": 1, + "options": { + "permissions": "$trigger", + "emitEvents": false, + "collection": "items", + "query": { + "limit": -1 + } + }, + "resolve": "a433dd53-77e2-4f4a-8ea3-7bb9eeae31bd", + "reject": null, + "flow": "9a1d1084-438f-471e-aac5-47e0749375e7", + "_syncId": "589ea382-5027-40fb-9f4d-3852389ccaab" + }, + { + "name": "Create Nomads Home Item", + "key": "item_create_oym38", + "type": "item-create", + "position_x": 70, + "position_y": 1, + "options": { + "payload": { + "name": "{{$trigger.payload.first_name}} {{$trigger.payload.last_name}}", + "layer": "4f22c074-a5c0-47a3-9e76-2bb76eb2e362", + "extended": { + "external_profile_id": "{{$trigger.payload.id}}" + }, + "position": "{{$last.data.features[0].geometry}}", + "image_external": "{{$trigger.payload.avatar_url}}" + }, + "collection": "items", + "emitEvents": false, + "permissions": "$full" + }, + "resolve": "f12ba44c-69cc-40c0-a346-aafb851fe892", + "reject": null, + "flow": "8b79cca0-d346-4d05-8bb2-c4b3c45d0721", + "_syncId": "3624ff50-c282-45db-aa01-9b8c4a75e45c" + }, + { + "name": "Create Nomads Home Item", + "key": "item_create_oym38_epxyf", + "type": "item-create", + "position_x": 53, + "position_y": 18, + "options": { + "payload": { + "name": "{{$trigger.payload.first_name}} {{$trigger.payload.last_name}}", + "layer": "4f22c074-a5c0-47a3-9e76-2bb76eb2e362", + "extended": { + "external_profile_id": "{{$trigger.payload.id}}" + }, + "image_external": "{{$trigger.payload.avatar_url}}" + }, + "collection": "items", + "emitEvents": false, + "permissions": "$full" + }, + "resolve": "fc07cebb-9577-41a2-9c1c-d2ee873b112d", + "reject": null, + "flow": "8b79cca0-d346-4d05-8bb2-c4b3c45d0721", + "_syncId": "aad65a35-dcb2-4e71-a27a-b7600fea06a8" + }, + { + "name": "Create Data", + "key": "item_create_tsz05", + "type": "item-create", + "position_x": 86, + "position_y": 1, + "options": { + "payload": { + "end": "{{$trigger.payload.end}}", + "name": "{{$trigger.payload.title}}", + "text": "{{exec_p5p4r.text}}", + "layer": "5b9f713c-74b6-4dcc-a4d0-c7893b267d6e", + "start": "{{$trigger.payload.start}}", + "position": "{{$last.data.features[0].geometry}}" + }, + "collection": "items", + "emitEvents": false, + "permissions": "$trigger" + }, + "resolve": "906b8e62-bc1b-4e69-9502-51363e868cb8", + "reject": null, + "flow": "7b978be2-605f-4061-b5b3-46f151b1b80a", + "_syncId": "8ed6471d-7897-4aea-84df-dd0308b5df12" + }, + { + "name": "Create Data", + "key": "item_create_tsz05_xukmd", + "type": "item-create", + "position_x": 69, + "position_y": 24, + "options": { + "payload": { + "end": "{{$trigger.payload.end}}", + "name": "{{$trigger.payload.title}}", + "text": "{{exec_p5p4r.text}}", + "layer": "5b9f713c-74b6-4dcc-a4d0-c7893b267d6e", + "start": "{{$trigger.payload.start}}" + }, + "collection": "items", + "emitEvents": false, + "permissions": "$trigger" + }, + "resolve": "017875a5-3736-478a-9bcc-ed473117c74d", + "reject": null, + "flow": "7b978be2-605f-4061-b5b3-46f151b1b80a", + "_syncId": "5eb2d090-716a-405e-be6c-ca496961b5d3" + }, + { + "name": "Create Data", + "key": "item_create_x8h5h", + "type": "item-create", + "position_x": 37, + "position_y": 36, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "items_items", + "payload": { + "items_id": "{{ $trigger.body.item }}", + "related_items_id": "{{ read_data[0].item }}", + "type": "is_following" + } + }, + "resolve": "2362eac0-7c3c-4164-8927-6cbc43e4934e", + "reject": null, + "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", + "_syncId": "37fd6139-7518-44d3-bae5-b38c5aa132b9" + }, + { + "name": "Delete Data", + "key": "item_delete_pl9gj", + "type": "item-delete", + "position_x": 91, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "directus_users", + "query": { + "filter": { + "id": { + "_eq": "{{item_read_m7xes[0].id}}" + } + } + } + }, + "resolve": null, + "reject": null, + "flow": "3c6cdddf-2944-493d-bc7f-2769fd87b1d6", + "_syncId": "d6eb9087-481b-407c-af0d-bc37527d0fc4" + }, + { + "name": "Delete Data", + "key": "item_delete_rasrd", + "type": "item-delete", + "position_x": 55, + "position_y": 1, + "options": { + "query": { + "filter": { + "_and": [ + { + "layer": { + "_eq": "4f22c074-a5c0-47a3-9e76-2bb76eb2e362" + } + }, + { + "user_created": { + "_eq": "{{$last[0].id}}" + } + } + ] + } + }, + "collection": "items", + "emitEvents": false, + "permissions": "$full" + }, + "resolve": "dc438e50-a3a1-4d38-8b7a-7c1dd1f22166", + "reject": null, + "flow": "3c6cdddf-2944-493d-bc7f-2769fd87b1d6", + "_syncId": "cbec78ff-1efd-494d-906d-5b6d6ef00a6b" + }, + { + "name": "Delete Data", + "key": "item_delete_rasrd_boace", + "type": "item-delete", + "position_x": 73, + "position_y": 1, + "options": { + "query": { + "filter": { + "_and": [ + { + "layer": { + "_eq": "98f4cd2f-e1ce-4db8-bb16-f4bbf3d6991a" + } + }, + { + "user_created": { + "_eq": "{{item_read_m7xes[0].id}}" + } + } + ] + } + }, + "collection": "items", + "emitEvents": false, + "permissions": "$full" + }, + "resolve": "d6eb9087-481b-407c-af0d-bc37527d0fc4", + "reject": null, + "flow": "3c6cdddf-2944-493d-bc7f-2769fd87b1d6", + "_syncId": "dc438e50-a3a1-4d38-8b7a-7c1dd1f22166" + }, + { + "name": "Read Data", + "key": "item_read_0u34g", + "type": "item-read", + "position_x": 4, + "position_y": 47, + "options": { + "collection": "layers", + "key": "{{$last.layer}}" + }, + "resolve": "f0ec57c8-070f-4f0c-881b-2f0a77bc6f2b", + "reject": null, + "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", + "_syncId": "f83abfeb-1457-405f-b2b6-3b2d064937dc" + }, + { + "name": "Read Data", + "key": "item_read_3ku1k", + "type": "item-read", + "position_x": 38, + "position_y": 1, + "options": { + "collection": "items", + "query": { + "filter": { + "slug": { + "_starts_with": "{{$last}}" + } + }, + "aggregate": { + "count": "*" + } + } + }, + "resolve": "bb24ba37-d1e6-4d44-a36c-f4dea4527180", + "reject": null, + "flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1", + "_syncId": "5129e430-971e-49ca-b8d5-83e40f489fda" + }, + { + "name": "Read Data", + "key": "item_read_3udhm", + "type": "item-read", + "position_x": 19, + "position_y": 1, + "options": { + "permissions": "$trigger", + "emitEvents": false, + "collection": "items", + "key": [ + "{{$trigger.payload.id}}" + ] + }, + "resolve": "f61d61c8-eb66-43b6-9929-c878bd653aa8", + "reject": null, + "flow": "bff21ad9-d142-4a6e-96fe-8da016576bc7", + "_syncId": "2eba1a24-aec5-477b-919f-f2276705606f" + }, + { + "name": "Read Data", + "key": "item_read_9qv1c", + "type": "item-read", + "position_x": 19, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "itemSecrets", + "query": { + "filter": { + "secret": { + "_eq": "{{$trigger.query.secret}}" + } + } + }, + "key": [] + }, + "resolve": null, + "reject": null, + "flow": "01d61db0-25aa-4bfa-bc24-c6a8f208a455", + "_syncId": "c880bc9d-1568-4c9c-b3d5-ddbd61f0a9d3" + }, + { + "name": "Read Data", + "key": "item_read_a6xul", + "type": "item-read", + "position_x": 19, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "oceannomads_profiles", + "key": [ + "{{$trigger.payload[0]}}" + ] + }, + "resolve": "0dbba1fc-05f5-4c05-b949-f25610f96df7", + "reject": null, + "flow": "3c6cdddf-2944-493d-bc7f-2769fd87b1d6", + "_syncId": "2f4c3d12-87c3-44d5-aa5d-0e7d5529b149" + }, + { + "name": "Read Data", + "key": "item_read_bls9m", + "type": "item-read", + "position_x": 5, + "position_y": 22, + "options": { + "collection": "items", + "key": "{{$trigger.payload.id}}" + }, + "resolve": "f83abfeb-1457-405f-b2b6-3b2d064937dc", + "reject": null, + "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", + "_syncId": "9838d2ca-3698-4d29-8429-038dfcaf7fab" + }, + { + "name": "Read Data", + "key": "item_read_evgvk", + "type": "item-read", + "position_x": 35, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "directus_users", + "query": { + "filter": { + "email": { + "_eq": "{{$trigger.payload.creator_email}}" + } + } + } + }, + "resolve": "e4e7b722-24be-484d-b1cf-f2f63ad31474", + "reject": null, + "flow": "7b978be2-605f-4061-b5b3-46f151b1b80a", + "_syncId": "44ded01a-ae2f-4dd3-9a73-aaa2b2f7a2d3" + }, + { + "name": "Read Data", + "key": "item_read_gejrb", + "type": "item-read", + "position_x": 55, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "oceannomads_profiles", + "query": { + "filter": { + "email": { + "_eq": "{{$last.email}}" + } + } + } + }, + "resolve": "91e39643-b58e-4629-8875-06559cfacf64", + "reject": null, + "flow": "77f1fc79-d0fd-4f5d-a168-50fa3948a945", + "_syncId": "50d65464-caac-4d66-9968-319153f0a4b6" + }, + { + "name": "Read Data", + "key": "item_read_i7dz7", + "type": "item-read", + "position_x": 18, + "position_y": 1, + "options": { + "permissions": "$trigger", + "emitEvents": false, + "collection": "oceannomads_profiles", + "key": [ + "{{$trigger.keys[0]}}" + ] + }, + "resolve": "840b0278-ff8a-4f2f-bf67-c75a2e7e00b6", + "reject": null, + "flow": "cb772a2c-150c-4cca-bc2c-1f8498a5cd92", + "_syncId": "9d88e79c-2d51-4b66-9c36-341f1c8f9508" + }, + { + "name": "Read Data", + "key": "item_read_lz6au", + "type": "item-read", + "position_x": 37, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "directus_users", + "key": [ + "{{$accountability.user}}" + ] + }, + "resolve": "50d65464-caac-4d66-9968-319153f0a4b6", + "reject": null, + "flow": "77f1fc79-d0fd-4f5d-a168-50fa3948a945", + "_syncId": "4d1d29aa-4bcc-451e-a2be-cd98b754e307" + }, + { + "name": "Read Data", + "key": "item_read_m7xes", + "type": "item-read", + "position_x": 37, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "directus_users", + "query": { + "filter": { + "email": { + "_eq": "{{$last.email}}" + } + } + } + }, + "resolve": "cbec78ff-1efd-494d-906d-5b6d6ef00a6b", + "reject": null, + "flow": "3c6cdddf-2944-493d-bc7f-2769fd87b1d6", + "_syncId": "0dbba1fc-05f5-4c05-b949-f25610f96df7" + }, + { + "name": "Read Data", + "key": "item_read_p8h47", + "type": "item-read", + "position_x": 22, + "position_y": 49, + "options": { + "collection": "layers_maps" + }, + "resolve": "810b13ca-f884-4b1d-84db-8f71ed067337", + "reject": null, + "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", + "_syncId": "f0ec57c8-070f-4f0c-881b-2f0a77bc6f2b" + }, + { + "name": "Read Data", + "key": "item_read_q6u16", + "type": "item-read", + "position_x": 41, + "position_y": 49, + "options": { + "collection": "maps" + }, + "resolve": "b7241999-bfef-4086-bce1-b77d73323efb", + "reject": null, + "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", + "_syncId": "810b13ca-f884-4b1d-84db-8f71ed067337" + }, + { + "name": "Read Data", + "key": "item_read_ym92c", + "type": "item-read", + "position_x": 36, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "directus_users", + "query": { + "filter": { + "email": { + "_eq": "{{$last.email}}" + } + } + }, + "key": [] + }, + "resolve": "7e647ad3-8a87-43c6-aee3-08600f0382e0", + "reject": null, + "flow": "cb772a2c-150c-4cca-bc2c-1f8498a5cd92", + "_syncId": "840b0278-ff8a-4f2f-bf67-c75a2e7e00b6" + }, + { + "name": "Set Item Ownership to Nomads User", + "key": "item_update_1vgft", + "type": "item-update", + "position_x": 87, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "items", + "payload": { + "user_created": "{{item_create_dj57t[0]}}" + }, + "key": [ + "{{$last[0]}}" + ] + }, + "resolve": null, + "reject": null, + "flow": "8b79cca0-d346-4d05-8bb2-c4b3c45d0721", + "_syncId": "f12ba44c-69cc-40c0-a346-aafb851fe892" + }, + { + "name": "Set Item Ownership to Nomads User", + "key": "item_update_1vgft_dwftb", + "type": "item-update", + "position_x": 70, + "position_y": 18, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "items", + "payload": { + "user_created": "{{item_create_dj57t[0]}}" + }, + "key": [ + "{{$last[0]}}" + ] + }, + "resolve": null, + "reject": null, + "flow": "8b79cca0-d346-4d05-8bb2-c4b3c45d0721", + "_syncId": "fc07cebb-9577-41a2-9c1c-d2ee873b112d" + }, + { + "name": "Update Nomads Current Location", + "key": "item_update_5eu19", + "type": "item-update", + "position_x": 129, + "position_y": 1, + "options": { + "key": [], + "query": { + "filter": { + "_and": [ + { + "layer": { + "_eq": "98f4cd2f-e1ce-4db8-bb16-f4bbf3d6991a" + } + }, + { + "user_created": { + "_eq": "{{$last}}" + } + } + ] + } + }, + "payload": { + "name": "{{item_read_i7dz7.first_name}} {{item_read_i7dz7.last_name}}", + "image_external": "{{item_read_i7dz7.avatar_url}}" + }, + "collection": "items", + "emitEvents": false, + "permissions": "$full" + }, + "resolve": null, + "reject": null, + "flow": "cb772a2c-150c-4cca-bc2c-1f8498a5cd92", + "_syncId": "3bb1c8b0-fae7-42b0-af07-562e4a4bf20e" + }, + { + "name": "Update Nomads Current Location", + "key": "item_update_5eu19_prdze", + "type": "item-update", + "position_x": 119, + "position_y": 17, + "options": { + "key": [], + "query": { + "filter": { + "_and": [ + { + "layer": { + "_eq": "98f4cd2f-e1ce-4db8-bb16-f4bbf3d6991a" + } + }, + { + "user_created": { + "_eq": "{{$last}}" + } + } + ] + } + }, + "payload": { + "name": "{{item_read_i7dz7.first_name}} {{item_read_i7dz7.last_name}}", + "image_external": "{{item_read_i7dz7.avatar_url}}" + }, + "collection": "items", + "emitEvents": false, + "permissions": "$full" + }, + "resolve": null, + "reject": null, + "flow": "cb772a2c-150c-4cca-bc2c-1f8498a5cd92", + "_syncId": "4dc368cc-6fc1-411e-b0f0-b39490c3efe0" + }, + { + "name": "Update Data", + "key": "item_update_8nzfw", + "type": "item-update", + "position_x": 103, + "position_y": 1, + "options": { + "permissions": "$trigger", + "emitEvents": false, + "key": [ + "{{$last[0]}}" + ], + "payload": { + "user_created": "{{item_read_evgvk[0].id}}" + }, + "collection": "items" + }, + "resolve": null, + "reject": null, + "flow": "7b978be2-605f-4061-b5b3-46f151b1b80a", + "_syncId": "906b8e62-bc1b-4e69-9502-51363e868cb8" + }, + { + "name": "Update Data", + "key": "item_update_8nzfw_xriog", + "type": "item-update", + "position_x": 86, + "position_y": 24, + "options": { + "permissions": "$trigger", + "emitEvents": false, + "key": [ + "{{$last[0]}}" + ], + "payload": { + "user_created": "{{item_read_evgvk[0].id}}" + }, + "collection": "items" + }, + "resolve": null, + "reject": null, + "flow": "7b978be2-605f-4061-b5b3-46f151b1b80a", + "_syncId": "017875a5-3736-478a-9bcc-ed473117c74d" + }, + { + "name": "Update Data", + "key": "item_update_chszs", + "type": "item-update", + "position_x": 100, + "position_y": 17, + "options": { + "collection": "items", + "query": { + "filter": { + "id": { + "_eq": "{{$trigger.payload.id}}" + } + } + }, + "payload": { + "slug": "{{slugify}}-{{singelton}}" + } + }, + "resolve": null, + "reject": null, + "flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1", + "_syncId": "9c0fd031-ad6a-42e4-b978-742716acb1da" + }, + { + "name": "Update Nomads User", + "key": "item_update_e3pl5", + "type": "item-update", + "position_x": 110, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "directus_users", + "key": [ + "{{item_read_ym92c[0].id}}" + ], + "payload": { + "first_name": "{{item_read_i7dz7.first_name}} {{item_read_i7dz7.last_name}}", + "email": "{{item_read_i7dz7.email}}" + } + }, + "resolve": "3bb1c8b0-fae7-42b0-af07-562e4a4bf20e", + "reject": null, + "flow": "cb772a2c-150c-4cca-bc2c-1f8498a5cd92", + "_syncId": "e7b3b7b8-c34a-4024-8aa4-d7d4687d6752" + }, + { + "name": "Update Nomads User", + "key": "item_update_e3pl5_wansj", + "type": "item-update", + "position_x": 100, + "position_y": 17, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "directus_users", + "key": [ + "{{item_read_ym92c[0].id}}" + ], + "payload": { + "first_name": "{{item_read_i7dz7.first_name}} {{item_read_i7dz7.last_name}}", + "email": "{{item_read_i7dz7.email}}" + }, + "query": null + }, + "resolve": "4dc368cc-6fc1-411e-b0f0-b39490c3efe0", + "reject": null, + "flow": "cb772a2c-150c-4cca-bc2c-1f8498a5cd92", + "_syncId": "b22755ba-4ec5-4e04-a3fe-a390a9bc75ab" + }, + { + "name": "Update Nomads Home", + "key": "item_update_o6cn8", + "type": "item-update", + "position_x": 91, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "key": [], + "query": { + "filter": { + "_and": [ + { + "layer": { + "_eq": "4f22c074-a5c0-47a3-9e76-2bb76eb2e362" + } + }, + { + "user_created": { + "_eq": "{{item_read_ym92c[0].id}}" + } + } + ] + } + }, + "payload": { + "name": "{{item_read_i7dz7.first_name}} {{item_read_i7dz7.last_name}}", + "image_external": "{{item_read_i7dz7.avatar_url}}", + "position": "{{$last.data.features[0].geometry}}" + }, + "collection": "items" + }, + "resolve": "e7b3b7b8-c34a-4024-8aa4-d7d4687d6752", + "reject": null, + "flow": "cb772a2c-150c-4cca-bc2c-1f8498a5cd92", + "_syncId": "4535f776-40c7-4e6d-8873-843822996dd5" + }, + { + "name": "Update Nomads Home", + "key": "item_update_o6cn8_nitpl", + "type": "item-update", + "position_x": 81, + "position_y": 17, + "options": { + "permissions": "$full", + "emitEvents": false, + "key": [], + "query": { + "filter": { + "_and": [ + { + "layer": { + "_eq": "4f22c074-a5c0-47a3-9e76-2bb76eb2e362" + } + }, + { + "user_created": { + "_eq": "{{item_read_ym92c[0].id}}" + } + } + ] + } + }, + "payload": { + "name": "{{item_read_i7dz7.first_name}} {{item_read_i7dz7.last_name}}", + "position": null, + "image_external": "{{item_read_i7dz7.avatar_url}}" + }, + "collection": "items" + }, + "resolve": "b22755ba-4ec5-4e04-a3fe-a390a9bc75ab", + "reject": null, + "flow": "cb772a2c-150c-4cca-bc2c-1f8498a5cd92", + "_syncId": "e76cc608-589d-4758-98ee-b01346e5f22c" + }, + { + "name": "Update Data", + "key": "item_update_pv6i8", + "type": "item-update", + "position_x": 99, + "position_y": 1, + "options": { + "payload": { + "slug": "{{slugify}}" + }, + "query": { + "filter": { + "id": { + "_eq": "{{$trigger.payload.id}}" + } + } + }, + "collection": "items" + }, + "resolve": null, + "reject": null, + "flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1", + "_syncId": "ed868bc4-e5fb-42fd-96a9-e72b125d3f24" + }, + { + "name": "Log to Console", + "key": "log_tj8ei", + "type": "log", + "position_x": 37, + "position_y": 1, + "options": { + "message": "{{$last}}" + }, + "resolve": null, + "reject": null, + "flow": "5e320392-429d-4759-95ec-c5adcff61f01", + "_syncId": "d07dddce-810b-4a79-90fe-5e19f2485d31" + }, + { + "name": "Send Email", + "key": "mail_kmf07", + "type": "mail", + "position_x": 91, + "position_y": 1, + "options": { + "type": "markdown", + "subject": "{{get_item.name}} {{$trigger.event}}", + "to": [ + "{{get_subscriber.email}}" + ], + "body": "Hi {{get_subscriber.first_name}},\n\n{{get_creator.first_name}} has {{$trigger.event}} [{{get_item.name}}]({{$trigger.map_url}}/item/{{$trigger.item}}) on [{{get_map[0].name}}]({{$trigger.map_url}}/item/{{$trigger.item}})." + }, + "resolve": null, + "reject": null, + "flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081", + "_syncId": "963022f0-a46a-4357-9321-898e995dda48" + }, + { + "name": "prepare Mails", + "key": "prepare_mails", + "type": "exec", + "position_x": 55, + "position_y": 1, + "options": { + "code": "module.exports = async function(data) {\n\treturn data['$last'].map((item) => {\n \treturn {\n event: data['$trigger'].event === \"items.items.create\" ? \"created\" : \"updated\",\n item: data['$trigger'].payload.id,\n user_created: data['$accountability'].user,\n subscriber: item.directus_users_id,\n \t\t\tmap_url: data['$accountability'].origin,\n };\n });\n}" + }, + "resolve": "2179c615-5939-40cb-a85a-9e02b7d148fa", + "reject": null, + "flow": "bff21ad9-d142-4a6e-96fe-8da016576bc7", + "_syncId": "940c929e-15b2-411d-a9b3-336af4574127" + }, + { + "name": "Prepare Profile for Murmurations", + "key": "prepare_profile_for_murmurations", + "type": "transform", + "position_x": 19, + "position_y": 1, + "options": { + "json": { + "linked_schemas": [ + "people_schema-v0.1.0" + ], + "name": "{{$last.user_created.firstname}}", + "nickname": "{{$last.user_created.firstname}}", + "image": "{{$last.user_created.avatar}}", + "geolocation": { + "lat": 50.43312645607191, + "lon": 9.714832305908205 + } + } + }, + "resolve": "d07dddce-810b-4a79-90fe-5e19f2485d31", + "reject": null, + "flow": "5e320392-429d-4759-95ec-c5adcff61f01", + "_syncId": "8265ad6e-df54-48c8-b068-31c07f6b50a8" + }, + { + "name": "read data", + "key": "read_data", + "type": "item-read", + "position_x": 52, + "position_y": 2, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "itemSecrets", + "query": { + "filter": { + "secret": { + "_eq": "{{$trigger.body.secret}}" + } + } + } + }, + "resolve": "87295976-e35b-44a8-98ba-8ef659f3b4a4", + "reject": null, + "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", + "_syncId": "74084d01-0a3d-474e-b377-f15d2c1457ed" + }, + { + "name": "Read Layer IDs", + "key": "read_layers_ids", + "type": "item-read", + "position_x": 37, + "position_y": 1, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "layers_directus_users_1", + "key": [], + "query": { + "filter": { + "layers_id": { + "_eq": "{{$last.layer}}" + } + }, + "fields": "directus_users_id" + } + }, + "resolve": "940c929e-15b2-411d-a9b3-336af4574127", + "reject": null, + "flow": "bff21ad9-d142-4a6e-96fe-8da016576bc7", + "_syncId": "f61d61c8-eb66-43b6-9929-c878bd653aa8" + }, + { + "name": "read user items", + "key": "read_user_items", + "type": "item-read", + "position_x": 19, + "position_y": 2, + "options": { + "permissions": "$full", + "emitEvents": false, + "collection": "items", + "query": { + "filter": { + "user_created": { + "_eq": "{{$accountability.user}}" + } + } + } + }, + "resolve": "6bf62484-4a2b-4d78-8d19-ca53deea32a4", + "reject": null, + "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", + "_syncId": "0d9acb0c-571a-4a6a-b6c9-aa4f2dab8ca6" + }, + { + "name": "Webhook / Request URL", + "key": "request_du0ch", + "type": "request", + "position_x": 69, + "position_y": 1, + "options": { + "method": "GET", + "url": "https://photon.komoot.io/api/?q={{$trigger.payload.location}}&limit=1" + }, + "resolve": "8ed6471d-7897-4aea-84df-dd0308b5df12", + "reject": null, + "flow": "7b978be2-605f-4061-b5b3-46f151b1b80a", + "_syncId": "ae903e53-b569-492c-85a1-b331f0030e96" + }, + { + "name": "Webhook / Request URL", + "key": "request_dvnuy", + "type": "request", + "position_x": 31, + "position_y": 24, + "options": { + "method": "POST", + "url": "https://test-index.murmurations.network/v2/nodes", + "headers": [ + { + "header": "accept", + "value": "application/json" + }, + { + "header": "Content-Type", + "value": "application/json" + } + ], + "body": "{\n \"profile_url\": \"https://somenode.org/optional-subdirectory/node-profile.json\"\n}" + }, + "resolve": null, + "reject": null, + "flow": "5e320392-429d-4759-95ec-c5adcff61f01", + "_syncId": "9e548616-7a5f-417a-834d-7100fa79f774" + }, + { + "name": "Webhook / Request URL", + "key": "request_hfzgd", + "type": "request", + "position_x": 73, + "position_y": 1, + "options": { + "method": "GET", + "url": "https://photon.komoot.io/api/?q={{item_read_i7dz7.location}}&limit=1" + }, + "resolve": "4535f776-40c7-4e6d-8873-843822996dd5", + "reject": null, + "flow": "cb772a2c-150c-4cca-bc2c-1f8498a5cd92", + "_syncId": "ef204e62-9a47-4560-a940-336bdf2f897b" + }, + { + "name": "Webhook updated", + "key": "request_juotc", + "type": "request", + "position_x": 48, + "position_y": 1, + "options": { + "url": "https://telegram-bot.utopia-lab.org/send_message", + "method": "POST", + "body": "{\"message\": \"**[{{$trigger.payload.name}}]({{$accountability.origin}}/item/{{$trigger.payload.id}})** updated\"}", + "headers": [ + { + "header": "Content-Type", + "value": "application/json" + } + ] + }, + "resolve": null, + "reject": null, + "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", + "_syncId": "59f02fa4-1af8-413c-afba-a4c3ab653259" + }, + { + "name": "Webhook created", + "key": "request_juotc_izixm", + "type": "request", + "position_x": 48, + "position_y": 17, + "options": { + "url": "https://telegram-bot.utopia-lab.org/send_message", + "method": "POST", + "body": "{\"message\": \"**[{{$trigger.payload.name}}]({{$accountability.origin}}/item/{{$trigger.payload.id}})** created\"}", + "headers": [ + { + "header": "Content-Type", + "value": "application/json" + } + ] + }, + "resolve": null, + "reject": null, + "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", + "_syncId": "78e22eb0-72f1-4b9e-9af2-c76ddcefa61b" + }, + { + "name": "Request Coordinates from Geocoder", + "key": "request_sxzym", + "type": "request", + "position_x": 53, + "position_y": 1, + "options": { + "method": "GET", + "url": "https://photon.komoot.io/api/?q={{$trigger.payload.location}}&limit=1" + }, + "resolve": "3624ff50-c282-45db-aa01-9b8c4a75e45c", + "reject": null, + "flow": "8b79cca0-d346-4d05-8bb2-c4b3c45d0721", + "_syncId": "28aaa64f-7cab-4e64-a5ea-4ab7f825250a" + }, + { + "name": "return inviting item", + "key": "return_inviting_item", + "type": "exec", + "position_x": 56, + "position_y": 36, + "options": { + "code": "module.exports = async function(data) {\n\treturn data.read_data[0].item\n}" + }, + "resolve": null, + "reject": null, + "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", + "_syncId": "2362eac0-7c3c-4164-8927-6cbc43e4934e" + }, + { + "name": "return inviting item", + "key": "return_inviting_item_uxzvf", + "type": "exec", + "position_x": 54, + "position_y": 19, + "options": { + "code": "module.exports = async function(data) {\n\treturn data.read_data[0].item\n}" + }, + "resolve": null, + "reject": null, + "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", + "_syncId": "bd160694-88f8-4148-bf9d-5122f8b883aa" + }, + { + "name": "singelton", + "key": "singelton", + "type": "exec", + "position_x": 57, + "position_y": 16, + "options": { + "code": "module.exports = async function(data) {\n\treturn data.$last[0].count\n}" + }, + "resolve": "02e3984d-d938-4d1c-960b-c868831f1e72", + "reject": null, + "flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1", + "_syncId": "bb24ba37-d1e6-4d44-a36c-f4dea4527180" + }, + { + "name": "slugify", + "key": "slugify", + "type": "exec", + "position_x": 19, + "position_y": 1, + "options": { + "code": "module.exports = async function (data) {\n\tconst text = data.$trigger.payload.name;\n\n\tconst slug = text\n\t\t.toLowerCase()\n\t\t.trim()\n\t\t.replace(/[^\\w\\s-]/g, '')\n\t\t.replace(/[\\s_-]+/g, '-')\n\t\t.replace(/^-+|-+$/g, '');\n\n\treturn slug;\n};" + }, + "resolve": "5129e430-971e-49ca-b8d5-83e40f489fda", + "reject": null, + "flow": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1", + "_syncId": "55857562-e0ab-49a5-a292-18f6c1cb075e" + }, + { + "name": "test item ownership", + "key": "test_item_ownership", + "type": "exec", + "position_x": 36, + "position_y": 2, + "options": { + "code": "module.exports = async function(data) {\n\tif (!data.$last.some(item => item.id === data.$trigger.body.item)) {\n throw new Error('Not your item')\n }\n return {};\n}" + }, + "resolve": "74084d01-0a3d-474e-b377-f15d2c1457ed", + "reject": null, + "flow": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4", + "_syncId": "6bf62484-4a2b-4d78-8d19-ca53deea32a4" + }, + { + "name": "Transform Payload", + "key": "transform_5nhqn", + "type": "exec", + "position_x": 91, + "position_y": 1, + "options": { + "code": "// Your function in the myScript operation\nmodule.exports = function (data) {\n const payload = {...data.$trigger.payload}\n payload.image_external = data.$last[0].avatar_url;\n\tpayload.name = data.$last[0].first_name + \" \" + data.$last[0].last_name;\n payload.extended = { \"external_profile_id\" : data.$last[0].id };\n return payload;\n};" + }, + "resolve": null, + "reject": null, + "flow": "77f1fc79-d0fd-4f5d-a168-50fa3948a945", + "_syncId": "91e39643-b58e-4629-8875-06559cfacf64" + }, + { + "name": "Trigger Send Email", + "key": "trigger_4tvps", + "type": "trigger", + "position_x": 73, + "position_y": 1, + "options": { + "iterationMode": "parallel", + "flow": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081", + "payload": "{{$last}}" + }, + "resolve": null, + "reject": null, + "flow": "bff21ad9-d142-4a6e-96fe-8da016576bc7", + "_syncId": "2179c615-5939-40cb-a85a-9e02b7d148fa" + }, + { + "name": "trigger create secret flow", + "key": "trigger_create_secret_flow", + "type": "trigger", + "position_x": 55, + "position_y": 1, + "options": { + "iterationMode": "parallel", + "payload": "{{ $last }}", + "flow": "234d13fe-112a-4408-9bdb-78dd8cbd6b82" + }, + "resolve": null, + "reject": null, + "flow": "9a1d1084-438f-471e-aac5-47e0749375e7", + "_syncId": "95d762f9-4695-4168-aa65-5bd065b40742" + }, + { + "name": "Updated?", + "key": "updated", + "type": "condition", + "position_x": 21, + "position_y": 1, + "options": { + "filter": { + "$trigger": { + "event": { + "_eq": "items.items.update" + } + } + } + }, + "resolve": "59f02fa4-1af8-413c-afba-a4c3ab653259", + "reject": "78e22eb0-72f1-4b9e-9af2-c76ddcefa61b", + "flow": "a78d01a4-13b3-46a4-8938-9606bf26e329", + "_syncId": "28db9e52-c64d-4eb7-8bb9-b9f4e1355301" + } +] diff --git a/backend/directus-config/collections/panels.json b/backend/directus-config/development/collections/panels.json similarity index 100% rename from backend/directus-config/collections/panels.json rename to backend/directus-config/development/collections/panels.json diff --git a/backend/directus-config/collections/permissions.json b/backend/directus-config/development/collections/permissions.json similarity index 64% rename from backend/directus-config/collections/permissions.json rename to backend/directus-config/development/collections/permissions.json index 0e5385be..b0174944 100644 --- a/backend/directus-config/collections/permissions.json +++ b/backend/directus-config/development/collections/permissions.json @@ -9,7 +9,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "3a2ccff0-98b8-4de0-826e-38c7d6e7aacc" + "_syncId": "7c43a2a7-abc1-4273-8dff-a8ddf6556931" }, { "collection": "directus_dashboards", @@ -21,7 +21,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "f6f4cc26-ab98-448f-89f4-a0c513abc708" + "_syncId": "920d42a4-2db1-4343-ad7d-a5b2b886bf94" }, { "collection": "directus_dashboards", @@ -33,7 +33,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "08b95f80-577f-4816-b3cb-de816473ea9b" + "_syncId": "9d886e58-3d37-43fd-b709-1f0fd2940aa6" }, { "collection": "directus_dashboards", @@ -45,7 +45,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "f149d308-ebca-4323-a2b6-c9cb8ca01b53" + "_syncId": "4700fb3a-0d02-4904-8aec-bf14e2ceb4b3" }, { "collection": "directus_dashboards", @@ -57,7 +57,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "bad5d956-47e1-46a0-93ec-dca11071b5f8" + "_syncId": "c54c417e-b557-486a-ac0f-61282fd7082f" }, { "collection": "directus_files", @@ -69,7 +69,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "f95e9af7-1a7c-4bbd-ba52-03dfac8ec576" + "_syncId": "48785b2d-c27f-4e40-a626-12c23b1de7c5" }, { "collection": "directus_files", @@ -81,7 +81,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "2123317f-7305-48d1-b704-92b735603e34" + "_syncId": "e3ad1160-8a7e-43d4-a569-99c05f7bd25e" }, { "collection": "directus_files", @@ -93,7 +93,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "5db3804a-05cd-4ba8-9721-3d4acf4adfbd" + "_syncId": "a1ea025e-6fc1-4986-85a1-27a9f0feda53" }, { "collection": "directus_files", @@ -105,7 +105,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "af1f65d7-f595-4dbe-81f3-64dfd0edf8ff" + "_syncId": "7446e8f8-7dd9-426a-9c5a-c28b55ed5373" }, { "collection": "directus_flows", @@ -127,7 +127,7 @@ "trigger" ], "policy": "_sync_default_public_policy", - "_syncId": "f480aad7-623b-4ab9-9107-7ad015d065a0" + "_syncId": "3a504e7b-c0e8-4be2-95cf-f7e05bf3764e" }, { "collection": "directus_folders", @@ -139,7 +139,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "0e12b4be-2663-47e7-8747-d6155429124b" + "_syncId": "1c5a80b7-15f2-4ce1-ba69-8b65bb951672" }, { "collection": "directus_folders", @@ -149,7 +149,7 @@ "presets": null, "fields": null, "policy": "_sync_default_public_policy", - "_syncId": "714ddaf4-4f13-4fc8-bd70-39493c3e583b" + "_syncId": "13a65b4c-1c74-4d80-ae88-80b394ab39b8" }, { "collection": "directus_folders", @@ -161,7 +161,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "837131f9-c376-4a10-94d8-731824685217" + "_syncId": "b5a8c96a-0ecd-4363-8dc7-04554d113c4d" }, { "collection": "directus_folders", @@ -173,7 +173,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "18354c2a-ba1f-48e3-9ccc-acd1de31804d" + "_syncId": "72f0b8b8-2758-43e6-8171-037ad2a995f6" }, { "collection": "directus_panels", @@ -185,7 +185,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "5e4158d0-4663-4866-a518-cd19488d7a63" + "_syncId": "37889401-5dc0-4566-882e-bbaa5b56c9fc" }, { "collection": "directus_panels", @@ -197,7 +197,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "2cc0980b-64a6-487f-9524-d96244029192" + "_syncId": "bbd750fa-33df-403a-84a0-61099238fc19" }, { "collection": "directus_panels", @@ -209,7 +209,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "e2187305-97a5-4603-85a6-a22f544cb090" + "_syncId": "2cc21492-8718-4155-b3f6-244c6f97e12b" }, { "collection": "directus_panels", @@ -221,7 +221,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "3a5469b1-6692-4f7b-a46e-531c9c265495" + "_syncId": "bc5f656d-f4c7-4f0a-82db-e8bf51651e1d" }, { "collection": "directus_roles", @@ -233,7 +233,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "544bd407-7722-4c70-9808-1ff7d088b91e" + "_syncId": "0b796f72-d1bf-4f47-961d-d479c2544db9" }, { "collection": "directus_shares", @@ -245,7 +245,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "3efdfb4f-8431-4519-ae6f-273bccb61ee0" + "_syncId": "64f9c322-0ce2-460f-bb66-6d1a20c4d7e2" }, { "collection": "directus_shares", @@ -261,7 +261,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "400ee346-363d-41a6-b6a7-456378249984" + "_syncId": "67ccb0bf-d9d2-48bd-8ba7-3269a8364c59" }, { "collection": "directus_shares", @@ -286,7 +286,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "d3e74b1d-b998-4d57-9f8f-5aea590ce872" + "_syncId": "6c054181-daec-4513-b532-1e5018c173dd" }, { "collection": "directus_shares", @@ -302,7 +302,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "45d58593-b00f-4e57-8e7b-56a677822ecf" + "_syncId": "fd8a2e8a-1d3a-4b50-acc0-289e065ac89d" }, { "collection": "directus_users", @@ -314,7 +314,7 @@ "*" ], "policy": "_sync_default_public_policy", - "_syncId": "57f70fd2-bd0f-46f4-bf28-6018b71da17a" + "_syncId": "d2023eb1-e784-461e-86cc-132ef8aa5a03" }, { "collection": "directus_users", @@ -344,55 +344,7 @@ "tfa_secret" ], "policy": "_sync_default_public_policy", - "_syncId": "9839d1d7-ecf2-4eea-90a0-acd5c2b05109" - }, - { - "collection": "oceannomads_profiles", - "action": "create", - "permissions": null, - "validation": null, - "presets": null, - "fields": [ - "*" - ], - "policy": "5bea7f79-7a78-4ec4-85bd-3327c0febfc7", - "_syncId": "847d973a-6e75-4290-8cc2-70efe2fdff1a" - }, - { - "collection": "oceannomads_profiles", - "action": "delete", - "permissions": null, - "validation": null, - "presets": null, - "fields": [ - "*" - ], - "policy": "5bea7f79-7a78-4ec4-85bd-3327c0febfc7", - "_syncId": "f56c4981-5990-4349-b672-5a09d9c96b1f" - }, - { - "collection": "oceannomads_profiles", - "action": "read", - "permissions": null, - "validation": null, - "presets": null, - "fields": [ - "*" - ], - "policy": "5bea7f79-7a78-4ec4-85bd-3327c0febfc7", - "_syncId": "24b55dbf-61e7-4643-bb14-b42bbdb4e191" - }, - { - "collection": "oceannomads_profiles", - "action": "update", - "permissions": null, - "validation": null, - "presets": null, - "fields": [ - "*" - ], - "policy": "5bea7f79-7a78-4ec4-85bd-3327c0febfc7", - "_syncId": "8a47fe0a-ca5b-422e-b565-3ff583541b55" + "_syncId": "eeea6e20-86ec-4840-9aa3-15b1d586d280" }, { "collection": "attestations_directus_users", @@ -411,8 +363,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "389e4972-fca9-420a-ac48-f17f1c4a9fc3" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "a5379086-6a33-4dbf-8fd6-fd6b12d136d5" }, { "collection": "attestations_directus_users", @@ -423,8 +375,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "db56a3a7-c09c-4888-81df-a2d2fecd47d8" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "4a31de4f-d904-4d9e-b7fb-3a17f95accfb" }, { "collection": "attestations", @@ -435,8 +387,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "07aebaa5-af6c-44b8-b5a8-7432e6391f79" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "4ca6eb62-184d-4b07-9e9d-b477c9fde7d0" }, { "collection": "attestations", @@ -447,8 +399,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "7982690b-a1ba-4209-81a7-53998a8095a3" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "150b528f-68b9-4baf-90ee-aef605633d41" }, { "collection": "contactInfos", @@ -459,8 +411,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "0e6819ee-486c-464e-a5fe-de936204277e" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "facb591e-c8f4-4137-b3ab-ed839c22922d" }, { "collection": "crowdfundings", @@ -471,8 +423,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "8a75bd58-1694-47f0-9a7d-e0bf294411bc" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "8dad7295-8a39-445d-8370-646869b36e78" }, { "collection": "directus_dashboards", @@ -483,8 +435,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "407e3b00-e79b-4450-8ab7-0f9e3b013512" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "cf63dcd4-7122-44b5-8606-b2bc94ee4786" }, { "collection": "directus_dashboards", @@ -495,8 +447,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "c69ddaec-521f-44d5-8c95-d48ed8bd53f9" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "54e1361d-4709-4f2c-bd3b-1c1dba43ec57" }, { "collection": "directus_dashboards", @@ -507,8 +459,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "69798679-d527-48b4-ae20-ffeda24fa364" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "a6c31b1e-f5fa-4506-89e9-0533a5a5d25a" }, { "collection": "directus_dashboards", @@ -519,8 +471,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "5d1fcc32-916b-4960-a049-ad306c8fe8bc" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "f2b8a927-aa81-43af-a82b-6c57c447db80" }, { "collection": "directus_files", @@ -531,8 +483,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "5f61e876-9e56-4f42-b3a3-af888e248298" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "773e9741-195d-4080-a004-675a72162917" }, { "collection": "directus_files", @@ -543,8 +495,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "8d09519e-8107-4a4a-b84c-da9df08a9dd3" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "0289f963-0e7e-44dc-afd0-7b69429216f0" }, { "collection": "directus_files", @@ -555,8 +507,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "ac68ac2f-5510-4396-ac1e-87cb02de6035" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "269dcc87-e141-490f-b9f3-444868e91946" }, { "collection": "directus_files", @@ -567,8 +519,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "491a5c73-ea9b-4444-923f-a72e7d934de7" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "658dc999-3374-4a25-b292-5275d80bd658" }, { "collection": "directus_flows", @@ -589,8 +541,8 @@ "options", "trigger" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "db3d4ce2-5349-426b-9d46-8ab2367570be" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "e2b125cc-544a-48b0-bfb1-4e469e187d93" }, { "collection": "directus_folders", @@ -601,8 +553,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "4fe719fd-8f69-4ffd-9759-440fb2e6652d" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "5fc9cf21-ebf1-4990-8d06-5384ae753db9" }, { "collection": "directus_folders", @@ -611,8 +563,8 @@ "validation": null, "presets": null, "fields": null, - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "8cc78871-f82f-4a5b-9f46-8f9f57be21bf" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "c1d42e8a-625b-4f7e-a1a3-fbdf7f0e012e" }, { "collection": "directus_folders", @@ -623,8 +575,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "fe458722-c35d-4b4e-a7fe-280ff671e544" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "0c3d9d7d-d4b8-497c-8472-aa98f06aef67" }, { "collection": "directus_folders", @@ -635,8 +587,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "930b5754-638b-4170-a8fe-17f5fa566e8e" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "e9d7706e-fd72-4a44-93ef-d8844ac6baf9" }, { "collection": "directus_panels", @@ -647,8 +599,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "06aa59c1-9c43-4a55-8ff3-ad9e112dc94b" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "09654405-165e-4090-b615-0a46f5422d15" }, { "collection": "directus_panels", @@ -659,8 +611,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "b95800c7-8b9a-41a4-ba21-3419266e2d95" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "fb1d2732-c60b-4262-896d-c05eb2973c1f" }, { "collection": "directus_panels", @@ -671,8 +623,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "3a04fce1-a14f-415e-9b51-416ca152ae0d" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "5bcada37-0f3a-4581-b857-0ef3693626de" }, { "collection": "directus_panels", @@ -683,8 +635,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "9994455d-36ca-48d2-8e3c-4b996987050c" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "2e9cce2c-690a-4aa7-96fa-2eda6bfa485f" }, { "collection": "directus_permissions", @@ -695,8 +647,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "85503012-48fc-44d6-9475-f50b4bbcceb4" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "22c5e3fb-ebd3-4320-ac5f-f92f5c61c481" }, { "collection": "directus_policies", @@ -707,8 +659,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "1a22dea3-cff3-43e0-8a84-aa9e25bfcbff" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "db4f888a-735a-4b33-8883-9efcccd0d226" }, { "collection": "directus_roles", @@ -719,8 +671,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "472dec55-eb9c-4880-a63b-bb4fb3c92f53" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "ad4b01e7-0b6a-4f8e-83ff-90d36e2f812b" }, { "collection": "directus_shares", @@ -731,8 +683,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "01c5e3a7-69d0-4fbc-96a4-68594231c9fe" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "37818e3a-e4d6-4026-8d99-3ba551a28e6b" }, { "collection": "directus_shares", @@ -747,8 +699,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "b0fa3f84-9eae-4f93-8974-d698480a0a9f" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "59b2fa20-4f94-4781-97e6-4e6a887e8849" }, { "collection": "directus_shares", @@ -772,8 +724,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "78ab7268-842e-461f-8e3a-c211156d5662" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "52fbfb4e-58d6-4567-b864-aa5746311b46" }, { "collection": "directus_shares", @@ -788,8 +740,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "5c24d663-f751-45c1-a70d-0b3dbd3c9317" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "2597bb92-04ff-4a84-9e11-198d80f34d0b" }, { "collection": "directus_users", @@ -800,8 +752,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "f8696d87-b2bc-45cb-96e5-8712c333a0f5" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "2d437eed-36b2-436b-a6d8-09004129ca47" }, { "collection": "directus_users", @@ -812,8 +764,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "4e4a1b88-8137-41fb-bf44-aebdb5ebd0be" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "fef522fe-a806-44cd-b3e3-ef65e313075c" }, { "collection": "features", @@ -824,8 +776,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "cce1f744-f2d4-4aa1-8666-375f82b9072d" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "0d22e888-32ed-48fa-8560-1ce926a1a29b" }, { "collection": "features", @@ -836,8 +788,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "4d43d492-9a41-4b91-bd01-d47a10603308" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "83943255-9223-49c9-935e-f845c5728dca" }, { "collection": "features", @@ -848,8 +800,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "3bcb05fd-4380-4ff5-889d-2938f64bf503" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "950ddcf9-159e-435e-91f9-e095e13a3d53" }, { "collection": "features", @@ -860,8 +812,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "affb74eb-0dfd-4fd6-a610-01cdc553689b" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "f7add69a-da82-4d8a-b9ce-865a5fdc9038" }, { "collection": "gallery", @@ -872,8 +824,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "1635dd77-df6a-40ce-9d15-aa6fc19ad7e9" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "4112cf35-f914-45a6-8fef-aa0a9231906a" }, { "collection": "groupSubheaders_groupTypes", @@ -884,8 +836,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "b03291cf-c5e4-4098-9637-bfc613a6ed82" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "a2663dc0-b169-4947-8682-f65709a3d01d" }, { "collection": "groupSubheaders", @@ -896,8 +848,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "17b41e82-12dd-45d5-937a-27280d29eaee" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "7f08c907-72d0-40cd-a329-f5a9a420031c" }, { "collection": "groupTypes", @@ -908,8 +860,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "fab7b34d-8092-471a-add9-eabc31c506b1" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "dc8b2149-7ff2-4f73-8f52-0687f95b17c4" }, { "collection": "items_files", @@ -920,8 +872,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "2a3016a3-3043-49c7-a65e-2810cd20817a" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "1479f6da-ba1e-438a-b817-a4a32932af5c" }, { "collection": "items_files", @@ -932,8 +884,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "60f4632d-967d-4b82-80cc-3883280bca30" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "632d0904-9065-4cae-899d-21d4018b5e09" }, { "collection": "items_files", @@ -944,8 +896,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "719f366a-06d2-4a5a-819d-e053cbc90119" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "41549b31-2cfd-4ec5-80de-2348fb245f9a" }, { "collection": "items_files", @@ -956,8 +908,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "e88f4408-3fd1-4dc9-84ac-4e8aeb4b40af" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "aff6cece-1ace-4609-a2df-c1bed7cd063d" }, { "collection": "items_items", @@ -968,8 +920,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "90e6c5f4-3b2e-4ec7-97fe-5ef77f5196e0" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "7ecde880-cb59-4a66-bfd9-780dd72ac8a0" }, { "collection": "items_items", @@ -980,8 +932,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "6340b76c-574b-4219-a50d-fca540904b82" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "b2a12108-7674-4202-8913-a8c065764c5b" }, { "collection": "items_items", @@ -992,8 +944,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "7b2f1fdd-1b33-450b-aaa9-cc5987b2493f" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "2f17ee0a-26db-4017-90bf-b95cc89a5e9d" }, { "collection": "items_items", @@ -1004,8 +956,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "c3878030-81f1-4f1b-915a-766b10d15061" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "d94fcb80-7726-4594-9df7-c34e2b585adf" }, { "collection": "items_tags_1", @@ -1016,8 +968,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "5f7dec07-26af-4ad8-b227-e457fc5af676" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "4a2cd4f5-8553-45a3-a8c1-5eacec08eb15" }, { "collection": "items_tags_1", @@ -1051,8 +1003,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "ccbfb413-9e4a-48b8-b082-588f3928e34a" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "66c906cd-b7ba-44d6-a522-f52bb0e71cfd" }, { "collection": "items_tags_1", @@ -1063,8 +1015,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "8c07fbb0-c003-4622-979b-f40c857b0909" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "76309d5a-458c-498f-a4cf-b3097d5749f6" }, { "collection": "items_tags_1", @@ -1075,8 +1027,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "69f72797-3002-4b0a-8f8b-f0e8d6fc47ba" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "38259696-cc31-4eaa-a348-4d83231b0fd4" }, { "collection": "items_tags", @@ -1087,8 +1039,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "054bd627-ee9e-4b63-88cb-3b58dfee67ce" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "a42656d6-9cec-47b7-8029-e397e29e2063" }, { "collection": "items_tags", @@ -1122,8 +1074,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "89ca1d27-8d0d-4745-b2be-cbf593db663c" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "1f8bafb7-3edf-404d-ae0b-09a0c2af6483" }, { "collection": "items_tags", @@ -1134,8 +1086,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "6406fe7f-500f-40a7-a28f-92244d9fb482" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "02765838-9221-468d-a61f-e46e7fd82fd1" }, { "collection": "items_tags", @@ -1146,8 +1098,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "0e2c70c7-2873-4492-97ab-51e2bd3a1a2f" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "87cc4ad8-eb94-42e2-8a62-5088106d09a6" }, { "collection": "items", @@ -1158,8 +1110,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "c58a152e-f5d9-4f57-b7b0-5416b2740088" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "62f45009-85b4-4342-ac00-4df24df91121" }, { "collection": "items", @@ -1170,8 +1122,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "5f5178b4-294e-4f83-854e-f54fcdd46ab7" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "aca621db-6d37-4a62-b5e9-3710077c76ab" }, { "collection": "items", @@ -1182,8 +1134,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "1c1906b1-865a-40c2-b449-0ac53314165e" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "eb50b8cf-4581-447a-86a7-a8ae5a5b3f2b" }, { "collection": "items", @@ -1194,8 +1146,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "082c8432-f051-45b1-b075-83272c4f35c0" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "07391da0-d40e-446c-886b-a8ba42ed21cd" }, { "collection": "itemSecrets", @@ -1217,8 +1169,8 @@ "secret", "item" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "1b4b3b37-c16d-4804-85f8-50b0e03c7309" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "9dbed37f-0e91-4dbf-bbd6-12e7f1fff687" }, { "collection": "junction_directus_users_tags_1", @@ -1237,8 +1189,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "ae2a3d26-a6d5-4e9a-8082-2acb0bec392d" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "41df46b2-3df5-40e1-b64f-f64e1b3798af" }, { "collection": "junction_directus_users_tags_1", @@ -1257,8 +1209,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "5eea682c-9de0-45c6-9720-ee56bf202a6a" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "a6341088-f0d5-47d9-ae4b-7101fd47601f" }, { "collection": "junction_directus_users_tags_1", @@ -1269,8 +1221,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "3c00e381-9d0f-4d6e-932e-e2323f30c7c1" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "b4841d27-3671-4d8e-b42e-8cb83c0531da" }, { "collection": "junction_directus_users_tags_1", @@ -1289,8 +1241,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "fe432bca-3e97-4e0e-a23c-f50218f4b81e" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "a31ffc1d-c434-40e9-a9e0-d65e0e00c0a2" }, { "collection": "junction_directus_users_tags", @@ -1309,8 +1261,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "80311885-67e5-4c03-a14e-d09dd08046b8" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "68cde7e5-7178-416e-991b-36aa017871c9" }, { "collection": "junction_directus_users_tags", @@ -1329,8 +1281,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "a34d0404-6560-4b08-8ca4-1566838d2fdf" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "87f4daf1-77b2-4cbd-92a2-6fc855004093" }, { "collection": "junction_directus_users_tags", @@ -1341,8 +1293,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "93cdee3a-a3a8-4ae5-8084-5581e0fe05be" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "6a7414ae-ba0c-4676-9f4c-ed8e59cbec18" }, { "collection": "junction_directus_users_tags", @@ -1361,8 +1313,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "0208c353-795b-4977-a222-d05617792add" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "bea161b3-edb4-45c9-ae62-f0a285270d5a" }, { "collection": "layers_files", @@ -1373,8 +1325,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "26aec4a9-7ea3-4ef4-b3a2-787a4f125ed8" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "706114fb-db96-451c-804c-2b28833fc5b0" }, { "collection": "layers_maps", @@ -1385,8 +1337,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "47ab5308-a9a3-4cf7-9f31-4b3ece43511a" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "342a3c26-b3ee-42f5-9af8-710959b2f184" }, { "collection": "layers", @@ -1397,8 +1349,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "43161a06-c7ba-4de1-abc9-9f6153905a92" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "deb22e7e-ca57-473a-930b-bfe60e0feb24" }, { "collection": "maps", @@ -1409,8 +1361,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "ea616181-7b3f-4e55-bfa4-96626e63f65e" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "5341de35-c8b4-41ff-bbed-ff78f52c2dd8" }, { "collection": "marker_icons", @@ -1421,8 +1373,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "1757d973-04e8-4aff-a5cc-7c7d719b8c52" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "d8c084e0-33fe-4d5e-9d90-ef8495414ad9" }, { "collection": "startEnd", @@ -1433,8 +1385,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "4d505ec1-1007-4ff7-9ae9-e2c987519cf9" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "6630b2eb-d802-4810-92b3-810bf51a50d6" }, { "collection": "tags", @@ -1445,8 +1397,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "9aa32293-2499-462f-92b3-6c392a245c7b" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "9ed042a2-37bf-46dc-bde7-52551e7357b3" }, { "collection": "tags", @@ -1457,8 +1409,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "24abf1a7-442d-4f5b-8f56-32e0a79d3dbd" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "e360b36a-f5ef-4a68-bc99-3450a6b9435c" }, { "collection": "tags", @@ -1469,8 +1421,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "e8d492af-c360-4b6e-b7d5-e252b5c0ed76" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "11fc6471-b952-451c-be74-f2c69ac9cbff" }, { "collection": "tags", @@ -1481,8 +1433,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "6a30a3ed-f82e-4335-bd65-55dfe76d4824" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "3a23ed21-be53-4e38-badd-7ef1496bbf85" }, { "collection": "team", @@ -1493,8 +1445,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "284d457a-d48f-44f5-a113-504d195a4b06" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "d6d3cf0c-a706-4549-96b2-f24107ffa0cf" }, { "collection": "team", @@ -1505,8 +1457,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "3a99f6da-4b30-49fd-8222-fbb8386ae807" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "cb9ad861-f504-4e8d-9b78-9b78bf17165b" }, { "collection": "team", @@ -1517,8 +1469,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "dbf583dc-d69a-4282-aad4-d41f58688a1f" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "8149f28d-e647-45a1-bc4a-7a145f56db26" }, { "collection": "team", @@ -1529,8 +1481,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "19a31cf3-0aba-42dd-b163-0c5a6679746a" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "c4791635-bd49-41dc-bdec-416f3022be15" }, { "collection": "texts", @@ -1541,8 +1493,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "da686339-70c0-4a61-8dfa-8eeb0cf2ea6a" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "797e7a05-6da0-438f-a6ed-eb44e5436928" }, { "collection": "types_profileTemplate", @@ -1553,8 +1505,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "f6a506af-aba0-43b0-8870-78b2e42b2206" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "7d7588d8-1408-4dd6-a9c3-d7bfcefaae87" }, { "collection": "types", @@ -1565,8 +1517,8 @@ "fields": [ "*" ], - "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", - "_syncId": "4e693ca2-3def-4500-9fca-9345ab689af6" + "policy": "263ff65e-de84-4e41-8eb2-9354fe69c484", + "_syncId": "109be152-03d2-4a61-a861-450d405dccd2" }, { "collection": "attestations_directus_users", @@ -1577,8 +1529,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "c7871336-f3ad-4d2f-85a4-c239ca057175" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "82adfdd6-f138-40d3-92a8-64aec113cddc" }, { "collection": "attestations", @@ -1589,8 +1541,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "93a955bb-14ad-4e69-8c6e-e6e67ba29c73" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "11ca8e64-f44c-4f75-9b32-f937e21113dd" }, { "collection": "contactInfos", @@ -1601,8 +1553,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "3c4072f6-6b5a-44bd-998c-daf5d926ad0d" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "c56b0c82-4b13-480b-9716-61443e7dbe88" }, { "collection": "crowdfundings", @@ -1613,8 +1565,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "7c21bc39-20b3-4ddc-a19e-d56f89bccb49" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "982d97b8-fa64-45e3-819e-c0e15eaeb8e7" }, { "collection": "directus_files", @@ -1625,8 +1577,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "3a177c66-5bd4-4752-8af3-ef240aa78ec4" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "bfefacc8-bdec-4ff8-942f-8ac6fb98a374" }, { "collection": "directus_files", @@ -1637,8 +1589,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "3303704d-9eb3-4307-a7f7-3e9426878385" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "ac5dc8f8-edbe-452d-8198-e1f9632bacf7" }, { "collection": "directus_permissions", @@ -1664,8 +1616,8 @@ "permissions", "policy" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "db071437-f4b2-4153-8790-919e5ef1acc2" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "dd9ca52d-1f2b-4355-b311-7ec6f6bc07d6" }, { "collection": "directus_policies", @@ -1676,8 +1628,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "7709b2be-e3a9-4a9a-8068-554b0b4f6f98" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "d5788196-bbe4-40d2-ad8a-774cd41b8108" }, { "collection": "directus_roles", @@ -1688,8 +1640,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "f9538cf5-f899-4d87-9f17-43a4a68bb60b" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "926a8c60-72ec-45d3-8fd6-0008b5be58da" }, { "collection": "directus_users", @@ -1697,15 +1649,15 @@ "permissions": null, "validation": null, "presets": { - "role": "cccbc503-ecab-4ef1-8cf9-b6ac0f2be240" + "role": "de2f2f91-0d78-4691-b01b-589e1345109b" }, "fields": [ "first_name", "email", "password" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "b402bf28-42f8-41e2-a0a1-bd71dcc4705b" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "94ebf280-3844-40b9-8b51-5aacbf652f47" }, { "collection": "directus_users", @@ -1718,8 +1670,8 @@ "id", "avatar" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "09c96ed5-c9c6-4145-8afd-9639638acbe0" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "719bdd1a-e44b-475d-aa92-db88736fb0e1" }, { "collection": "features", @@ -1730,8 +1682,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "0ed8ee6b-c4dc-4e64-8cb1-d2fa21392ca8" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "ecc1b23a-3a42-4d83-bb11-737421be7e55" }, { "collection": "gallery", @@ -1742,8 +1694,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "39b8cc70-176e-4515-908c-3a71e905219b" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "b0ff6e94-936c-49a8-a4e7-ec57d0eeb69b" }, { "collection": "groupSubheaders_groupTypes", @@ -1754,8 +1706,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "98f508bb-ab0b-487c-8a68-e39280d3ff10" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "466696ae-73e6-46ef-b4aa-3211a5c87d3f" }, { "collection": "groupSubheaders", @@ -1766,8 +1718,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "15ef404c-7da1-4f9e-8f50-c0d3a895e8d8" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "5a0c7e13-c1d2-41aa-86d8-72e14c472fec" }, { "collection": "groupTypes", @@ -1778,8 +1730,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "17fedf49-c56a-4041-90f1-0d3f33542cf7" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "c94f6cb3-186c-477e-8598-83c6183c88d8" }, { "collection": "items_files", @@ -1790,8 +1742,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "b509f554-8b7d-4d78-9efe-1eb0021e6add" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "4da6d11b-0d50-43e7-9b06-0b53099844de" }, { "collection": "items_items", @@ -1802,8 +1754,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "e6d00b88-f375-4365-9a0b-bf40205b1a2e" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "57f317db-3ede-4305-af1e-b0b969eae3e3" }, { "collection": "items_items", @@ -1822,8 +1774,8 @@ "validation": null, "presets": null, "fields": null, - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "4cb6ebbb-25d8-4ce8-bb19-4d62fae56ada" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "12c04dd0-0cb8-4325-9c83-496d6e02280d" }, { "collection": "items_items", @@ -1834,8 +1786,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "492c9748-43fd-4ab5-a8b0-dd2ecb148197" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "519c2302-9328-4c76-8b8e-33330634d1bb" }, { "collection": "items_items", @@ -1856,8 +1808,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "75d0cfb1-6c37-4fd5-8c82-49d43c3aa25a" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "e46953c9-9313-4af1-9729-8245c322be44" }, { "collection": "items_tags_1", @@ -1868,8 +1820,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "615a3931-6464-48a7-890e-09b48cb7608b" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "1263d7d3-12be-4dd7-839d-75f7166ae88e" }, { "collection": "items_tags_1", @@ -1888,8 +1840,8 @@ "validation": null, "presets": null, "fields": null, - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "606066b6-bbbe-4079-a9cc-62fc2a829a7c" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "561813e7-b310-40d6-9cfa-f00c4d90ae28" }, { "collection": "items_tags_1", @@ -1900,8 +1852,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "a3f5a1e1-fe64-481e-958a-6ff250709b89" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "17bfa933-120a-4b25-af47-7839a9903150" }, { "collection": "items_tags_1", @@ -1922,8 +1874,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "a2dc4f15-fd92-42b3-af8a-475727778312" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "7db2474d-2bb3-4f90-926d-e078f924d997" }, { "collection": "items_tags", @@ -1934,8 +1886,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "41d1b499-4751-402e-a5fd-cfada3d375ed" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "16615042-8ca2-4074-891f-388e8c11ae21" }, { "collection": "items_tags", @@ -1954,8 +1906,8 @@ "validation": null, "presets": null, "fields": null, - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "ebac6247-d717-44f2-8c99-8eeb53aef569" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "483848a3-1745-4dc5-9d06-9c47ec16b41e" }, { "collection": "items_tags", @@ -1966,8 +1918,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "14776bde-1d75-4dd6-bafb-701017f3e5b3" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "8272b8ee-0782-43fb-a637-a533e825876f" }, { "collection": "items_tags", @@ -1988,8 +1940,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "38a97d0e-3a1b-422f-8fff-d0d9e67c4c5e" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "ff315dba-d301-48c5-bb13-1c302a00312f" }, { "collection": "items", @@ -2015,8 +1967,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "03895cbc-8323-467b-a3dc-f455cd91c866" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "290a067f-e0fe-4c89-8426-b62128062bca" }, { "collection": "items", @@ -2033,8 +1985,8 @@ "validation": null, "presets": null, "fields": null, - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "da08ef85-00ba-42dd-bcdc-7511e56d16f0" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "fe31b421-64f6-4147-bef8-776a35846025" }, { "collection": "items", @@ -2062,8 +2014,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "aadcf713-75f4-49f1-8c01-97e8e1241bc6" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "682d8bf0-8d1c-4c0d-bf66-1b51af08526e" }, { "collection": "items", @@ -2082,8 +2034,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "61a8fa3c-5007-4d58-b8e7-bc0bb84671a2" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "65f34f12-d3b9-412b-baac-f763e4e34213" }, { "collection": "junction_directus_users_tags_1", @@ -2094,8 +2046,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "2bc2f1f2-2619-454a-9239-db84fce4f88a" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "93ee7a80-fbe7-4b88-8c76-2bf6da064375" }, { "collection": "junction_directus_users_tags", @@ -2106,8 +2058,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "d701051e-6a4d-44d4-b101-b67d2d9f84ea" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "a623daa5-d786-4853-b7d3-7d1b4fdd6cf3" }, { "collection": "layers_files", @@ -2118,8 +2070,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "e7e71ef0-d055-48de-be09-8e09da841d88" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "b2a5207d-7065-4ec9-bbb7-7df7b2b99880" }, { "collection": "layers_maps", @@ -2130,8 +2082,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "8e557ccc-6384-4086-97cf-f6a5cc87cabe" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "201014fb-e948-4b37-847e-3b1d5e698313" }, { "collection": "layers", @@ -2142,8 +2094,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "d37d59fb-c8de-43d7-a7fc-b5d019acc9ef" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "9d377df3-829e-48b4-bba9-863e9017c522" }, { "collection": "maps", @@ -2154,8 +2106,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "928e3726-cc9e-4243-afff-1f93c62d7393" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "6486857c-d2b1-435c-9a70-495b14028019" }, { "collection": "marker_icons", @@ -2166,8 +2118,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "736ecaa8-cc9b-4a4b-bd8a-5936b9c7d1ad" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "007e2024-7ca0-4f80-8fee-de3cc261bb16" }, { "collection": "startEnd", @@ -2178,8 +2130,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "3e1c736d-4945-4d96-bfe8-845ba076c24c" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "b36c84c8-58df-4a7d-97e2-7507198ccc62" }, { "collection": "tags", @@ -2190,8 +2142,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "33dd404b-3f77-4ffa-a1b0-259bae8f63e9" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "704ef35c-0704-4677-ab9e-7bf54df3d8d3" }, { "collection": "tags", @@ -2202,8 +2154,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "713a7ea5-eb54-4940-b0e4-1b5c57fefa39" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "ac8c8c74-aabd-4bc6-a61d-72c074e98050" }, { "collection": "team", @@ -2214,8 +2166,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "70f37a10-eb53-4e0b-9196-4f7c1e7c20e4" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "ad5dd834-7093-4911-89ad-502aa9964c2e" }, { "collection": "texts", @@ -2226,8 +2178,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "e9593a9a-f5a7-4737-aa3d-d189920e75e7" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "935d9111-abfb-4748-a8c8-3dfecf9e0e62" }, { "collection": "types_profileTemplate", @@ -2238,8 +2190,8 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "621ab6b1-f0cc-4a10-b465-562369b250b3" + "policy": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877", + "_syncId": "b4a73e12-3bb1-403f-a863-0fc0152409a0" }, { "collection": "types", @@ -2250,8 +2202,104 @@ "fields": [ "*" ], - "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", - "_syncId": "ffacff14-13b3-46ec-881a-1e68f3c29732" + "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", @@ -2262,8 +2310,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "d5147e54-c10e-4bd2-b238-ae280ce17802" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "964d3dce-e0c6-43ff-ab87-fcbe72ca265c" }, { "collection": "attestations_directus_users", @@ -2274,8 +2322,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "9d9e2387-53b7-4c9e-b46e-7a8629735409" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "086d5b22-d763-493f-b50b-2f6545806c25" }, { "collection": "attestations", @@ -2286,8 +2334,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "f298ab61-1d32-4675-aff7-fce6273bc7f9" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "43454e04-d3a8-44bc-9736-98d42bb6f2d6" }, { "collection": "attestations", @@ -2298,8 +2346,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "faaa3269-59c1-475a-803b-7db694d5b4a4" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "a2c217af-dcb1-47f5-b125-bd5a03ff8d3e" }, { "collection": "contactInfos", @@ -2310,8 +2358,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "72ddd3d3-278b-4581-935e-141ae5746619" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "79dced0c-dd07-461f-8e8f-15811bd3ae84" }, { "collection": "crowdfundings", @@ -2322,8 +2370,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "65b9c7b7-9cc9-480b-9265-e7f54105469a" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "4d9813ac-7acd-4151-b78a-482e23c89445" }, { "collection": "directus_files", @@ -2334,8 +2382,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "3f1ce11e-5e7f-4074-ab1d-00214ec37b63" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "6af231d9-7978-4969-b5c3-9e8920aaef99" }, { "collection": "directus_files", @@ -2346,8 +2394,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "12915b66-d68a-4a6b-bf18-866ccbbf5e16" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "fd34f88c-dac5-4977-ab65-cda7f063d20c" }, { "collection": "directus_files", @@ -2358,8 +2406,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "a6709e06-0e8c-4c71-a09a-701ae6e7654b" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "ccacbb34-ee46-4ea8-9a71-9cc8eda11802" }, { "collection": "directus_permissions", @@ -2370,8 +2418,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "2eb1a8d4-bb3d-4324-97fe-a8be8ec74c15" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "3a3931e0-d0d7-4c4f-9274-b90ab4f6c19a" }, { "collection": "directus_policies", @@ -2382,8 +2430,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "ac874207-7713-49d2-a74f-6ed734eab1d2" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "40a6521e-1c51-487d-a0f2-5ffb4944ece3" }, { "collection": "directus_roles", @@ -2394,8 +2442,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "3af7478b-9f18-4886-bd5a-7e723f5ef9db" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "c0d03484-54f1-4473-83b8-42758e96be55" }, { "collection": "directus_users", @@ -2417,8 +2465,8 @@ "needs", "contact" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "79539158-50d5-4940-a62d-4126221a563f" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "aad4488a-a9bc-49dd-8ffc-41a5324820a6" }, { "collection": "directus_users", @@ -2445,8 +2493,8 @@ "needs", "contact" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "081c905d-e572-4d8a-b0a0-f7490d65915a" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "08207216-c70e-433c-b74b-da8ef072e587" }, { "collection": "features", @@ -2457,8 +2505,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "082713dc-0562-4ef7-a669-c10e7b846236" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "c1ed2da8-fcc8-4139-8468-6ddbe6ae1071" }, { "collection": "gallery", @@ -2469,8 +2517,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "b567a953-eb52-429e-866c-81f4603011dc" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "dd524365-f368-4a3e-93eb-0c9157ef6da4" }, { "collection": "groupSubheaders_groupTypes", @@ -2481,8 +2529,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "02b165a5-4783-442e-b52a-b777a9b099de" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "e49c04b0-0a81-4e19-a307-e9aeb491ae0c" }, { "collection": "groupSubheaders", @@ -2493,8 +2541,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "3b1fd64c-a6da-4b10-9943-ec8caca5551f" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "b9798ae1-bf5b-434b-b396-42c2ade6ee6e" }, { "collection": "groupTypes", @@ -2505,8 +2553,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "38597689-848d-4e63-8344-a59de153b9eb" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "b99ac8dd-17d6-4801-8a82-554dcffe6e00" }, { "collection": "items_files", @@ -2517,8 +2565,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "f49cba5c-cdf4-45ad-b8d7-e14871964793" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "7f1bd983-d66f-4948-8157-32bf9b96e0d4" }, { "collection": "items_files", @@ -2529,8 +2577,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "dd845a8d-9b27-4dc1-a5f2-145a1a465bcd" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "d7556209-da26-4571-937f-41db02c2ddc8" }, { "collection": "items_files", @@ -2541,8 +2589,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "11d15213-ecbe-4093-be71-6150752b42cb" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "347fead3-ba39-404f-9796-dbd5b7eb61c6" }, { "collection": "items_files", @@ -2553,8 +2601,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "cadf4c76-2f23-477f-9d20-5e479292520a" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "5d3030a0-b428-452e-9951-9c27560f0e3e" }, { "collection": "items_items", @@ -2565,8 +2613,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "3fd44576-4472-432a-8dca-ac2e9589509f" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "39907112-511b-472a-a89d-67558ce0a6f2" }, { "collection": "items_items", @@ -2577,8 +2625,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "49579f77-1a87-4e43-847b-a5690312cf40" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "0ac33d84-7aee-4a15-a3d0-6f1ed4989fe6" }, { "collection": "items_items", @@ -2589,8 +2637,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "b0463e20-533a-49b8-be48-a9d09cb418fd" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "9c117f83-2b27-476c-abd8-66461c9e5294" }, { "collection": "items_items", @@ -2601,8 +2649,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "e1930a86-7630-49c9-b912-71014c097cd5" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "a2cc36ef-89e5-4cce-9ee1-9d50f60465f7" }, { "collection": "items_tags_1", @@ -2613,8 +2661,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "f35c36f4-78e5-4bde-a585-ae7e0be7f03f" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "606a53e9-1163-4f4b-8acc-e96c85b4c0a5" }, { "collection": "items_tags_1", @@ -2646,8 +2694,8 @@ "validation": null, "presets": null, "fields": null, - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "caae0778-bca8-4ea6-a5b3-7219b9fac376" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "befe52be-bc91-4115-ab56-04f01c59784d" }, { "collection": "items_tags_1", @@ -2658,8 +2706,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "c50632e5-2d18-4b3f-8d63-12e968afb42a" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "fcdf878a-d5df-4de2-b18a-42246207044a" }, { "collection": "items_tags_1", @@ -2670,8 +2718,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "69993001-f342-46c7-abc7-8589739b2c75" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "595bec88-689d-4d2c-97fa-e14f308cd0cb" }, { "collection": "items_tags", @@ -2682,8 +2730,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "657bd61d-1fbf-4e91-8027-5f86620fa54b" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "81a67911-17ed-48ef-8c2a-39cdddac9faf" }, { "collection": "items_tags", @@ -2715,8 +2763,8 @@ "validation": null, "presets": null, "fields": null, - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "3f230b90-09a9-43ed-9195-24ad9350c75f" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "a1075cf3-da67-4f1f-b7f0-717fbb8200e9" }, { "collection": "items_tags", @@ -2727,8 +2775,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "8e32edc9-94d8-4237-a3dc-e6ed4f357c5a" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "7e8552bc-7930-4ad3-bed2-0e21375f5e5c" }, { "collection": "items_tags", @@ -2739,8 +2787,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "8612fcbb-3257-494e-a34f-dd82f8ed7aa9" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "bfce6796-1404-4c76-82ac-9a44bd759b15" }, { "collection": "items", @@ -2751,8 +2799,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "341a277e-172c-410a-ab2b-366b24ba93fd" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "fccf3ff8-cff4-479b-ac66-c52f620ec70b" }, { "collection": "items", @@ -2780,8 +2828,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "14551740-9c58-4eaf-8b8b-8ee9c6e7e223" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "a2478720-b0ef-4f8f-997e-f2b7a869ae45" }, { "collection": "items", @@ -2809,8 +2857,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "96992816-44b4-4770-857f-2b6fe4c0156c" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "a63c4bf4-7859-4fdf-abdd-647c71cf5628" }, { "collection": "items", @@ -2838,8 +2886,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "1cee7a94-24f8-4092-9c26-5c2ca8d6fc94" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "d492129c-e9e5-4623-b8bb-c1421086b1cf" }, { "collection": "itemSecrets", @@ -2861,8 +2909,8 @@ "secret", "item" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "68f18b87-0102-4a97-917f-6498e561ef9c" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "efec43b2-a172-46ab-88f6-fac99fb80872" }, { "collection": "junction_directus_users_tags_1", @@ -2881,8 +2929,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "63bb7f98-3d4d-4d5d-8411-17a092e2c003" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "57e002c8-3d89-43ad-b1e0-4753d7fac98b" }, { "collection": "junction_directus_users_tags_1", @@ -2901,8 +2949,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "e078d994-26f5-4f7e-bbb6-5e153c9bd945" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "9f0a99ef-e57f-41b6-b117-7027e8bf708b" }, { "collection": "junction_directus_users_tags_1", @@ -2913,8 +2961,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "c3011817-5ecc-4577-9dff-fbc48a4e2791" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "af87abd5-10c7-4cfb-a986-29ffcb2aa831" }, { "collection": "junction_directus_users_tags_1", @@ -2931,8 +2979,8 @@ "validation": null, "presets": null, "fields": null, - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "ef9155dd-8659-4898-96ad-19d96c878dfb" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "5b648369-c06e-4f57-857d-ebf2449690e7" }, { "collection": "junction_directus_users_tags", @@ -2951,8 +2999,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "4198e53c-169e-4876-b14d-26d9150455b1" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "9d1b12a5-94c0-4ddf-84ee-f76d62aa3f1f" }, { "collection": "junction_directus_users_tags", @@ -2971,8 +3019,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "a45f2bef-51a2-4e59-9463-05db16804430" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "11353e67-1957-4401-9748-08424c2f910d" }, { "collection": "junction_directus_users_tags", @@ -2983,8 +3031,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "d0d49469-e51b-4fe8-85a5-0350e89be223" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "32f82072-95c3-4d82-9c63-79fbce9e1e45" }, { "collection": "junction_directus_users_tags", @@ -3001,8 +3049,8 @@ "validation": null, "presets": null, "fields": null, - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "981d86dc-15c7-4cbb-9de7-f00e1f07d9f7" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "a1bb19a8-c1fb-454d-9b27-8c53c3757bac" }, { "collection": "layers_files", @@ -3013,8 +3061,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "1099d8b5-6f05-4441-987e-bafaf45e5127" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "a38f2dfa-d4a4-4d1f-a30f-50dda4ce2d1e" }, { "collection": "layers_maps", @@ -3025,8 +3073,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "ff36f0af-42f4-44a0-81e1-266a4398ccc5" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "41fd5fde-1ed7-4208-bb8c-14f8cedd6253" }, { "collection": "layers", @@ -3037,8 +3085,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "e6400a18-1a3f-4cab-86f9-4425e75f7e4d" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "f78b4a26-05ea-4a71-baff-451ba8ca542f" }, { "collection": "maps", @@ -3049,8 +3097,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "9f27648e-9113-42d1-8d55-49b5cddcbbe6" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "a340b064-85f5-4b7e-82d3-8c88390fcd0f" }, { "collection": "marker_icons", @@ -3061,8 +3109,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "dd4600f5-dd76-4772-9b1b-d88d152e7408" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "ef9e3e97-e9ad-4249-a631-404dbcd9d178" }, { "collection": "startEnd", @@ -3073,8 +3121,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "b47c2d51-228d-48a3-9dac-14f3354d9f25" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "012cede0-3764-44f5-82b0-a70e4faec9a4" }, { "collection": "tags", @@ -3085,8 +3133,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "2e65d427-30a7-4dfb-b48f-edce20bc3336" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "92f7545d-7063-4934-a789-dc732a0e0ffd" }, { "collection": "tags", @@ -3097,8 +3145,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "757673e5-8d65-4b1a-ad00-fd7b177bb0b9" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "d4b2dc3e-67dd-4554-9a53-8266bb07a90e" }, { "collection": "tags", @@ -3109,8 +3157,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "0aea41ed-f226-4efe-a04b-b899d967f01b" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "cc52a1f4-ef20-4730-ad76-3e8a83e9f588" }, { "collection": "tags", @@ -3121,8 +3169,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "34d2b620-0916-49be-972e-7cf3b1655f6c" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "091240cb-b016-44ab-8984-60a9725920d6" }, { "collection": "team", @@ -3133,8 +3181,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "be5c659e-b77c-464d-9b9b-34c9c3d22e15" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "7ebc6d58-fa0a-4399-ba7d-5bbec1d3ac49" }, { "collection": "texts", @@ -3145,8 +3193,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "b09e642f-c29e-4555-90f7-89e6e726dbda" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "b684d1ae-97b7-4fb0-bac4-fc835f9bdd41" }, { "collection": "types_profileTemplate", @@ -3157,8 +3205,8 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "73f3492b-02d6-4718-8d39-7582ee3f7496" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "d4b59e94-fcf0-4e7b-a970-61e269493e0b" }, { "collection": "types", @@ -3169,204 +3217,7 @@ "fields": [ "*" ], - "policy": "b16453e3-676b-49d6-917b-6d6f81089114", - "_syncId": "437a3d6a-3e46-44fb-8062-3c76b84e364e" - }, - { - "collection": "directus_users", - "action": "create", - "permissions": null, - "validation": null, - "presets": { - "wc_user": true - }, - "fields": [ - "first_name", - "email", - "password", - "avatar" - ], - "policy": "dc5f8f91-d104-4e7d-8752-44db81ff12c4", - "_syncId": "9009e505-6743-41c0-bb55-c2bce6add51f" - }, - { - "collection": "directus_users", - "action": "delete", - "permissions": { - "_and": [ - { - "wc_user": { - "_eq": true - } - } - ] - }, - "validation": null, - "presets": null, - "fields": null, - "policy": "dc5f8f91-d104-4e7d-8752-44db81ff12c4", - "_syncId": "2e8905fc-9f97-4dc7-b09a-d23e609736a7" - }, - { - "collection": "directus_users", - "action": "read", - "permissions": { - "_and": [ - { - "wc_user": { - "_eq": true - } - } - ] - }, - "validation": null, - "presets": null, - "fields": null, - "policy": "dc5f8f91-d104-4e7d-8752-44db81ff12c4", - "_syncId": "46d5a753-5777-4f76-b27e-609aa9e60a9c" - }, - { - "collection": "directus_users", - "action": "update", - "permissions": { - "_and": [ - { - "wc_user": { - "_eq": true - } - } - ] - }, - "validation": {}, - "presets": { - "wc_user": true - }, - "fields": [ - "first_name", - "email", - "password", - "avatar" - ], - "policy": "dc5f8f91-d104-4e7d-8752-44db81ff12c4", - "_syncId": "94a199e1-c3bd-4b13-9763-3bcf8099266f" - }, - { - "collection": "items", - "action": "create", - "permissions": null, - "validation": null, - "presets": { - "layer": "6f3dee6e-5d82-4061-b19a-4bc040ae553f" - }, - "fields": [ - "id", - "name", - "text", - "subname", - "position", - "image", - "next_appointment", - "group_type", - "topic", - "Wuederkompass", - "telephone", - "contact", - "slug", - "color", - "markerIcon", - "status" - ], - "policy": "dc5f8f91-d104-4e7d-8752-44db81ff12c4", - "_syncId": "4e9f240e-c26c-43d6-ac2d-11f97e01be3b" - }, - { - "collection": "items", - "action": "delete", - "permissions": { - "_and": [ - { - "layer": { - "_eq": "6f3dee6e-5d82-4061-b19a-4bc040ae553f" - } - } - ] - }, - "validation": null, - "presets": null, - "fields": null, - "policy": "dc5f8f91-d104-4e7d-8752-44db81ff12c4", - "_syncId": "db054d09-f112-4c38-843d-8a0b59b78bae" - }, - { - "collection": "items", - "action": "read", - "permissions": { - "_and": [ - { - "layer": { - "_eq": "6f3dee6e-5d82-4061-b19a-4bc040ae553f" - } - } - ] - }, - "validation": null, - "presets": null, - "fields": [ - "name", - "subname", - "id", - "position", - "image", - "text", - "color", - "slug", - "contact", - "status", - "markerIcon", - "Wuederkompass", - "telephone", - "group_type", - "topic", - "next_appointment", - "user_created" - ], - "policy": "dc5f8f91-d104-4e7d-8752-44db81ff12c4", - "_syncId": "f6c73fda-b283-4918-8cca-7f35bd31c0b8" - }, - { - "collection": "items", - "action": "update", - "permissions": { - "_and": [ - { - "layer": { - "_eq": "6f3dee6e-5d82-4061-b19a-4bc040ae553f" - } - } - ] - }, - "validation": null, - "presets": null, - "fields": [ - "id", - "name", - "subname", - "text", - "position", - "image", - "color", - "next_appointment", - "group_type", - "topic", - "Wuederkompass", - "markerIcon", - "status", - "telephone", - "slug", - "contact", - "user_created" - ], - "policy": "dc5f8f91-d104-4e7d-8752-44db81ff12c4", - "_syncId": "c1c77182-b45c-4355-a352-09660ab5116f" + "policy": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7", + "_syncId": "6635bdde-19be-4797-903f-4ead3121a512" } ] diff --git a/backend/directus-config/collections/policies.json b/backend/directus-config/development/collections/policies.json similarity index 71% rename from backend/directus-config/collections/policies.json rename to backend/directus-config/development/collections/policies.json index 7d529236..f5524458 100644 --- a/backend/directus-config/collections/policies.json +++ b/backend/directus-config/development/collections/policies.json @@ -31,25 +31,13 @@ { "role": null, "sort": 1 - } - ], - "_syncId": "_sync_default_public_policy" - }, - { - "name": "Zapier", - "icon": "badge", - "description": null, - "ip_access": null, - "enforce_tfa": false, - "admin_access": false, - "app_access": false, - "roles": [ + }, { "role": null, "sort": null } ], - "_syncId": "5bea7f79-7a78-4ec4-85bd-3327c0febfc7" + "_syncId": "_sync_default_public_policy" }, { "name": "Editor", @@ -61,11 +49,11 @@ "app_access": true, "roles": [ { - "role": "a65f6094-ba98-42d3-940b-07934959e3fb", + "role": "f07fdc26-2935-401a-abc9-67d5ad38a965", "sort": 1 } ], - "_syncId": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d" + "_syncId": "263ff65e-de84-4e41-8eb2-9354fe69c484" }, { "name": "$t:public_label", @@ -81,7 +69,23 @@ "sort": 1 } ], - "_syncId": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a" + "_syncId": "4d5d2bd8-7e1f-40c1-b10b-3f0ecac70877" + }, + { + "name": "Zapier", + "icon": "badge", + "description": null, + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false, + "roles": [ + { + "role": null, + "sort": null + } + ], + "_syncId": "b0eb656b-96e5-4a30-a083-6ef8141e6a4c" }, { "name": "Registrated", @@ -93,26 +97,10 @@ "app_access": false, "roles": [ { - "role": "9865ace7-27fe-4d1f-be88-99ee6410fca2", + "role": "4c32a9b2-714d-44e4-84bd-675d2351bdd7", "sort": 1 } ], - "_syncId": "b16453e3-676b-49d6-917b-6d6f81089114" - }, - { - "name": "Würdekompass Admin", - "icon": "supervised_user_circle", - "description": null, - "ip_access": null, - "enforce_tfa": false, - "admin_access": false, - "app_access": true, - "roles": [ - { - "role": "faa59737-2277-4f8a-a2ab-23940f566ab5", - "sort": 1 - } - ], - "_syncId": "dc5f8f91-d104-4e7d-8752-44db81ff12c4" + "_syncId": "e1a6faf4-e93c-4f22-bc56-41b8e48b3ee7" } ] diff --git a/backend/directus-config/development/collections/presets.json b/backend/directus-config/development/collections/presets.json new file mode 100644 index 00000000..aabcbfcd --- /dev/null +++ b/backend/directus-config/development/collections/presets.json @@ -0,0 +1,124 @@ +[ + { + "bookmark": null, + "role": null, + "collection": "items", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "name", + "layer.name", + "date_created", + "date_updated", + "user_created", + "user_updated" + ] + } + }, + "layout_options": { + "tabular": { + "widths": {} + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null, + "_syncId": "053f9b93-aa94-4ad8-b64e-babb69f0ea6c" + }, + { + "bookmark": null, + "role": null, + "collection": "marker_icons", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "id", + "image.$thumbnail", + "size", + "image_outline.$thumbnail", + "size_outline" + ], + "limit": 500 + } + }, + "layout_options": { + "tabular": { + "widths": {} + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null, + "_syncId": "2a1656b7-d6d2-4b47-bd22-41babc8bf828" + }, + { + "bookmark": null, + "role": null, + "collection": "maps", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "fields": [ + "logo.$thumbnail", + "name", + "url", + "layers.layers_id.name" + ], + "page": 1 + } + }, + "layout_options": { + "tabular": { + "widths": { + "logo.$thumbnail": 77, + "name": 237, + "url": 280.5, + "layers.layers_id.name": 473 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null, + "_syncId": "337b9c3e-667f-4c61-9406-4e45ca24e37e" + }, + { + "bookmark": null, + "role": null, + "collection": "types", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "name", + "template", + "profileTemplate.collection" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "profileTemplate.collection": 238 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null, + "_syncId": "3789cfe7-78f9-428e-9770-d8e1c5de1145" + } +] diff --git a/backend/directus-config/collections/roles.json b/backend/directus-config/development/collections/roles.json similarity index 57% rename from backend/directus-config/collections/roles.json rename to backend/directus-config/development/collections/roles.json index d5de88d1..f52de10a 100644 --- a/backend/directus-config/collections/roles.json +++ b/backend/directus-config/development/collections/roles.json @@ -11,20 +11,13 @@ "icon": "paragliding", "description": null, "parent": null, - "_syncId": "9865ace7-27fe-4d1f-be88-99ee6410fca2" + "_syncId": "4c32a9b2-714d-44e4-84bd-675d2351bdd7" }, { "name": "Editor", "icon": "supervised_user_circle", "description": null, "parent": null, - "_syncId": "a65f6094-ba98-42d3-940b-07934959e3fb" - }, - { - "name": "Würdekompass Admin", - "icon": "supervised_user_circle", - "description": null, - "parent": null, - "_syncId": "faa59737-2277-4f8a-a2ab-23940f566ab5" + "_syncId": "f07fdc26-2935-401a-abc9-67d5ad38a965" } ] diff --git a/backend/directus-config/collections/settings.json b/backend/directus-config/development/collections/settings.json similarity index 96% rename from backend/directus-config/collections/settings.json rename to backend/directus-config/development/collections/settings.json index 1919ba4f..3de70c72 100644 --- a/backend/directus-config/collections/settings.json +++ b/backend/directus-config/development/collections/settings.json @@ -60,6 +60,6 @@ "public_registration_role": null, "public_registration_email_filter": null, "visual_editor_urls": null, - "_syncId": "0c18d64f-a3d1-4c3b-bad1-e1f822fc5d72" + "_syncId": "55f04445-0c26-4201-ab9c-d6e0fbadf6bf" } ] diff --git a/backend/directus-config/collections/translations.json b/backend/directus-config/development/collections/translations.json similarity index 100% rename from backend/directus-config/collections/translations.json rename to backend/directus-config/development/collections/translations.json diff --git a/backend/directus-config/development/seed/directus_files.json b/backend/directus-config/development/seed/directus_files.json new file mode 100644 index 00000000..1b3b2fa3 --- /dev/null +++ b/backend/directus-config/development/seed/directus_files.json @@ -0,0 +1,32 @@ +{ + "collection": "directus_files", + "meta": { + "insert_order": 1, + "create": true, + "update": true, + "delete": true, + "preserve_ids": false, + "ignore_on_update": [] + }, + "data": [ + { + "_sync_id": "utopia-logo", + "_file_path": "./files/utopia-logo.svg", + "storage": "local", + "filename_download": "utopia-logo.svg", + "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/directus_files_marker_outline.json b/backend/directus-config/development/seed/directus_files_marker_outline.json new file mode 100644 index 00000000..d0f1735e --- /dev/null +++ b/backend/directus-config/development/seed/directus_files_marker_outline.json @@ -0,0 +1,73 @@ +{ + "collection": "directus_files", + "meta": { + "insert_order": 2, + "create": true, + "update": true, + "delete": true, + "preserve_ids": false, + "ignore_on_update": [] + }, + "data": [ + { + "_sync_id": "boat-outline", + "_file_path": "./files/icons/outline/boat.svg", + "storage": "local", + "folder": "f255d3a7-8ecc-4ee0-b584-dee753317415", + "filename_download": "boat-outline.svg", + "title": "boat outline", + "tags": [], + "description": "boat outline" + }, + { + "_sync_id": "calendar-outline", + "_file_path": "./files/icons/outline/calendar.svg", + "storage": "local", + "folder": "f255d3a7-8ecc-4ee0-b584-dee753317415", + "filename_download": "calendar-outline.svg", + "title": "calendar outline", + "tags": [], + "description": "calendar outline" + }, + { + "_sync_id": "house-outline", + "_file_path": "./files/icons/outline/house.svg", + "storage": "local", + "folder": "f255d3a7-8ecc-4ee0-b584-dee753317415", + "filename_download": "house-outline.svg", + "title": "home outline", + "tags": [], + "description": "home outline" + }, + { + "_sync_id": "users-outline", + "_file_path": "./files/icons/outline/users.svg", + "storage": "local", + "folder": "f255d3a7-8ecc-4ee0-b584-dee753317415", + "filename_download": "users-outline.svg", + "title": "users outline", + "tags": [], + "description": "users outline" + }, + { + "_sync_id": "map-pin-outline", + "_file_path": "./files/icons/outline/map-pin.svg", + "storage": "local", + "folder": "f255d3a7-8ecc-4ee0-b584-dee753317415", + "filename_download": "map-pin-outline.svg", + "title": "map pin outline", + "tags": [], + "description": "map pin outline" + }, + { + "_sync_id": "user-outline", + "_file_path": "./files/icons/outline/user.svg", + "storage": "local", + "folder": "f255d3a7-8ecc-4ee0-b584-dee753317415", + "filename_download": "user-outline.svg", + "title": "user outline", + "tags": [], + "description": "user outline" + } + ] +} diff --git a/backend/directus-config/development/seed/directus_files_marker_solid.json b/backend/directus-config/development/seed/directus_files_marker_solid.json new file mode 100644 index 00000000..a59ba57b --- /dev/null +++ b/backend/directus-config/development/seed/directus_files_marker_solid.json @@ -0,0 +1,303 @@ +{ + "collection": "directus_files", + "meta": { + "insert_order": 2, + "create": true, + "update": true, + "delete": true, + "preserve_ids": false, + "ignore_on_update": [] + }, + "data": [ + { + "_sync_id": "bicycle-solid", + "_file_path": "./files/icons/solid/bicycle.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "bicycle.svg", + "title": "bicycle", + "tags": [], + "description": "bicycle" + }, + { + "_sync_id": "boat-solid", + "_file_path": "./files/icons/solid/boat.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "boat.svg", + "title": "boat", + "tags": [], + "description": "boat" + }, + { + "_sync_id": "cafe-solid", + "_file_path": "./files/icons/solid/cafe.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "cafe.svg", + "title": "cafe", + "tags": [], + "description": "cafe" + }, + { + "_sync_id": "calendar-solid", + "_file_path": "./files/icons/solid/calendar.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "calendar.svg", + "title": "calendar", + "tags": [], + "description": "calendar" + }, + { + "_sync_id": "camp-solid", + "_file_path": "./files/icons/solid/camp.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "camp.svg", + "title": "camp", + "tags": [], + "description": "camp" + }, + { + "_sync_id": "cannabis-solid", + "_file_path": "./files/icons/solid/cannabis.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "cannabis.svg", + "title": "cannabis", + "tags": [], + "description": "cannabis" + }, + { + "_sync_id": "circle-dot-solid", + "_file_path": "./files/icons/solid/circle-dot.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "circle-dot.svg", + "title": "circle-dot", + "tags": [], + "description": "circle-dot" + }, + { + "_sync_id": "compass-solid", + "_file_path": "./files/icons/solid/compass.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "compass.svg", + "title": "compass", + "tags": [], + "description": "compass" + }, + { + "_sync_id": "crosshair-solid", + "_file_path": "./files/icons/solid/crosshair.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "crosshair.svg", + "title": "crosshair", + "tags": [], + "description": "crosshair" + }, + { + "_sync_id": "drum-solid", + "_file_path": "./files/icons/solid/drum.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "drum.svg", + "title": "drum", + "tags": [], + "description": "drum" + }, + { + "_sync_id": "fire-solid", + "_file_path": "./files/icons/solid/fire.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "fire.svg", + "title": "fire", + "tags": [], + "description": "fire" + }, + { + "_sync_id": "flower-solid", + "_file_path": "./files/icons/solid/flower.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "flower.svg", + "title": "flower", + "tags": [], + "description": "flower" + }, + { + "_sync_id": "group-solid", + "_file_path": "./files/icons/solid/group.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "group.svg", + "title": "group", + "tags": [], + "description": "group" + }, + { + "_sync_id": "house-solid", + "_file_path": "./files/icons/solid/house.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "house.svg", + "title": "house", + "tags": [], + "description": "house" + }, + { + "_sync_id": "liebevoll.jetzt-solid", + "_file_path": "./files/icons/solid/liebevoll.jetzt.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "liebevoll.jetzt.svg", + "title": "liebevoll.jetzt", + "tags": [], + "description": "liebevoll.jetzt" + }, + { + "_sync_id": "music-solid", + "_file_path": "./files/icons/solid/music.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "music.svg", + "title": "music", + "tags": [], + "description": "music" + }, + { + "_sync_id": "network-solid", + "_file_path": "./files/icons/solid/network.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "network.svg", + "title": "network", + "tags": [], + "description": "network" + }, + { + "_sync_id": "offer-solid", + "_file_path": "./files/icons/solid/offer.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "offer.svg", + "title": "offer", + "tags": [], + "description": "offer" + }, + { + "_sync_id": "plant-solid", + "_file_path": "./files/icons/solid/plant.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "plant.svg", + "title": "plant", + "tags": [], + "description": "plant" + }, + { + "_sync_id": "point-solid", + "_file_path": "./files/icons/solid/point.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "point.svg", + "title": "point", + "tags": [], + "description": "point" + }, + { + "_sync_id": "puzzle-solid", + "_file_path": "./files/icons/solid/puzzle.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "puzzle.svg", + "title": "puzzle", + "tags": [], + "description": "puzzle" + }, + { + "_sync_id": "quest-solid", + "_file_path": "./files/icons/solid/quest.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "quest.svg", + "title": "quest", + "tags": [], + "description": "quest" + }, + { + "_sync_id": "shop-solid", + "_file_path": "./files/icons/solid/shop.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "shop.svg", + "title": "shop", + "tags": [], + "description": "shop" + }, + { + "_sync_id": "staff-snake-solid", + "_file_path": "./files/icons/solid/staff-snake.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "staff-snake.svg", + "title": "staff-snake", + "tags": [], + "description": "staff-snake" + }, + { + "_sync_id": "star-solid", + "_file_path": "./files/icons/solid/star.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "star.svg", + "title": "star", + "tags": [], + "description": "star" + }, + { + "_sync_id": "steps-solid", + "_file_path": "./files/icons/solid/steps.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "steps.svg", + "title": "steps", + "tags": [], + "description": "steps" + }, + { + "_sync_id": "suitecase-solid", + "_file_path": "./files/icons/solid/suitecase.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "suitecase.svg", + "title": "suitecase", + "tags": [], + "description": "suitecase" + }, + { + "_sync_id": "tree-solid", + "_file_path": "./files/icons/solid/tree.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "tree.svg", + "title": "tree", + "tags": [], + "description": "tree" + }, + { + "_sync_id": "user-solid", + "_file_path": "./files/icons/solid/user.svg", + "storage": "local", + "folder": "889a110a-a117-40fa-b091-5c5a2766563f", + "filename_download": "user.svg", + "title": "user", + "tags": [], + "description": "user" + } + ] +} diff --git a/backend/directus-config/development/seed/files/icons/outline/boat.svg b/backend/directus-config/development/seed/files/icons/outline/boat.svg new file mode 100644 index 00000000..83583cbf --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/outline/boat.svg @@ -0,0 +1 @@ + diff --git a/backend/directus-config/development/seed/files/icons/outline/calendar.svg b/backend/directus-config/development/seed/files/icons/outline/calendar.svg new file mode 100644 index 00000000..820385cc --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/outline/calendar.svg @@ -0,0 +1,3 @@ + + + diff --git a/backend/directus-config/development/seed/files/icons/outline/house.svg b/backend/directus-config/development/seed/files/icons/outline/house.svg new file mode 100644 index 00000000..4e00846e --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/outline/house.svg @@ -0,0 +1 @@ + diff --git a/backend/directus-config/development/seed/files/icons/outline/map-pin.svg b/backend/directus-config/development/seed/files/icons/outline/map-pin.svg new file mode 100644 index 00000000..ee781c42 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/outline/map-pin.svg @@ -0,0 +1,4 @@ + + + + diff --git a/backend/directus-config/development/seed/files/icons/outline/user.svg b/backend/directus-config/development/seed/files/icons/outline/user.svg new file mode 100644 index 00000000..e0dd9261 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/outline/user.svg @@ -0,0 +1,4 @@ + + + + diff --git a/backend/directus-config/development/seed/files/icons/outline/users.svg b/backend/directus-config/development/seed/files/icons/outline/users.svg new file mode 100644 index 00000000..8ae27736 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/outline/users.svg @@ -0,0 +1,3 @@ + + + diff --git a/backend/directus-config/development/seed/files/icons/solid/bicycle.svg b/backend/directus-config/development/seed/files/icons/solid/bicycle.svg new file mode 100644 index 00000000..af2b425a --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/bicycle.svg @@ -0,0 +1 @@ + diff --git a/backend/directus-config/development/seed/files/icons/solid/boat.svg b/backend/directus-config/development/seed/files/icons/solid/boat.svg new file mode 100644 index 00000000..b14fafe6 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/boat.svg @@ -0,0 +1 @@ + diff --git a/backend/directus-config/development/seed/files/icons/solid/cafe.svg b/backend/directus-config/development/seed/files/icons/solid/cafe.svg new file mode 100644 index 00000000..4c490545 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/cafe.svg @@ -0,0 +1 @@ + diff --git a/backend/directus-config/development/seed/files/icons/solid/calendar.svg b/backend/directus-config/development/seed/files/icons/solid/calendar.svg new file mode 100644 index 00000000..19a6e750 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/calendar.svg @@ -0,0 +1 @@ + diff --git a/backend/directus-config/development/seed/files/icons/solid/camp.svg b/backend/directus-config/development/seed/files/icons/solid/camp.svg new file mode 100644 index 00000000..48e7c73b --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/camp.svg @@ -0,0 +1 @@ + diff --git a/backend/directus-config/development/seed/files/icons/solid/cannabis.svg b/backend/directus-config/development/seed/files/icons/solid/cannabis.svg new file mode 100644 index 00000000..d848ad56 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/cannabis.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/circle-dot.svg b/backend/directus-config/development/seed/files/icons/solid/circle-dot.svg new file mode 100644 index 00000000..ae1508a6 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/circle-dot.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/compass.svg b/backend/directus-config/development/seed/files/icons/solid/compass.svg new file mode 100644 index 00000000..845282c4 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/compass.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/crosshair.svg b/backend/directus-config/development/seed/files/icons/solid/crosshair.svg new file mode 100644 index 00000000..5814583c --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/crosshair.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/drum.svg b/backend/directus-config/development/seed/files/icons/solid/drum.svg new file mode 100644 index 00000000..5bd825d3 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/drum.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/fire.svg b/backend/directus-config/development/seed/files/icons/solid/fire.svg new file mode 100644 index 00000000..b5c1fcfc --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/fire.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/flower.svg b/backend/directus-config/development/seed/files/icons/solid/flower.svg new file mode 100644 index 00000000..f230fce2 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/flower.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/group.svg b/backend/directus-config/development/seed/files/icons/solid/group.svg new file mode 100644 index 00000000..e2d2d44a --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/group.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/house.svg b/backend/directus-config/development/seed/files/icons/solid/house.svg new file mode 100644 index 00000000..5f11c5ae --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/house.svg @@ -0,0 +1 @@ + diff --git a/backend/directus-config/development/seed/files/icons/solid/liebevoll.jetzt.svg b/backend/directus-config/development/seed/files/icons/solid/liebevoll.jetzt.svg new file mode 100644 index 00000000..e94d6151 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/liebevoll.jetzt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/music.svg b/backend/directus-config/development/seed/files/icons/solid/music.svg new file mode 100644 index 00000000..b36cefe8 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/music.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/network.svg b/backend/directus-config/development/seed/files/icons/solid/network.svg new file mode 100644 index 00000000..26afeaaf --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/network.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/offer.svg b/backend/directus-config/development/seed/files/icons/solid/offer.svg new file mode 100644 index 00000000..e835f774 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/offer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/plant.svg b/backend/directus-config/development/seed/files/icons/solid/plant.svg new file mode 100644 index 00000000..382aac64 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/plant.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/point.svg b/backend/directus-config/development/seed/files/icons/solid/point.svg new file mode 100644 index 00000000..884572dd --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/point.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/puzzle.svg b/backend/directus-config/development/seed/files/icons/solid/puzzle.svg new file mode 100644 index 00000000..4cf61e7f --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/puzzle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/quest.svg b/backend/directus-config/development/seed/files/icons/solid/quest.svg new file mode 100644 index 00000000..b8aedc48 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/quest.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/shop.svg b/backend/directus-config/development/seed/files/icons/solid/shop.svg new file mode 100644 index 00000000..d7c1ae56 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/shop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/staff-snake.svg b/backend/directus-config/development/seed/files/icons/solid/staff-snake.svg new file mode 100644 index 00000000..94d42f40 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/staff-snake.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/star.svg b/backend/directus-config/development/seed/files/icons/solid/star.svg new file mode 100644 index 00000000..fbaf3412 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/star.svg @@ -0,0 +1 @@ + diff --git a/backend/directus-config/development/seed/files/icons/solid/steps.svg b/backend/directus-config/development/seed/files/icons/solid/steps.svg new file mode 100644 index 00000000..9d5824f1 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/steps.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/suitecase.svg b/backend/directus-config/development/seed/files/icons/solid/suitecase.svg new file mode 100644 index 00000000..7bc0ad5e --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/suitecase.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/tree.svg b/backend/directus-config/development/seed/files/icons/solid/tree.svg new file mode 100644 index 00000000..9f148562 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/tree.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/development/seed/files/icons/solid/user.svg b/backend/directus-config/development/seed/files/icons/solid/user.svg new file mode 100644 index 00000000..cbef53e2 --- /dev/null +++ b/backend/directus-config/development/seed/files/icons/solid/user.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/backend/directus-config/manual/files/412c25dc-a3b7-4114-b64b-cac2d6b46db3.svg b/backend/directus-config/development/seed/files/utopia-logo.svg similarity index 100% rename from backend/directus-config/manual/files/412c25dc-a3b7-4114-b64b-cac2d6b46db3.svg rename to backend/directus-config/development/seed/files/utopia-logo.svg diff --git a/backend/directus-config/development/seed/files/vessel.svg b/backend/directus-config/development/seed/files/vessel.svg new file mode 100644 index 00000000..91a500fe --- /dev/null +++ b/backend/directus-config/development/seed/files/vessel.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/backend/directus-config/development/seed/gallery.json b/backend/directus-config/development/seed/gallery.json new file mode 100644 index 00000000..1d8548fa --- /dev/null +++ b/backend/directus-config/development/seed/gallery.json @@ -0,0 +1,21 @@ +{ + "collection": "gallery", + "meta": { + "insert_order": 1, + "create": true, + "update": true, + "delete": true, + "preserve_ids": true, + "ignore_on_update": [] + }, + "data": [ + { + "_sync_id": "ea97b565-037c-4d0c-bcec-5e38793a6e7f", + "hideInputLabel": false + }, + { + "_sync_id": "b0c52d6e-b3d2-4e3b-89e2-065be324e27b", + "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 new file mode 100644 index 00000000..bd44cb0d --- /dev/null +++ b/backend/directus-config/development/seed/items.json @@ -0,0 +1,95 @@ +{ + "collection": "items", + "meta": { + "insert_order": 1, + "create": true, + "update": true, + "delete": true, + "preserve_ids": false, + "ignore_on_update": [] + }, + "data": [ + { + "_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)!", + "position": { + "type": "Point", + "coordinates": [ + 10.067625824315172, + 50.51565268622562 + ] + }, + "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)!", + "position": { + "type": "Point", + "coordinates": [ + 11.067625824315172, + 51.51565268622562 + ] + }, + "layer" : "layer-events", + "start": "2025-08-14T12:00:00", + "end": "2027-06-25T12:00:00" + }, + { + "_sync_id": "item-nomad-location-1", + "name": "Anton Tranelis", + "text": "bla blab ...", + "position": { + "type": "Point", + "coordinates": [ + 6.67625824315172, + 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" + } + ] +} \ No newline at end of file diff --git a/backend/directus-config/development/seed/layers.json b/backend/directus-config/development/seed/layers.json new file mode 100644 index 00000000..6fc73da9 --- /dev/null +++ b/backend/directus-config/development/seed/layers.json @@ -0,0 +1,126 @@ +{ + "collection": "layers", + "meta": { + "insert_order": 1, + "create": true, + "update": true, + "delete": true, + "preserve_ids": false, + "ignore_on_update": [] + }, + "data": [ + { + "_sync_id": "layer-places", + "name": "Places", + "itemType": "type-simple", + "userProfileLayer": false, + "indexIcon": "map-pin-outline", + "menuColor": "#2ECDA7", + "menuIcon": "point-solid", + "menuText": "Add new Place", + "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, + "item_presets": null, + "sort": 2 + }, + { + "_sync_id": "layer-vessels", + "name": "Vessels", + "itemType": "type-text-gallery", + "userProfileLayer": false, + "indexIcon": "boat-outline", + "menuColor": "#19898F", + "menuIcon" : "boat-solid", + "menuText": "Add a new Vessel", + "markerIcon" : "marker-boat", + "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", + "markerShape" : "square", + "markerDefaultColor2": null, + "onlyOnePerOwner": true, + "index_plus_button": true, + "public_edit_items": false, + "listed": true, + "item_presets": null, + "sort": 4 + } + ] +} \ 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 new file mode 100644 index 00000000..ff4e0e94 --- /dev/null +++ b/backend/directus-config/development/seed/layers_maps.json @@ -0,0 +1,38 @@ +{ + "collection": "layers_maps", + "meta": { + "insert_order": 1, + "create": true, + "update": true, + "delete": true, + "preserve_ids": false, + "ignore_on_update": [] + }, + "data": [ + { + "_sync_id": "layer-events-map-local-development", + "layers_id": "layer-events", + "maps_id": "map-local-development" + }, + { + "_sync_id": "layer-nomads-location-map-local-development", + "layers_id": "layer-nomads_location", + "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", + "maps_id": "map-local-development" + } + ] +} \ No newline at end of file diff --git a/backend/directus-config/seed/maps.json b/backend/directus-config/development/seed/maps.json similarity index 95% rename from backend/directus-config/seed/maps.json rename to backend/directus-config/development/seed/maps.json index daf24edc..d47aa6f2 100644 --- a/backend/directus-config/seed/maps.json +++ b/backend/directus-config/development/seed/maps.json @@ -13,6 +13,7 @@ "_sync_id": "map-local-development", "name": "Local Development", "url": "http://local.development", + "logo": "vessel-svg", "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 new file mode 100644 index 00000000..b168ac1c --- /dev/null +++ b/backend/directus-config/development/seed/marker_icons.json @@ -0,0 +1,195 @@ +{ + "collection": "marker_icons", + "meta": { + "insert_order": 1, + "create": true, + "update": true, + "delete": true, + "preserve_ids": false, + "ignore_on_update": [] + }, + "data": [ + { + "_sync_id": "marker-bicycle", + "id": "bicycle", + "size": "20.00000", + "image": "bicycle-solid" + }, + { + "_sync_id": "marker-boat", + "id": "boat", + "size": "18.00000", + "image": "boat-solid", + "size_outline": "18.00000", + "image_outline": "boat-outline" + }, + { + "_sync_id": "marker-cafe", + "id": "cafe", + "size": "18.00000", + "image": "cafe-solid" + }, + { + "_sync_id": "marker-calendar", + "id": "calendar", + "size": "14.00000", + "image": "calendar-solid", + "size_outline": "18.00000", + "image_outline": "calendar-outline" + }, + { + "_sync_id": "marker-camp", + "id": "camp", + "size": "18.00000", + "image": "camp-solid" + }, + { + "_sync_id": "marker-cannabis", + "id": "cannabis", + "size": "18.00000", + "image": "cannabis-solid" + }, + { + "_sync_id": "marker-circle-dot", + "id": "circle-dot", + "size": "18.00000", + "image": "circle-dot-solid" + }, + { + "_sync_id": "marker-compass", + "id": "compass", + "size": "18.00000", + "image": "compass-solid" + }, + { + "_sync_id": "marker-crosshair", + "id": "crosshair", + "size": "18.00000", + "image": "crosshair-solid" + }, + { + "_sync_id": "marker-drum", + "id": "drum", + "size": "20.00000", + "image": "drum-solid" + }, + { + "_sync_id": "marker-fire", + "id": "fire", + "size": "12.00000", + "image": "fire-solid" + }, + { + "_sync_id": "marker-flower", + "id": "flower", + "size": "18.00000", + "image": "flower-solid" + }, + { + "_sync_id": "marker-group", + "id": "group", + "size": "18.00000", + "image": "group-solid" + }, + { + "_sync_id": "marker-house", + "id": "house", + "size": "16.00000", + "image": "house-solid", + "size_outline": "16.00000", + "image_outline": "house-outline" + }, + { + "_sync_id": "marker-liebevoll.jetzt", + "id": "liebevoll.jetzt", + "size": "16.00000", + "image": "liebevoll.jetzt-solid" + }, + { + "_sync_id": "marker-music", + "id": "music", + "size": "12.00000", + "image": "music-solid" + }, + { + "_sync_id": "marker-network", + "id": "network", + "size": "18.00000", + "image": "network-solid" + }, + { + "_sync_id": "marker-offer", + "id": "offer", + "size": "16.00000", + "image": "offer-solid" + }, + { + "_sync_id": "marker-plant", + "id": "plant", + "size": "18.00000", + "image": "plant-solid" + }, + { + "_sync_id": "marker-point", + "id": "point", + "size": "12.00000", + "image": "point-solid" + }, + { + "_sync_id": "marker-puzzle", + "id": "puzzle", + "size": "18.00000", + "image": "puzzle-solid" + }, + { + "_sync_id": "marker-quest", + "id": "quest", + "size": "14.00000", + "image": "quest-solid" + }, + { + "_sync_id": "marker-shop", + "id": "shop", + "size": "18.00000", + "image": "shop-solid" + }, + { + "_sync_id": "marker-staff-snake", + "id": "staff-snake", + "size": "12.00000", + "image": "staff-snake-solid" + }, + { + "_sync_id": "marker-star", + "id": "star", + "size": "18.00000", + "image": "star-solid" + }, + { + "_sync_id": "marker-steps", + "id": "steps", + "size": "18.00000", + "image": "steps-solid" + }, + { + "_sync_id": "marker-suitecase", + "id": "suitecase", + "size": "18.00000", + "image": "suitecase-solid" + }, + { + "_sync_id": "marker-tree", + "id": "tree", + "size": "18.00000", + "image": "tree-solid" + }, + { + "_sync_id": "marker-user", + "id": "user", + "size": "12.00000", + "image": "user-solid", + "size_outline": "18.00000", + "image_outline": "user-outline" + } + ] +} diff --git a/backend/directus-config/development/seed/startEnd.json b/backend/directus-config/development/seed/startEnd.json new file mode 100644 index 00000000..a6ed6774 --- /dev/null +++ b/backend/directus-config/development/seed/startEnd.json @@ -0,0 +1,16 @@ +{ + "collection": "startEnd", + "meta": { + "insert_order": 1, + "create": true, + "update": true, + "delete": true, + "preserve_ids": true, + "ignore_on_update": [] + }, + "data": [ + { + "_sync_id": "0b5e5f0a-76a4-407f-84ab-2fd718965909" + } + ] +} \ No newline at end of file diff --git a/backend/directus-config/development/seed/texts.json b/backend/directus-config/development/seed/texts.json new file mode 100644 index 00000000..e5447001 --- /dev/null +++ b/backend/directus-config/development/seed/texts.json @@ -0,0 +1,29 @@ +{ + "collection": "texts", + "meta": { + "insert_order": 1, + "create": true, + "update": true, + "delete": true, + "preserve_ids": true, + "ignore_on_update": [] + }, + "data": [ + { + "_sync_id": "7c25fdf6-d5f2-425a-9a2e-03c5297d10bc", + "dataField": "text", + "heading": null, + "hideWhenEmpty": true, + "showMarkdownHint": true, + "size": "full" + }, + { + "_sync_id": "94f6af1d-77e5-49ed-937b-6b9addc4f8ac", + "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 new file mode 100644 index 00000000..92704e1b --- /dev/null +++ b/backend/directus-config/development/seed/types.json @@ -0,0 +1,70 @@ +{ + "collection": "types", + "meta": { + "insert_order": 1, + "create": true, + "update": true, + "delete": true, + "preserve_ids": false, + "ignore_on_update": [] + }, + "data": [ + { + "_sync_id": "type-simple", + "name": "simple", + "user_created": null, + "date_created": "2025-01-01T00:00:00.000Z", + "user_updated": null, + "date_updated": null, + "template": "simple", + "show_text": true, + "show_profile_button" : true, + "show_start_end" : false + }, + { + "_sync_id": "type-event", + "name": "event", + "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" : true + }, + { + "_sync_id": "type-ON_nomads_location", + "name": "ON_nomads_location", + "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, + "custom_profile_url" : "https://community.oceannomads.co/members", + "show_text_input" : true, + "show_name_input" : false, + "show_header_view_in_form" : true, + "small_form_edit" : true + }, + { + "_sync_id": "type-text-gallery", + "name": "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" : true, + "show_header_view_in_form" : false, + "small_form_edit" : false + } + ] +} diff --git a/backend/directus-config/snapshot/collections/Landingpage.json b/backend/directus-config/development/snapshot/collections/Landingpage.json similarity index 100% rename from backend/directus-config/snapshot/collections/Landingpage.json rename to backend/directus-config/development/snapshot/collections/Landingpage.json diff --git a/backend/directus-config/snapshot/collections/Themes.json b/backend/directus-config/development/snapshot/collections/Themes.json similarity index 93% rename from backend/directus-config/snapshot/collections/Themes.json rename to backend/directus-config/development/snapshot/collections/Themes.json index 3e349a4d..0b343c62 100644 --- a/backend/directus-config/snapshot/collections/Themes.json +++ b/backend/directus-config/development/snapshot/collections/Themes.json @@ -9,14 +9,14 @@ "collection": "Themes", "color": null, "display_template": null, - "group": null, + "group": "UI_Config", "hidden": false, "icon": null, "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, - "sort": 21, + "sort": 3, "sort_field": null, "translations": null, "unarchive_value": null, diff --git a/backend/directus-config/snapshot/collections/UI_Components.json b/backend/directus-config/development/snapshot/collections/UI_Components.json similarity index 95% rename from backend/directus-config/snapshot/collections/UI_Components.json rename to backend/directus-config/development/snapshot/collections/UI_Components.json index 0c8778fb..f0023ee8 100644 --- a/backend/directus-config/snapshot/collections/UI_Components.json +++ b/backend/directus-config/development/snapshot/collections/UI_Components.json @@ -5,7 +5,7 @@ "archive_app_filter": true, "archive_field": null, "archive_value": null, - "collapse": "open", + "collapse": "closed", "collection": "UI_Components", "color": null, "display_template": null, diff --git a/backend/directus-config/snapshot/collections/UI_Config.json b/backend/directus-config/development/snapshot/collections/UI_Config.json similarity index 95% rename from backend/directus-config/snapshot/collections/UI_Config.json rename to backend/directus-config/development/snapshot/collections/UI_Config.json index ccb2dd53..81db8091 100644 --- a/backend/directus-config/snapshot/collections/UI_Config.json +++ b/backend/directus-config/development/snapshot/collections/UI_Config.json @@ -5,7 +5,7 @@ "archive_app_filter": true, "archive_field": null, "archive_value": null, - "collapse": "open", + "collapse": "closed", "collection": "UI_Config", "color": null, "display_template": null, diff --git a/backend/directus-config/snapshot/collections/attestations.json b/backend/directus-config/development/snapshot/collections/attestations.json similarity index 100% rename from backend/directus-config/snapshot/collections/attestations.json rename to backend/directus-config/development/snapshot/collections/attestations.json diff --git a/backend/directus-config/snapshot/collections/attestations_directus_users.json b/backend/directus-config/development/snapshot/collections/attestations_directus_users.json similarity index 100% rename from backend/directus-config/snapshot/collections/attestations_directus_users.json rename to backend/directus-config/development/snapshot/collections/attestations_directus_users.json diff --git a/backend/directus-config/snapshot/collections/contactInfos.json b/backend/directus-config/development/snapshot/collections/contactInfos.json similarity index 100% rename from backend/directus-config/snapshot/collections/contactInfos.json rename to backend/directus-config/development/snapshot/collections/contactInfos.json diff --git a/backend/directus-config/snapshot/collections/crowdfundings.json b/backend/directus-config/development/snapshot/collections/crowdfundings.json similarity index 100% rename from backend/directus-config/snapshot/collections/crowdfundings.json rename to backend/directus-config/development/snapshot/collections/crowdfundings.json diff --git a/backend/directus-config/snapshot/collections/directus_sync_id_map.json b/backend/directus-config/development/snapshot/collections/directus_sync_id_map.json similarity index 100% rename from backend/directus-config/snapshot/collections/directus_sync_id_map.json rename to backend/directus-config/development/snapshot/collections/directus_sync_id_map.json diff --git a/backend/directus-config/snapshot/collections/features.json b/backend/directus-config/development/snapshot/collections/features.json similarity index 100% rename from backend/directus-config/snapshot/collections/features.json rename to backend/directus-config/development/snapshot/collections/features.json diff --git a/backend/directus-config/snapshot/collections/gallery.json b/backend/directus-config/development/snapshot/collections/gallery.json similarity index 100% rename from backend/directus-config/snapshot/collections/gallery.json rename to backend/directus-config/development/snapshot/collections/gallery.json diff --git a/backend/directus-config/snapshot/collections/groupSubheaders.json b/backend/directus-config/development/snapshot/collections/groupSubheaders.json similarity index 100% rename from backend/directus-config/snapshot/collections/groupSubheaders.json rename to backend/directus-config/development/snapshot/collections/groupSubheaders.json diff --git a/backend/directus-config/snapshot/collections/groupSubheaders_groupTypes.json b/backend/directus-config/development/snapshot/collections/groupSubheaders_groupTypes.json similarity index 100% rename from backend/directus-config/snapshot/collections/groupSubheaders_groupTypes.json rename to backend/directus-config/development/snapshot/collections/groupSubheaders_groupTypes.json diff --git a/backend/directus-config/snapshot/collections/groupTypes.json b/backend/directus-config/development/snapshot/collections/groupTypes.json similarity index 100% rename from backend/directus-config/snapshot/collections/groupTypes.json rename to backend/directus-config/development/snapshot/collections/groupTypes.json diff --git a/backend/directus-config/snapshot/collections/inviteLinks.json b/backend/directus-config/development/snapshot/collections/inviteLinks.json similarity index 100% rename from backend/directus-config/snapshot/collections/inviteLinks.json rename to backend/directus-config/development/snapshot/collections/inviteLinks.json diff --git a/backend/directus-config/snapshot/collections/itemSecrets.json b/backend/directus-config/development/snapshot/collections/itemSecrets.json similarity index 93% rename from backend/directus-config/snapshot/collections/itemSecrets.json rename to backend/directus-config/development/snapshot/collections/itemSecrets.json index f5d2605c..c06cc53d 100644 --- a/backend/directus-config/snapshot/collections/itemSecrets.json +++ b/backend/directus-config/development/snapshot/collections/itemSecrets.json @@ -10,13 +10,13 @@ "color": null, "display_template": null, "group": null, - "hidden": false, + "hidden": true, "icon": "vpn_key", "item_duplication_fields": null, "note": null, "preview_url": null, "singleton": false, - "sort": 22, + "sort": 21, "sort_field": null, "translations": null, "unarchive_value": null, diff --git a/backend/directus-config/snapshot/collections/items.json b/backend/directus-config/development/snapshot/collections/items.json similarity index 100% rename from backend/directus-config/snapshot/collections/items.json rename to backend/directus-config/development/snapshot/collections/items.json diff --git a/backend/directus-config/snapshot/collections/items_files.json b/backend/directus-config/development/snapshot/collections/items_files.json similarity index 100% rename from backend/directus-config/snapshot/collections/items_files.json rename to backend/directus-config/development/snapshot/collections/items_files.json diff --git a/backend/directus-config/snapshot/collections/items_items.json b/backend/directus-config/development/snapshot/collections/items_items.json similarity index 100% rename from backend/directus-config/snapshot/collections/items_items.json rename to backend/directus-config/development/snapshot/collections/items_items.json diff --git a/backend/directus-config/snapshot/collections/items_tags.json b/backend/directus-config/development/snapshot/collections/items_tags.json similarity index 100% rename from backend/directus-config/snapshot/collections/items_tags.json rename to backend/directus-config/development/snapshot/collections/items_tags.json diff --git a/backend/directus-config/snapshot/collections/items_tags_1.json b/backend/directus-config/development/snapshot/collections/items_tags_1.json similarity index 100% rename from backend/directus-config/snapshot/collections/items_tags_1.json rename to backend/directus-config/development/snapshot/collections/items_tags_1.json diff --git a/backend/directus-config/snapshot/collections/junction_directus_users_tags.json b/backend/directus-config/development/snapshot/collections/junction_directus_users_tags.json similarity index 100% rename from backend/directus-config/snapshot/collections/junction_directus_users_tags.json rename to backend/directus-config/development/snapshot/collections/junction_directus_users_tags.json diff --git a/backend/directus-config/snapshot/collections/junction_directus_users_tags_1.json b/backend/directus-config/development/snapshot/collections/junction_directus_users_tags_1.json similarity index 100% rename from backend/directus-config/snapshot/collections/junction_directus_users_tags_1.json rename to backend/directus-config/development/snapshot/collections/junction_directus_users_tags_1.json diff --git a/backend/directus-config/snapshot/collections/layers.json b/backend/directus-config/development/snapshot/collections/layers.json similarity index 100% rename from backend/directus-config/snapshot/collections/layers.json rename to backend/directus-config/development/snapshot/collections/layers.json diff --git a/backend/directus-config/snapshot/collections/layers_directus_users_1.json b/backend/directus-config/development/snapshot/collections/layers_directus_users_1.json similarity index 97% rename from backend/directus-config/snapshot/collections/layers_directus_users_1.json rename to backend/directus-config/development/snapshot/collections/layers_directus_users_1.json index 968a4f37..eeef8b8a 100644 --- a/backend/directus-config/snapshot/collections/layers_directus_users_1.json +++ b/backend/directus-config/development/snapshot/collections/layers_directus_users_1.json @@ -16,7 +16,7 @@ "note": null, "preview_url": null, "singleton": false, - "sort": 23, + "sort": 22, "sort_field": null, "translations": null, "unarchive_value": null, diff --git a/backend/directus-config/snapshot/collections/layers_files.json b/backend/directus-config/development/snapshot/collections/layers_files.json similarity index 100% rename from backend/directus-config/snapshot/collections/layers_files.json rename to backend/directus-config/development/snapshot/collections/layers_files.json diff --git a/backend/directus-config/snapshot/collections/layers_maps.json b/backend/directus-config/development/snapshot/collections/layers_maps.json similarity index 100% rename from backend/directus-config/snapshot/collections/layers_maps.json rename to backend/directus-config/development/snapshot/collections/layers_maps.json diff --git a/backend/directus-config/snapshot/collections/maps.json b/backend/directus-config/development/snapshot/collections/maps.json similarity index 100% rename from backend/directus-config/snapshot/collections/maps.json rename to backend/directus-config/development/snapshot/collections/maps.json diff --git a/backend/directus-config/snapshot/collections/marker_icons.json b/backend/directus-config/development/snapshot/collections/marker_icons.json similarity index 100% rename from backend/directus-config/snapshot/collections/marker_icons.json rename to backend/directus-config/development/snapshot/collections/marker_icons.json diff --git a/backend/directus-config/development/snapshot/collections/oceannomads_events.json b/backend/directus-config/development/snapshot/collections/oceannomads_events.json new file mode 100644 index 00000000..3803ada5 --- /dev/null +++ b/backend/directus-config/development/snapshot/collections/oceannomads_events.json @@ -0,0 +1,28 @@ +{ + "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/snapshot/collections/oceannomads_profiles.json b/backend/directus-config/development/snapshot/collections/oceannomads_profiles.json similarity index 97% rename from backend/directus-config/snapshot/collections/oceannomads_profiles.json rename to backend/directus-config/development/snapshot/collections/oceannomads_profiles.json index 5ea095cc..336e924b 100644 --- a/backend/directus-config/snapshot/collections/oceannomads_profiles.json +++ b/backend/directus-config/development/snapshot/collections/oceannomads_profiles.json @@ -16,7 +16,7 @@ "note": null, "preview_url": null, "singleton": false, - "sort": null, + "sort": 24, "sort_field": null, "translations": null, "unarchive_value": null, diff --git a/backend/directus-config/snapshot/collections/relations.json b/backend/directus-config/development/snapshot/collections/relations.json similarity index 100% rename from backend/directus-config/snapshot/collections/relations.json rename to backend/directus-config/development/snapshot/collections/relations.json diff --git a/backend/directus-config/snapshot/collections/startEnd.json b/backend/directus-config/development/snapshot/collections/startEnd.json similarity index 100% rename from backend/directus-config/snapshot/collections/startEnd.json rename to backend/directus-config/development/snapshot/collections/startEnd.json diff --git a/backend/directus-config/snapshot/collections/tags.json b/backend/directus-config/development/snapshot/collections/tags.json similarity index 100% rename from backend/directus-config/snapshot/collections/tags.json rename to backend/directus-config/development/snapshot/collections/tags.json diff --git a/backend/directus-config/snapshot/collections/team.json b/backend/directus-config/development/snapshot/collections/team.json similarity index 100% rename from backend/directus-config/snapshot/collections/team.json rename to backend/directus-config/development/snapshot/collections/team.json diff --git a/backend/directus-config/snapshot/collections/texts.json b/backend/directus-config/development/snapshot/collections/texts.json similarity index 100% rename from backend/directus-config/snapshot/collections/texts.json rename to backend/directus-config/development/snapshot/collections/texts.json diff --git a/backend/directus-config/snapshot/collections/types.json b/backend/directus-config/development/snapshot/collections/types.json similarity index 100% rename from backend/directus-config/snapshot/collections/types.json rename to backend/directus-config/development/snapshot/collections/types.json diff --git a/backend/directus-config/snapshot/collections/types_profileTemplate.json b/backend/directus-config/development/snapshot/collections/types_profileTemplate.json similarity index 100% rename from backend/directus-config/snapshot/collections/types_profileTemplate.json rename to backend/directus-config/development/snapshot/collections/types_profileTemplate.json diff --git a/backend/directus-config/snapshot/fields/Themes/theme.json b/backend/directus-config/development/snapshot/fields/Themes/theme.json similarity index 100% rename from backend/directus-config/snapshot/fields/Themes/theme.json rename to backend/directus-config/development/snapshot/fields/Themes/theme.json diff --git a/backend/directus-config/snapshot/fields/attestations/color.json b/backend/directus-config/development/snapshot/fields/attestations/color.json similarity index 100% rename from backend/directus-config/snapshot/fields/attestations/color.json rename to backend/directus-config/development/snapshot/fields/attestations/color.json diff --git a/backend/directus-config/snapshot/fields/attestations/date_created.json b/backend/directus-config/development/snapshot/fields/attestations/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/attestations/date_created.json rename to backend/directus-config/development/snapshot/fields/attestations/date_created.json diff --git a/backend/directus-config/snapshot/fields/attestations/emoji.json b/backend/directus-config/development/snapshot/fields/attestations/emoji.json similarity index 100% rename from backend/directus-config/snapshot/fields/attestations/emoji.json rename to backend/directus-config/development/snapshot/fields/attestations/emoji.json diff --git a/backend/directus-config/snapshot/fields/attestations/id.json b/backend/directus-config/development/snapshot/fields/attestations/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/attestations/id.json rename to backend/directus-config/development/snapshot/fields/attestations/id.json diff --git a/backend/directus-config/snapshot/fields/attestations/shape.json b/backend/directus-config/development/snapshot/fields/attestations/shape.json similarity index 100% rename from backend/directus-config/snapshot/fields/attestations/shape.json rename to backend/directus-config/development/snapshot/fields/attestations/shape.json diff --git a/backend/directus-config/snapshot/fields/attestations/text.json b/backend/directus-config/development/snapshot/fields/attestations/text.json similarity index 100% rename from backend/directus-config/snapshot/fields/attestations/text.json rename to backend/directus-config/development/snapshot/fields/attestations/text.json diff --git a/backend/directus-config/snapshot/fields/attestations/to.json b/backend/directus-config/development/snapshot/fields/attestations/to.json similarity index 100% rename from backend/directus-config/snapshot/fields/attestations/to.json rename to backend/directus-config/development/snapshot/fields/attestations/to.json diff --git a/backend/directus-config/snapshot/fields/attestations/user_created.json b/backend/directus-config/development/snapshot/fields/attestations/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/attestations/user_created.json rename to backend/directus-config/development/snapshot/fields/attestations/user_created.json diff --git a/backend/directus-config/snapshot/fields/attestations_directus_users/attestations_id.json b/backend/directus-config/development/snapshot/fields/attestations_directus_users/attestations_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/attestations_directus_users/attestations_id.json rename to backend/directus-config/development/snapshot/fields/attestations_directus_users/attestations_id.json diff --git a/backend/directus-config/snapshot/fields/attestations_directus_users/directus_users_id.json b/backend/directus-config/development/snapshot/fields/attestations_directus_users/directus_users_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/attestations_directus_users/directus_users_id.json rename to backend/directus-config/development/snapshot/fields/attestations_directus_users/directus_users_id.json diff --git a/backend/directus-config/snapshot/fields/attestations_directus_users/id.json b/backend/directus-config/development/snapshot/fields/attestations_directus_users/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/attestations_directus_users/id.json rename to backend/directus-config/development/snapshot/fields/attestations_directus_users/id.json diff --git a/backend/directus-config/snapshot/fields/contactInfos/date_created.json b/backend/directus-config/development/snapshot/fields/contactInfos/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/contactInfos/date_created.json rename to backend/directus-config/development/snapshot/fields/contactInfos/date_created.json diff --git a/backend/directus-config/snapshot/fields/contactInfos/date_updated.json b/backend/directus-config/development/snapshot/fields/contactInfos/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/contactInfos/date_updated.json rename to backend/directus-config/development/snapshot/fields/contactInfos/date_updated.json diff --git a/backend/directus-config/snapshot/fields/contactInfos/heading.json b/backend/directus-config/development/snapshot/fields/contactInfos/heading.json similarity index 100% rename from backend/directus-config/snapshot/fields/contactInfos/heading.json rename to backend/directus-config/development/snapshot/fields/contactInfos/heading.json diff --git a/backend/directus-config/snapshot/fields/contactInfos/id.json b/backend/directus-config/development/snapshot/fields/contactInfos/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/contactInfos/id.json rename to backend/directus-config/development/snapshot/fields/contactInfos/id.json diff --git a/backend/directus-config/snapshot/fields/contactInfos/user_created.json b/backend/directus-config/development/snapshot/fields/contactInfos/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/contactInfos/user_created.json rename to backend/directus-config/development/snapshot/fields/contactInfos/user_created.json diff --git a/backend/directus-config/snapshot/fields/contactInfos/user_updated.json b/backend/directus-config/development/snapshot/fields/contactInfos/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/contactInfos/user_updated.json rename to backend/directus-config/development/snapshot/fields/contactInfos/user_updated.json diff --git a/backend/directus-config/snapshot/fields/crowdfundings/date_created.json b/backend/directus-config/development/snapshot/fields/crowdfundings/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/crowdfundings/date_created.json rename to backend/directus-config/development/snapshot/fields/crowdfundings/date_created.json diff --git a/backend/directus-config/snapshot/fields/crowdfundings/date_updated.json b/backend/directus-config/development/snapshot/fields/crowdfundings/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/crowdfundings/date_updated.json rename to backend/directus-config/development/snapshot/fields/crowdfundings/date_updated.json diff --git a/backend/directus-config/snapshot/fields/crowdfundings/id.json b/backend/directus-config/development/snapshot/fields/crowdfundings/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/crowdfundings/id.json rename to backend/directus-config/development/snapshot/fields/crowdfundings/id.json diff --git a/backend/directus-config/snapshot/fields/crowdfundings/user_created.json b/backend/directus-config/development/snapshot/fields/crowdfundings/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/crowdfundings/user_created.json rename to backend/directus-config/development/snapshot/fields/crowdfundings/user_created.json diff --git a/backend/directus-config/snapshot/fields/crowdfundings/user_updated.json b/backend/directus-config/development/snapshot/fields/crowdfundings/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/crowdfundings/user_updated.json rename to backend/directus-config/development/snapshot/fields/crowdfundings/user_updated.json diff --git a/backend/directus-config/snapshot/fields/directus_sync_id_map/created_at.json b/backend/directus-config/development/snapshot/fields/directus_sync_id_map/created_at.json similarity index 100% rename from backend/directus-config/snapshot/fields/directus_sync_id_map/created_at.json rename to backend/directus-config/development/snapshot/fields/directus_sync_id_map/created_at.json diff --git a/backend/directus-config/snapshot/fields/directus_sync_id_map/id.json b/backend/directus-config/development/snapshot/fields/directus_sync_id_map/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/directus_sync_id_map/id.json rename to backend/directus-config/development/snapshot/fields/directus_sync_id_map/id.json diff --git a/backend/directus-config/snapshot/fields/directus_sync_id_map/local_id.json b/backend/directus-config/development/snapshot/fields/directus_sync_id_map/local_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/directus_sync_id_map/local_id.json rename to backend/directus-config/development/snapshot/fields/directus_sync_id_map/local_id.json diff --git a/backend/directus-config/snapshot/fields/directus_sync_id_map/sync_id.json b/backend/directus-config/development/snapshot/fields/directus_sync_id_map/sync_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/directus_sync_id_map/sync_id.json rename to backend/directus-config/development/snapshot/fields/directus_sync_id_map/sync_id.json diff --git a/backend/directus-config/snapshot/fields/directus_sync_id_map/table.json b/backend/directus-config/development/snapshot/fields/directus_sync_id_map/table.json similarity index 100% rename from backend/directus-config/snapshot/fields/directus_sync_id_map/table.json rename to backend/directus-config/development/snapshot/fields/directus_sync_id_map/table.json diff --git a/backend/directus-config/snapshot/fields/directus_users/imported.json b/backend/directus-config/development/snapshot/fields/directus_users/imported.json similarity index 100% rename from backend/directus-config/snapshot/fields/directus_users/imported.json rename to backend/directus-config/development/snapshot/fields/directus_users/imported.json diff --git a/backend/directus-config/snapshot/fields/directus_users/notifications.json b/backend/directus-config/development/snapshot/fields/directus_users/notifications.json similarity index 100% rename from backend/directus-config/snapshot/fields/directus_users/notifications.json rename to backend/directus-config/development/snapshot/fields/directus_users/notifications.json diff --git a/backend/directus-config/snapshot/fields/directus_users/wc_user.json b/backend/directus-config/development/snapshot/fields/directus_users/wc_user.json similarity index 100% rename from backend/directus-config/snapshot/fields/directus_users/wc_user.json rename to backend/directus-config/development/snapshot/fields/directus_users/wc_user.json diff --git a/backend/directus-config/snapshot/fields/features/date_created.json b/backend/directus-config/development/snapshot/fields/features/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/features/date_created.json rename to backend/directus-config/development/snapshot/fields/features/date_created.json diff --git a/backend/directus-config/snapshot/fields/features/date_updated.json b/backend/directus-config/development/snapshot/fields/features/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/features/date_updated.json rename to backend/directus-config/development/snapshot/fields/features/date_updated.json diff --git a/backend/directus-config/snapshot/fields/features/heading.json b/backend/directus-config/development/snapshot/fields/features/heading.json similarity index 100% rename from backend/directus-config/snapshot/fields/features/heading.json rename to backend/directus-config/development/snapshot/fields/features/heading.json diff --git a/backend/directus-config/snapshot/fields/features/id.json b/backend/directus-config/development/snapshot/fields/features/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/features/id.json rename to backend/directus-config/development/snapshot/fields/features/id.json diff --git a/backend/directus-config/snapshot/fields/features/sort.json b/backend/directus-config/development/snapshot/fields/features/sort.json similarity index 100% rename from backend/directus-config/snapshot/fields/features/sort.json rename to backend/directus-config/development/snapshot/fields/features/sort.json diff --git a/backend/directus-config/snapshot/fields/features/status.json b/backend/directus-config/development/snapshot/fields/features/status.json similarity index 100% rename from backend/directus-config/snapshot/fields/features/status.json rename to backend/directus-config/development/snapshot/fields/features/status.json diff --git a/backend/directus-config/snapshot/fields/features/symbol.json b/backend/directus-config/development/snapshot/fields/features/symbol.json similarity index 100% rename from backend/directus-config/snapshot/fields/features/symbol.json rename to backend/directus-config/development/snapshot/fields/features/symbol.json diff --git a/backend/directus-config/snapshot/fields/features/text.json b/backend/directus-config/development/snapshot/fields/features/text.json similarity index 100% rename from backend/directus-config/snapshot/fields/features/text.json rename to backend/directus-config/development/snapshot/fields/features/text.json diff --git a/backend/directus-config/snapshot/fields/features/user_created.json b/backend/directus-config/development/snapshot/fields/features/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/features/user_created.json rename to backend/directus-config/development/snapshot/fields/features/user_created.json diff --git a/backend/directus-config/snapshot/fields/features/user_updated.json b/backend/directus-config/development/snapshot/fields/features/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/features/user_updated.json rename to backend/directus-config/development/snapshot/fields/features/user_updated.json diff --git a/backend/directus-config/snapshot/fields/gallery/date_created.json b/backend/directus-config/development/snapshot/fields/gallery/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/gallery/date_created.json rename to backend/directus-config/development/snapshot/fields/gallery/date_created.json diff --git a/backend/directus-config/snapshot/fields/gallery/date_updated.json b/backend/directus-config/development/snapshot/fields/gallery/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/gallery/date_updated.json rename to backend/directus-config/development/snapshot/fields/gallery/date_updated.json diff --git a/backend/directus-config/snapshot/fields/gallery/hideInputLabel.json b/backend/directus-config/development/snapshot/fields/gallery/hideInputLabel.json similarity index 100% rename from backend/directus-config/snapshot/fields/gallery/hideInputLabel.json rename to backend/directus-config/development/snapshot/fields/gallery/hideInputLabel.json diff --git a/backend/directus-config/snapshot/fields/gallery/id.json b/backend/directus-config/development/snapshot/fields/gallery/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/gallery/id.json rename to backend/directus-config/development/snapshot/fields/gallery/id.json diff --git a/backend/directus-config/snapshot/fields/gallery/user_created.json b/backend/directus-config/development/snapshot/fields/gallery/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/gallery/user_created.json rename to backend/directus-config/development/snapshot/fields/gallery/user_created.json diff --git a/backend/directus-config/snapshot/fields/gallery/user_updated.json b/backend/directus-config/development/snapshot/fields/gallery/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/gallery/user_updated.json rename to backend/directus-config/development/snapshot/fields/gallery/user_updated.json diff --git a/backend/directus-config/snapshot/fields/groupSubheaders/date_created.json b/backend/directus-config/development/snapshot/fields/groupSubheaders/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupSubheaders/date_created.json rename to backend/directus-config/development/snapshot/fields/groupSubheaders/date_created.json diff --git a/backend/directus-config/snapshot/fields/groupSubheaders/date_updated.json b/backend/directus-config/development/snapshot/fields/groupSubheaders/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupSubheaders/date_updated.json rename to backend/directus-config/development/snapshot/fields/groupSubheaders/date_updated.json diff --git a/backend/directus-config/snapshot/fields/groupSubheaders/groupStates.json b/backend/directus-config/development/snapshot/fields/groupSubheaders/groupStates.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupSubheaders/groupStates.json rename to backend/directus-config/development/snapshot/fields/groupSubheaders/groupStates.json diff --git a/backend/directus-config/snapshot/fields/groupSubheaders/groupTypes.json b/backend/directus-config/development/snapshot/fields/groupSubheaders/groupTypes.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupSubheaders/groupTypes.json rename to backend/directus-config/development/snapshot/fields/groupSubheaders/groupTypes.json diff --git a/backend/directus-config/snapshot/fields/groupSubheaders/id.json b/backend/directus-config/development/snapshot/fields/groupSubheaders/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupSubheaders/id.json rename to backend/directus-config/development/snapshot/fields/groupSubheaders/id.json diff --git a/backend/directus-config/snapshot/fields/groupSubheaders/platforms.json b/backend/directus-config/development/snapshot/fields/groupSubheaders/platforms.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupSubheaders/platforms.json rename to backend/directus-config/development/snapshot/fields/groupSubheaders/platforms.json diff --git a/backend/directus-config/snapshot/fields/groupSubheaders/shareBaseUrl.json b/backend/directus-config/development/snapshot/fields/groupSubheaders/shareBaseUrl.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupSubheaders/shareBaseUrl.json rename to backend/directus-config/development/snapshot/fields/groupSubheaders/shareBaseUrl.json diff --git a/backend/directus-config/snapshot/fields/groupSubheaders/user_created.json b/backend/directus-config/development/snapshot/fields/groupSubheaders/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupSubheaders/user_created.json rename to backend/directus-config/development/snapshot/fields/groupSubheaders/user_created.json diff --git a/backend/directus-config/snapshot/fields/groupSubheaders/user_updated.json b/backend/directus-config/development/snapshot/fields/groupSubheaders/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupSubheaders/user_updated.json rename to backend/directus-config/development/snapshot/fields/groupSubheaders/user_updated.json diff --git a/backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/groupSubheaders_id.json b/backend/directus-config/development/snapshot/fields/groupSubheaders_groupTypes/groupSubheaders_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/groupSubheaders_id.json rename to backend/directus-config/development/snapshot/fields/groupSubheaders_groupTypes/groupSubheaders_id.json diff --git a/backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/groupTypes_id.json b/backend/directus-config/development/snapshot/fields/groupSubheaders_groupTypes/groupTypes_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/groupTypes_id.json rename to backend/directus-config/development/snapshot/fields/groupSubheaders_groupTypes/groupTypes_id.json diff --git a/backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/id.json b/backend/directus-config/development/snapshot/fields/groupSubheaders_groupTypes/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/id.json rename to backend/directus-config/development/snapshot/fields/groupSubheaders_groupTypes/id.json diff --git a/backend/directus-config/snapshot/fields/groupTypes/color.json b/backend/directus-config/development/snapshot/fields/groupTypes/color.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupTypes/color.json rename to backend/directus-config/development/snapshot/fields/groupTypes/color.json diff --git a/backend/directus-config/snapshot/fields/groupTypes/date_created.json b/backend/directus-config/development/snapshot/fields/groupTypes/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupTypes/date_created.json rename to backend/directus-config/development/snapshot/fields/groupTypes/date_created.json diff --git a/backend/directus-config/snapshot/fields/groupTypes/date_updated.json b/backend/directus-config/development/snapshot/fields/groupTypes/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupTypes/date_updated.json rename to backend/directus-config/development/snapshot/fields/groupTypes/date_updated.json diff --git a/backend/directus-config/snapshot/fields/groupTypes/id.json b/backend/directus-config/development/snapshot/fields/groupTypes/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupTypes/id.json rename to backend/directus-config/development/snapshot/fields/groupTypes/id.json diff --git a/backend/directus-config/snapshot/fields/groupTypes/image.json b/backend/directus-config/development/snapshot/fields/groupTypes/image.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupTypes/image.json rename to backend/directus-config/development/snapshot/fields/groupTypes/image.json diff --git a/backend/directus-config/snapshot/fields/groupTypes/markerIcon.json b/backend/directus-config/development/snapshot/fields/groupTypes/markerIcon.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupTypes/markerIcon.json rename to backend/directus-config/development/snapshot/fields/groupTypes/markerIcon.json diff --git a/backend/directus-config/snapshot/fields/groupTypes/name.json b/backend/directus-config/development/snapshot/fields/groupTypes/name.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupTypes/name.json rename to backend/directus-config/development/snapshot/fields/groupTypes/name.json diff --git a/backend/directus-config/snapshot/fields/groupTypes/user_created.json b/backend/directus-config/development/snapshot/fields/groupTypes/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupTypes/user_created.json rename to backend/directus-config/development/snapshot/fields/groupTypes/user_created.json diff --git a/backend/directus-config/snapshot/fields/groupTypes/user_updated.json b/backend/directus-config/development/snapshot/fields/groupTypes/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/groupTypes/user_updated.json rename to backend/directus-config/development/snapshot/fields/groupTypes/user_updated.json diff --git a/backend/directus-config/snapshot/fields/inviteLinks/date_created.json b/backend/directus-config/development/snapshot/fields/inviteLinks/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/inviteLinks/date_created.json rename to backend/directus-config/development/snapshot/fields/inviteLinks/date_created.json diff --git a/backend/directus-config/snapshot/fields/inviteLinks/date_updated.json b/backend/directus-config/development/snapshot/fields/inviteLinks/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/inviteLinks/date_updated.json rename to backend/directus-config/development/snapshot/fields/inviteLinks/date_updated.json diff --git a/backend/directus-config/snapshot/fields/inviteLinks/id.json b/backend/directus-config/development/snapshot/fields/inviteLinks/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/inviteLinks/id.json rename to backend/directus-config/development/snapshot/fields/inviteLinks/id.json diff --git a/backend/directus-config/snapshot/fields/inviteLinks/user_created.json b/backend/directus-config/development/snapshot/fields/inviteLinks/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/inviteLinks/user_created.json rename to backend/directus-config/development/snapshot/fields/inviteLinks/user_created.json diff --git a/backend/directus-config/snapshot/fields/inviteLinks/user_updated.json b/backend/directus-config/development/snapshot/fields/inviteLinks/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/inviteLinks/user_updated.json rename to backend/directus-config/development/snapshot/fields/inviteLinks/user_updated.json diff --git a/backend/directus-config/snapshot/fields/itemSecrets/item.json b/backend/directus-config/development/snapshot/fields/itemSecrets/item.json similarity index 100% rename from backend/directus-config/snapshot/fields/itemSecrets/item.json rename to backend/directus-config/development/snapshot/fields/itemSecrets/item.json diff --git a/backend/directus-config/snapshot/fields/itemSecrets/secret.json b/backend/directus-config/development/snapshot/fields/itemSecrets/secret.json similarity index 100% rename from backend/directus-config/snapshot/fields/itemSecrets/secret.json rename to backend/directus-config/development/snapshot/fields/itemSecrets/secret.json diff --git a/backend/directus-config/snapshot/fields/items/color.json b/backend/directus-config/development/snapshot/fields/items/color.json similarity index 100% rename from backend/directus-config/snapshot/fields/items/color.json rename to backend/directus-config/development/snapshot/fields/items/color.json diff --git a/backend/directus-config/snapshot/fields/items/contact.json b/backend/directus-config/development/snapshot/fields/items/contact.json similarity index 98% rename from backend/directus-config/snapshot/fields/items/contact.json rename to backend/directus-config/development/snapshot/fields/items/contact.json index 134476af..8c27b97b 100644 --- a/backend/directus-config/snapshot/fields/items/contact.json +++ b/backend/directus-config/development/snapshot/fields/items/contact.json @@ -15,7 +15,7 @@ "options": null, "readonly": false, "required": false, - "sort": 22, + "sort": 23, "special": null, "translations": null, "validation": null, diff --git a/backend/directus-config/snapshot/fields/items/date_created.json b/backend/directus-config/development/snapshot/fields/items/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/items/date_created.json rename to backend/directus-config/development/snapshot/fields/items/date_created.json diff --git a/backend/directus-config/snapshot/fields/items/date_updated.json b/backend/directus-config/development/snapshot/fields/items/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/items/date_updated.json rename to backend/directus-config/development/snapshot/fields/items/date_updated.json diff --git a/backend/directus-config/snapshot/fields/items/draft.json b/backend/directus-config/development/snapshot/fields/items/draft.json similarity index 98% rename from backend/directus-config/snapshot/fields/items/draft.json rename to backend/directus-config/development/snapshot/fields/items/draft.json index 6aeb1087..b97a6aa9 100644 --- a/backend/directus-config/snapshot/fields/items/draft.json +++ b/backend/directus-config/development/snapshot/fields/items/draft.json @@ -15,7 +15,7 @@ "options": null, "readonly": false, "required": false, - "sort": 26, + "sort": 31, "special": [ "cast-boolean" ], diff --git a/backend/directus-config/snapshot/fields/items/end.json b/backend/directus-config/development/snapshot/fields/items/end.json similarity index 98% rename from backend/directus-config/snapshot/fields/items/end.json rename to backend/directus-config/development/snapshot/fields/items/end.json index b8cec526..5c3198a7 100644 --- a/backend/directus-config/snapshot/fields/items/end.json +++ b/backend/directus-config/development/snapshot/fields/items/end.json @@ -15,7 +15,7 @@ "options": null, "readonly": false, "required": false, - "sort": 16, + "sort": 17, "special": null, "translations": null, "validation": null, diff --git a/backend/directus-config/snapshot/fields/layers/menuIcon.json b/backend/directus-config/development/snapshot/fields/items/extended.json similarity index 57% rename from backend/directus-config/snapshot/fields/layers/menuIcon.json rename to backend/directus-config/development/snapshot/fields/items/extended.json index 74ccc330..d8bb68b1 100644 --- a/backend/directus-config/snapshot/fields/layers/menuIcon.json +++ b/backend/directus-config/development/snapshot/fields/items/extended.json @@ -1,35 +1,33 @@ { - "collection": "layers", - "field": "menuIcon", - "type": "uuid", + "collection": "items", + "field": "extended", + "type": "json", "meta": { - "collection": "layers", + "collection": "items", "conditions": null, "display": null, "display_options": null, - "field": "menuIcon", - "group": "Add_Button", + "field": "extended", + "group": null, "hidden": false, - "interface": "file-image", + "interface": "input-code", "note": null, - "options": { - "folder": "a97106b4-218b-45df-adc9-36184886e285" - }, + "options": null, "readonly": false, "required": false, - "sort": 2, + "sort": 33, "special": [ - "file" + "cast-json" ], "translations": null, "validation": null, "validation_message": null, - "width": "half" + "width": "full" }, "schema": { - "name": "menuIcon", - "table": "layers", - "data_type": "uuid", + "name": "extended", + "table": "items", + "data_type": "json", "default_value": null, "max_length": null, "numeric_precision": null, @@ -41,7 +39,7 @@ "is_generated": false, "generation_expression": null, "has_auto_increment": false, - "foreign_key_table": "directus_files", - "foreign_key_column": "id" + "foreign_key_table": null, + "foreign_key_column": null } } diff --git a/backend/directus-config/snapshot/fields/items/gallery.json b/backend/directus-config/development/snapshot/fields/items/gallery.json similarity index 97% rename from backend/directus-config/snapshot/fields/items/gallery.json rename to backend/directus-config/development/snapshot/fields/items/gallery.json index 89782e56..ae32b0fa 100644 --- a/backend/directus-config/snapshot/fields/items/gallery.json +++ b/backend/directus-config/development/snapshot/fields/items/gallery.json @@ -17,7 +17,7 @@ }, "readonly": false, "required": false, - "sort": 24, + "sort": 29, "special": [ "files" ], diff --git a/backend/directus-config/snapshot/fields/items/group_type.json b/backend/directus-config/development/snapshot/fields/items/group_type.json similarity index 96% rename from backend/directus-config/snapshot/fields/items/group_type.json rename to backend/directus-config/development/snapshot/fields/items/group_type.json index d853273e..64d09919 100644 --- a/backend/directus-config/snapshot/fields/items/group_type.json +++ b/backend/directus-config/development/snapshot/fields/items/group_type.json @@ -8,7 +8,7 @@ "display": null, "display_options": null, "field": "group_type", - "group": "Wuederkompass", + "group": null, "hidden": false, "interface": null, "note": null, @@ -30,7 +30,7 @@ }, "readonly": false, "required": false, - "sort": 3, + "sort": 26, "special": null, "translations": null, "validation": null, diff --git a/backend/directus-config/snapshot/fields/items/id.json b/backend/directus-config/development/snapshot/fields/items/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items/id.json rename to backend/directus-config/development/snapshot/fields/items/id.json diff --git a/backend/directus-config/snapshot/fields/items/image.json b/backend/directus-config/development/snapshot/fields/items/image.json similarity index 100% rename from backend/directus-config/snapshot/fields/items/image.json rename to backend/directus-config/development/snapshot/fields/items/image.json diff --git a/backend/directus-config/development/snapshot/fields/items/image_external.json b/backend/directus-config/development/snapshot/fields/items/image_external.json new file mode 100644 index 00000000..14251149 --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/items/image_external.json @@ -0,0 +1,43 @@ +{ + "collection": "items", + "field": "image_external", + "type": "string", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "image_external", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 12, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "image_external", + "table": "items", + "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/snapshot/fields/items/layer.json b/backend/directus-config/development/snapshot/fields/items/layer.json similarity index 98% rename from backend/directus-config/snapshot/fields/items/layer.json rename to backend/directus-config/development/snapshot/fields/items/layer.json index 37d604f7..3a0ea8ef 100644 --- a/backend/directus-config/snapshot/fields/items/layer.json +++ b/backend/directus-config/development/snapshot/fields/items/layer.json @@ -17,7 +17,7 @@ }, "readonly": false, "required": false, - "sort": 12, + "sort": 13, "special": [ "m2o" ], diff --git a/backend/directus-config/snapshot/fields/items/markerIcon.json b/backend/directus-config/development/snapshot/fields/items/markerIcon.json similarity index 98% rename from backend/directus-config/snapshot/fields/items/markerIcon.json rename to backend/directus-config/development/snapshot/fields/items/markerIcon.json index d7c9546d..341fe01c 100644 --- a/backend/directus-config/snapshot/fields/items/markerIcon.json +++ b/backend/directus-config/development/snapshot/fields/items/markerIcon.json @@ -17,7 +17,7 @@ }, "readonly": false, "required": false, - "sort": 20, + "sort": 21, "special": [ "m2o" ], diff --git a/backend/directus-config/snapshot/fields/items/name.json b/backend/directus-config/development/snapshot/fields/items/name.json similarity index 100% rename from backend/directus-config/snapshot/fields/items/name.json rename to backend/directus-config/development/snapshot/fields/items/name.json diff --git a/backend/directus-config/snapshot/fields/items/needs.json b/backend/directus-config/development/snapshot/fields/items/needs.json similarity index 97% rename from backend/directus-config/snapshot/fields/items/needs.json rename to backend/directus-config/development/snapshot/fields/items/needs.json index 7c349d2d..e4874544 100644 --- a/backend/directus-config/snapshot/fields/items/needs.json +++ b/backend/directus-config/development/snapshot/fields/items/needs.json @@ -18,7 +18,7 @@ }, "readonly": false, "required": false, - "sort": 18, + "sort": 19, "special": [ "m2m" ], diff --git a/backend/directus-config/snapshot/fields/items/next_appointment.json b/backend/directus-config/development/snapshot/fields/items/next_appointment.json similarity index 95% rename from backend/directus-config/snapshot/fields/items/next_appointment.json rename to backend/directus-config/development/snapshot/fields/items/next_appointment.json index f1925441..999659f5 100644 --- a/backend/directus-config/snapshot/fields/items/next_appointment.json +++ b/backend/directus-config/development/snapshot/fields/items/next_appointment.json @@ -8,14 +8,14 @@ "display": null, "display_options": null, "field": "next_appointment", - "group": "Wuederkompass", + "group": null, "hidden": false, "interface": "input-rich-text-md", "note": null, "options": null, "readonly": false, "required": false, - "sort": 4, + "sort": 27, "special": null, "translations": null, "validation": null, diff --git a/backend/directus-config/snapshot/fields/items/offers.json b/backend/directus-config/development/snapshot/fields/items/offers.json similarity index 97% rename from backend/directus-config/snapshot/fields/items/offers.json rename to backend/directus-config/development/snapshot/fields/items/offers.json index 57a65cd1..d0b182e7 100644 --- a/backend/directus-config/snapshot/fields/items/offers.json +++ b/backend/directus-config/development/snapshot/fields/items/offers.json @@ -18,7 +18,7 @@ }, "readonly": false, "required": false, - "sort": 17, + "sort": 18, "special": [ "m2m" ], diff --git a/backend/directus-config/snapshot/fields/items/openCollectiveSlug.json b/backend/directus-config/development/snapshot/fields/items/openCollectiveSlug.json similarity index 98% rename from backend/directus-config/snapshot/fields/items/openCollectiveSlug.json rename to backend/directus-config/development/snapshot/fields/items/openCollectiveSlug.json index 4c349f81..e442e55f 100644 --- a/backend/directus-config/snapshot/fields/items/openCollectiveSlug.json +++ b/backend/directus-config/development/snapshot/fields/items/openCollectiveSlug.json @@ -15,7 +15,7 @@ "options": null, "readonly": false, "required": false, - "sort": 25, + "sort": 30, "special": null, "translations": null, "validation": null, diff --git a/backend/directus-config/snapshot/fields/items/parent.json b/backend/directus-config/development/snapshot/fields/items/parent.json similarity index 98% rename from backend/directus-config/snapshot/fields/items/parent.json rename to backend/directus-config/development/snapshot/fields/items/parent.json index 241ff22a..99c531e0 100644 --- a/backend/directus-config/snapshot/fields/items/parent.json +++ b/backend/directus-config/development/snapshot/fields/items/parent.json @@ -18,7 +18,7 @@ }, "readonly": false, "required": false, - "sort": 14, + "sort": 15, "special": [ "m2o" ], diff --git a/backend/directus-config/snapshot/fields/items/position.json b/backend/directus-config/development/snapshot/fields/items/position.json similarity index 97% rename from backend/directus-config/snapshot/fields/items/position.json rename to backend/directus-config/development/snapshot/fields/items/position.json index 9d7efbee..7b4ccc89 100644 --- a/backend/directus-config/snapshot/fields/items/position.json +++ b/backend/directus-config/development/snapshot/fields/items/position.json @@ -10,7 +10,7 @@ "field": "position", "group": null, "hidden": false, - "interface": "map", + "interface": null, "note": null, "options": { "defaultView": { diff --git a/backend/directus-config/snapshot/fields/items/public_edit.json b/backend/directus-config/development/snapshot/fields/items/public_edit.json similarity index 98% rename from backend/directus-config/snapshot/fields/items/public_edit.json rename to backend/directus-config/development/snapshot/fields/items/public_edit.json index fd5bd0db..a77b207f 100644 --- a/backend/directus-config/snapshot/fields/items/public_edit.json +++ b/backend/directus-config/development/snapshot/fields/items/public_edit.json @@ -15,7 +15,7 @@ "options": null, "readonly": false, "required": false, - "sort": 19, + "sort": 20, "special": [ "cast-boolean" ], diff --git a/backend/directus-config/snapshot/fields/items/relations.json b/backend/directus-config/development/snapshot/fields/items/relations.json similarity index 97% rename from backend/directus-config/snapshot/fields/items/relations.json rename to backend/directus-config/development/snapshot/fields/items/relations.json index 3f91f4c3..02d54c58 100644 --- a/backend/directus-config/snapshot/fields/items/relations.json +++ b/backend/directus-config/development/snapshot/fields/items/relations.json @@ -18,7 +18,7 @@ }, "readonly": false, "required": false, - "sort": 13, + "sort": 14, "special": [ "m2m" ], diff --git a/backend/directus-config/snapshot/fields/items/secrets.json b/backend/directus-config/development/snapshot/fields/items/secrets.json similarity index 96% rename from backend/directus-config/snapshot/fields/items/secrets.json rename to backend/directus-config/development/snapshot/fields/items/secrets.json index 7310cef3..9cefb5a0 100644 --- a/backend/directus-config/snapshot/fields/items/secrets.json +++ b/backend/directus-config/development/snapshot/fields/items/secrets.json @@ -15,7 +15,7 @@ "options": null, "readonly": false, "required": false, - "sort": 27, + "sort": 32, "special": [ "o2m" ], diff --git a/backend/directus-config/snapshot/fields/items/slug.json b/backend/directus-config/development/snapshot/fields/items/slug.json similarity index 98% rename from backend/directus-config/snapshot/fields/items/slug.json rename to backend/directus-config/development/snapshot/fields/items/slug.json index a47271bf..0491e7de 100644 --- a/backend/directus-config/snapshot/fields/items/slug.json +++ b/backend/directus-config/development/snapshot/fields/items/slug.json @@ -17,7 +17,7 @@ }, "readonly": false, "required": false, - "sort": 21, + "sort": 22, "special": null, "translations": null, "validation": null, diff --git a/backend/directus-config/snapshot/fields/items/start.json b/backend/directus-config/development/snapshot/fields/items/start.json similarity index 98% rename from backend/directus-config/snapshot/fields/items/start.json rename to backend/directus-config/development/snapshot/fields/items/start.json index ae51e678..a60c1b01 100644 --- a/backend/directus-config/snapshot/fields/items/start.json +++ b/backend/directus-config/development/snapshot/fields/items/start.json @@ -15,7 +15,7 @@ "options": null, "readonly": false, "required": false, - "sort": 15, + "sort": 16, "special": null, "translations": null, "validation": null, diff --git a/backend/directus-config/snapshot/fields/items/status.json b/backend/directus-config/development/snapshot/fields/items/status.json similarity index 96% rename from backend/directus-config/snapshot/fields/items/status.json rename to backend/directus-config/development/snapshot/fields/items/status.json index 1fc413d1..36c69c41 100644 --- a/backend/directus-config/snapshot/fields/items/status.json +++ b/backend/directus-config/development/snapshot/fields/items/status.json @@ -8,7 +8,7 @@ "display": null, "display_options": null, "field": "status", - "group": "Wuederkompass", + "group": null, "hidden": false, "interface": null, "note": null, @@ -30,7 +30,7 @@ }, "readonly": false, "required": false, - "sort": 1, + "sort": 24, "special": null, "translations": null, "validation": null, diff --git a/backend/directus-config/snapshot/fields/items/subname.json b/backend/directus-config/development/snapshot/fields/items/subname.json similarity index 100% rename from backend/directus-config/snapshot/fields/items/subname.json rename to backend/directus-config/development/snapshot/fields/items/subname.json diff --git a/backend/directus-config/snapshot/fields/items/telephone.json b/backend/directus-config/development/snapshot/fields/items/telephone.json similarity index 95% rename from backend/directus-config/snapshot/fields/items/telephone.json rename to backend/directus-config/development/snapshot/fields/items/telephone.json index 21c7568e..6deb99fd 100644 --- a/backend/directus-config/snapshot/fields/items/telephone.json +++ b/backend/directus-config/development/snapshot/fields/items/telephone.json @@ -8,14 +8,14 @@ "display": null, "display_options": null, "field": "telephone", - "group": "Wuederkompass", + "group": null, "hidden": false, "interface": "input", "note": null, "options": null, "readonly": false, "required": false, - "sort": 2, + "sort": 25, "special": null, "translations": null, "validation": null, diff --git a/backend/directus-config/snapshot/fields/items/text.json b/backend/directus-config/development/snapshot/fields/items/text.json similarity index 100% rename from backend/directus-config/snapshot/fields/items/text.json rename to backend/directus-config/development/snapshot/fields/items/text.json diff --git a/backend/directus-config/snapshot/fields/items/user_created.json b/backend/directus-config/development/snapshot/fields/items/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/items/user_created.json rename to backend/directus-config/development/snapshot/fields/items/user_created.json diff --git a/backend/directus-config/snapshot/fields/items/user_updated.json b/backend/directus-config/development/snapshot/fields/items/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/items/user_updated.json rename to backend/directus-config/development/snapshot/fields/items/user_updated.json diff --git a/backend/directus-config/snapshot/fields/items_files/directus_files_id.json b/backend/directus-config/development/snapshot/fields/items_files/directus_files_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_files/directus_files_id.json rename to backend/directus-config/development/snapshot/fields/items_files/directus_files_id.json diff --git a/backend/directus-config/snapshot/fields/items_files/id.json b/backend/directus-config/development/snapshot/fields/items_files/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_files/id.json rename to backend/directus-config/development/snapshot/fields/items_files/id.json diff --git a/backend/directus-config/snapshot/fields/items_files/items_id.json b/backend/directus-config/development/snapshot/fields/items_files/items_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_files/items_id.json rename to backend/directus-config/development/snapshot/fields/items_files/items_id.json diff --git a/backend/directus-config/snapshot/fields/items_items/id.json b/backend/directus-config/development/snapshot/fields/items_items/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_items/id.json rename to backend/directus-config/development/snapshot/fields/items_items/id.json diff --git a/backend/directus-config/snapshot/fields/items_items/items_id.json b/backend/directus-config/development/snapshot/fields/items_items/items_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_items/items_id.json rename to backend/directus-config/development/snapshot/fields/items_items/items_id.json diff --git a/backend/directus-config/snapshot/fields/items_items/related_items_id.json b/backend/directus-config/development/snapshot/fields/items_items/related_items_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_items/related_items_id.json rename to backend/directus-config/development/snapshot/fields/items_items/related_items_id.json diff --git a/backend/directus-config/snapshot/fields/items_items/type.json b/backend/directus-config/development/snapshot/fields/items_items/type.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_items/type.json rename to backend/directus-config/development/snapshot/fields/items_items/type.json diff --git a/backend/directus-config/snapshot/fields/items_tags/id.json b/backend/directus-config/development/snapshot/fields/items_tags/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_tags/id.json rename to backend/directus-config/development/snapshot/fields/items_tags/id.json diff --git a/backend/directus-config/snapshot/fields/items_tags/items_id.json b/backend/directus-config/development/snapshot/fields/items_tags/items_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_tags/items_id.json rename to backend/directus-config/development/snapshot/fields/items_tags/items_id.json diff --git a/backend/directus-config/snapshot/fields/items_tags/tags_id.json b/backend/directus-config/development/snapshot/fields/items_tags/tags_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_tags/tags_id.json rename to backend/directus-config/development/snapshot/fields/items_tags/tags_id.json diff --git a/backend/directus-config/snapshot/fields/items_tags_1/id.json b/backend/directus-config/development/snapshot/fields/items_tags_1/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_tags_1/id.json rename to backend/directus-config/development/snapshot/fields/items_tags_1/id.json diff --git a/backend/directus-config/snapshot/fields/items_tags_1/items_id.json b/backend/directus-config/development/snapshot/fields/items_tags_1/items_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_tags_1/items_id.json rename to backend/directus-config/development/snapshot/fields/items_tags_1/items_id.json diff --git a/backend/directus-config/snapshot/fields/items_tags_1/tags_id.json b/backend/directus-config/development/snapshot/fields/items_tags_1/tags_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/items_tags_1/tags_id.json rename to backend/directus-config/development/snapshot/fields/items_tags_1/tags_id.json diff --git a/backend/directus-config/snapshot/fields/junction_directus_users_tags/directus_users_id.json b/backend/directus-config/development/snapshot/fields/junction_directus_users_tags/directus_users_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/junction_directus_users_tags/directus_users_id.json rename to backend/directus-config/development/snapshot/fields/junction_directus_users_tags/directus_users_id.json diff --git a/backend/directus-config/snapshot/fields/junction_directus_users_tags/id.json b/backend/directus-config/development/snapshot/fields/junction_directus_users_tags/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/junction_directus_users_tags/id.json rename to backend/directus-config/development/snapshot/fields/junction_directus_users_tags/id.json diff --git a/backend/directus-config/snapshot/fields/junction_directus_users_tags/tags_id.json b/backend/directus-config/development/snapshot/fields/junction_directus_users_tags/tags_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/junction_directus_users_tags/tags_id.json rename to backend/directus-config/development/snapshot/fields/junction_directus_users_tags/tags_id.json diff --git a/backend/directus-config/snapshot/fields/junction_directus_users_tags_1/directus_users_id.json b/backend/directus-config/development/snapshot/fields/junction_directus_users_tags_1/directus_users_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/junction_directus_users_tags_1/directus_users_id.json rename to backend/directus-config/development/snapshot/fields/junction_directus_users_tags_1/directus_users_id.json diff --git a/backend/directus-config/snapshot/fields/junction_directus_users_tags_1/id.json b/backend/directus-config/development/snapshot/fields/junction_directus_users_tags_1/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/junction_directus_users_tags_1/id.json rename to backend/directus-config/development/snapshot/fields/junction_directus_users_tags_1/id.json diff --git a/backend/directus-config/snapshot/fields/junction_directus_users_tags_1/tags_id.json b/backend/directus-config/development/snapshot/fields/junction_directus_users_tags_1/tags_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/junction_directus_users_tags_1/tags_id.json rename to backend/directus-config/development/snapshot/fields/junction_directus_users_tags_1/tags_id.json diff --git a/backend/directus-config/snapshot/fields/layers/Marker.json b/backend/directus-config/development/snapshot/fields/layers/Marker.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/Marker.json rename to backend/directus-config/development/snapshot/fields/layers/Marker.json diff --git a/backend/directus-config/snapshot/fields/layers/divider-yaul5v.json b/backend/directus-config/development/snapshot/fields/layers/divider-yaul5v.json similarity index 97% rename from backend/directus-config/snapshot/fields/layers/divider-yaul5v.json rename to backend/directus-config/development/snapshot/fields/layers/divider-yaul5v.json index 00be3c0a..d4aebc91 100644 --- a/backend/directus-config/snapshot/fields/layers/divider-yaul5v.json +++ b/backend/directus-config/development/snapshot/fields/layers/divider-yaul5v.json @@ -15,7 +15,7 @@ "options": null, "readonly": false, "required": false, - "sort": 9, + "sort": 10, "special": [ "alias", "no-data" diff --git a/backend/directus-config/snapshot/fields/layers/id.json b/backend/directus-config/development/snapshot/fields/layers/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/id.json rename to backend/directus-config/development/snapshot/fields/layers/id.json diff --git a/backend/directus-config/snapshot/fields/layers/index_plus_button.json b/backend/directus-config/development/snapshot/fields/layers/index_plus_button.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/index_plus_button.json rename to backend/directus-config/development/snapshot/fields/layers/index_plus_button.json diff --git a/backend/directus-config/snapshot/fields/layers/itemType.json b/backend/directus-config/development/snapshot/fields/layers/itemType.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/itemType.json rename to backend/directus-config/development/snapshot/fields/layers/itemType.json diff --git a/backend/directus-config/snapshot/fields/layers/item_presets.json b/backend/directus-config/development/snapshot/fields/layers/item_presets.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/item_presets.json rename to backend/directus-config/development/snapshot/fields/layers/item_presets.json diff --git a/backend/directus-config/snapshot/fields/layers/listed.json b/backend/directus-config/development/snapshot/fields/layers/listed.json similarity index 97% rename from backend/directus-config/snapshot/fields/layers/listed.json rename to backend/directus-config/development/snapshot/fields/layers/listed.json index 2881da64..9ffbbf4d 100644 --- a/backend/directus-config/snapshot/fields/layers/listed.json +++ b/backend/directus-config/development/snapshot/fields/layers/listed.json @@ -9,7 +9,7 @@ "display_options": null, "field": "listed", "group": null, - "hidden": false, + "hidden": true, "interface": "boolean", "note": null, "options": null, diff --git a/backend/directus-config/snapshot/fields/layers/maps.json b/backend/directus-config/development/snapshot/fields/layers/maps.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/maps.json rename to backend/directus-config/development/snapshot/fields/layers/maps.json diff --git a/backend/directus-config/snapshot/fields/layers/markerDefaultColor2.json b/backend/directus-config/development/snapshot/fields/layers/markerDefaultColor2.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/markerDefaultColor2.json rename to backend/directus-config/development/snapshot/fields/layers/markerDefaultColor2.json diff --git a/backend/directus-config/snapshot/fields/layers/markerIcon.json b/backend/directus-config/development/snapshot/fields/layers/markerIcon.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/markerIcon.json rename to backend/directus-config/development/snapshot/fields/layers/markerIcon.json diff --git a/backend/directus-config/snapshot/fields/layers/markerShape.json b/backend/directus-config/development/snapshot/fields/layers/markerShape.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/markerShape.json rename to backend/directus-config/development/snapshot/fields/layers/markerShape.json diff --git a/backend/directus-config/snapshot/fields/layers/menuColor.json b/backend/directus-config/development/snapshot/fields/layers/menuColor.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/menuColor.json rename to backend/directus-config/development/snapshot/fields/layers/menuColor.json diff --git a/backend/directus-config/snapshot/fields/layers/menuText.json b/backend/directus-config/development/snapshot/fields/layers/menuText.json similarity index 95% rename from backend/directus-config/snapshot/fields/layers/menuText.json rename to backend/directus-config/development/snapshot/fields/layers/menuText.json index 62cd2dc3..32d3d0e2 100644 --- a/backend/directus-config/snapshot/fields/layers/menuText.json +++ b/backend/directus-config/development/snapshot/fields/layers/menuText.json @@ -8,14 +8,14 @@ "display": null, "display_options": null, "field": "menuText", - "group": "Add_Button", + "group": null, "hidden": false, "interface": "input", "note": null, "options": null, "readonly": false, "required": false, - "sort": 1, + "sort": 8, "special": null, "translations": null, "validation": null, diff --git a/backend/directus-config/snapshot/fields/layers/name.json b/backend/directus-config/development/snapshot/fields/layers/name.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/name.json rename to backend/directus-config/development/snapshot/fields/layers/name.json diff --git a/backend/directus-config/snapshot/fields/layers/notifications.json b/backend/directus-config/development/snapshot/fields/layers/notifications.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/notifications.json rename to backend/directus-config/development/snapshot/fields/layers/notifications.json diff --git a/backend/directus-config/snapshot/fields/layers/onlyOnePerOwner.json b/backend/directus-config/development/snapshot/fields/layers/onlyOnePerOwner.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/onlyOnePerOwner.json rename to backend/directus-config/development/snapshot/fields/layers/onlyOnePerOwner.json diff --git a/backend/directus-config/snapshot/fields/layers/public_edit_items.json b/backend/directus-config/development/snapshot/fields/layers/public_edit_items.json similarity index 97% rename from backend/directus-config/snapshot/fields/layers/public_edit_items.json rename to backend/directus-config/development/snapshot/fields/layers/public_edit_items.json index 4a796acb..22e8e3ea 100644 --- a/backend/directus-config/snapshot/fields/layers/public_edit_items.json +++ b/backend/directus-config/development/snapshot/fields/layers/public_edit_items.json @@ -9,7 +9,7 @@ "display_options": null, "field": "public_edit_items", "group": null, - "hidden": false, + "hidden": true, "interface": "boolean", "note": null, "options": null, diff --git a/backend/directus-config/development/snapshot/fields/layers/sort.json b/backend/directus-config/development/snapshot/fields/layers/sort.json new file mode 100644 index 00000000..c5b222a2 --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/layers/sort.json @@ -0,0 +1,43 @@ +{ + "collection": "layers", + "field": "sort", + "type": "integer", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "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": "half" + }, + "schema": { + "name": "sort", + "table": "layers", + "data_type": "integer", + "default_value": 10, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "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/snapshot/fields/layers/userProfileLayer.json b/backend/directus-config/development/snapshot/fields/layers/userProfileLayer.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers/userProfileLayer.json rename to backend/directus-config/development/snapshot/fields/layers/userProfileLayer.json diff --git a/backend/directus-config/snapshot/fields/layers_directus_users_1/directus_users_id.json b/backend/directus-config/development/snapshot/fields/layers_directus_users_1/directus_users_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers_directus_users_1/directus_users_id.json rename to backend/directus-config/development/snapshot/fields/layers_directus_users_1/directus_users_id.json diff --git a/backend/directus-config/snapshot/fields/layers_directus_users_1/id.json b/backend/directus-config/development/snapshot/fields/layers_directus_users_1/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers_directus_users_1/id.json rename to backend/directus-config/development/snapshot/fields/layers_directus_users_1/id.json diff --git a/backend/directus-config/snapshot/fields/layers_directus_users_1/layers_id.json b/backend/directus-config/development/snapshot/fields/layers_directus_users_1/layers_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers_directus_users_1/layers_id.json rename to backend/directus-config/development/snapshot/fields/layers_directus_users_1/layers_id.json diff --git a/backend/directus-config/snapshot/fields/layers_files/directus_files_id.json b/backend/directus-config/development/snapshot/fields/layers_files/directus_files_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers_files/directus_files_id.json rename to backend/directus-config/development/snapshot/fields/layers_files/directus_files_id.json diff --git a/backend/directus-config/snapshot/fields/layers_files/id.json b/backend/directus-config/development/snapshot/fields/layers_files/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers_files/id.json rename to backend/directus-config/development/snapshot/fields/layers_files/id.json diff --git a/backend/directus-config/snapshot/fields/layers_files/layers_id.json b/backend/directus-config/development/snapshot/fields/layers_files/layers_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers_files/layers_id.json rename to backend/directus-config/development/snapshot/fields/layers_files/layers_id.json diff --git a/backend/directus-config/snapshot/fields/layers_maps/id.json b/backend/directus-config/development/snapshot/fields/layers_maps/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers_maps/id.json rename to backend/directus-config/development/snapshot/fields/layers_maps/id.json diff --git a/backend/directus-config/snapshot/fields/layers_maps/layers_id.json b/backend/directus-config/development/snapshot/fields/layers_maps/layers_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers_maps/layers_id.json rename to backend/directus-config/development/snapshot/fields/layers_maps/layers_id.json diff --git a/backend/directus-config/snapshot/fields/layers_maps/maps_id.json b/backend/directus-config/development/snapshot/fields/layers_maps/maps_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/layers_maps/maps_id.json rename to backend/directus-config/development/snapshot/fields/layers_maps/maps_id.json diff --git a/backend/directus-config/snapshot/fields/maps/Controls.json b/backend/directus-config/development/snapshot/fields/maps/Controls.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/Controls.json rename to backend/directus-config/development/snapshot/fields/maps/Controls.json diff --git a/backend/directus-config/snapshot/fields/maps/Presets.json b/backend/directus-config/development/snapshot/fields/maps/Presets.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/Presets.json rename to backend/directus-config/development/snapshot/fields/maps/Presets.json diff --git a/backend/directus-config/snapshot/fields/maps/center.json b/backend/directus-config/development/snapshot/fields/maps/center.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/center.json rename to backend/directus-config/development/snapshot/fields/maps/center.json diff --git a/backend/directus-config/snapshot/fields/maps/custom_text.json b/backend/directus-config/development/snapshot/fields/maps/custom_text.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/custom_text.json rename to backend/directus-config/development/snapshot/fields/maps/custom_text.json diff --git a/backend/directus-config/snapshot/fields/maps/default_theme.json b/backend/directus-config/development/snapshot/fields/maps/default_theme.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/default_theme.json rename to backend/directus-config/development/snapshot/fields/maps/default_theme.json diff --git a/backend/directus-config/snapshot/fields/maps/donation_widget.json b/backend/directus-config/development/snapshot/fields/maps/donation_widget.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/donation_widget.json rename to backend/directus-config/development/snapshot/fields/maps/donation_widget.json diff --git a/backend/directus-config/snapshot/fields/maps/expand_layer_control.json b/backend/directus-config/development/snapshot/fields/maps/expand_layer_control.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/expand_layer_control.json rename to backend/directus-config/development/snapshot/fields/maps/expand_layer_control.json diff --git a/backend/directus-config/snapshot/fields/maps/geo.json b/backend/directus-config/development/snapshot/fields/maps/geo.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/geo.json rename to backend/directus-config/development/snapshot/fields/maps/geo.json diff --git a/backend/directus-config/development/snapshot/fields/maps/hide_signup.json b/backend/directus-config/development/snapshot/fields/maps/hide_signup.json new file mode 100644 index 00000000..0656ea6c --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/maps/hide_signup.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "hide_signup", + "type": "boolean", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "hide_signup", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 17, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "hide_signup", + "table": "maps", + "data_type": "boolean", + "default_value": false, + "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/snapshot/fields/maps/id.json b/backend/directus-config/development/snapshot/fields/maps/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/id.json rename to backend/directus-config/development/snapshot/fields/maps/id.json diff --git a/backend/directus-config/snapshot/fields/maps/info_open.json b/backend/directus-config/development/snapshot/fields/maps/info_open.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/info_open.json rename to backend/directus-config/development/snapshot/fields/maps/info_open.json diff --git a/backend/directus-config/snapshot/fields/maps/layers.json b/backend/directus-config/development/snapshot/fields/maps/layers.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/layers.json rename to backend/directus-config/development/snapshot/fields/maps/layers.json diff --git a/backend/directus-config/snapshot/fields/maps/logo.json b/backend/directus-config/development/snapshot/fields/maps/logo.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/logo.json rename to backend/directus-config/development/snapshot/fields/maps/logo.json diff --git a/backend/directus-config/snapshot/fields/maps/name.json b/backend/directus-config/development/snapshot/fields/maps/name.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/name.json rename to backend/directus-config/development/snapshot/fields/maps/name.json diff --git a/backend/directus-config/snapshot/fields/maps/own_tag_space.json b/backend/directus-config/development/snapshot/fields/maps/own_tag_space.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/own_tag_space.json rename to backend/directus-config/development/snapshot/fields/maps/own_tag_space.json diff --git a/backend/directus-config/snapshot/fields/maps/show_filter_control.json b/backend/directus-config/development/snapshot/fields/maps/show_filter_control.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/show_filter_control.json rename to backend/directus-config/development/snapshot/fields/maps/show_filter_control.json diff --git a/backend/directus-config/snapshot/fields/maps/show_gratitude_control.json b/backend/directus-config/development/snapshot/fields/maps/show_gratitude_control.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/show_gratitude_control.json rename to backend/directus-config/development/snapshot/fields/maps/show_gratitude_control.json diff --git a/backend/directus-config/snapshot/fields/maps/show_layer_control.json b/backend/directus-config/development/snapshot/fields/maps/show_layer_control.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/show_layer_control.json rename to backend/directus-config/development/snapshot/fields/maps/show_layer_control.json diff --git a/backend/directus-config/development/snapshot/fields/maps/show_request_password.json b/backend/directus-config/development/snapshot/fields/maps/show_request_password.json new file mode 100644 index 00000000..276a251b --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/maps/show_request_password.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "show_request_password", + "type": "boolean", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_request_password", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 18, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "show_request_password", + "table": "maps", + "data_type": "boolean", + "default_value": false, + "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/snapshot/fields/maps/show_theme_control.json b/backend/directus-config/development/snapshot/fields/maps/show_theme_control.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/show_theme_control.json rename to backend/directus-config/development/snapshot/fields/maps/show_theme_control.json diff --git a/backend/directus-config/snapshot/fields/maps/show_zoom_control.json b/backend/directus-config/development/snapshot/fields/maps/show_zoom_control.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/show_zoom_control.json rename to backend/directus-config/development/snapshot/fields/maps/show_zoom_control.json diff --git a/backend/directus-config/snapshot/fields/maps/tile_server.json b/backend/directus-config/development/snapshot/fields/maps/tile_server.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/tile_server.json rename to backend/directus-config/development/snapshot/fields/maps/tile_server.json diff --git a/backend/directus-config/snapshot/fields/maps/tile_server_attribution.json b/backend/directus-config/development/snapshot/fields/maps/tile_server_attribution.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/tile_server_attribution.json rename to backend/directus-config/development/snapshot/fields/maps/tile_server_attribution.json diff --git a/backend/directus-config/snapshot/fields/maps/tile_server_url.json b/backend/directus-config/development/snapshot/fields/maps/tile_server_url.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/tile_server_url.json rename to backend/directus-config/development/snapshot/fields/maps/tile_server_url.json diff --git a/backend/directus-config/snapshot/fields/maps/url.json b/backend/directus-config/development/snapshot/fields/maps/url.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/url.json rename to backend/directus-config/development/snapshot/fields/maps/url.json diff --git a/backend/directus-config/snapshot/fields/maps/zoom.json b/backend/directus-config/development/snapshot/fields/maps/zoom.json similarity index 100% rename from backend/directus-config/snapshot/fields/maps/zoom.json rename to backend/directus-config/development/snapshot/fields/maps/zoom.json diff --git a/backend/directus-config/snapshot/fields/marker_icons/id.json b/backend/directus-config/development/snapshot/fields/marker_icons/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/marker_icons/id.json rename to backend/directus-config/development/snapshot/fields/marker_icons/id.json diff --git a/backend/directus-config/snapshot/fields/marker_icons/image.json b/backend/directus-config/development/snapshot/fields/marker_icons/image.json similarity index 96% rename from backend/directus-config/snapshot/fields/marker_icons/image.json rename to backend/directus-config/development/snapshot/fields/marker_icons/image.json index 1f20ebcf..9ba03843 100644 --- a/backend/directus-config/snapshot/fields/marker_icons/image.json +++ b/backend/directus-config/development/snapshot/fields/marker_icons/image.json @@ -17,14 +17,14 @@ }, "readonly": false, "required": false, - "sort": 3, + "sort": 2, "special": [ "file" ], "translations": null, "validation": null, "validation_message": null, - "width": "full" + "width": "half" }, "schema": { "name": "image", diff --git a/backend/directus-config/snapshot/fields/layers/indexIcon.json b/backend/directus-config/development/snapshot/fields/marker_icons/image_outline.json similarity index 76% rename from backend/directus-config/snapshot/fields/layers/indexIcon.json rename to backend/directus-config/development/snapshot/fields/marker_icons/image_outline.json index 94440bd4..960ceaca 100644 --- a/backend/directus-config/snapshot/fields/layers/indexIcon.json +++ b/backend/directus-config/development/snapshot/fields/marker_icons/image_outline.json @@ -1,23 +1,23 @@ { - "collection": "layers", - "field": "indexIcon", + "collection": "marker_icons", + "field": "image_outline", "type": "uuid", "meta": { - "collection": "layers", + "collection": "marker_icons", "conditions": null, "display": null, "display_options": null, - "field": "indexIcon", + "field": "image_outline", "group": null, "hidden": false, "interface": "file-image", "note": null, "options": { - "folder": "0b66498d-8ee3-48fc-8fe7-72b6f86d8d0f" + "folder": "f255d3a7-8ecc-4ee0-b584-dee753317415" }, "readonly": false, "required": false, - "sort": 10, + "sort": 4, "special": [ "file" ], @@ -27,8 +27,8 @@ "width": "half" }, "schema": { - "name": "indexIcon", - "table": "layers", + "name": "image_outline", + "table": "marker_icons", "data_type": "uuid", "default_value": null, "max_length": null, diff --git a/backend/directus-config/snapshot/fields/marker_icons/size.json b/backend/directus-config/development/snapshot/fields/marker_icons/size.json similarity index 96% rename from backend/directus-config/snapshot/fields/marker_icons/size.json rename to backend/directus-config/development/snapshot/fields/marker_icons/size.json index 2c8dc06d..ec945236 100644 --- a/backend/directus-config/snapshot/fields/marker_icons/size.json +++ b/backend/directus-config/development/snapshot/fields/marker_icons/size.json @@ -17,12 +17,12 @@ }, "readonly": false, "required": false, - "sort": 2, + "sort": 3, "special": null, "translations": null, "validation": null, "validation_message": null, - "width": "full" + "width": "half" }, "schema": { "name": "size", diff --git a/backend/directus-config/development/snapshot/fields/marker_icons/size_outline.json b/backend/directus-config/development/snapshot/fields/marker_icons/size_outline.json new file mode 100644 index 00000000..d6a9bf58 --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/marker_icons/size_outline.json @@ -0,0 +1,43 @@ +{ + "collection": "marker_icons", + "field": "size_outline", + "type": "decimal", + "meta": { + "collection": "marker_icons", + "conditions": null, + "display": null, + "display_options": null, + "field": "size_outline", + "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": "size_outline", + "table": "marker_icons", + "data_type": "numeric", + "default_value": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 5, + "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/creator_email.json b/backend/directus-config/development/snapshot/fields/oceannomads_events/creator_email.json new file mode 100644 index 00000000..82f830af --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/oceannomads_events/creator_email.json @@ -0,0 +1,43 @@ +{ + "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 new file mode 100644 index 00000000..611e1dd3 --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/oceannomads_events/date_created.json @@ -0,0 +1,47 @@ +{ + "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 new file mode 100644 index 00000000..df0e5a55 --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/oceannomads_events/date_updated.json @@ -0,0 +1,47 @@ +{ + "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 new file mode 100644 index 00000000..2393285c --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/oceannomads_events/end.json @@ -0,0 +1,43 @@ +{ + "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 new file mode 100644 index 00000000..6d6286e1 --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/oceannomads_events/id.json @@ -0,0 +1,43 @@ +{ + "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 new file mode 100644 index 00000000..8a81dde8 --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/oceannomads_events/location.json @@ -0,0 +1,43 @@ +{ + "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 new file mode 100644 index 00000000..89958451 --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/oceannomads_events/start.json @@ -0,0 +1,43 @@ +{ + "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 new file mode 100644 index 00000000..071f6f55 --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/oceannomads_events/text.json @@ -0,0 +1,43 @@ +{ + "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 new file mode 100644 index 00000000..916caaa6 --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/oceannomads_events/title.json @@ -0,0 +1,43 @@ +{ + "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/snapshot/fields/oceannomads_profiles/avatar_url.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/avatar_url.json similarity index 100% rename from backend/directus-config/snapshot/fields/oceannomads_profiles/avatar_url.json rename to backend/directus-config/development/snapshot/fields/oceannomads_profiles/avatar_url.json diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/date_created.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/oceannomads_profiles/date_created.json rename to backend/directus-config/development/snapshot/fields/oceannomads_profiles/date_created.json diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/date_updated.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/oceannomads_profiles/date_updated.json rename to backend/directus-config/development/snapshot/fields/oceannomads_profiles/date_updated.json diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/email.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/email.json similarity index 100% rename from backend/directus-config/snapshot/fields/oceannomads_profiles/email.json rename to backend/directus-config/development/snapshot/fields/oceannomads_profiles/email.json diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/first_name.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/first_name.json similarity index 100% rename from backend/directus-config/snapshot/fields/oceannomads_profiles/first_name.json rename to backend/directus-config/development/snapshot/fields/oceannomads_profiles/first_name.json diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/id.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/oceannomads_profiles/id.json rename to backend/directus-config/development/snapshot/fields/oceannomads_profiles/id.json diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/last_name.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/last_name.json similarity index 100% rename from backend/directus-config/snapshot/fields/oceannomads_profiles/last_name.json rename to backend/directus-config/development/snapshot/fields/oceannomads_profiles/last_name.json diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/location.json b/backend/directus-config/development/snapshot/fields/oceannomads_profiles/location.json similarity index 100% rename from backend/directus-config/snapshot/fields/oceannomads_profiles/location.json rename to backend/directus-config/development/snapshot/fields/oceannomads_profiles/location.json diff --git a/backend/directus-config/snapshot/fields/relations/id.json b/backend/directus-config/development/snapshot/fields/relations/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/relations/id.json rename to backend/directus-config/development/snapshot/fields/relations/id.json diff --git a/backend/directus-config/snapshot/fields/relations/relation.json b/backend/directus-config/development/snapshot/fields/relations/relation.json similarity index 100% rename from backend/directus-config/snapshot/fields/relations/relation.json rename to backend/directus-config/development/snapshot/fields/relations/relation.json diff --git a/backend/directus-config/snapshot/fields/startEnd/date_created.json b/backend/directus-config/development/snapshot/fields/startEnd/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/startEnd/date_created.json rename to backend/directus-config/development/snapshot/fields/startEnd/date_created.json diff --git a/backend/directus-config/snapshot/fields/startEnd/date_updated.json b/backend/directus-config/development/snapshot/fields/startEnd/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/startEnd/date_updated.json rename to backend/directus-config/development/snapshot/fields/startEnd/date_updated.json diff --git a/backend/directus-config/snapshot/fields/startEnd/id.json b/backend/directus-config/development/snapshot/fields/startEnd/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/startEnd/id.json rename to backend/directus-config/development/snapshot/fields/startEnd/id.json diff --git a/backend/directus-config/snapshot/fields/startEnd/user_created.json b/backend/directus-config/development/snapshot/fields/startEnd/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/startEnd/user_created.json rename to backend/directus-config/development/snapshot/fields/startEnd/user_created.json diff --git a/backend/directus-config/snapshot/fields/startEnd/user_updated.json b/backend/directus-config/development/snapshot/fields/startEnd/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/startEnd/user_updated.json rename to backend/directus-config/development/snapshot/fields/startEnd/user_updated.json diff --git a/backend/directus-config/snapshot/fields/tags/color.json b/backend/directus-config/development/snapshot/fields/tags/color.json similarity index 100% rename from backend/directus-config/snapshot/fields/tags/color.json rename to backend/directus-config/development/snapshot/fields/tags/color.json diff --git a/backend/directus-config/snapshot/fields/tags/date_created.json b/backend/directus-config/development/snapshot/fields/tags/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/tags/date_created.json rename to backend/directus-config/development/snapshot/fields/tags/date_created.json diff --git a/backend/directus-config/snapshot/fields/tags/id.json b/backend/directus-config/development/snapshot/fields/tags/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/tags/id.json rename to backend/directus-config/development/snapshot/fields/tags/id.json diff --git a/backend/directus-config/snapshot/fields/tags/map.json b/backend/directus-config/development/snapshot/fields/tags/map.json similarity index 100% rename from backend/directus-config/snapshot/fields/tags/map.json rename to backend/directus-config/development/snapshot/fields/tags/map.json diff --git a/backend/directus-config/snapshot/fields/tags/name.json b/backend/directus-config/development/snapshot/fields/tags/name.json similarity index 100% rename from backend/directus-config/snapshot/fields/tags/name.json rename to backend/directus-config/development/snapshot/fields/tags/name.json diff --git a/backend/directus-config/snapshot/fields/tags/offer_or_need.json b/backend/directus-config/development/snapshot/fields/tags/offer_or_need.json similarity index 100% rename from backend/directus-config/snapshot/fields/tags/offer_or_need.json rename to backend/directus-config/development/snapshot/fields/tags/offer_or_need.json diff --git a/backend/directus-config/snapshot/fields/tags/user_created.json b/backend/directus-config/development/snapshot/fields/tags/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/tags/user_created.json rename to backend/directus-config/development/snapshot/fields/tags/user_created.json diff --git a/backend/directus-config/snapshot/fields/team/date_created.json b/backend/directus-config/development/snapshot/fields/team/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/team/date_created.json rename to backend/directus-config/development/snapshot/fields/team/date_created.json diff --git a/backend/directus-config/snapshot/fields/team/date_updated.json b/backend/directus-config/development/snapshot/fields/team/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/team/date_updated.json rename to backend/directus-config/development/snapshot/fields/team/date_updated.json diff --git a/backend/directus-config/snapshot/fields/team/id.json b/backend/directus-config/development/snapshot/fields/team/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/team/id.json rename to backend/directus-config/development/snapshot/fields/team/id.json diff --git a/backend/directus-config/snapshot/fields/team/image.json b/backend/directus-config/development/snapshot/fields/team/image.json similarity index 100% rename from backend/directus-config/snapshot/fields/team/image.json rename to backend/directus-config/development/snapshot/fields/team/image.json diff --git a/backend/directus-config/snapshot/fields/team/name.json b/backend/directus-config/development/snapshot/fields/team/name.json similarity index 100% rename from backend/directus-config/snapshot/fields/team/name.json rename to backend/directus-config/development/snapshot/fields/team/name.json diff --git a/backend/directus-config/snapshot/fields/team/role.json b/backend/directus-config/development/snapshot/fields/team/role.json similarity index 100% rename from backend/directus-config/snapshot/fields/team/role.json rename to backend/directus-config/development/snapshot/fields/team/role.json diff --git a/backend/directus-config/snapshot/fields/team/sort.json b/backend/directus-config/development/snapshot/fields/team/sort.json similarity index 100% rename from backend/directus-config/snapshot/fields/team/sort.json rename to backend/directus-config/development/snapshot/fields/team/sort.json diff --git a/backend/directus-config/snapshot/fields/team/status.json b/backend/directus-config/development/snapshot/fields/team/status.json similarity index 100% rename from backend/directus-config/snapshot/fields/team/status.json rename to backend/directus-config/development/snapshot/fields/team/status.json diff --git a/backend/directus-config/snapshot/fields/team/text.json b/backend/directus-config/development/snapshot/fields/team/text.json similarity index 100% rename from backend/directus-config/snapshot/fields/team/text.json rename to backend/directus-config/development/snapshot/fields/team/text.json diff --git a/backend/directus-config/snapshot/fields/team/user_created.json b/backend/directus-config/development/snapshot/fields/team/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/team/user_created.json rename to backend/directus-config/development/snapshot/fields/team/user_created.json diff --git a/backend/directus-config/snapshot/fields/team/user_updated.json b/backend/directus-config/development/snapshot/fields/team/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/team/user_updated.json rename to backend/directus-config/development/snapshot/fields/team/user_updated.json diff --git a/backend/directus-config/snapshot/fields/texts/dataField.json b/backend/directus-config/development/snapshot/fields/texts/dataField.json similarity index 100% rename from backend/directus-config/snapshot/fields/texts/dataField.json rename to backend/directus-config/development/snapshot/fields/texts/dataField.json diff --git a/backend/directus-config/snapshot/fields/texts/date_created.json b/backend/directus-config/development/snapshot/fields/texts/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/texts/date_created.json rename to backend/directus-config/development/snapshot/fields/texts/date_created.json diff --git a/backend/directus-config/snapshot/fields/texts/date_updated.json b/backend/directus-config/development/snapshot/fields/texts/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/texts/date_updated.json rename to backend/directus-config/development/snapshot/fields/texts/date_updated.json diff --git a/backend/directus-config/snapshot/fields/texts/heading.json b/backend/directus-config/development/snapshot/fields/texts/heading.json similarity index 100% rename from backend/directus-config/snapshot/fields/texts/heading.json rename to backend/directus-config/development/snapshot/fields/texts/heading.json diff --git a/backend/directus-config/snapshot/fields/texts/hideWhenEmpty.json b/backend/directus-config/development/snapshot/fields/texts/hideWhenEmpty.json similarity index 100% rename from backend/directus-config/snapshot/fields/texts/hideWhenEmpty.json rename to backend/directus-config/development/snapshot/fields/texts/hideWhenEmpty.json diff --git a/backend/directus-config/snapshot/fields/texts/id.json b/backend/directus-config/development/snapshot/fields/texts/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/texts/id.json rename to backend/directus-config/development/snapshot/fields/texts/id.json diff --git a/backend/directus-config/snapshot/fields/texts/showMarkdownHint.json b/backend/directus-config/development/snapshot/fields/texts/showMarkdownHint.json similarity index 100% rename from backend/directus-config/snapshot/fields/texts/showMarkdownHint.json rename to backend/directus-config/development/snapshot/fields/texts/showMarkdownHint.json diff --git a/backend/directus-config/snapshot/fields/texts/size.json b/backend/directus-config/development/snapshot/fields/texts/size.json similarity index 100% rename from backend/directus-config/snapshot/fields/texts/size.json rename to backend/directus-config/development/snapshot/fields/texts/size.json diff --git a/backend/directus-config/snapshot/fields/texts/user_created.json b/backend/directus-config/development/snapshot/fields/texts/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/texts/user_created.json rename to backend/directus-config/development/snapshot/fields/texts/user_created.json diff --git a/backend/directus-config/snapshot/fields/texts/user_updated.json b/backend/directus-config/development/snapshot/fields/texts/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/texts/user_updated.json rename to backend/directus-config/development/snapshot/fields/texts/user_updated.json diff --git a/backend/directus-config/snapshot/fields/types/Profile.json b/backend/directus-config/development/snapshot/fields/types/Profile.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/Profile.json rename to backend/directus-config/development/snapshot/fields/types/Profile.json diff --git a/backend/directus-config/snapshot/fields/types/Tabs.json b/backend/directus-config/development/snapshot/fields/types/Tabs.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/Tabs.json rename to backend/directus-config/development/snapshot/fields/types/Tabs.json diff --git a/backend/directus-config/snapshot/fields/types/accordion-ykcgp6.json b/backend/directus-config/development/snapshot/fields/types/accordion-ykcgp6.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/accordion-ykcgp6.json rename to backend/directus-config/development/snapshot/fields/types/accordion-ykcgp6.json diff --git a/backend/directus-config/snapshot/fields/types/active_tabs.json b/backend/directus-config/development/snapshot/fields/types/active_tabs.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/active_tabs.json rename to backend/directus-config/development/snapshot/fields/types/active_tabs.json diff --git a/backend/directus-config/development/snapshot/fields/types/button_label.json b/backend/directus-config/development/snapshot/fields/types/button_label.json new file mode 100644 index 00000000..312bfa7c --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/types/button_label.json @@ -0,0 +1,43 @@ +{ + "collection": "types", + "field": "button_label", + "type": "string", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "button_label", + "group": "small_view", + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "button_label", + "table": "types", + "data_type": "character varying", + "default_value": "Profile", + "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/types/custom_profile_url.json b/backend/directus-config/development/snapshot/fields/types/custom_profile_url.json new file mode 100644 index 00000000..592fd9d8 --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/types/custom_profile_url.json @@ -0,0 +1,43 @@ +{ + "collection": "types", + "field": "custom_profile_url", + "type": "string", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "custom_profile_url", + "group": "small_view", + "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": "custom_profile_url", + "table": "types", + "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/snapshot/fields/types/custom_text.json b/backend/directus-config/development/snapshot/fields/types/custom_text.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/custom_text.json rename to backend/directus-config/development/snapshot/fields/types/custom_text.json diff --git a/backend/directus-config/snapshot/fields/types/date_created.json b/backend/directus-config/development/snapshot/fields/types/date_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/date_created.json rename to backend/directus-config/development/snapshot/fields/types/date_created.json diff --git a/backend/directus-config/snapshot/fields/types/date_updated.json b/backend/directus-config/development/snapshot/fields/types/date_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/date_updated.json rename to backend/directus-config/development/snapshot/fields/types/date_updated.json diff --git a/backend/directus-config/snapshot/fields/types/icon_as_labels.json b/backend/directus-config/development/snapshot/fields/types/icon_as_labels.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/icon_as_labels.json rename to backend/directus-config/development/snapshot/fields/types/icon_as_labels.json diff --git a/backend/directus-config/snapshot/fields/types/id.json b/backend/directus-config/development/snapshot/fields/types/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/id.json rename to backend/directus-config/development/snapshot/fields/types/id.json diff --git a/backend/directus-config/snapshot/fields/types/name.json b/backend/directus-config/development/snapshot/fields/types/name.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/name.json rename to backend/directus-config/development/snapshot/fields/types/name.json diff --git a/backend/directus-config/snapshot/fields/types/offers_and_needs.json b/backend/directus-config/development/snapshot/fields/types/offers_and_needs.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/offers_and_needs.json rename to backend/directus-config/development/snapshot/fields/types/offers_and_needs.json diff --git a/backend/directus-config/snapshot/fields/types/onepager.json b/backend/directus-config/development/snapshot/fields/types/onepager.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/onepager.json rename to backend/directus-config/development/snapshot/fields/types/onepager.json diff --git a/backend/directus-config/snapshot/fields/types/profileTemplate.json b/backend/directus-config/development/snapshot/fields/types/profileTemplate.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/profileTemplate.json rename to backend/directus-config/development/snapshot/fields/types/profileTemplate.json diff --git a/backend/directus-config/snapshot/fields/types/questlog.json b/backend/directus-config/development/snapshot/fields/types/questlog.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/questlog.json rename to backend/directus-config/development/snapshot/fields/types/questlog.json diff --git a/backend/directus-config/snapshot/fields/types/relations.json b/backend/directus-config/development/snapshot/fields/types/relations.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/relations.json rename to backend/directus-config/development/snapshot/fields/types/relations.json diff --git a/backend/directus-config/development/snapshot/fields/types/show_header_view_in_form.json b/backend/directus-config/development/snapshot/fields/types/show_header_view_in_form.json new file mode 100644 index 00000000..3a56327e --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/types/show_header_view_in_form.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "show_header_view_in_form", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_header_view_in_form", + "group": "small_form", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_header_view_in_form", + "table": "types", + "data_type": "boolean", + "default_value": false, + "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/snapshot/fields/types/show_name.json b/backend/directus-config/development/snapshot/fields/types/show_name.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/show_name.json rename to backend/directus-config/development/snapshot/fields/types/show_name.json diff --git a/backend/directus-config/snapshot/fields/types/show_name_input.json b/backend/directus-config/development/snapshot/fields/types/show_name_input.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/show_name_input.json rename to backend/directus-config/development/snapshot/fields/types/show_name_input.json diff --git a/backend/directus-config/snapshot/fields/types/show_profile_button.json b/backend/directus-config/development/snapshot/fields/types/show_profile_button.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/show_profile_button.json rename to backend/directus-config/development/snapshot/fields/types/show_profile_button.json diff --git a/backend/directus-config/snapshot/fields/types/show_start_end.json b/backend/directus-config/development/snapshot/fields/types/show_start_end.json similarity index 98% rename from backend/directus-config/snapshot/fields/types/show_start_end.json rename to backend/directus-config/development/snapshot/fields/types/show_start_end.json index bc43f516..e02851f1 100644 --- a/backend/directus-config/snapshot/fields/types/show_start_end.json +++ b/backend/directus-config/development/snapshot/fields/types/show_start_end.json @@ -15,7 +15,7 @@ "options": null, "readonly": false, "required": false, - "sort": 4, + "sort": 6, "special": [ "cast-boolean" ], diff --git a/backend/directus-config/snapshot/fields/types/show_start_end_input.json b/backend/directus-config/development/snapshot/fields/types/show_start_end_input.json similarity index 98% rename from backend/directus-config/snapshot/fields/types/show_start_end_input.json rename to backend/directus-config/development/snapshot/fields/types/show_start_end_input.json index 487a7589..5647840a 100644 --- a/backend/directus-config/snapshot/fields/types/show_start_end_input.json +++ b/backend/directus-config/development/snapshot/fields/types/show_start_end_input.json @@ -15,7 +15,7 @@ "options": null, "readonly": false, "required": false, - "sort": 4, + "sort": 5, "special": [ "cast-boolean" ], diff --git a/backend/directus-config/snapshot/fields/types/show_text.json b/backend/directus-config/development/snapshot/fields/types/show_text.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/show_text.json rename to backend/directus-config/development/snapshot/fields/types/show_text.json diff --git a/backend/directus-config/snapshot/fields/types/show_text_input.json b/backend/directus-config/development/snapshot/fields/types/show_text_input.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/show_text_input.json rename to backend/directus-config/development/snapshot/fields/types/show_text_input.json diff --git a/backend/directus-config/snapshot/fields/types/small_form.json b/backend/directus-config/development/snapshot/fields/types/small_form.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/small_form.json rename to backend/directus-config/development/snapshot/fields/types/small_form.json diff --git a/backend/directus-config/development/snapshot/fields/types/small_form_edit.json b/backend/directus-config/development/snapshot/fields/types/small_form_edit.json new file mode 100644 index 00000000..752da92a --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/types/small_form_edit.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "small_form_edit", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "small_form_edit", + "group": "small_form", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "small_form_edit", + "table": "types", + "data_type": "boolean", + "default_value": false, + "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/snapshot/fields/types/small_view.json b/backend/directus-config/development/snapshot/fields/types/small_view.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/small_view.json rename to backend/directus-config/development/snapshot/fields/types/small_view.json diff --git a/backend/directus-config/snapshot/fields/types/template.json b/backend/directus-config/development/snapshot/fields/types/template.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/template.json rename to backend/directus-config/development/snapshot/fields/types/template.json diff --git a/backend/directus-config/snapshot/fields/types/text.json b/backend/directus-config/development/snapshot/fields/types/text.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/text.json rename to backend/directus-config/development/snapshot/fields/types/text.json diff --git a/backend/directus-config/snapshot/fields/types/text_area.json b/backend/directus-config/development/snapshot/fields/types/text_area.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/text_area.json rename to backend/directus-config/development/snapshot/fields/types/text_area.json diff --git a/backend/directus-config/development/snapshot/fields/types/text_input_label.json b/backend/directus-config/development/snapshot/fields/types/text_input_label.json new file mode 100644 index 00000000..8bb7a971 --- /dev/null +++ b/backend/directus-config/development/snapshot/fields/types/text_input_label.json @@ -0,0 +1,43 @@ +{ + "collection": "types", + "field": "text_input_label", + "type": "string", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "text_input_label", + "group": "small_form", + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "text_input_label", + "table": "types", + "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/snapshot/fields/types/user_created.json b/backend/directus-config/development/snapshot/fields/types/user_created.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/user_created.json rename to backend/directus-config/development/snapshot/fields/types/user_created.json diff --git a/backend/directus-config/snapshot/fields/types/user_updated.json b/backend/directus-config/development/snapshot/fields/types/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/fields/types/user_updated.json rename to backend/directus-config/development/snapshot/fields/types/user_updated.json diff --git a/backend/directus-config/snapshot/fields/types_profileTemplate/collection.json b/backend/directus-config/development/snapshot/fields/types_profileTemplate/collection.json similarity index 100% rename from backend/directus-config/snapshot/fields/types_profileTemplate/collection.json rename to backend/directus-config/development/snapshot/fields/types_profileTemplate/collection.json diff --git a/backend/directus-config/snapshot/fields/types_profileTemplate/id.json b/backend/directus-config/development/snapshot/fields/types_profileTemplate/id.json similarity index 100% rename from backend/directus-config/snapshot/fields/types_profileTemplate/id.json rename to backend/directus-config/development/snapshot/fields/types_profileTemplate/id.json diff --git a/backend/directus-config/snapshot/fields/types_profileTemplate/item.json b/backend/directus-config/development/snapshot/fields/types_profileTemplate/item.json similarity index 100% rename from backend/directus-config/snapshot/fields/types_profileTemplate/item.json rename to backend/directus-config/development/snapshot/fields/types_profileTemplate/item.json diff --git a/backend/directus-config/snapshot/fields/types_profileTemplate/sort.json b/backend/directus-config/development/snapshot/fields/types_profileTemplate/sort.json similarity index 100% rename from backend/directus-config/snapshot/fields/types_profileTemplate/sort.json rename to backend/directus-config/development/snapshot/fields/types_profileTemplate/sort.json diff --git a/backend/directus-config/snapshot/fields/types_profileTemplate/types_id.json b/backend/directus-config/development/snapshot/fields/types_profileTemplate/types_id.json similarity index 100% rename from backend/directus-config/snapshot/fields/types_profileTemplate/types_id.json rename to backend/directus-config/development/snapshot/fields/types_profileTemplate/types_id.json diff --git a/backend/directus-config/snapshot/info.json b/backend/directus-config/development/snapshot/info.json similarity index 100% rename from backend/directus-config/snapshot/info.json rename to backend/directus-config/development/snapshot/info.json diff --git a/backend/directus-config/snapshot/relations/attestations/user_created.json b/backend/directus-config/development/snapshot/relations/attestations/user_created.json similarity index 100% rename from backend/directus-config/snapshot/relations/attestations/user_created.json rename to backend/directus-config/development/snapshot/relations/attestations/user_created.json diff --git a/backend/directus-config/snapshot/relations/attestations_directus_users/attestations_id.json b/backend/directus-config/development/snapshot/relations/attestations_directus_users/attestations_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/attestations_directus_users/attestations_id.json rename to backend/directus-config/development/snapshot/relations/attestations_directus_users/attestations_id.json diff --git a/backend/directus-config/snapshot/relations/attestations_directus_users/directus_users_id.json b/backend/directus-config/development/snapshot/relations/attestations_directus_users/directus_users_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/attestations_directus_users/directus_users_id.json rename to backend/directus-config/development/snapshot/relations/attestations_directus_users/directus_users_id.json diff --git a/backend/directus-config/snapshot/relations/contactInfos/user_created.json b/backend/directus-config/development/snapshot/relations/contactInfos/user_created.json similarity index 100% rename from backend/directus-config/snapshot/relations/contactInfos/user_created.json rename to backend/directus-config/development/snapshot/relations/contactInfos/user_created.json diff --git a/backend/directus-config/snapshot/relations/contactInfos/user_updated.json b/backend/directus-config/development/snapshot/relations/contactInfos/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/relations/contactInfos/user_updated.json rename to backend/directus-config/development/snapshot/relations/contactInfos/user_updated.json diff --git a/backend/directus-config/snapshot/relations/crowdfundings/user_created.json b/backend/directus-config/development/snapshot/relations/crowdfundings/user_created.json similarity index 100% rename from backend/directus-config/snapshot/relations/crowdfundings/user_created.json rename to backend/directus-config/development/snapshot/relations/crowdfundings/user_created.json diff --git a/backend/directus-config/snapshot/relations/crowdfundings/user_updated.json b/backend/directus-config/development/snapshot/relations/crowdfundings/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/relations/crowdfundings/user_updated.json rename to backend/directus-config/development/snapshot/relations/crowdfundings/user_updated.json diff --git a/backend/directus-config/snapshot/relations/features/user_created.json b/backend/directus-config/development/snapshot/relations/features/user_created.json similarity index 100% rename from backend/directus-config/snapshot/relations/features/user_created.json rename to backend/directus-config/development/snapshot/relations/features/user_created.json diff --git a/backend/directus-config/snapshot/relations/features/user_updated.json b/backend/directus-config/development/snapshot/relations/features/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/relations/features/user_updated.json rename to backend/directus-config/development/snapshot/relations/features/user_updated.json diff --git a/backend/directus-config/snapshot/relations/gallery/user_created.json b/backend/directus-config/development/snapshot/relations/gallery/user_created.json similarity index 100% rename from backend/directus-config/snapshot/relations/gallery/user_created.json rename to backend/directus-config/development/snapshot/relations/gallery/user_created.json diff --git a/backend/directus-config/snapshot/relations/gallery/user_updated.json b/backend/directus-config/development/snapshot/relations/gallery/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/relations/gallery/user_updated.json rename to backend/directus-config/development/snapshot/relations/gallery/user_updated.json diff --git a/backend/directus-config/snapshot/relations/groupSubheaders/user_created.json b/backend/directus-config/development/snapshot/relations/groupSubheaders/user_created.json similarity index 100% rename from backend/directus-config/snapshot/relations/groupSubheaders/user_created.json rename to backend/directus-config/development/snapshot/relations/groupSubheaders/user_created.json diff --git a/backend/directus-config/snapshot/relations/groupSubheaders/user_updated.json b/backend/directus-config/development/snapshot/relations/groupSubheaders/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/relations/groupSubheaders/user_updated.json rename to backend/directus-config/development/snapshot/relations/groupSubheaders/user_updated.json diff --git a/backend/directus-config/snapshot/relations/groupSubheaders_groupTypes/groupSubheaders_id.json b/backend/directus-config/development/snapshot/relations/groupSubheaders_groupTypes/groupSubheaders_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/groupSubheaders_groupTypes/groupSubheaders_id.json rename to backend/directus-config/development/snapshot/relations/groupSubheaders_groupTypes/groupSubheaders_id.json diff --git a/backend/directus-config/snapshot/relations/groupSubheaders_groupTypes/groupTypes_id.json b/backend/directus-config/development/snapshot/relations/groupSubheaders_groupTypes/groupTypes_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/groupSubheaders_groupTypes/groupTypes_id.json rename to backend/directus-config/development/snapshot/relations/groupSubheaders_groupTypes/groupTypes_id.json diff --git a/backend/directus-config/snapshot/relations/groupTypes/image.json b/backend/directus-config/development/snapshot/relations/groupTypes/image.json similarity index 100% rename from backend/directus-config/snapshot/relations/groupTypes/image.json rename to backend/directus-config/development/snapshot/relations/groupTypes/image.json diff --git a/backend/directus-config/snapshot/relations/groupTypes/markerIcon.json b/backend/directus-config/development/snapshot/relations/groupTypes/markerIcon.json similarity index 100% rename from backend/directus-config/snapshot/relations/groupTypes/markerIcon.json rename to backend/directus-config/development/snapshot/relations/groupTypes/markerIcon.json diff --git a/backend/directus-config/snapshot/relations/groupTypes/user_created.json b/backend/directus-config/development/snapshot/relations/groupTypes/user_created.json similarity index 100% rename from backend/directus-config/snapshot/relations/groupTypes/user_created.json rename to backend/directus-config/development/snapshot/relations/groupTypes/user_created.json diff --git a/backend/directus-config/snapshot/relations/groupTypes/user_updated.json b/backend/directus-config/development/snapshot/relations/groupTypes/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/relations/groupTypes/user_updated.json rename to backend/directus-config/development/snapshot/relations/groupTypes/user_updated.json diff --git a/backend/directus-config/snapshot/relations/inviteLinks/user_created.json b/backend/directus-config/development/snapshot/relations/inviteLinks/user_created.json similarity index 100% rename from backend/directus-config/snapshot/relations/inviteLinks/user_created.json rename to backend/directus-config/development/snapshot/relations/inviteLinks/user_created.json diff --git a/backend/directus-config/snapshot/relations/inviteLinks/user_updated.json b/backend/directus-config/development/snapshot/relations/inviteLinks/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/relations/inviteLinks/user_updated.json rename to backend/directus-config/development/snapshot/relations/inviteLinks/user_updated.json diff --git a/backend/directus-config/snapshot/relations/itemSecrets/item.json b/backend/directus-config/development/snapshot/relations/itemSecrets/item.json similarity index 100% rename from backend/directus-config/snapshot/relations/itemSecrets/item.json rename to backend/directus-config/development/snapshot/relations/itemSecrets/item.json diff --git a/backend/directus-config/snapshot/relations/items/image.json b/backend/directus-config/development/snapshot/relations/items/image.json similarity index 100% rename from backend/directus-config/snapshot/relations/items/image.json rename to backend/directus-config/development/snapshot/relations/items/image.json diff --git a/backend/directus-config/snapshot/relations/items/layer.json b/backend/directus-config/development/snapshot/relations/items/layer.json similarity index 100% rename from backend/directus-config/snapshot/relations/items/layer.json rename to backend/directus-config/development/snapshot/relations/items/layer.json diff --git a/backend/directus-config/snapshot/relations/items/markerIcon.json b/backend/directus-config/development/snapshot/relations/items/markerIcon.json similarity index 100% rename from backend/directus-config/snapshot/relations/items/markerIcon.json rename to backend/directus-config/development/snapshot/relations/items/markerIcon.json diff --git a/backend/directus-config/snapshot/relations/items/parent.json b/backend/directus-config/development/snapshot/relations/items/parent.json similarity index 100% rename from backend/directus-config/snapshot/relations/items/parent.json rename to backend/directus-config/development/snapshot/relations/items/parent.json diff --git a/backend/directus-config/snapshot/relations/items/user_created.json b/backend/directus-config/development/snapshot/relations/items/user_created.json similarity index 95% rename from backend/directus-config/snapshot/relations/items/user_created.json rename to backend/directus-config/development/snapshot/relations/items/user_created.json index 0dd628e8..0acc9b7e 100644 --- a/backend/directus-config/snapshot/relations/items/user_created.json +++ b/backend/directus-config/development/snapshot/relations/items/user_created.json @@ -20,6 +20,6 @@ "foreign_key_column": "id", "constraint_name": "items_user_created_foreign", "on_update": "NO ACTION", - "on_delete": "NO ACTION" + "on_delete": "SET NULL" } } diff --git a/backend/directus-config/snapshot/relations/items/user_updated.json b/backend/directus-config/development/snapshot/relations/items/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/relations/items/user_updated.json rename to backend/directus-config/development/snapshot/relations/items/user_updated.json diff --git a/backend/directus-config/snapshot/relations/items_files/directus_files_id.json b/backend/directus-config/development/snapshot/relations/items_files/directus_files_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/items_files/directus_files_id.json rename to backend/directus-config/development/snapshot/relations/items_files/directus_files_id.json diff --git a/backend/directus-config/snapshot/relations/items_files/items_id.json b/backend/directus-config/development/snapshot/relations/items_files/items_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/items_files/items_id.json rename to backend/directus-config/development/snapshot/relations/items_files/items_id.json diff --git a/backend/directus-config/snapshot/relations/items_items/items_id.json b/backend/directus-config/development/snapshot/relations/items_items/items_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/items_items/items_id.json rename to backend/directus-config/development/snapshot/relations/items_items/items_id.json diff --git a/backend/directus-config/snapshot/relations/items_items/related_items_id.json b/backend/directus-config/development/snapshot/relations/items_items/related_items_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/items_items/related_items_id.json rename to backend/directus-config/development/snapshot/relations/items_items/related_items_id.json diff --git a/backend/directus-config/snapshot/relations/items_tags/items_id.json b/backend/directus-config/development/snapshot/relations/items_tags/items_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/items_tags/items_id.json rename to backend/directus-config/development/snapshot/relations/items_tags/items_id.json diff --git a/backend/directus-config/snapshot/relations/items_tags/tags_id.json b/backend/directus-config/development/snapshot/relations/items_tags/tags_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/items_tags/tags_id.json rename to backend/directus-config/development/snapshot/relations/items_tags/tags_id.json diff --git a/backend/directus-config/snapshot/relations/items_tags_1/items_id.json b/backend/directus-config/development/snapshot/relations/items_tags_1/items_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/items_tags_1/items_id.json rename to backend/directus-config/development/snapshot/relations/items_tags_1/items_id.json diff --git a/backend/directus-config/snapshot/relations/items_tags_1/tags_id.json b/backend/directus-config/development/snapshot/relations/items_tags_1/tags_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/items_tags_1/tags_id.json rename to backend/directus-config/development/snapshot/relations/items_tags_1/tags_id.json diff --git a/backend/directus-config/snapshot/relations/junction_directus_users_tags/directus_users_id.json b/backend/directus-config/development/snapshot/relations/junction_directus_users_tags/directus_users_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/junction_directus_users_tags/directus_users_id.json rename to backend/directus-config/development/snapshot/relations/junction_directus_users_tags/directus_users_id.json diff --git a/backend/directus-config/snapshot/relations/junction_directus_users_tags/tags_id.json b/backend/directus-config/development/snapshot/relations/junction_directus_users_tags/tags_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/junction_directus_users_tags/tags_id.json rename to backend/directus-config/development/snapshot/relations/junction_directus_users_tags/tags_id.json diff --git a/backend/directus-config/snapshot/relations/junction_directus_users_tags_1/directus_users_id.json b/backend/directus-config/development/snapshot/relations/junction_directus_users_tags_1/directus_users_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/junction_directus_users_tags_1/directus_users_id.json rename to backend/directus-config/development/snapshot/relations/junction_directus_users_tags_1/directus_users_id.json diff --git a/backend/directus-config/snapshot/relations/junction_directus_users_tags_1/tags_id.json b/backend/directus-config/development/snapshot/relations/junction_directus_users_tags_1/tags_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/junction_directus_users_tags_1/tags_id.json rename to backend/directus-config/development/snapshot/relations/junction_directus_users_tags_1/tags_id.json diff --git a/backend/directus-config/snapshot/relations/layers/itemType.json b/backend/directus-config/development/snapshot/relations/layers/itemType.json similarity index 100% rename from backend/directus-config/snapshot/relations/layers/itemType.json rename to backend/directus-config/development/snapshot/relations/layers/itemType.json diff --git a/backend/directus-config/snapshot/relations/layers/markerIcon.json b/backend/directus-config/development/snapshot/relations/layers/markerIcon.json similarity index 100% rename from backend/directus-config/snapshot/relations/layers/markerIcon.json rename to backend/directus-config/development/snapshot/relations/layers/markerIcon.json diff --git a/backend/directus-config/snapshot/relations/layers_directus_users_1/directus_users_id.json b/backend/directus-config/development/snapshot/relations/layers_directus_users_1/directus_users_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/layers_directus_users_1/directus_users_id.json rename to backend/directus-config/development/snapshot/relations/layers_directus_users_1/directus_users_id.json diff --git a/backend/directus-config/snapshot/relations/layers_directus_users_1/layers_id.json b/backend/directus-config/development/snapshot/relations/layers_directus_users_1/layers_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/layers_directus_users_1/layers_id.json rename to backend/directus-config/development/snapshot/relations/layers_directus_users_1/layers_id.json diff --git a/backend/directus-config/snapshot/relations/layers_files/directus_files_id.json b/backend/directus-config/development/snapshot/relations/layers_files/directus_files_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/layers_files/directus_files_id.json rename to backend/directus-config/development/snapshot/relations/layers_files/directus_files_id.json diff --git a/backend/directus-config/snapshot/relations/layers_files/layers_id.json b/backend/directus-config/development/snapshot/relations/layers_files/layers_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/layers_files/layers_id.json rename to backend/directus-config/development/snapshot/relations/layers_files/layers_id.json diff --git a/backend/directus-config/snapshot/relations/layers_maps/layers_id.json b/backend/directus-config/development/snapshot/relations/layers_maps/layers_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/layers_maps/layers_id.json rename to backend/directus-config/development/snapshot/relations/layers_maps/layers_id.json diff --git a/backend/directus-config/snapshot/relations/layers_maps/maps_id.json b/backend/directus-config/development/snapshot/relations/layers_maps/maps_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/layers_maps/maps_id.json rename to backend/directus-config/development/snapshot/relations/layers_maps/maps_id.json diff --git a/backend/directus-config/snapshot/relations/maps/default_theme.json b/backend/directus-config/development/snapshot/relations/maps/default_theme.json similarity index 100% rename from backend/directus-config/snapshot/relations/maps/default_theme.json rename to backend/directus-config/development/snapshot/relations/maps/default_theme.json diff --git a/backend/directus-config/snapshot/relations/maps/logo.json b/backend/directus-config/development/snapshot/relations/maps/logo.json similarity index 100% rename from backend/directus-config/snapshot/relations/maps/logo.json rename to backend/directus-config/development/snapshot/relations/maps/logo.json diff --git a/backend/directus-config/snapshot/relations/marker_icons/image.json b/backend/directus-config/development/snapshot/relations/marker_icons/image.json similarity index 100% rename from backend/directus-config/snapshot/relations/marker_icons/image.json rename to backend/directus-config/development/snapshot/relations/marker_icons/image.json diff --git a/backend/directus-config/snapshot/relations/layers/indexIcon.json b/backend/directus-config/development/snapshot/relations/marker_icons/image_outline.json similarity index 63% rename from backend/directus-config/snapshot/relations/layers/indexIcon.json rename to backend/directus-config/development/snapshot/relations/marker_icons/image_outline.json index 9b00d8cc..51689393 100644 --- a/backend/directus-config/snapshot/relations/layers/indexIcon.json +++ b/backend/directus-config/development/snapshot/relations/marker_icons/image_outline.json @@ -1,11 +1,11 @@ { - "collection": "layers", - "field": "indexIcon", + "collection": "marker_icons", + "field": "image_outline", "related_collection": "directus_files", "meta": { "junction_field": null, - "many_collection": "layers", - "many_field": "indexIcon", + "many_collection": "marker_icons", + "many_field": "image_outline", "one_allowed_collections": null, "one_collection": "directus_files", "one_collection_field": null, @@ -14,11 +14,11 @@ "sort_field": null }, "schema": { - "table": "layers", - "column": "indexIcon", + "table": "marker_icons", + "column": "image_outline", "foreign_key_table": "directus_files", "foreign_key_column": "id", - "constraint_name": "layers_indexicon_foreign", + "constraint_name": "marker_icons_image_outline_foreign", "on_update": "NO ACTION", "on_delete": "SET NULL" } diff --git a/backend/directus-config/snapshot/relations/startEnd/user_created.json b/backend/directus-config/development/snapshot/relations/startEnd/user_created.json similarity index 100% rename from backend/directus-config/snapshot/relations/startEnd/user_created.json rename to backend/directus-config/development/snapshot/relations/startEnd/user_created.json diff --git a/backend/directus-config/snapshot/relations/startEnd/user_updated.json b/backend/directus-config/development/snapshot/relations/startEnd/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/relations/startEnd/user_updated.json rename to backend/directus-config/development/snapshot/relations/startEnd/user_updated.json diff --git a/backend/directus-config/snapshot/relations/tags/map.json b/backend/directus-config/development/snapshot/relations/tags/map.json similarity index 100% rename from backend/directus-config/snapshot/relations/tags/map.json rename to backend/directus-config/development/snapshot/relations/tags/map.json diff --git a/backend/directus-config/snapshot/relations/team/image.json b/backend/directus-config/development/snapshot/relations/team/image.json similarity index 100% rename from backend/directus-config/snapshot/relations/team/image.json rename to backend/directus-config/development/snapshot/relations/team/image.json diff --git a/backend/directus-config/snapshot/relations/team/user_created.json b/backend/directus-config/development/snapshot/relations/team/user_created.json similarity index 100% rename from backend/directus-config/snapshot/relations/team/user_created.json rename to backend/directus-config/development/snapshot/relations/team/user_created.json diff --git a/backend/directus-config/snapshot/relations/team/user_updated.json b/backend/directus-config/development/snapshot/relations/team/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/relations/team/user_updated.json rename to backend/directus-config/development/snapshot/relations/team/user_updated.json diff --git a/backend/directus-config/snapshot/relations/texts/user_created.json b/backend/directus-config/development/snapshot/relations/texts/user_created.json similarity index 100% rename from backend/directus-config/snapshot/relations/texts/user_created.json rename to backend/directus-config/development/snapshot/relations/texts/user_created.json diff --git a/backend/directus-config/snapshot/relations/texts/user_updated.json b/backend/directus-config/development/snapshot/relations/texts/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/relations/texts/user_updated.json rename to backend/directus-config/development/snapshot/relations/texts/user_updated.json diff --git a/backend/directus-config/snapshot/relations/types/user_created.json b/backend/directus-config/development/snapshot/relations/types/user_created.json similarity index 100% rename from backend/directus-config/snapshot/relations/types/user_created.json rename to backend/directus-config/development/snapshot/relations/types/user_created.json diff --git a/backend/directus-config/snapshot/relations/types/user_updated.json b/backend/directus-config/development/snapshot/relations/types/user_updated.json similarity index 100% rename from backend/directus-config/snapshot/relations/types/user_updated.json rename to backend/directus-config/development/snapshot/relations/types/user_updated.json diff --git a/backend/directus-config/snapshot/relations/types_profileTemplate/item.json b/backend/directus-config/development/snapshot/relations/types_profileTemplate/item.json similarity index 100% rename from backend/directus-config/snapshot/relations/types_profileTemplate/item.json rename to backend/directus-config/development/snapshot/relations/types_profileTemplate/item.json diff --git a/backend/directus-config/snapshot/relations/types_profileTemplate/types_id.json b/backend/directus-config/development/snapshot/relations/types_profileTemplate/types_id.json similarity index 100% rename from backend/directus-config/snapshot/relations/types_profileTemplate/types_id.json rename to backend/directus-config/development/snapshot/relations/types_profileTemplate/types_id.json diff --git a/backend/directus-config/specs/item.graphql b/backend/directus-config/development/specs/item.graphql similarity index 96% rename from backend/directus-config/specs/item.graphql rename to backend/directus-config/development/specs/item.graphql index ef80a45f..a955b669 100644 --- a/backend/directus-config/specs/item.graphql +++ b/backend/directus-config/development/specs/item.graphql @@ -7,10 +7,18 @@ 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 + marker_icons(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [marker_icons!]! + marker_icons_by_id(id: ID!, version: String): marker_icons + marker_icons_aggregated(groupBy: [String], filter: marker_icons_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [marker_icons_aggregated!]! + marker_icons_by_version(version: String!, id: ID!): version_marker_icons 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!]! @@ -47,10 +55,6 @@ type Query { groupTypes_by_id(id: ID!, version: String): groupTypes groupTypes_aggregated(groupBy: [String], filter: groupTypes_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [groupTypes_aggregated!]! groupTypes_by_version(version: String!, id: ID!): version_groupTypes - marker_icons(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [marker_icons!]! - marker_icons_by_id(id: ID!, version: String): marker_icons - marker_icons_aggregated(groupBy: [String], filter: marker_icons_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [marker_icons_aggregated!]! - marker_icons_by_version(version: String!, id: ID!): version_marker_icons inviteLinks(filter: inviteLinks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [inviteLinks!]! inviteLinks_by_id(id: ID!, version: String): inviteLinks inviteLinks_aggregated(groupBy: [String], filter: inviteLinks_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [inviteLinks_aggregated!]! @@ -142,8 +146,12 @@ 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_marker_icons_items(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_marker_icons_input!]): [marker_icons!]! + create_marker_icons_item(data: create_marker_icons_input!): marker_icons 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!]! @@ -162,8 +170,6 @@ type Mutation { create_groupSubheaders_groupTypes_item(data: create_groupSubheaders_groupTypes_input!): groupSubheaders_groupTypes create_groupTypes_items(filter: groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_groupTypes_input!]): [groupTypes!]! create_groupTypes_item(data: create_groupTypes_input!): groupTypes - create_marker_icons_items(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_marker_icons_input!]): [marker_icons!]! - create_marker_icons_item(data: create_marker_icons_input!): marker_icons create_inviteLinks_items(filter: inviteLinks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_inviteLinks_input!]): [inviteLinks!]! create_inviteLinks_item(data: create_inviteLinks_input!): inviteLinks create_items_items(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_input!]): [items!]! @@ -212,9 +218,15 @@ 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_marker_icons_items(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_marker_icons_input!): [marker_icons!]! + update_marker_icons_batch(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_marker_icons_input!]): [marker_icons!]! + update_marker_icons_item(id: ID!, data: update_marker_icons_input!): marker_icons 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 @@ -242,9 +254,6 @@ type Mutation { update_groupTypes_items(filter: groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_groupTypes_input!): [groupTypes!]! update_groupTypes_batch(filter: groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_groupTypes_input!]): [groupTypes!]! update_groupTypes_item(id: ID!, data: update_groupTypes_input!): groupTypes - update_marker_icons_items(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_marker_icons_input!): [marker_icons!]! - update_marker_icons_batch(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_marker_icons_input!]): [marker_icons!]! - update_marker_icons_item(id: ID!, data: update_marker_icons_input!): marker_icons update_inviteLinks_items(filter: inviteLinks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_inviteLinks_input!): [inviteLinks!]! update_inviteLinks_batch(filter: inviteLinks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_inviteLinks_input!]): [inviteLinks!]! update_inviteLinks_item(id: ID!, data: update_inviteLinks_input!): inviteLinks @@ -312,8 +321,12 @@ 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_marker_icons_items(ids: [ID]!): delete_many + delete_marker_icons_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 @@ -332,8 +345,6 @@ type Mutation { delete_groupSubheaders_groupTypes_item(id: ID!): delete_one delete_groupTypes_items(ids: [ID]!): delete_many delete_groupTypes_item(id: ID!): delete_one - delete_marker_icons_items(ids: [ID]!): delete_many - delete_marker_icons_item(id: ID!): delete_one delete_inviteLinks_items(ids: [ID]!): delete_many delete_inviteLinks_item(id: ID!): delete_one delete_items_items(ids: [ID]!): delete_many @@ -402,7 +413,9 @@ 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 + marker_icons_mutated(event: EventEnum): marker_icons_mutated attestations_mutated(event: EventEnum): attestations_mutated attestations_directus_users_mutated(event: EventEnum): attestations_directus_users_mutated contactInfos_mutated(event: EventEnum): contactInfos_mutated @@ -412,7 +425,6 @@ type Subscription { groupSubheaders_mutated(event: EventEnum): groupSubheaders_mutated groupSubheaders_groupTypes_mutated(event: EventEnum): groupSubheaders_groupTypes_mutated groupTypes_mutated(event: EventEnum): groupTypes_mutated - marker_icons_mutated(event: EventEnum): marker_icons_mutated inviteLinks_mutated(event: EventEnum): inviteLinks_mutated items_mutated(event: EventEnum): items_mutated itemSecrets_mutated(event: EventEnum): itemSecrets_mutated @@ -1450,9 +1462,12 @@ type items { draft: Boolean end: Date end_func: datetime_functions + extended: JSON + extended_func: count_functions group_type: String id: ID! image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + image_external: String layer(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons name: String @@ -1496,9 +1511,11 @@ type items_aggregated_count { date_updated: Int draft: Int end: Int + extended: Int group_type: Int id: Int image: Int + image_external: Int layer: Int markerIcon: Int name: Int @@ -1765,7 +1782,6 @@ type junction_directus_users_tags_mutated { type layers { id: ID! - indexIcon(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files index_plus_button: Boolean itemType(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types item_presets: JSON @@ -1775,16 +1791,16 @@ type layers { markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons markerShape: String menuColor: String - menuIcon(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files menuText: String name: String onlyOnePerOwner: Boolean public_edit_items: Boolean + sort: Int userProfileLayer: Boolean - maps(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_maps] - maps_func: count_functions notifications(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_directus_users_1] notifications_func: count_functions + maps(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_maps] + maps_func: count_functions } type layers_aggregated { @@ -1792,11 +1808,16 @@ type layers_aggregated { countAll: Int count: layers_aggregated_count countDistinct: layers_aggregated_count + avg: layers_aggregated_fields + sum: layers_aggregated_fields + avgDistinct: layers_aggregated_fields + sumDistinct: layers_aggregated_fields + min: layers_aggregated_fields + max: layers_aggregated_fields } type layers_aggregated_count { id: Int - indexIcon: Int index_plus_button: Int itemType: Int item_presets: Int @@ -1805,14 +1826,18 @@ type layers_aggregated_count { markerIcon: Int markerShape: Int menuColor: Int - menuIcon: Int menuText: Int name: Int onlyOnePerOwner: Int public_edit_items: Int + sort: Int userProfileLayer: Int - maps: Int notifications: Int + maps: Int +} + +type layers_aggregated_fields { + sort: Float } type layers_directus_users_1 { @@ -1940,6 +1965,7 @@ type maps { """You can include GeoJSON""" geo: JSON geo_func: count_functions + hide_signup: Boolean id: ID! info_open: Boolean logo(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files @@ -1948,6 +1974,7 @@ type maps { show_filter_control: Boolean show_gratitude_control: Boolean show_layer_control: Boolean + show_request_password: Boolean show_theme_control: Boolean show_zoom_control: Boolean! tile_server_attribution: String @@ -1984,6 +2011,7 @@ type maps_aggregated_count { """You can include GeoJSON""" geo: Int + hide_signup: Int id: Int info_open: Int @@ -1994,6 +2022,7 @@ type maps_aggregated_count { show_filter_control: Int show_gratitude_control: Int show_layer_control: Int + show_request_password: Int show_theme_control: Int show_zoom_control: Int tile_server_attribution: Int @@ -2017,6 +2046,8 @@ type marker_icons { id: ID! image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files size: Float + image_outline(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + size_outline: Float } type marker_icons_aggregated { @@ -2036,10 +2067,13 @@ type marker_icons_aggregated_count { id: Int image: Int size: Int + image_outline: Int + size_outline: Int } type marker_icons_aggregated_fields { size: Float + size_outline: Float } type marker_icons_mutated { @@ -2048,6 +2082,47 @@ 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 @@ -2299,6 +2374,8 @@ type Themes_mutated { } type types { + button_label: String + custom_profile_url: String custom_text: String date_created: Date date_created_func: datetime_functions @@ -2311,6 +2388,7 @@ type types { onepager: Boolean questlog: Boolean relations: Boolean + show_header_view_in_form: Boolean show_name: Boolean show_name_input: Boolean show_profile_button: Boolean @@ -2318,9 +2396,11 @@ type types { show_start_end_input: Boolean show_text: Boolean show_text_input: Boolean + small_form_edit: Boolean template: String text: Boolean text_area: Boolean + text_input_label: String user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users profileTemplate(filter: types_profileTemplate_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [types_profileTemplate] @@ -2335,6 +2415,8 @@ type types_aggregated { } type types_aggregated_count { + button_label: Int + custom_profile_url: Int custom_text: Int date_created: Int date_updated: Int @@ -2345,6 +2427,7 @@ type types_aggregated_count { onepager: Int questlog: Int relations: Int + show_header_view_in_form: Int show_name: Int show_name_input: Int show_profile_button: Int @@ -2352,9 +2435,11 @@ type types_aggregated_count { show_start_end_input: Int show_text: Int show_text_input: Int + small_form_edit: Int template: Int text: Int text_area: Int + text_input_label: Int user_created: Int user_updated: Int profileTemplate: Int @@ -2527,9 +2612,11 @@ type version_items { date_updated: Date draft: Boolean end: Date + extended: JSON group_type: String id: ID image: JSON + image_external: String layer: JSON markerIcon: JSON name: String @@ -2605,7 +2692,6 @@ type version_junction_directus_users_tags_1 { """""" type version_layers { id: ID - indexIcon: JSON index_plus_button: Boolean itemType: JSON item_presets: JSON @@ -2614,14 +2700,14 @@ type version_layers { markerIcon: JSON markerShape: String menuColor: String - menuIcon: JSON menuText: String name: String onlyOnePerOwner: Boolean public_edit_items: Boolean + sort: Int userProfileLayer: Boolean - maps: JSON notifications: JSON + maps: JSON } """""" @@ -2659,6 +2745,7 @@ type version_maps { """You can include GeoJSON""" geo: JSON + hide_signup: Boolean id: ID info_open: Boolean logo: JSON @@ -2667,6 +2754,7 @@ type version_maps { show_filter_control: Boolean show_gratitude_control: Boolean show_layer_control: Boolean + show_request_password: Boolean show_theme_control: Boolean show_zoom_control: Boolean tile_server_attribution: String @@ -2681,6 +2769,21 @@ type version_marker_icons { id: ID image: JSON size: Float + image_outline: JSON + 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 } """""" @@ -2757,6 +2860,8 @@ type version_Themes { """""" type version_types { + button_label: String + custom_profile_url: String custom_text: String date_created: Date date_updated: Date @@ -2767,6 +2872,7 @@ type version_types { onepager: Boolean questlog: Boolean relations: Boolean + show_header_view_in_form: Boolean show_name: Boolean show_name_input: Boolean show_profile_button: Boolean @@ -2774,9 +2880,11 @@ type version_types { show_start_end_input: Boolean show_text: Boolean show_text_input: Boolean + small_form_edit: Boolean template: String text: Boolean text_area: Boolean + text_input_label: String user_created: JSON user_updated: JSON profileTemplate: JSON @@ -3093,9 +3201,11 @@ input create_items_input { date_updated: Date draft: Boolean end: Date + extended: JSON group_type: String id: ID image: create_directus_files_input + image_external: String layer: create_layers_input markerIcon: create_marker_icons_input name: String @@ -3169,7 +3279,6 @@ input create_layers_files_input { input create_layers_input { id: ID - indexIcon: create_directus_files_input index_plus_button: Boolean itemType: create_types_input item_presets: JSON @@ -3178,14 +3287,14 @@ input create_layers_input { markerIcon: create_marker_icons_input markerShape: String menuColor: String - menuIcon: create_directus_files_input menuText: String name: String onlyOnePerOwner: Boolean public_edit_items: Boolean + sort: Int userProfileLayer: Boolean - maps: [create_layers_maps_input] notifications: [create_layers_directus_users_1_input] + maps: [create_layers_maps_input] } input create_layers_maps_input { @@ -3207,6 +3316,7 @@ input create_maps_input { """You can include GeoJSON""" geo: JSON + hide_signup: Boolean id: ID info_open: Boolean logo: create_directus_files_input @@ -3215,6 +3325,7 @@ input create_maps_input { show_filter_control: Boolean show_gratitude_control: Boolean show_layer_control: Boolean + show_request_password: Boolean show_theme_control: Boolean show_zoom_control: Boolean! tile_server_attribution: String @@ -3228,6 +3339,20 @@ input create_marker_icons_input { id: ID! image: create_directus_files_input size: Float + image_outline: create_directus_files_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 { @@ -3296,6 +3421,8 @@ input create_Themes_input { } input create_types_input { + button_label: String + custom_profile_url: String custom_text: String date_created: Date date_updated: Date @@ -3306,6 +3433,7 @@ input create_types_input { onepager: Boolean questlog: Boolean relations: Boolean + show_header_view_in_form: Boolean show_name: Boolean show_name_input: Boolean show_profile_button: Boolean @@ -3313,9 +3441,11 @@ input create_types_input { show_start_end_input: Boolean show_text: Boolean show_text_input: Boolean + small_form_edit: Boolean template: String text: Boolean text_area: Boolean + text_input_label: String user_created: create_directus_users_input user_updated: create_directus_users_input profileTemplate: [create_types_profileTemplate_input] @@ -3980,9 +4110,12 @@ input items_filter { draft: boolean_filter_operators end: date_filter_operators end_func: datetime_function_filter_operators + extended: string_filter_operators + extended_func: count_function_filter_operators group_type: string_filter_operators id: id_filter_operators image: directus_files_filter + image_external: string_filter_operators layer: layers_filter markerIcon: marker_icons_filter name: string_filter_operators @@ -4135,7 +4268,6 @@ input layers_files_filter { input layers_filter { id: id_filter_operators - indexIcon: directus_files_filter index_plus_button: boolean_filter_operators itemType: types_filter item_presets: string_filter_operators @@ -4145,16 +4277,16 @@ input layers_filter { markerIcon: marker_icons_filter markerShape: string_filter_operators menuColor: string_filter_operators - menuIcon: directus_files_filter menuText: string_filter_operators name: string_filter_operators onlyOnePerOwner: boolean_filter_operators public_edit_items: boolean_filter_operators + sort: number_filter_operators userProfileLayer: boolean_filter_operators - maps: layers_maps_quantifier_filter - maps_func: count_function_filter_operators notifications: layers_directus_users_1_quantifier_filter notifications_func: count_function_filter_operators + maps: layers_maps_quantifier_filter + maps_func: count_function_filter_operators _and: [layers_filter] _or: [layers_filter] } @@ -4186,6 +4318,7 @@ input maps_filter { expand_layer_control: boolean_filter_operators geo: string_filter_operators geo_func: count_function_filter_operators + hide_signup: boolean_filter_operators id: id_filter_operators info_open: boolean_filter_operators logo: directus_files_filter @@ -4194,6 +4327,7 @@ input maps_filter { show_filter_control: boolean_filter_operators show_gratitude_control: boolean_filter_operators show_layer_control: boolean_filter_operators + show_request_password: boolean_filter_operators show_theme_control: boolean_filter_operators show_zoom_control: boolean_filter_operators tile_server_attribution: string_filter_operators @@ -4210,6 +4344,8 @@ input marker_icons_filter { id: string_filter_operators image: directus_files_filter size: number_filter_operators + image_outline: directus_files_filter + size_outline: number_filter_operators _and: [marker_icons_filter] _or: [marker_icons_filter] } @@ -4229,6 +4365,24 @@ 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 @@ -4340,6 +4494,8 @@ input Themes_filter { } input types_filter { + button_label: string_filter_operators + custom_profile_url: string_filter_operators custom_text: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators @@ -4352,6 +4508,7 @@ input types_filter { onepager: boolean_filter_operators questlog: boolean_filter_operators relations: boolean_filter_operators + show_header_view_in_form: boolean_filter_operators show_name: boolean_filter_operators show_name_input: boolean_filter_operators show_profile_button: boolean_filter_operators @@ -4359,9 +4516,11 @@ input types_filter { show_start_end_input: boolean_filter_operators show_text: boolean_filter_operators show_text_input: boolean_filter_operators + small_form_edit: boolean_filter_operators template: string_filter_operators text: boolean_filter_operators text_area: boolean_filter_operators + text_input_label: string_filter_operators user_created: directus_users_filter user_updated: directus_users_filter profileTemplate: types_profileTemplate_quantifier_filter @@ -4636,9 +4795,11 @@ input update_items_input { date_updated: Date draft: Boolean end: Date + extended: JSON group_type: String id: ID image: update_directus_files_input + image_external: String layer: update_layers_input markerIcon: update_marker_icons_input name: String @@ -4712,7 +4873,6 @@ input update_layers_files_input { input update_layers_input { id: ID - indexIcon: update_directus_files_input index_plus_button: Boolean itemType: update_types_input item_presets: JSON @@ -4721,14 +4881,14 @@ input update_layers_input { markerIcon: update_marker_icons_input markerShape: String menuColor: String - menuIcon: update_directus_files_input menuText: String name: String onlyOnePerOwner: Boolean public_edit_items: Boolean + sort: Int userProfileLayer: Boolean - maps: [update_layers_maps_input] notifications: [update_layers_directus_users_1_input] + maps: [update_layers_maps_input] } input update_layers_maps_input { @@ -4750,6 +4910,7 @@ input update_maps_input { """You can include GeoJSON""" geo: JSON + hide_signup: Boolean id: ID info_open: Boolean logo: update_directus_files_input @@ -4758,6 +4919,7 @@ input update_maps_input { show_filter_control: Boolean show_gratitude_control: Boolean show_layer_control: Boolean + show_request_password: Boolean show_theme_control: Boolean show_zoom_control: Boolean tile_server_attribution: String @@ -4771,6 +4933,20 @@ input update_marker_icons_input { id: ID image: update_directus_files_input size: Float + image_outline: update_directus_files_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 { @@ -4839,6 +5015,8 @@ input update_Themes_input { } input update_types_input { + button_label: String + custom_profile_url: String custom_text: String date_created: Date date_updated: Date @@ -4849,6 +5027,7 @@ input update_types_input { onepager: Boolean questlog: Boolean relations: Boolean + show_header_view_in_form: Boolean show_name: Boolean show_name_input: Boolean show_profile_button: Boolean @@ -4856,9 +5035,11 @@ input update_types_input { show_start_end_input: Boolean show_text: Boolean show_text_input: Boolean + small_form_edit: Boolean template: String text: Boolean text_area: Boolean + text_input_label: String user_created: update_directus_users_input user_updated: update_directus_users_input profileTemplate: [update_types_profileTemplate_input] diff --git a/backend/directus-config/specs/openapi.json b/backend/directus-config/development/specs/openapi.json similarity index 98% rename from backend/directus-config/specs/openapi.json rename to backend/directus-config/development/specs/openapi.json index 963a87d2..a389e67f 100644 --- a/backend/directus-config/specs/openapi.json +++ b/backend/directus-config/development/specs/openapi.json @@ -8289,6 +8289,395 @@ ] } }, + "/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", @@ -8678,6 +9067,395 @@ ] } }, + "/items/marker_icons": { + "post": { + "summary": "Create an Item", + "description": "Create a new marker_icons item.", + "tags": [ + "Items", + "ItemsMarkerIcons" + ], + "operationId": "createItemsMarkerIcons", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsMarkerIcons" + } + }, + { + "$ref": "#/components/schemas/ItemsMarkerIcons" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsMarkerIcons" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the marker_icons items.", + "tags": [ + "Items", + "ItemsMarkerIcons" + ], + "operationId": "readItemsMarkerIcons", + "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/ItemsMarkerIcons" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple marker_icons items at the same time.", + "tags": [ + "Items", + "ItemsMarkerIcons" + ], + "operationId": "updateItemsMarkerIcons", + "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/ItemsMarkerIcons" + } + }, + { + "$ref": "#/components/schemas/ItemsMarkerIcons" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsMarkerIcons" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing marker_icons items.", + "tags": [ + "Items", + "ItemsMarkerIcons" + ], + "operationId": "deleteItemsMarkerIcons", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/marker_icons/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single marker_icons item by unique identifier.", + "tags": [ + "Items", + "ItemsMarkerIcons" + ], + "operationId": "readSingleItemsMarkerIcons", + "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/ItemsMarkerIcons" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing marker_icons item.", + "tags": [ + "Items", + "ItemsMarkerIcons" + ], + "operationId": "updateSingleItemsMarkerIcons", + "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/ItemsMarkerIcons" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsMarkerIcons" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing marker_icons item.", + "tags": [ + "Items", + "ItemsMarkerIcons" + ], + "operationId": "deleteSingleItemsMarkerIcons", + "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", @@ -12179,395 +12957,6 @@ ] } }, - "/items/marker_icons": { - "post": { - "summary": "Create an Item", - "description": "Create a new marker_icons item.", - "tags": [ - "Items", - "ItemsMarkerIcons" - ], - "operationId": "createItemsMarkerIcons", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsMarkerIcons" - } - }, - { - "$ref": "#/components/schemas/ItemsMarkerIcons" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsMarkerIcons" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the marker_icons items.", - "tags": [ - "Items", - "ItemsMarkerIcons" - ], - "operationId": "readItemsMarkerIcons", - "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/ItemsMarkerIcons" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple marker_icons items at the same time.", - "tags": [ - "Items", - "ItemsMarkerIcons" - ], - "operationId": "updateItemsMarkerIcons", - "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/ItemsMarkerIcons" - } - }, - { - "$ref": "#/components/schemas/ItemsMarkerIcons" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsMarkerIcons" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing marker_icons items.", - "tags": [ - "Items", - "ItemsMarkerIcons" - ], - "operationId": "deleteItemsMarkerIcons", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/marker_icons/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single marker_icons item by unique identifier.", - "tags": [ - "Items", - "ItemsMarkerIcons" - ], - "operationId": "readSingleItemsMarkerIcons", - "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/ItemsMarkerIcons" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing marker_icons item.", - "tags": [ - "Items", - "ItemsMarkerIcons" - ], - "operationId": "updateSingleItemsMarkerIcons", - "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/ItemsMarkerIcons" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsMarkerIcons" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing marker_icons item.", - "tags": [ - "Items", - "ItemsMarkerIcons" - ], - "operationId": "deleteSingleItemsMarkerIcons", - "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/inviteLinks": { "post": { "summary": "Create an Item", @@ -20869,10 +21258,18 @@ "name": "ItemsRelations", "x-collection": "relations" }, + { + "name": "ItemsOceannomadsEvents", + "x-collection": "oceannomads_events" + }, { "name": "ItemsOceannomadsProfiles", "x-collection": "oceannomads_profiles" }, + { + "name": "ItemsMarkerIcons", + "x-collection": "marker_icons" + }, { "name": "ItemsAttestations", "x-collection": "attestations" @@ -20909,10 +21306,6 @@ "name": "ItemsGroupTypes", "x-collection": "groupTypes" }, - { - "name": "ItemsMarkerIcons", - "x-collection": "marker_icons" - }, { "name": "ItemsInviteLinks", "x-collection": "inviteLinks" @@ -22954,6 +23347,55 @@ }, "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": { @@ -22997,6 +23439,51 @@ "id" ] }, + "ItemsMarkerIcons": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string" + }, + "image": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + }, + "size": { + "nullable": true, + "type": "number" + }, + "image_outline": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + }, + "size_outline": { + "nullable": true, + "type": "number" + } + }, + "x-collection": "marker_icons", + "required": [ + "id" + ] + }, "ItemsAttestations": { "type": "object", "properties": { @@ -23493,35 +23980,6 @@ "id" ] }, - "ItemsMarkerIcons": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "string" - }, - "image": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Files" - } - ] - }, - "size": { - "nullable": true, - "type": "number" - } - }, - "x-collection": "marker_icons", - "required": [ - "id" - ] - }, "ItemsInviteLinks": { "type": "object", "properties": { @@ -23600,6 +24058,9 @@ "type": "string", "format": "date-time" }, + "extended": { + "nullable": true + }, "group_type": { "nullable": true, "type": "string" @@ -23621,6 +24082,10 @@ } ] }, + "image_external": { + "nullable": true, + "type": "string" + }, "layer": { "nullable": true, "oneOf": [ @@ -23836,18 +24301,6 @@ "type": "string", "format": "uuid" }, - "indexIcon": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Files" - } - ] - }, "index_plus_button": { "nullable": true, "type": "boolean" @@ -23894,18 +24347,6 @@ "nullable": true, "type": "string" }, - "menuIcon": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Files" - } - ] - }, "menuText": { "nullable": true, "type": "string" @@ -23922,24 +24363,14 @@ "nullable": true, "type": "boolean" }, + "sort": { + "nullable": true, + "type": "integer" + }, "userProfileLayer": { "nullable": true, "type": "boolean" }, - "maps": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsLayersMaps" - } - ] - } - }, "notifications": { "nullable": true, "type": "array", @@ -23953,6 +24384,20 @@ } ] } + }, + "maps": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsLayersMaps" + } + ] + } } }, "x-collection": "layers", @@ -24219,6 +24664,14 @@ "ItemsTypes": { "type": "object", "properties": { + "button_label": { + "nullable": true, + "type": "string" + }, + "custom_profile_url": { + "nullable": true, + "type": "string" + }, "custom_text": { "nullable": true, "type": "string" @@ -24262,6 +24715,10 @@ "nullable": true, "type": "boolean" }, + "show_header_view_in_form": { + "nullable": true, + "type": "boolean" + }, "show_name": { "nullable": true, "type": "boolean" @@ -24290,6 +24747,10 @@ "nullable": true, "type": "boolean" }, + "small_form_edit": { + "nullable": true, + "type": "boolean" + }, "template": { "nullable": true, "type": "string" @@ -24302,6 +24763,10 @@ "nullable": true, "type": "boolean" }, + "text_input_label": { + "nullable": true, + "type": "string" + }, "user_created": { "nullable": true, "oneOf": [ @@ -24484,6 +24949,10 @@ "nullable": true, "description": "You can include GeoJSON" }, + "hide_signup": { + "nullable": true, + "type": "boolean" + }, "id": { "nullable": false, "type": "string", @@ -24526,6 +24995,10 @@ "nullable": true, "type": "boolean" }, + "show_request_password": { + "nullable": true, + "type": "boolean" + }, "show_theme_control": { "nullable": true, "type": "boolean" diff --git a/backend/directus-config/specs/system.graphql b/backend/directus-config/development/specs/system.graphql similarity index 98% rename from backend/directus-config/specs/system.graphql rename to backend/directus-config/development/specs/system.graphql index c623be7e..d97fc0de 100644 --- a/backend/directus-config/specs/system.graphql +++ b/backend/directus-config/development/specs/system.graphql @@ -264,7 +264,9 @@ 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 + marker_icons_mutated(event: EventEnum): marker_icons_mutated attestations_mutated(event: EventEnum): attestations_mutated attestations_directus_users_mutated(event: EventEnum): attestations_directus_users_mutated contactInfos_mutated(event: EventEnum): contactInfos_mutated @@ -274,7 +276,6 @@ type Subscription { groupSubheaders_mutated(event: EventEnum): groupSubheaders_mutated groupSubheaders_groupTypes_mutated(event: EventEnum): groupSubheaders_groupTypes_mutated groupTypes_mutated(event: EventEnum): groupTypes_mutated - marker_icons_mutated(event: EventEnum): marker_icons_mutated inviteLinks_mutated(event: EventEnum): inviteLinks_mutated items_mutated(event: EventEnum): items_mutated itemSecrets_mutated(event: EventEnum): itemSecrets_mutated @@ -1823,9 +1824,12 @@ type items { draft: Boolean end: Date end_func: datetime_functions + extended: JSON + extended_func: count_functions group_type: String id: ID! image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + image_external: String layer(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons name: String @@ -1947,7 +1951,6 @@ type junction_directus_users_tags_mutated { type layers { id: ID! - indexIcon(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files index_plus_button: Boolean itemType(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types item_presets: JSON @@ -1957,16 +1960,16 @@ type layers { markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons markerShape: String menuColor: String - menuIcon(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files menuText: String name: String onlyOnePerOwner: Boolean public_edit_items: Boolean + sort: Int userProfileLayer: Boolean - maps(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_maps] - maps_func: count_functions notifications(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_directus_users_1] notifications_func: count_functions + maps(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_maps] + maps_func: count_functions } type layers_directus_users_1 { @@ -2025,6 +2028,7 @@ type maps { """You can include GeoJSON""" geo: JSON geo_func: count_functions + hide_signup: Boolean id: ID! info_open: Boolean logo(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files @@ -2033,6 +2037,7 @@ type maps { show_filter_control: Boolean show_gratitude_control: Boolean show_layer_control: Boolean + show_request_password: Boolean show_theme_control: Boolean show_zoom_control: Boolean! tile_server_attribution: String @@ -2053,6 +2058,8 @@ type marker_icons { id: ID! image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files size: Float + image_outline(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + size_outline: Float } type marker_icons_mutated { @@ -2061,6 +2068,28 @@ 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 @@ -2211,6 +2240,8 @@ type Themes_mutated { } type types { + button_label: String + custom_profile_url: String custom_text: String date_created: Date date_created_func: datetime_functions @@ -2223,6 +2254,7 @@ type types { onepager: Boolean questlog: Boolean relations: Boolean + show_header_view_in_form: Boolean show_name: Boolean show_name_input: Boolean show_profile_button: Boolean @@ -2230,9 +2262,11 @@ type types { show_start_end_input: Boolean show_text: Boolean show_text_input: Boolean + small_form_edit: Boolean template: String text: Boolean text_area: Boolean + text_input_label: String user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users profileTemplate(filter: types_profileTemplate_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [types_profileTemplate] @@ -2731,7 +2765,6 @@ input create_layers_directus_users_1_input { input create_layers_input { id: ID - indexIcon: create_directus_files_input index_plus_button: Boolean itemType: create_types_input item_presets: JSON @@ -2740,14 +2773,14 @@ input create_layers_input { markerIcon: create_marker_icons_input markerShape: String menuColor: String - menuIcon: create_directus_files_input menuText: String name: String onlyOnePerOwner: Boolean public_edit_items: Boolean + sort: Int userProfileLayer: Boolean - maps: [create_layers_maps_input] notifications: [create_layers_directus_users_1_input] + maps: [create_layers_maps_input] } input create_layers_maps_input { @@ -2769,6 +2802,7 @@ input create_maps_input { """You can include GeoJSON""" geo: JSON + hide_signup: Boolean id: ID info_open: Boolean logo: create_directus_files_input @@ -2777,6 +2811,7 @@ input create_maps_input { show_filter_control: Boolean show_gratitude_control: Boolean show_layer_control: Boolean + show_request_password: Boolean show_theme_control: Boolean show_zoom_control: Boolean! tile_server_attribution: String @@ -2790,6 +2825,8 @@ input create_marker_icons_input { id: ID! image: create_directus_files_input size: Float + image_outline: create_directus_files_input + size_outline: Float } input create_Themes_input { @@ -2797,6 +2834,8 @@ input create_Themes_input { } input create_types_input { + button_label: String + custom_profile_url: String custom_text: String date_created: Date date_updated: Date @@ -2807,6 +2846,7 @@ input create_types_input { onepager: Boolean questlog: Boolean relations: Boolean + show_header_view_in_form: Boolean show_name: Boolean show_name_input: Boolean show_profile_button: Boolean @@ -2814,9 +2854,11 @@ input create_types_input { show_start_end_input: Boolean show_text: Boolean show_text_input: Boolean + small_form_edit: Boolean template: String text: Boolean text_area: Boolean + text_input_label: String user_created: create_directus_users_input user_updated: create_directus_users_input profileTemplate: [create_types_profileTemplate_input] @@ -3550,9 +3592,12 @@ input items_filter { draft: boolean_filter_operators end: date_filter_operators end_func: datetime_function_filter_operators + extended: string_filter_operators + extended_func: count_function_filter_operators group_type: string_filter_operators id: id_filter_operators image: directus_files_filter + image_external: string_filter_operators layer: layers_filter markerIcon: marker_icons_filter name: string_filter_operators @@ -3681,7 +3726,6 @@ input layers_directus_users_1_quantifier_filter { input layers_filter { id: id_filter_operators - indexIcon: directus_files_filter index_plus_button: boolean_filter_operators itemType: types_filter item_presets: string_filter_operators @@ -3691,16 +3735,16 @@ input layers_filter { markerIcon: marker_icons_filter markerShape: string_filter_operators menuColor: string_filter_operators - menuIcon: directus_files_filter menuText: string_filter_operators name: string_filter_operators onlyOnePerOwner: boolean_filter_operators public_edit_items: boolean_filter_operators + sort: number_filter_operators userProfileLayer: boolean_filter_operators - maps: layers_maps_quantifier_filter - maps_func: count_function_filter_operators notifications: layers_directus_users_1_quantifier_filter notifications_func: count_function_filter_operators + maps: layers_maps_quantifier_filter + maps_func: count_function_filter_operators _and: [layers_filter] _or: [layers_filter] } @@ -3732,6 +3776,7 @@ input maps_filter { expand_layer_control: boolean_filter_operators geo: string_filter_operators geo_func: count_function_filter_operators + hide_signup: boolean_filter_operators id: id_filter_operators info_open: boolean_filter_operators logo: directus_files_filter @@ -3740,6 +3785,7 @@ input maps_filter { show_filter_control: boolean_filter_operators show_gratitude_control: boolean_filter_operators show_layer_control: boolean_filter_operators + show_request_password: boolean_filter_operators show_theme_control: boolean_filter_operators show_zoom_control: boolean_filter_operators tile_server_attribution: string_filter_operators @@ -3756,6 +3802,8 @@ input marker_icons_filter { id: string_filter_operators image: directus_files_filter size: number_filter_operators + image_outline: directus_files_filter + size_outline: number_filter_operators _and: [marker_icons_filter] _or: [marker_icons_filter] } @@ -3853,6 +3901,8 @@ input Themes_filter { } input types_filter { + button_label: string_filter_operators + custom_profile_url: string_filter_operators custom_text: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators @@ -3865,6 +3915,7 @@ input types_filter { onepager: boolean_filter_operators questlog: boolean_filter_operators relations: boolean_filter_operators + show_header_view_in_form: boolean_filter_operators show_name: boolean_filter_operators show_name_input: boolean_filter_operators show_profile_button: boolean_filter_operators @@ -3872,9 +3923,11 @@ input types_filter { show_start_end_input: boolean_filter_operators show_text: boolean_filter_operators show_text_input: boolean_filter_operators + small_form_edit: boolean_filter_operators template: string_filter_operators text: boolean_filter_operators text_area: boolean_filter_operators + text_input_label: string_filter_operators user_created: directus_users_filter user_updated: directus_users_filter profileTemplate: types_profileTemplate_quantifier_filter @@ -4252,7 +4305,6 @@ input update_layers_directus_users_1_input { input update_layers_input { id: ID - indexIcon: update_directus_files_input index_plus_button: Boolean itemType: update_types_input item_presets: JSON @@ -4261,14 +4313,14 @@ input update_layers_input { markerIcon: update_marker_icons_input markerShape: String menuColor: String - menuIcon: update_directus_files_input menuText: String name: String onlyOnePerOwner: Boolean public_edit_items: Boolean + sort: Int userProfileLayer: Boolean - maps: [update_layers_maps_input] notifications: [update_layers_directus_users_1_input] + maps: [update_layers_maps_input] } input update_layers_maps_input { @@ -4290,6 +4342,7 @@ input update_maps_input { """You can include GeoJSON""" geo: JSON + hide_signup: Boolean id: ID info_open: Boolean logo: update_directus_files_input @@ -4298,6 +4351,7 @@ input update_maps_input { show_filter_control: Boolean show_gratitude_control: Boolean show_layer_control: Boolean + show_request_password: Boolean show_theme_control: Boolean show_zoom_control: Boolean tile_server_attribution: String @@ -4311,6 +4365,8 @@ input update_marker_icons_input { id: ID image: update_directus_files_input size: Float + image_outline: update_directus_files_input + size_outline: Float } input update_Themes_input { @@ -4318,6 +4374,8 @@ input update_Themes_input { } input update_types_input { + button_label: String + custom_profile_url: String custom_text: String date_created: Date date_updated: Date @@ -4328,6 +4386,7 @@ input update_types_input { onepager: Boolean questlog: Boolean relations: Boolean + show_header_view_in_form: Boolean show_name: Boolean show_name_input: Boolean show_profile_button: Boolean @@ -4335,9 +4394,11 @@ input update_types_input { show_start_end_input: Boolean show_text: Boolean show_text_input: Boolean + small_form_edit: Boolean template: String text: Boolean text_area: Boolean + text_input_label: String user_created: update_directus_users_input user_updated: update_directus_users_input profileTemplate: [update_types_profileTemplate_input] diff --git a/backend/directus-config/development/sql/branding-logo.sql b/backend/directus-config/development/sql/branding-logo.sql new file mode 100644 index 00000000..e9efc137 --- /dev/null +++ b/backend/directus-config/development/sql/branding-logo.sql @@ -0,0 +1 @@ +UPDATE public.directus_settings SET project_logo = (SELECT id FROM directus_files WHERE filename_download = 'utopia-logo.svg'); diff --git a/backend/directus-config/development/sql/register-role.sql b/backend/directus-config/development/sql/register-role.sql new file mode 100644 index 00000000..ee86ea21 --- /dev/null +++ b/backend/directus-config/development/sql/register-role.sql @@ -0,0 +1,5 @@ +UPDATE public.directus_permissions + SET presets = jsonb_set(presets::jsonb,'{role}', to_jsonb((SELECT id FROM public.directus_roles WHERE name = 'Registrated')), true) + WHERE policy = (SELECT id FROM public.directus_policies WHERE name = '$t:public_label') + AND collection = 'directus_users' + AND action = 'create'; \ No newline at end of file diff --git a/backend/directus-config/development/sql/type-ui-components.sql b/backend/directus-config/development/sql/type-ui-components.sql new file mode 100644 index 00000000..4d3c8fc3 --- /dev/null +++ b/backend/directus-config/development/sql/type-ui-components.sql @@ -0,0 +1,66 @@ +-- Type: text+gallery +INSERT INTO public."types_profileTemplate" (collection, id, item, sort, types_id) +SELECT + 'texts', '1', '7c25fdf6-d5f2-425a-9a2e-03c5297d10bc' , '1', types.id +FROM + public.types as types +WHERE + name = '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', '2', 'ea97b565-037c-4d0c-bcec-5e38793a6e7f' , '2', types.id +FROM + public.types as types +WHERE + name = 'text+gallery' +ON CONFLICT (id) DO UPDATE + SET collection = excluded.collection, + item = excluded.item, + sort = excluded.sort, + types_id = excluded.types_id; + +-- Type: event +INSERT INTO public."types_profileTemplate" (collection, id, item, sort, types_id) +SELECT + 'startEnd', '3', '0b5e5f0a-76a4-407f-84ab-2fd718965909' , '1', types.id +FROM + public.types as types +WHERE + name = 'event' +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 + 'texts', '4', '94f6af1d-77e5-49ed-937b-6b9addc4f8ac' , '2', types.id +FROM + public.types as types +WHERE + name = 'event' +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', '5', 'b0c52d6e-b3d2-4e3b-89e2-065be324e27b' , '3', types.id +FROM + public.types as types +WHERE + name = 'event' +ON CONFLICT (id) DO UPDATE + SET collection = excluded.collection, + item = excluded.item, + sort = excluded.sort, + types_id = excluded.types_id; diff --git a/backend/directus-config/manual/seed.sh b/backend/directus-config/manual/seed.sh deleted file mode 100755 index a31092e2..00000000 --- a/backend/directus-config/manual/seed.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -# base setup -SCRIPT_PATH=$(realpath $0) -SCRIPT_DIR=$(dirname $SCRIPT_PATH) -ROOT_DIR=$SCRIPT_DIR/../../.. - -DATA_DIR=$ROOT_DIR/data -DATA_UPLOADS_DIR=$DATA_DIR/uploads - -SEED_FILES_DIR=$SCRIPT_DIR/files -SEED_SQL_DIR=$SCRIPT_DIR/sql - -# copy files -cp $SEED_FILES_DIR/* $DATA_UPLOADS_DIR/ - -# apply database updates -for filename in $SEED_SQL_DIR/*.sql; do - docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql -v ON_ERROR_STOP=1 --username directus directus" < $filename -done \ No newline at end of file diff --git a/backend/directus-config/manual/sql/branding-logo.sql b/backend/directus-config/manual/sql/branding-logo.sql deleted file mode 100644 index 101b948c..00000000 --- a/backend/directus-config/manual/sql/branding-logo.sql +++ /dev/null @@ -1,7 +0,0 @@ -DELETE FROM public.directus_files WHERE id = '412c25dc-a3b7-4114-b64b-cac2d6b46db3'; - -COPY public.directus_files (id, storage, filename_disk, filename_download, title, type, folder, uploaded_by, created_on, modified_by, modified_on, charset, filesize, width, height, duration, embed, description, location, tags, metadata, focal_point_x, focal_point_y, tus_id, tus_data, uploaded_on) FROM stdin; -412c25dc-a3b7-4114-b64b-cac2d6b46db3 local 412c25dc-a3b7-4114-b64b-cac2d6b46db3.svg utopia-logo.svg utopia-logo image/svg+xml \N \N 2025-08-12 11:26:36.539+00 \N 2025-08-12 11:27:07.646+00 \N 22906 \N \N \N \N \N \N \N \N \N \N \N \N 2025-08-12 11:26:36.555+00 -\. - -UPDATE public.directus_settings SET project_logo = '412c25dc-a3b7-4114-b64b-cac2d6b46db3'; diff --git a/backend/directus-config/seed/layers.json b/backend/directus-config/seed/layers.json deleted file mode 100644 index 22512571..00000000 --- a/backend/directus-config/seed/layers.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "collection": "layers", - "meta": { - "insert_order": 1, - "create": true, - "update": true, - "delete": true, - "preserve_ids": false, - "ignore_on_update": [] - }, - "data": [ - { - "_sync_id": "layer-places", - "name": "Places", - "itemType": "type-test", - "userProfileLayer": false, - "menuColor": "#2ECDA7", - "markerDefaultColor2": null, - "onlyOnePerOwner": false, - "index_plus_button": true, - "public_edit_items": false, - "listed": true, - "item_presets": null - } - ] -} \ No newline at end of file diff --git a/backend/directus-config/seed/layers_maps.json b/backend/directus-config/seed/layers_maps.json deleted file mode 100644 index 88277f6c..00000000 --- a/backend/directus-config/seed/layers_maps.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "collection": "layers_maps", - "meta": { - "insert_order": 1, - "create": true, - "update": true, - "delete": true, - "preserve_ids": false, - "ignore_on_update": [] - }, - "data": [ - { - "_sync_id": "layer-places-map-local-development", - "layers_id": "layer-places", - "maps_id": "map-local-development" - } - ] -} \ No newline at end of file diff --git a/backend/directus-config/seed/types.json b/backend/directus-config/seed/types.json deleted file mode 100644 index 81594cf3..00000000 --- a/backend/directus-config/seed/types.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "collection": "types", - "meta": { - "insert_order": 1, - "create": true, - "update": true, - "delete": true, - "preserve_ids": false, - "ignore_on_update": [] - }, - "data": [ - { - "_sync_id": "type-test", - "user_created": null, - "date_created": "2025-01-01T00:00:00.000Z", - "user_updated": null, - "date_updated": null, - "name": "test", - "template": "flex" - } - ] -} diff --git a/backend/directus-config/snapshot/fields/items/Wuederkompass.json b/backend/directus-config/snapshot/fields/items/Wuederkompass.json deleted file mode 100644 index c32cd570..00000000 --- a/backend/directus-config/snapshot/fields/items/Wuederkompass.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "collection": "items", - "field": "Wuederkompass", - "type": "alias", - "meta": { - "collection": "items", - "conditions": null, - "display": null, - "display_options": null, - "field": "Wuederkompass", - "group": null, - "hidden": false, - "interface": "group-raw", - "note": "Würdekompass", - "options": null, - "readonly": false, - "required": false, - "sort": 23, - "special": [ - "alias", - "no-data", - "group" - ], - "translations": null, - "validation": null, - "validation_message": null, - "width": "full" - } -} diff --git a/backend/directus-config/snapshot/fields/layers/Add_Button.json b/backend/directus-config/snapshot/fields/layers/Add_Button.json deleted file mode 100644 index 917f1405..00000000 --- a/backend/directus-config/snapshot/fields/layers/Add_Button.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "collection": "layers", - "field": "Add_Button", - "type": "alias", - "meta": { - "collection": "layers", - "conditions": null, - "display": null, - "display_options": null, - "field": "Add_Button", - "group": null, - "hidden": false, - "interface": "group-detail", - "note": null, - "options": { - "headerColor": null, - "headerIcon": null - }, - "readonly": false, - "required": false, - "sort": 8, - "special": [ - "alias", - "no-data", - "group" - ], - "translations": null, - "validation": null, - "validation_message": null, - "width": "full" - } -} diff --git a/backend/directus-config/snapshot/relations/layers/menuIcon.json b/backend/directus-config/snapshot/relations/layers/menuIcon.json deleted file mode 100644 index facd048b..00000000 --- a/backend/directus-config/snapshot/relations/layers/menuIcon.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "collection": "layers", - "field": "menuIcon", - "related_collection": "directus_files", - "meta": { - "junction_field": null, - "many_collection": "layers", - "many_field": "menuIcon", - "one_allowed_collections": null, - "one_collection": "directus_files", - "one_collection_field": null, - "one_deselect_action": "nullify", - "one_field": null, - "sort_field": null - }, - "schema": { - "table": "layers", - "column": "menuIcon", - "foreign_key_table": "directus_files", - "foreign_key_column": "id", - "constraint_name": "layers_menuicon_foreign", - "on_update": "NO ACTION", - "on_delete": "SET NULL" - } -} diff --git a/backend/extensions/package.json b/backend/extensions/package.json index 3d392c73..90366a48 100644 --- a/backend/extensions/package.json +++ b/backend/extensions/package.json @@ -1,6 +1,6 @@ { "name": "directus-extensions", "dependencies": { - "directus-extension-sync": "^3.0.3" + "directus-extension-sync": "^3.0.4" } } \ No newline at end of file diff --git a/backend/seed.sh b/backend/seed.sh new file mode 100755 index 00000000..42b97d31 --- /dev/null +++ b/backend/seed.sh @@ -0,0 +1,41 @@ +#!/bin/sh + +# base setup +SCRIPT_PATH=$(realpath $0) +SCRIPT_DIR=$(dirname $SCRIPT_PATH) + +DIRECTUS_URL="${DIRECTUS_URL:-http://localhost:8055}" +DIRECTUS_EMAIL="${DIRECTUS_EMAIL:-admin@it4c.dev}" +DIRECTUS_PASSWORD="${DIRECTUS_PASSWORD:-admin123}" + +PGPASSWORD="${PGPASSWORD:-'directus'}" +PGUSER="${PGUSER:-'directus'}" +PGDATABASE="${PGDATABASE:-'directus'}" + +PROJECT_NAME="${PROJECT:-development}" +PROJECT_FOLDER=$SCRIPT_DIR/directus-config/$PROJECT_NAME + +echo "Sync collections" +npx directus-sync push \ + --dump-path $PROJECT_FOLDER \ + --directus-url $DIRECTUS_URL \ + --directus-email $DIRECTUS_EMAIL \ + --directus-password $DIRECTUS_PASSWORD \ + || exit 1 + +echo "Seed data" +npx directus-sync seed push \ + --seed-path $PROJECT_FOLDER/seed \ + --directus-url $DIRECTUS_URL \ + --directus-email $DIRECTUS_EMAIL \ + --directus-password $DIRECTUS_PASSWORD \ + || exit 1 + +SQL_DIR=$PROJECT_FOLDER/sql + +echo "Execute custom sql-files" +# apply database updates +for filename in $SQL_DIR/*.sql; do + echo "Executing $filename" + docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=$PGPASSWORD psql -v ON_ERROR_STOP=1 --username $PGUSER $PGDATABASE" < $filename || exit 1 +done \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index b81a5a3c..86ae6231 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -56,6 +56,7 @@ services: CORS_ENABLED: 'true' CORS_ORIGIN: 'array:http://localhost:8080,http://localhost:5174' + PASSWORD_RESET_URL_ALLOW_LIST: 'http://localhost:8080/set-new-password/,http://localhost:5174/set-new-password/' DB_CLIENT: 'pg' DB_HOST: 'database' @@ -71,3 +72,15 @@ services: ADMIN_EMAIL: 'admin@it4c.dev' ADMIN_PASSWORD: 'admin123' + + #EMAIL_FROM: 'utopia@localhost' + #EMAIL_TRANSPORT: "smtp" + #EMAIL_SMTP_HOST: "maildev" + #EMAIL_SMTP_PORT: "465" + #EMAIL_SMTP_POOL: false + #EMAIL_SMTP_SECURE: true + #EMAIL_VERIFY_SETUP: true + #EMAIL_SMTP_IGNORE_TLS: true + #EMAIL_SMTP_TLS: true + #EMAIL_SMTP_TLS_REJECT_UNAUTHORIZED: false + #EMAIL_SMTP_NAME: "Utopia Development" diff --git a/lib/examples/2-static-layers/src/App.tsx b/lib/examples/2-static-layers/src/App.tsx index 16812b0c..52df3b23 100644 --- a/lib/examples/2-static-layers/src/App.tsx +++ b/lib/examples/2-static-layers/src/App.tsx @@ -50,7 +50,6 @@ function App() { markerShape='square' markerDefaultColor='#700' data={events} - menuIcon="calendar" menuColor="#700" menuText="events" itemType={itemTypeEvent} @@ -64,7 +63,6 @@ function App() { markerShape='circle' markerDefaultColor='#007' data={places} - menuIcon="point" menuColor="#007" menuText="places" itemType={itemTypePlace} diff --git a/lib/src/Components/AppShell/AppShell.tsx b/lib/src/Components/AppShell/AppShell.tsx index 71146b26..4e2a9c34 100644 --- a/lib/src/Components/AppShell/AppShell.tsx +++ b/lib/src/Components/AppShell/AppShell.tsx @@ -15,12 +15,14 @@ export function AppShell({ assetsApi, embedded, openCollectiveApiKey, + hideSignup, }: { appName: string children: React.ReactNode assetsApi: AssetsApi embedded?: boolean openCollectiveApiKey?: string + hideSignup?: boolean }) { return ( @@ -29,6 +31,7 @@ export function AppShell({ assetsApi={assetsApi} embedded={embedded} openCollectiveApiKey={openCollectiveApiKey} + hideSignup={hideSignup} />
diff --git a/lib/src/Components/AppShell/SetAppState.tsx b/lib/src/Components/AppShell/SetAppState.tsx index 10b9e4a6..e27bf4c5 100644 --- a/lib/src/Components/AppShell/SetAppState.tsx +++ b/lib/src/Components/AppShell/SetAppState.tsx @@ -8,10 +8,12 @@ export const SetAppState = ({ assetsApi, embedded, openCollectiveApiKey, + hideSignup, }: { assetsApi: AssetsApi embedded?: boolean openCollectiveApiKey?: string + hideSignup?: boolean }) => { const setAppState = useSetAppState() @@ -27,5 +29,9 @@ export const SetAppState = ({ setAppState({ openCollectiveApiKey }) }, [openCollectiveApiKey, setAppState]) + useEffect(() => { + setAppState({ hideSignup: hideSignup ?? false }) + }, [hideSignup, setAppState]) + return <> } diff --git a/lib/src/Components/AppShell/UserControl.tsx b/lib/src/Components/AppShell/UserControl.tsx index c951d372..c108ab2a 100644 --- a/lib/src/Components/AppShell/UserControl.tsx +++ b/lib/src/Components/AppShell/UserControl.tsx @@ -1,9 +1,11 @@ import EllipsisVerticalIcon from '@heroicons/react/16/solid/EllipsisVerticalIcon' -import { Link } from 'react-router-dom' +import { LatLng } from 'leaflet' +import { Link, useNavigate } from 'react-router-dom' import { toast } from 'react-toastify' import { useAuth } from '#components/Auth/useAuth' import { useMyProfile } from '#components/Map/hooks/useMyProfile' +import { usePopupForm } from '#components/Map/hooks/usePopupForm' import { useAppState } from './hooks/useAppState' @@ -13,6 +15,8 @@ export const UserControl = () => { const { isAuthenticated, user, logout } = useAuth() const appState = useAppState() const { myProfile } = useMyProfile() + const navigate = useNavigate() + const { setPopupForm } = usePopupForm() // Use myProfile or create a fallback object for display const userProfile: Partial = myProfile ?? { @@ -38,6 +42,32 @@ export const UserControl = () => { pending: 'logging out ..', }) } + + const handleEdit = () => { + if (!myProfile?.layer) { + navigate(userProfile.id ? `/edit-item/${userProfile.id}` : '#') + return + } + + if (myProfile.layer.itemType.small_form_edit && myProfile.position) { + navigate('/') + // Wait for navigation to complete before setting popup + setTimeout(() => { + if (myProfile.position && myProfile.layer) { + setPopupForm({ + position: new LatLng( + myProfile.position.coordinates[1], + myProfile.position.coordinates[0], + ), + layer: myProfile.layer, + item: myProfile, + }) + } + }, 100) + } else { + navigate(userProfile.id ? `/edit-item/${userProfile.id}` : '#') + } + } const avatar: string | undefined = userProfile.image && appState.assetsApi.url ? appState.assetsApi.url + userProfile.image @@ -48,7 +78,13 @@ export const UserControl = () => { {isAuthenticated ? (
{avatar && ( @@ -69,7 +105,13 @@ export const UserControl = () => { className='tw:menu tw:menu-compact tw:dropdown-content tw:mt-4 tw:p-2 tw:shadow tw:bg-base-100 tw:rounded-box tw:w-52 tw:z-10000!' >
  • - Profile + { + handleEdit() + }} + > + Profile +
  • Settings @@ -93,9 +135,11 @@ export const UserControl = () => {
    Login
    - -
    Sign Up
    - + {!appState.hideSignup && ( + +
    Sign Up
    + + )}
  • diff --git a/lib/src/Components/AppShell/hooks/useAppState.tsx b/lib/src/Components/AppShell/hooks/useAppState.tsx index 8d4a52d2..2db08b38 100644 --- a/lib/src/Components/AppShell/hooks/useAppState.tsx +++ b/lib/src/Components/AppShell/hooks/useAppState.tsx @@ -11,6 +11,7 @@ interface AppState { showThemeControl: boolean embedded: boolean openCollectiveApiKey: string + hideSignup: boolean } type UseAppManagerResult = ReturnType @@ -22,6 +23,7 @@ const initialAppState: AppState = { showThemeControl: false, embedded: false, openCollectiveApiKey: '', + hideSignup: false, } const AppContext = createContext({ diff --git a/lib/src/Components/Auth/LoginPage.tsx b/lib/src/Components/Auth/LoginPage.tsx index a87bdd01..6a6b3c81 100644 --- a/lib/src/Components/Auth/LoginPage.tsx +++ b/lib/src/Components/Auth/LoginPage.tsx @@ -11,12 +11,13 @@ import type { InviteApi } from '#types/InviteApi' interface Props { inviteApi: InviteApi + showRequestPassword?: boolean } /** * @category Auth */ -export function LoginPage({ inviteApi }: Props) { +export function LoginPage({ inviteApi, showRequestPassword }: Props) { const [email, setEmail] = useState('') const [password, setPassword] = useState('') @@ -106,11 +107,13 @@ export function LoginPage({ inviteApi }: Props) { className='tw:input tw:input-bordered tw:w-full tw:max-w-xs' />
    - - - Forgot Password? - - + {!showRequestPassword && ( + + + Forgot Password? + + + )}
    + {showRequestPassword && ( + <> +
    OR
    +
    + + + + + The map requires an additional password. If you don't have it yet, you can + request one. + +
    + + + + + )}
    ) diff --git a/lib/src/Components/Auth/RequestPasswordPage.tsx b/lib/src/Components/Auth/RequestPasswordPage.tsx index 0f15acd5..dcfb416f 100644 --- a/lib/src/Components/Auth/RequestPasswordPage.tsx +++ b/lib/src/Components/Auth/RequestPasswordPage.tsx @@ -37,7 +37,7 @@ export function RequestPasswordPage({ resetUrl }: { resetUrl: string }) { return ( -

    Reset Password

    +

    Request Password

    { let canAdd = false @@ -49,7 +51,7 @@ export default function AddButton({
    diff --git a/lib/src/Components/Map/Subcomponents/Controls/LocateControl.spec.tsx b/lib/src/Components/Map/Subcomponents/Controls/LocateControl.spec.tsx index 5fdec8e9..8bfbfd5c 100644 --- a/lib/src/Components/Map/Subcomponents/Controls/LocateControl.spec.tsx +++ b/lib/src/Components/Map/Subcomponents/Controls/LocateControl.spec.tsx @@ -114,7 +114,6 @@ const mockItemType: ItemType = { const mockLayer: Layer = { id: 'layer-1', name: 'Users', - menuIcon: 'user', menuColor: '#ff0000', menuText: 'Users', markerIcon: mockMarkerIcon, diff --git a/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx b/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx index 063bf445..536ee3e5 100644 --- a/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx +++ b/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx @@ -260,7 +260,10 @@ export const LocateControl = (): JSX.Element => { setShowLocationModal(false)} + onClose={() => { + setShowLocationModal(false) + setHasDeclinedModal(true) + }} showCloseButton={true} closeOnClickOutside={false} className='tw:bottom-1/3 tw:mx-4 tw:sm:mx-auto' diff --git a/lib/src/Components/Map/Subcomponents/Controls/SearchControl.tsx b/lib/src/Components/Map/Subcomponents/Controls/SearchControl.tsx index f82a3693..1193cbe2 100644 --- a/lib/src/Components/Map/Subcomponents/Controls/SearchControl.tsx +++ b/lib/src/Components/Map/Subcomponents/Controls/SearchControl.tsx @@ -177,26 +177,26 @@ export const SearchControl = () => { } }} > - {item.layer?.menuIcon ? ( - { - code = code.replace(/fill=".*?"/g, 'fill="currentColor"') - code = code.replace(/stroke=".*?"/g, 'stroke="currentColor"') - return code - }} - /> + {item.layer?.markerIcon.image ? ( +
    + { + code = code.replace(/fill=".*?"/g, 'fill="currentColor"') + code = code.replace(/stroke=".*?"/g, 'stroke="currentColor"') + return code + }} + /> +
    ) : ( -
    +
    )}
    {item.name}
    -
    - {item.text} -
    ))} diff --git a/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx b/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx index 65d9773d..534336a3 100644 --- a/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx +++ b/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx @@ -159,8 +159,11 @@ export function ItemFormPopup(props: Props) { popupForm.layer.api?.updateItem!({ ...formItem, id: existingUserItem.id }) ?? Promise.resolve({} as Item) : () => - popupForm.layer.api?.createItem!({ ...formItem, name: itemName }) ?? - Promise.resolve({} as Item) + popupForm.layer.api?.createItem!({ + ...formItem, + name: itemName, + id: crypto.randomUUID(), + }) ?? Promise.resolve({} as Item) const result = await handleApiOperation( operation, @@ -254,7 +257,7 @@ export function ItemFormPopup(props: Props) { onSubmit={(e) => handleSubmit(e)} > {popupForm.item ? ( -
    +
    ) : (
    {menuText} diff --git a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx index 89ef9697..d31f3cd3 100644 --- a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx +++ b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx @@ -37,7 +37,7 @@ export function HeaderView({ hideSubname = false, showAddress = false, }: { - item: Item + item?: Item api?: ItemsApi editCallback?: any deleteCallback?: any @@ -58,10 +58,10 @@ export function HeaderView({ const [imageLoaded, setImageLoaded] = useState(false) const avatar = - (item.image && appState.assetsApi.url + item.image + '?width=160&heigth=160') || - item.image_external - const title = item.name - const subtitle = item.subname + (item?.image && appState.assetsApi.url + item.image + '?width=160&heigth=160') || + item?.image_external + const title = item?.name + const subtitle = item?.subname const [address] = useState('') @@ -71,7 +71,7 @@ export function HeaderView({ setModalOpen(true) event.stopPropagation() } - + if (!item) return null return ( <>
    diff --git a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.tsx b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.tsx index 119262b5..326a69e8 100644 --- a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.tsx +++ b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/PopupButton.tsx @@ -1,5 +1,6 @@ /* eslint-disable @typescript-eslint/no-unnecessary-condition */ /* eslint-disable @typescript-eslint/restrict-template-expressions */ +import { get } from 'radash' import { Link } from 'react-router-dom' import { useGetItemTags } from '#components/Map/hooks/useTags' @@ -14,17 +15,20 @@ export const PopupButton = ({ parameterField, text, item, + target, }: { url: string parameterField?: string text: string item?: Item + target?: string }) => { const params = new URLSearchParams(window.location.search) const getItemTags = useGetItemTags() + const parameter = get(item, parameterField ?? 'id') return ( - +
    diff --git a/lib/src/Components/Map/hooks/useSelectPosition.tsx b/lib/src/Components/Map/hooks/useSelectPosition.tsx index 467a917c..26435915 100644 --- a/lib/src/Components/Map/hooks/useSelectPosition.tsx +++ b/lib/src/Components/Map/hooks/useSelectPosition.tsx @@ -97,11 +97,11 @@ function useSelectPositionManager(): { useEffect(() => { if (selectPosition != null) { // selectPosition can be null, Layer or Item - if ('menuIcon' in selectPosition) { + if ('markerIcon' in selectPosition) { // if selectPosition is a Layer mapClicked && mapClicked.setItemFormPopup({ - layer: selectPosition, + layer: selectPosition as LayerProps, position: mapClicked.position, }) setSelectPosition(null) diff --git a/lib/src/Components/Profile/ItemFunctions.spec.tsx b/lib/src/Components/Profile/ItemFunctions.spec.tsx index 5b430d8f..9644e507 100644 --- a/lib/src/Components/Profile/ItemFunctions.spec.tsx +++ b/lib/src/Components/Profile/ItemFunctions.spec.tsx @@ -36,7 +36,6 @@ describe('linkItem', () => { getItems: vi.fn(), }, name: '', - menuIcon: '', menuColor: '', menuText: '', markerIcon: { diff --git a/lib/src/Components/Profile/Subcomponents/AvatarWidget.tsx b/lib/src/Components/Profile/Subcomponents/AvatarWidget.tsx index 57d4bcfe..97137574 100644 --- a/lib/src/Components/Profile/Subcomponents/AvatarWidget.tsx +++ b/lib/src/Components/Profile/Subcomponents/AvatarWidget.tsx @@ -10,14 +10,16 @@ import UserSVG from '#assets/user.svg' import { useAppState } from '#components/AppShell/hooks/useAppState' import DialogModal from '#components/Templates/DialogModal' +import type { Item } from '#types/Item' import type { Crop } from 'react-image-crop' interface AvatarWidgetProps { avatar?: string setAvatar: React.Dispatch> + item?: Item } -export const AvatarWidget: React.FC = ({ avatar, setAvatar }) => { +export const AvatarWidget: React.FC = ({ avatar, setAvatar, item }) => { const [crop, setCrop] = useState() const [image, setImage] = useState('') const [cropModalOpen, setCropModalOpen] = useState(false) @@ -181,7 +183,7 @@ export const AvatarWidget: React.FC = ({ avatar, setAvatar })
    ) : (
    - +
    )} diff --git a/lib/src/Components/Profile/Subcomponents/FormHeader.tsx b/lib/src/Components/Profile/Subcomponents/FormHeader.tsx index 8f34dd55..12862677 100644 --- a/lib/src/Components/Profile/Subcomponents/FormHeader.tsx +++ b/lib/src/Components/Profile/Subcomponents/FormHeader.tsx @@ -26,6 +26,7 @@ export const FormHeader = ({ item, state, setState }: Props) => { image: i, })) } + item={item} /> { + if (!i.layer) { + throw new Error('Layer is not defined') + } + + if (i.layer.itemType.small_form_edit && i.position) { + navigate('/') + // Wait for navigation to complete before setting popup + setTimeout(() => { + if (i.position && i.layer) { + const position = new LatLng(i.position.coordinates[1], i.position.coordinates[0]) + setPopupForm({ + position, + layer: i.layer, + item: i, + }) + map.setView(position, map.getZoom(), { duration: 1 }) + } + }, 100) + } else { + navigate('/edit-item/' + i.id) + } + } return (
    navigate('/edit-item/' + i.id)} + editCallback={() => handleEdit()} setPositionCallback={() => { map.closePopup() setSelectPosition(i) diff --git a/lib/src/types/Item.d.ts b/lib/src/types/Item.d.ts index d211adfe..ece0d01d 100644 --- a/lib/src/types/Item.d.ts +++ b/lib/src/types/Item.d.ts @@ -61,6 +61,7 @@ export interface Item { gallery?: GalleryItem[] openCollectiveSlug?: string secrets?: ItemSecret[] + extended?: JSON // { // coordinates: [number, number] diff --git a/lib/src/types/ItemType.d.ts b/lib/src/types/ItemType.d.ts index df56aff7..a3ddb207 100644 --- a/lib/src/types/ItemType.d.ts +++ b/lib/src/types/ItemType.d.ts @@ -16,4 +16,9 @@ export interface ItemType { relations: boolean template: string questlog: boolean + custom_profile_url?: string + small_form_edit?: boolean + botton_label?: string + text_input_label?: string + show_header_view_in_form?: boolean } diff --git a/lib/src/types/LayerProps.d.ts b/lib/src/types/LayerProps.d.ts index 3839d721..40aa6196 100644 --- a/lib/src/types/LayerProps.d.ts +++ b/lib/src/types/LayerProps.d.ts @@ -11,7 +11,6 @@ export interface LayerProps { data?: Item[] children?: React.ReactNode name: string - menuIcon: string menuColor: string menuText: string markerIcon: MarkerIcon diff --git a/lib/src/types/MarkerIcon.d.ts b/lib/src/types/MarkerIcon.d.ts index 052311c8..cde3cdf4 100644 --- a/lib/src/types/MarkerIcon.d.ts +++ b/lib/src/types/MarkerIcon.d.ts @@ -1,4 +1,6 @@ export interface MarkerIcon { image: string size?: number + image_outline?: string + size_outline?: number } diff --git a/lib/src/types/UtopiaMapProps.d.ts b/lib/src/types/UtopiaMapProps.d.ts index b5aec550..01c2dc86 100644 --- a/lib/src/types/UtopiaMapProps.d.ts +++ b/lib/src/types/UtopiaMapProps.d.ts @@ -20,4 +20,6 @@ export interface UtopiaMapProps { expandLayerControl?: boolean tileServerUrl?: string tileServerAttribution?: string + show_request_password?: boolean + hideSignup?: boolean }