From 7e0d44dac801a38252bc47d906bdb638f29e0acc Mon Sep 17 00:00:00 2001 From: Anton Tranelis <31516529+antontranelis@users.noreply.github.com> Date: Wed, 16 Jul 2025 20:57:21 +0200 Subject: [PATCH 01/29] fix(app): add close button to custom info modal (#275) * add close button to custom info modal * update workflow * fixes workflow --------- Co-authored-by: Ulf Gebhardt --- .github/workflows/test.build.lib.yml | 8 +++++++- app/src/ModalContent.tsx | 8 ++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.build.lib.yml b/.github/workflows/test.build.lib.yml index 99b3cd50..f47d03b2 100644 --- a/.github/workflows/test.build.lib.yml +++ b/.github/workflows/test.build.lib.yml @@ -1,6 +1,12 @@ name: build:lib -on: push +on: + push: + branches: + - main + pull_request: + branches: + - main jobs: files-changed: diff --git a/app/src/ModalContent.tsx b/app/src/ModalContent.tsx index 61ba2a6e..65e849dc 100644 --- a/app/src/ModalContent.tsx +++ b/app/src/ModalContent.tsx @@ -17,6 +17,14 @@ export function Welcome1({ clickAction1, map }: ChapterProps) { {map.custom_text ? ( <> +
+ +
) : ( <> From 945e5b066a1be36de998e86980770ad4572b82cb Mon Sep 17 00:00:00 2001 From: Anton Tranelis <31516529+antontranelis@users.noreply.github.com> Date: Wed, 6 Aug 2025 15:04:52 +0200 Subject: [PATCH 02/29] feat(lib): add support for external images in items (#291) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add support for external images in items Add image_external field to Item type and update HeaderView to prefer external images over internal ones when available. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude * fix: prettier formatting for external image feature --------- Co-authored-by: Claude --- .../Map/Subcomponents/ItemPopupComponents/HeaderView.tsx | 4 +++- lib/src/types/Item.d.ts | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx index 64b8d07b..7a79481e 100644 --- a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx +++ b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx @@ -57,7 +57,9 @@ export function HeaderView({ const [imageLoaded, setImageLoaded] = useState(false) - const avatar = item.image && appState.assetsApi.url + item.image + '?width=160&heigth=160' + const avatar = + item.image_external || + (item.image && appState.assetsApi.url + item.image + '?width=160&heigth=160') const title = item.name const subtitle = item.subname diff --git a/lib/src/types/Item.d.ts b/lib/src/types/Item.d.ts index 12d4b8e2..d211adfe 100644 --- a/lib/src/types/Item.d.ts +++ b/lib/src/types/Item.d.ts @@ -46,6 +46,7 @@ export interface Item { slug?: string user_created?: UserItem image?: string + image_external?: string group_type?: string offers?: TagIds needs?: TagIds From 4e6fb570425d8811279ff66571dc84d577b6f046 Mon Sep 17 00:00:00 2001 From: Anton Tranelis <31516529+antontranelis@users.noreply.github.com> Date: Wed, 6 Aug 2025 15:07:18 +0200 Subject: [PATCH 03/29] fix(lib): critical vulnerability (#290) * fix critical vulnerability * fix same in app --- app/package-lock.json | 13 +++++++------ lib/package-lock.json | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/app/package-lock.json b/app/package-lock.json index 7bc582bd..5482fe90 100644 --- a/app/package-lock.json +++ b/app/package-lock.json @@ -6482,14 +6482,15 @@ } }, "node_modules/form-data": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", - "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", "mime-types": "^2.1.12" }, "engines": { @@ -7979,9 +7980,9 @@ } }, "node_modules/linkifyjs": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-4.3.1.tgz", - "integrity": "sha512-DRSlB9DKVW04c4SUdGvKK5FR6be45lTU9M76JnngqPeeGDqPwYc0zdUErtsNVMtxPXgUWV4HbXbnC4sNyBxkYg==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-4.3.2.tgz", + "integrity": "sha512-NT1CJtq3hHIreOianA8aSXn6Cw0JzYOuDQbOrSPe7gqFnCpKP++MQe3ODgO3oh2GJFORkAAdqredOa60z63GbA==", "license": "MIT" }, "node_modules/locate-path": { diff --git a/lib/package-lock.json b/lib/package-lock.json index 4dbba735..4753feef 100644 --- a/lib/package-lock.json +++ b/lib/package-lock.json @@ -6576,14 +6576,15 @@ } }, "node_modules/form-data": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz", - "integrity": "sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.4.tgz", + "integrity": "sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==", "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", "mime-types": "^2.1.12" }, "engines": { @@ -8439,9 +8440,9 @@ } }, "node_modules/linkifyjs": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-4.3.1.tgz", - "integrity": "sha512-DRSlB9DKVW04c4SUdGvKK5FR6be45lTU9M76JnngqPeeGDqPwYc0zdUErtsNVMtxPXgUWV4HbXbnC4sNyBxkYg==", + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-4.3.2.tgz", + "integrity": "sha512-NT1CJtq3hHIreOianA8aSXn6Cw0JzYOuDQbOrSPe7gqFnCpKP++MQe3ODgO3oh2GJFORkAAdqredOa60z63GbA==", "license": "MIT" }, "node_modules/listr2": { From 05268fbc3ddc304dbe48b5cef83368c514151f0c Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 11 Aug 2025 19:13:01 +0100 Subject: [PATCH 04/29] pin correct directus version 11.7.2 (#294) --- backend/Dockerfile | 2 +- backend/extensions/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index d5ad7d3d..9323ab54 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -7,6 +7,6 @@ RUN npm install RUN mkdir -p ./directus RUN cd node_modules && find . -maxdepth 1 -type d -name "directus-extension-*" -exec mv {} ../directus \; -FROM directus/directus:11.4.1 +FROM directus/directus:11.7.2 # Copy third party extensions COPY --from=third-party-ext /extensions/directus ./extensions \ No newline at end of file diff --git a/backend/extensions/package.json b/backend/extensions/package.json index 7deef02b..3d392c73 100644 --- a/backend/extensions/package.json +++ b/backend/extensions/package.json @@ -1,6 +1,6 @@ { "name": "directus-extensions", "dependencies": { - "directus-extension-sync": "^3.0.2" + "directus-extension-sync": "^3.0.3" } } \ No newline at end of file From 54b8d3e4f3f96a09fdc83fddd615b03c36c14a7c Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Mon, 11 Aug 2025 19:16:35 +0100 Subject: [PATCH 05/29] move docker compose to the correct directory and correct paths (#295) --- app/docker-compose.yml => docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename app/docker-compose.yml => docker-compose.yml (96%) diff --git a/app/docker-compose.yml b/docker-compose.yml similarity index 96% rename from app/docker-compose.yml rename to docker-compose.yml index ff7d9f5e..13bca5b7 100644 --- a/app/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,11 @@ services: - frontend: + app: image: cupcakearmy/static restart: unless-stopped ports: - 8080:80 volumes: - - ./dist:/srv:ro + - ./app/dist:/srv:ro database: image: postgis/postgis:13-master @@ -38,7 +38,7 @@ services: backend: container_name: backend build: - context: ../backend + context: ./backend depends_on: database: condition: service_healthy From d044143aa11d58cab23d0734c88d830e009b2fd5 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 12 Aug 2025 10:10:19 +0100 Subject: [PATCH 06/29] correctly bind and document postgress data folder bind (#298) --- .gitignore | 1 + backend/README.md | 11 ++++++++++- docker-compose.yml | 4 +--- 3 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..adbb97d2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +data/ \ No newline at end of file diff --git a/backend/README.md b/backend/README.md index 7d280167..94039570 100644 --- a/backend/README.md +++ b/backend/README.md @@ -13,4 +13,13 @@ npx directus-sync push \ --directus-url http://localhost:8055 \ --directus-email admin@it4c.dev \ --directus-password admin123 -``` \ No newline at end of file +``` + +## Access Data on local drive + +In order to access the postgress data mounted to the local drive at `/data/database` you need to make it accessible (assuming you are not root): +``` +sudo chmod 777 -R ./data/ +``` + +This process is to be repeated whenever you restart the database docker container \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 13bca5b7..0caabd00 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,10 +9,8 @@ services: database: image: postgis/postgis:13-master - # Required when running on platform other than amd64, like Apple M1/M2: - # platform: linux/amd64 volumes: - - ./data/database:/var/lib/postgresql/data + - ./data/database:/var/lib/postgresql/data:rw environment: POSTGRES_USER: 'directus' POSTGRES_PASSWORD: 'directus' From 6b57993d9f8ff48948a9715e329babad8647412f Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 13 Aug 2025 21:27:30 +0100 Subject: [PATCH 07/29] directus collections used on production (#297) --- .../directus-config/collections/flows.json | 192 +- .../directus-config/collections/folders.json | 58 +- .../collections/operations.json | 794 +- .../collections/permissions.json | 3373 ++- .../directus-config/collections/policies.json | 90 +- .../directus-config/collections/roles.json | 21 + .../directus-config/collections/settings.json | 66 +- .../snapshot/collections/Landingpage.json | 25 + .../snapshot/collections/Themes.json | 28 + .../snapshot/collections/UI_Components.json | 25 + .../snapshot/collections/UI_Config.json | 25 + .../snapshot/collections/attestations.json | 28 + .../attestations_directus_users.json | 28 + .../snapshot/collections/contactInfos.json | 28 + .../snapshot/collections/crowdfundings.json | 28 + .../snapshot/collections/features.json | 28 + .../snapshot/collections/gallery.json | 28 + .../snapshot/collections/groupSubheaders.json | 28 + .../groupSubheaders_groupTypes.json | 28 + .../snapshot/collections/groupTypes.json | 28 + .../snapshot/collections/inviteLinks.json | 28 + .../snapshot/collections/itemSecrets.json | 28 + .../snapshot/collections/items.json | 28 + .../snapshot/collections/items_files.json | 28 + .../snapshot/collections/items_items.json | 28 + .../snapshot/collections/items_tags.json | 28 + .../snapshot/collections/items_tags_1.json | 28 + .../junction_directus_users_tags.json | 28 + .../junction_directus_users_tags_1.json | 28 + .../snapshot/collections/layers.json | 28 + .../collections/layers_directus_users_1.json | 28 + .../snapshot/collections/layers_files.json | 28 + .../snapshot/collections/layers_maps.json | 28 + .../snapshot/collections/maps.json | 28 + .../snapshot/collections/marker_icons.json | 28 + .../collections/oceannomads_profiles.json | 28 + .../snapshot/collections/relations.json | 28 + .../snapshot/collections/startEnd.json | 28 + .../snapshot/collections/tags.json | 28 + .../snapshot/collections/team.json | 28 + .../snapshot/collections/texts.json | 28 + .../snapshot/collections/types.json | 28 + .../collections/types_profileTemplate.json | 28 + .../snapshot/fields/Themes/theme.json | 43 + .../snapshot/fields/attestations/color.json | 43 + .../fields/attestations/date_created.json | 47 + .../snapshot/fields/attestations/emoji.json | 43 + .../snapshot/fields/attestations/id.json | 45 + .../snapshot/fields/attestations/shape.json | 59 + .../snapshot/fields/attestations/text.json | 43 + .../snapshot/fields/attestations/to.json | 29 + .../fields/attestations/user_created.json | 47 + .../attestations_id.json | 43 + .../directus_users_id.json | 43 + .../attestations_directus_users/id.json | 43 + .../fields/contactInfos/date_created.json | 47 + .../fields/contactInfos/date_updated.json | 47 + .../snapshot/fields/contactInfos/heading.json | 43 + .../snapshot/fields/contactInfos/id.json | 45 + .../fields/contactInfos/user_created.json | 47 + .../fields/contactInfos/user_updated.json | 47 + .../fields/crowdfundings/date_created.json | 47 + .../fields/crowdfundings/date_updated.json | 47 + .../snapshot/fields/crowdfundings/id.json | 45 + .../fields/crowdfundings/user_created.json | 47 + .../fields/crowdfundings/user_updated.json | 47 + .../directus_sync_id_map/created_at.json | 4 +- .../fields/directus_sync_id_map/id.json | 8 +- .../fields/directus_sync_id_map/local_id.json | 2 +- .../fields/directus_sync_id_map/sync_id.json | 2 +- .../fields/directus_sync_id_map/table.json | 2 +- .../fields/directus_users/imported.json | 45 + .../fields/directus_users/notifications.json | 27 + .../fields/directus_users/wc_user.json | 45 + .../fields/features/date_created.json | 47 + .../fields/features/date_updated.json | 47 + .../snapshot/fields/features/heading.json | 43 + .../snapshot/fields/features/id.json | 43 + .../snapshot/fields/features/sort.json | 43 + .../snapshot/fields/features/status.json | 80 + .../snapshot/fields/features/symbol.json | 43 + .../snapshot/fields/features/text.json | 43 + .../fields/features/user_created.json | 47 + .../fields/features/user_updated.json | 47 + .../snapshot/fields/gallery/date_created.json | 47 + .../snapshot/fields/gallery/date_updated.json | 47 + .../fields/gallery/hideInputLabel.json | 45 + .../snapshot/fields/gallery/id.json | 45 + .../snapshot/fields/gallery/user_created.json | 47 + .../snapshot/fields/gallery/user_updated.json | 47 + .../fields/groupSubheaders/date_created.json | 47 + .../fields/groupSubheaders/date_updated.json | 47 + .../fields/groupSubheaders/groupStates.json | 45 + .../fields/groupSubheaders/groupTypes.json | 27 + .../snapshot/fields/groupSubheaders/id.json | 45 + .../fields/groupSubheaders/platforms.json | 57 + .../fields/groupSubheaders/shareBaseUrl.json | 43 + .../fields/groupSubheaders/user_created.json | 47 + .../fields/groupSubheaders/user_updated.json | 47 + .../groupSubheaders_id.json | 43 + .../groupTypes_id.json | 43 + .../fields/groupSubheaders_groupTypes/id.json | 43 + .../snapshot/fields/groupTypes/color.json | 43 + .../fields/groupTypes/date_created.json | 47 + .../fields/groupTypes/date_updated.json | 47 + .../snapshot/fields/groupTypes/id.json | 45 + .../snapshot/fields/groupTypes/image.json | 45 + .../fields/groupTypes/markerIcon.json | 45 + .../snapshot/fields/groupTypes/name.json | 43 + .../fields/groupTypes/user_created.json | 47 + .../fields/groupTypes/user_updated.json | 47 + .../fields/inviteLinks/date_created.json | 47 + .../fields/inviteLinks/date_updated.json | 47 + .../snapshot/fields/inviteLinks/id.json | 45 + .../fields/inviteLinks/user_created.json | 47 + .../fields/inviteLinks/user_updated.json | 47 + .../snapshot/fields/itemSecrets/item.json | 45 + .../snapshot/fields/itemSecrets/secret.json | 45 + .../snapshot/fields/items/Wuederkompass.json | 29 + .../snapshot/fields/items/color.json | 43 + .../snapshot/fields/items/contact.json | 43 + .../snapshot/fields/items/date_created.json | 47 + .../snapshot/fields/items/date_updated.json | 47 + .../snapshot/fields/items/draft.json | 45 + .../snapshot/fields/items/end.json | 43 + .../snapshot/fields/items/gallery.json | 29 + .../snapshot/fields/items/group_type.json | 58 + .../snapshot/fields/items/id.json | 45 + .../snapshot/fields/items/image.json | 47 + .../snapshot/fields/items/layer.json | 47 + .../snapshot/fields/items/markerIcon.json | 47 + .../snapshot/fields/items/name.json | 43 + .../snapshot/fields/items/needs.json | 30 + .../fields/items/next_appointment.json | 43 + .../snapshot/fields/items/offers.json | 30 + .../fields/items/openCollectiveSlug.json | 43 + .../snapshot/fields/items/parent.json | 48 + .../snapshot/fields/items/position.json | 54 + .../snapshot/fields/items/public_edit.json | 45 + .../snapshot/fields/items/relations.json | 30 + .../snapshot/fields/items/secrets.json | 27 + .../snapshot/fields/items/slug.json | 45 + .../snapshot/fields/items/start.json | 43 + .../snapshot/fields/items/status.json | 58 + .../snapshot/fields/items/subname.json | 43 + .../snapshot/fields/items/telephone.json | 43 + .../snapshot/fields/items/text.json | 43 + .../snapshot/fields/items/user_created.json | 47 + .../snapshot/fields/items/user_updated.json | 47 + .../fields/items_files/directus_files_id.json | 43 + .../snapshot/fields/items_files/id.json | 43 + .../snapshot/fields/items_files/items_id.json | 43 + .../snapshot/fields/items_items/id.json | 43 + .../snapshot/fields/items_items/items_id.json | 43 + .../fields/items_items/related_items_id.json | 43 + .../snapshot/fields/items_items/type.json | 43 + .../snapshot/fields/items_tags/id.json | 43 + .../snapshot/fields/items_tags/items_id.json | 43 + .../snapshot/fields/items_tags/tags_id.json | 43 + .../snapshot/fields/items_tags_1/id.json | 43 + .../fields/items_tags_1/items_id.json | 43 + .../snapshot/fields/items_tags_1/tags_id.json | 43 + .../directus_users_id.json | 43 + .../junction_directus_users_tags/id.json | 43 + .../junction_directus_users_tags/tags_id.json | 43 + .../directus_users_id.json | 43 + .../junction_directus_users_tags_1/id.json | 43 + .../tags_id.json | 43 + .../snapshot/fields/layers/Add_Button.json | 32 + .../snapshot/fields/layers/Marker.json | 31 + .../fields/layers/divider-yaul5v.json | 28 + .../snapshot/fields/layers/id.json | 45 + .../snapshot/fields/layers/indexIcon.json | 47 + .../fields/layers/index_plus_button.json | 45 + .../snapshot/fields/layers/itemType.json | 47 + .../snapshot/fields/layers/item_presets.json | 48 + .../snapshot/fields/layers/listed.json | 45 + .../snapshot/fields/layers/maps.json | 30 + .../fields/layers/markerDefaultColor2.json | 43 + .../snapshot/fields/layers/markerIcon.json | 47 + .../snapshot/fields/layers/markerShape.json | 54 + .../snapshot/fields/layers/menuColor.json | 43 + .../snapshot/fields/layers/menuIcon.json | 47 + .../snapshot/fields/layers/menuText.json | 43 + .../snapshot/fields/layers/name.json | 43 + .../snapshot/fields/layers/notifications.json | 27 + .../fields/layers/onlyOnePerOwner.json | 45 + .../fields/layers/public_edit_items.json | 45 + .../fields/layers/userProfileLayer.json | 45 + .../directus_users_id.json | 43 + .../fields/layers_directus_users_1/id.json | 43 + .../layers_directus_users_1/layers_id.json | 43 + .../layers_files/directus_files_id.json | 43 + .../snapshot/fields/layers_files/id.json | 43 + .../fields/layers_files/layers_id.json | 43 + .../snapshot/fields/layers_maps/id.json | 43 + .../fields/layers_maps/layers_id.json | 43 + .../snapshot/fields/layers_maps/maps_id.json | 43 + .../snapshot/fields/maps/Controls.json | 29 + .../snapshot/fields/maps/Presets.json | 29 + .../snapshot/fields/maps/center.json | 54 + .../snapshot/fields/maps/custom_text.json | 43 + .../snapshot/fields/maps/default_theme.json | 45 + .../snapshot/fields/maps/donation_widget.json | 45 + .../fields/maps/expand_layer_control.json | 45 + .../snapshot/fields/maps/geo.json | 56 + .../snapshot/fields/maps/id.json | 45 + .../snapshot/fields/maps/info_open.json | 45 + .../snapshot/fields/maps/layers.json | 29 + .../snapshot/fields/maps/logo.json | 47 + .../snapshot/fields/maps/name.json | 45 + .../snapshot/fields/maps/own_tag_space.json | 45 + .../fields/maps/show_filter_control.json | 45 + .../fields/maps/show_gratitude_control.json | 45 + .../fields/maps/show_layer_control.json | 45 + .../fields/maps/show_theme_control.json | 45 + .../fields/maps/show_zoom_control.json | 45 + .../snapshot/fields/maps/tile_server.json | 31 + .../fields/maps/tile_server_attribution.json | 43 + .../snapshot/fields/maps/tile_server_url.json | 43 + .../snapshot/fields/maps/url.json | 45 + .../snapshot/fields/maps/user_type.json | 47 + .../snapshot/fields/maps/zoom.json | 43 + .../snapshot/fields/marker_icons/id.json | 43 + .../snapshot/fields/marker_icons/image.json | 47 + .../snapshot/fields/marker_icons/size.json | 45 + .../oceannomads_profiles/avatar_url.json | 43 + .../oceannomads_profiles/date_created.json | 47 + .../oceannomads_profiles/date_updated.json | 47 + .../fields/oceannomads_profiles/email.json | 43 + .../oceannomads_profiles/first_name.json | 43 + .../fields/oceannomads_profiles/id.json | 43 + .../oceannomads_profiles/last_name.json | 43 + .../fields/oceannomads_profiles/location.json | 43 + .../snapshot/fields/relations/id.json | 43 + .../snapshot/fields/relations/relation.json | 43 + .../fields/startEnd/date_created.json | 47 + .../fields/startEnd/date_updated.json | 47 + .../snapshot/fields/startEnd/id.json | 45 + .../fields/startEnd/user_created.json | 47 + .../fields/startEnd/user_updated.json | 47 + .../snapshot/fields/tags/color.json | 43 + .../snapshot/fields/tags/date_created.json | 45 + .../snapshot/fields/tags/id.json | 45 + .../snapshot/fields/tags/map.json | 48 + .../snapshot/fields/tags/name.json | 43 + .../snapshot/fields/tags/offer_or_need.json | 45 + .../snapshot/fields/tags/user_created.json | 45 + .../snapshot/fields/team/date_created.json | 47 + .../snapshot/fields/team/date_updated.json | 47 + .../snapshot/fields/team/id.json | 45 + .../snapshot/fields/team/image.json | 45 + .../snapshot/fields/team/name.json | 43 + .../snapshot/fields/team/role.json | 43 + .../snapshot/fields/team/sort.json | 43 + .../snapshot/fields/team/status.json | 80 + .../snapshot/fields/team/text.json | 43 + .../snapshot/fields/team/user_created.json | 47 + .../snapshot/fields/team/user_updated.json | 47 + .../snapshot/fields/texts/dataField.json | 43 + .../snapshot/fields/texts/date_created.json | 47 + .../snapshot/fields/texts/date_updated.json | 47 + .../snapshot/fields/texts/heading.json | 43 + .../snapshot/fields/texts/hideWhenEmpty.json | 45 + .../snapshot/fields/texts/id.json | 45 + .../fields/texts/showMarkdownHint.json | 45 + .../snapshot/fields/texts/size.json | 54 + .../snapshot/fields/texts/user_created.json | 47 + .../snapshot/fields/texts/user_updated.json | 47 + .../snapshot/fields/types/Profile.json | 29 + .../snapshot/fields/types/Tabs.json | 31 + .../fields/types/accordion-ykcgp6.json | 29 + .../snapshot/fields/types/active_tabs.json | 29 + .../snapshot/fields/types/custom_text.json | 43 + .../snapshot/fields/types/date_created.json | 47 + .../snapshot/fields/types/date_updated.json | 47 + .../snapshot/fields/types/icon_as_labels.json | 45 + .../snapshot/fields/types/id.json | 45 + .../snapshot/fields/types/name.json | 43 + .../fields/types/offers_and_needs.json | 45 + .../snapshot/fields/types/onepager.json | 45 + .../fields/types/profileTemplate.json | 27 + .../snapshot/fields/types/questlog.json | 45 + .../snapshot/fields/types/relations.json | 45 + .../snapshot/fields/types/show_name.json | 45 + .../fields/types/show_name_input.json | 45 + .../fields/types/show_profile_button.json | 45 + .../snapshot/fields/types/show_start_end.json | 45 + .../fields/types/show_start_end_input.json | 45 + .../snapshot/fields/types/show_text.json | 45 + .../fields/types/show_text_input.json | 45 + .../snapshot/fields/types/small_form.json | 29 + .../snapshot/fields/types/small_view.json | 29 + .../snapshot/fields/types/template.json | 62 + .../snapshot/fields/types/text.json | 45 + .../snapshot/fields/types/text_area.json | 45 + .../snapshot/fields/types/user_created.json | 47 + .../snapshot/fields/types/user_updated.json | 47 + .../types_profileTemplate/collection.json | 43 + .../fields/types_profileTemplate/id.json | 43 + .../fields/types_profileTemplate/item.json | 43 + .../fields/types_profileTemplate/sort.json | 43 + .../types_profileTemplate/types_id.json | 43 + backend/directus-config/snapshot/info.json | 4 +- .../relations/attestations/user_created.json | 25 + .../attestations_id.json | 25 + .../directus_users_id.json | 25 + .../relations/contactInfos/user_created.json | 25 + .../relations/contactInfos/user_updated.json | 25 + .../relations/crowdfundings/user_created.json | 25 + .../relations/crowdfundings/user_updated.json | 25 + .../relations/features/user_created.json | 25 + .../relations/features/user_updated.json | 25 + .../relations/gallery/user_created.json | 25 + .../relations/gallery/user_updated.json | 25 + .../groupSubheaders/user_created.json | 25 + .../groupSubheaders/user_updated.json | 25 + .../groupSubheaders_id.json | 25 + .../groupTypes_id.json | 25 + .../snapshot/relations/groupTypes/image.json | 25 + .../relations/groupTypes/markerIcon.json | 25 + .../relations/groupTypes/user_created.json | 25 + .../relations/groupTypes/user_updated.json | 25 + .../relations/inviteLinks/user_created.json | 25 + .../relations/inviteLinks/user_updated.json | 25 + .../snapshot/relations/itemSecrets/item.json | 25 + .../snapshot/relations/items/image.json | 25 + .../snapshot/relations/items/layer.json | 25 + .../snapshot/relations/items/markerIcon.json | 25 + .../snapshot/relations/items/parent.json | 25 + .../relations/items/user_created.json | 25 + .../relations/items/user_updated.json | 25 + .../items_files/directus_files_id.json | 25 + .../relations/items_files/items_id.json | 25 + .../relations/items_items/items_id.json | 25 + .../items_items/related_items_id.json | 25 + .../relations/items_tags/items_id.json | 25 + .../relations/items_tags/tags_id.json | 25 + .../relations/items_tags_1/items_id.json | 25 + .../relations/items_tags_1/tags_id.json | 25 + .../directus_users_id.json | 25 + .../junction_directus_users_tags/tags_id.json | 25 + .../directus_users_id.json | 25 + .../tags_id.json | 25 + .../snapshot/relations/layers/indexIcon.json | 25 + .../snapshot/relations/layers/itemType.json | 25 + .../snapshot/relations/layers/markerIcon.json | 25 + .../snapshot/relations/layers/menuIcon.json | 25 + .../directus_users_id.json | 25 + .../layers_directus_users_1/layers_id.json | 25 + .../layers_files/directus_files_id.json | 25 + .../relations/layers_files/layers_id.json | 25 + .../relations/layers_maps/layers_id.json | 25 + .../relations/layers_maps/maps_id.json | 25 + .../relations/maps/default_theme.json | 25 + .../snapshot/relations/maps/logo.json | 25 + .../snapshot/relations/maps/user_type.json | 25 + .../relations/marker_icons/image.json | 25 + .../relations/startEnd/user_created.json | 25 + .../relations/startEnd/user_updated.json | 25 + .../snapshot/relations/tags/map.json | 25 + .../snapshot/relations/team/image.json | 25 + .../snapshot/relations/team/user_created.json | 25 + .../snapshot/relations/team/user_updated.json | 25 + .../relations/texts/user_created.json | 25 + .../relations/texts/user_updated.json | 25 + .../relations/types/user_created.json | 25 + .../relations/types/user_updated.json | 25 + .../relations/types_profileTemplate/item.json | 25 + .../types_profileTemplate/types_id.json | 25 + backend/directus-config/specs/item.graphql | 3992 ++- backend/directus-config/specs/openapi.json | 23317 +++++++++++++--- backend/directus-config/specs/system.graphql | 2308 +- 373 files changed, 43719 insertions(+), 4381 deletions(-) create mode 100644 backend/directus-config/snapshot/collections/Landingpage.json create mode 100644 backend/directus-config/snapshot/collections/Themes.json create mode 100644 backend/directus-config/snapshot/collections/UI_Components.json create mode 100644 backend/directus-config/snapshot/collections/UI_Config.json create mode 100644 backend/directus-config/snapshot/collections/attestations.json create mode 100644 backend/directus-config/snapshot/collections/attestations_directus_users.json create mode 100644 backend/directus-config/snapshot/collections/contactInfos.json create mode 100644 backend/directus-config/snapshot/collections/crowdfundings.json create mode 100644 backend/directus-config/snapshot/collections/features.json create mode 100644 backend/directus-config/snapshot/collections/gallery.json create mode 100644 backend/directus-config/snapshot/collections/groupSubheaders.json create mode 100644 backend/directus-config/snapshot/collections/groupSubheaders_groupTypes.json create mode 100644 backend/directus-config/snapshot/collections/groupTypes.json create mode 100644 backend/directus-config/snapshot/collections/inviteLinks.json create mode 100644 backend/directus-config/snapshot/collections/itemSecrets.json create mode 100644 backend/directus-config/snapshot/collections/items.json create mode 100644 backend/directus-config/snapshot/collections/items_files.json create mode 100644 backend/directus-config/snapshot/collections/items_items.json create mode 100644 backend/directus-config/snapshot/collections/items_tags.json create mode 100644 backend/directus-config/snapshot/collections/items_tags_1.json create mode 100644 backend/directus-config/snapshot/collections/junction_directus_users_tags.json create mode 100644 backend/directus-config/snapshot/collections/junction_directus_users_tags_1.json create mode 100644 backend/directus-config/snapshot/collections/layers.json create mode 100644 backend/directus-config/snapshot/collections/layers_directus_users_1.json create mode 100644 backend/directus-config/snapshot/collections/layers_files.json create mode 100644 backend/directus-config/snapshot/collections/layers_maps.json create mode 100644 backend/directus-config/snapshot/collections/maps.json create mode 100644 backend/directus-config/snapshot/collections/marker_icons.json create mode 100644 backend/directus-config/snapshot/collections/oceannomads_profiles.json create mode 100644 backend/directus-config/snapshot/collections/relations.json create mode 100644 backend/directus-config/snapshot/collections/startEnd.json create mode 100644 backend/directus-config/snapshot/collections/tags.json create mode 100644 backend/directus-config/snapshot/collections/team.json create mode 100644 backend/directus-config/snapshot/collections/texts.json create mode 100644 backend/directus-config/snapshot/collections/types.json create mode 100644 backend/directus-config/snapshot/collections/types_profileTemplate.json create mode 100644 backend/directus-config/snapshot/fields/Themes/theme.json create mode 100644 backend/directus-config/snapshot/fields/attestations/color.json create mode 100644 backend/directus-config/snapshot/fields/attestations/date_created.json create mode 100644 backend/directus-config/snapshot/fields/attestations/emoji.json create mode 100644 backend/directus-config/snapshot/fields/attestations/id.json create mode 100644 backend/directus-config/snapshot/fields/attestations/shape.json create mode 100644 backend/directus-config/snapshot/fields/attestations/text.json create mode 100644 backend/directus-config/snapshot/fields/attestations/to.json create mode 100644 backend/directus-config/snapshot/fields/attestations/user_created.json create mode 100644 backend/directus-config/snapshot/fields/attestations_directus_users/attestations_id.json create mode 100644 backend/directus-config/snapshot/fields/attestations_directus_users/directus_users_id.json create mode 100644 backend/directus-config/snapshot/fields/attestations_directus_users/id.json create mode 100644 backend/directus-config/snapshot/fields/contactInfos/date_created.json create mode 100644 backend/directus-config/snapshot/fields/contactInfos/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/contactInfos/heading.json create mode 100644 backend/directus-config/snapshot/fields/contactInfos/id.json create mode 100644 backend/directus-config/snapshot/fields/contactInfos/user_created.json create mode 100644 backend/directus-config/snapshot/fields/contactInfos/user_updated.json create mode 100644 backend/directus-config/snapshot/fields/crowdfundings/date_created.json create mode 100644 backend/directus-config/snapshot/fields/crowdfundings/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/crowdfundings/id.json create mode 100644 backend/directus-config/snapshot/fields/crowdfundings/user_created.json create mode 100644 backend/directus-config/snapshot/fields/crowdfundings/user_updated.json create mode 100644 backend/directus-config/snapshot/fields/directus_users/imported.json create mode 100644 backend/directus-config/snapshot/fields/directus_users/notifications.json create mode 100644 backend/directus-config/snapshot/fields/directus_users/wc_user.json create mode 100644 backend/directus-config/snapshot/fields/features/date_created.json create mode 100644 backend/directus-config/snapshot/fields/features/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/features/heading.json create mode 100644 backend/directus-config/snapshot/fields/features/id.json create mode 100644 backend/directus-config/snapshot/fields/features/sort.json create mode 100644 backend/directus-config/snapshot/fields/features/status.json create mode 100644 backend/directus-config/snapshot/fields/features/symbol.json create mode 100644 backend/directus-config/snapshot/fields/features/text.json create mode 100644 backend/directus-config/snapshot/fields/features/user_created.json create mode 100644 backend/directus-config/snapshot/fields/features/user_updated.json create mode 100644 backend/directus-config/snapshot/fields/gallery/date_created.json create mode 100644 backend/directus-config/snapshot/fields/gallery/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/gallery/hideInputLabel.json create mode 100644 backend/directus-config/snapshot/fields/gallery/id.json create mode 100644 backend/directus-config/snapshot/fields/gallery/user_created.json create mode 100644 backend/directus-config/snapshot/fields/gallery/user_updated.json create mode 100644 backend/directus-config/snapshot/fields/groupSubheaders/date_created.json create mode 100644 backend/directus-config/snapshot/fields/groupSubheaders/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/groupSubheaders/groupStates.json create mode 100644 backend/directus-config/snapshot/fields/groupSubheaders/groupTypes.json create mode 100644 backend/directus-config/snapshot/fields/groupSubheaders/id.json create mode 100644 backend/directus-config/snapshot/fields/groupSubheaders/platforms.json create mode 100644 backend/directus-config/snapshot/fields/groupSubheaders/shareBaseUrl.json create mode 100644 backend/directus-config/snapshot/fields/groupSubheaders/user_created.json create mode 100644 backend/directus-config/snapshot/fields/groupSubheaders/user_updated.json create mode 100644 backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/groupSubheaders_id.json create mode 100644 backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/groupTypes_id.json create mode 100644 backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/id.json create mode 100644 backend/directus-config/snapshot/fields/groupTypes/color.json create mode 100644 backend/directus-config/snapshot/fields/groupTypes/date_created.json create mode 100644 backend/directus-config/snapshot/fields/groupTypes/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/groupTypes/id.json create mode 100644 backend/directus-config/snapshot/fields/groupTypes/image.json create mode 100644 backend/directus-config/snapshot/fields/groupTypes/markerIcon.json create mode 100644 backend/directus-config/snapshot/fields/groupTypes/name.json create mode 100644 backend/directus-config/snapshot/fields/groupTypes/user_created.json create mode 100644 backend/directus-config/snapshot/fields/groupTypes/user_updated.json create mode 100644 backend/directus-config/snapshot/fields/inviteLinks/date_created.json create mode 100644 backend/directus-config/snapshot/fields/inviteLinks/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/inviteLinks/id.json create mode 100644 backend/directus-config/snapshot/fields/inviteLinks/user_created.json create mode 100644 backend/directus-config/snapshot/fields/inviteLinks/user_updated.json create mode 100644 backend/directus-config/snapshot/fields/itemSecrets/item.json create mode 100644 backend/directus-config/snapshot/fields/itemSecrets/secret.json create mode 100644 backend/directus-config/snapshot/fields/items/Wuederkompass.json create mode 100644 backend/directus-config/snapshot/fields/items/color.json create mode 100644 backend/directus-config/snapshot/fields/items/contact.json create mode 100644 backend/directus-config/snapshot/fields/items/date_created.json create mode 100644 backend/directus-config/snapshot/fields/items/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/items/draft.json create mode 100644 backend/directus-config/snapshot/fields/items/end.json create mode 100644 backend/directus-config/snapshot/fields/items/gallery.json create mode 100644 backend/directus-config/snapshot/fields/items/group_type.json create mode 100644 backend/directus-config/snapshot/fields/items/id.json create mode 100644 backend/directus-config/snapshot/fields/items/image.json create mode 100644 backend/directus-config/snapshot/fields/items/layer.json create mode 100644 backend/directus-config/snapshot/fields/items/markerIcon.json create mode 100644 backend/directus-config/snapshot/fields/items/name.json create mode 100644 backend/directus-config/snapshot/fields/items/needs.json create mode 100644 backend/directus-config/snapshot/fields/items/next_appointment.json create mode 100644 backend/directus-config/snapshot/fields/items/offers.json create mode 100644 backend/directus-config/snapshot/fields/items/openCollectiveSlug.json create mode 100644 backend/directus-config/snapshot/fields/items/parent.json create mode 100644 backend/directus-config/snapshot/fields/items/position.json create mode 100644 backend/directus-config/snapshot/fields/items/public_edit.json create mode 100644 backend/directus-config/snapshot/fields/items/relations.json create mode 100644 backend/directus-config/snapshot/fields/items/secrets.json create mode 100644 backend/directus-config/snapshot/fields/items/slug.json create mode 100644 backend/directus-config/snapshot/fields/items/start.json create mode 100644 backend/directus-config/snapshot/fields/items/status.json create mode 100644 backend/directus-config/snapshot/fields/items/subname.json create mode 100644 backend/directus-config/snapshot/fields/items/telephone.json create mode 100644 backend/directus-config/snapshot/fields/items/text.json create mode 100644 backend/directus-config/snapshot/fields/items/user_created.json create mode 100644 backend/directus-config/snapshot/fields/items/user_updated.json create mode 100644 backend/directus-config/snapshot/fields/items_files/directus_files_id.json create mode 100644 backend/directus-config/snapshot/fields/items_files/id.json create mode 100644 backend/directus-config/snapshot/fields/items_files/items_id.json create mode 100644 backend/directus-config/snapshot/fields/items_items/id.json create mode 100644 backend/directus-config/snapshot/fields/items_items/items_id.json create mode 100644 backend/directus-config/snapshot/fields/items_items/related_items_id.json create mode 100644 backend/directus-config/snapshot/fields/items_items/type.json create mode 100644 backend/directus-config/snapshot/fields/items_tags/id.json create mode 100644 backend/directus-config/snapshot/fields/items_tags/items_id.json create mode 100644 backend/directus-config/snapshot/fields/items_tags/tags_id.json create mode 100644 backend/directus-config/snapshot/fields/items_tags_1/id.json create mode 100644 backend/directus-config/snapshot/fields/items_tags_1/items_id.json create mode 100644 backend/directus-config/snapshot/fields/items_tags_1/tags_id.json create mode 100644 backend/directus-config/snapshot/fields/junction_directus_users_tags/directus_users_id.json create mode 100644 backend/directus-config/snapshot/fields/junction_directus_users_tags/id.json create mode 100644 backend/directus-config/snapshot/fields/junction_directus_users_tags/tags_id.json create mode 100644 backend/directus-config/snapshot/fields/junction_directus_users_tags_1/directus_users_id.json create mode 100644 backend/directus-config/snapshot/fields/junction_directus_users_tags_1/id.json create mode 100644 backend/directus-config/snapshot/fields/junction_directus_users_tags_1/tags_id.json create mode 100644 backend/directus-config/snapshot/fields/layers/Add_Button.json create mode 100644 backend/directus-config/snapshot/fields/layers/Marker.json create mode 100644 backend/directus-config/snapshot/fields/layers/divider-yaul5v.json create mode 100644 backend/directus-config/snapshot/fields/layers/id.json create mode 100644 backend/directus-config/snapshot/fields/layers/indexIcon.json create mode 100644 backend/directus-config/snapshot/fields/layers/index_plus_button.json create mode 100644 backend/directus-config/snapshot/fields/layers/itemType.json create mode 100644 backend/directus-config/snapshot/fields/layers/item_presets.json create mode 100644 backend/directus-config/snapshot/fields/layers/listed.json create mode 100644 backend/directus-config/snapshot/fields/layers/maps.json create mode 100644 backend/directus-config/snapshot/fields/layers/markerDefaultColor2.json create mode 100644 backend/directus-config/snapshot/fields/layers/markerIcon.json create mode 100644 backend/directus-config/snapshot/fields/layers/markerShape.json create mode 100644 backend/directus-config/snapshot/fields/layers/menuColor.json create mode 100644 backend/directus-config/snapshot/fields/layers/menuIcon.json create mode 100644 backend/directus-config/snapshot/fields/layers/menuText.json create mode 100644 backend/directus-config/snapshot/fields/layers/name.json create mode 100644 backend/directus-config/snapshot/fields/layers/notifications.json create mode 100644 backend/directus-config/snapshot/fields/layers/onlyOnePerOwner.json create mode 100644 backend/directus-config/snapshot/fields/layers/public_edit_items.json create mode 100644 backend/directus-config/snapshot/fields/layers/userProfileLayer.json create mode 100644 backend/directus-config/snapshot/fields/layers_directus_users_1/directus_users_id.json create mode 100644 backend/directus-config/snapshot/fields/layers_directus_users_1/id.json create mode 100644 backend/directus-config/snapshot/fields/layers_directus_users_1/layers_id.json create mode 100644 backend/directus-config/snapshot/fields/layers_files/directus_files_id.json create mode 100644 backend/directus-config/snapshot/fields/layers_files/id.json create mode 100644 backend/directus-config/snapshot/fields/layers_files/layers_id.json create mode 100644 backend/directus-config/snapshot/fields/layers_maps/id.json create mode 100644 backend/directus-config/snapshot/fields/layers_maps/layers_id.json create mode 100644 backend/directus-config/snapshot/fields/layers_maps/maps_id.json create mode 100644 backend/directus-config/snapshot/fields/maps/Controls.json create mode 100644 backend/directus-config/snapshot/fields/maps/Presets.json create mode 100644 backend/directus-config/snapshot/fields/maps/center.json create mode 100644 backend/directus-config/snapshot/fields/maps/custom_text.json create mode 100644 backend/directus-config/snapshot/fields/maps/default_theme.json create mode 100644 backend/directus-config/snapshot/fields/maps/donation_widget.json create mode 100644 backend/directus-config/snapshot/fields/maps/expand_layer_control.json create mode 100644 backend/directus-config/snapshot/fields/maps/geo.json create mode 100644 backend/directus-config/snapshot/fields/maps/id.json create mode 100644 backend/directus-config/snapshot/fields/maps/info_open.json create mode 100644 backend/directus-config/snapshot/fields/maps/layers.json create mode 100644 backend/directus-config/snapshot/fields/maps/logo.json create mode 100644 backend/directus-config/snapshot/fields/maps/name.json create mode 100644 backend/directus-config/snapshot/fields/maps/own_tag_space.json create mode 100644 backend/directus-config/snapshot/fields/maps/show_filter_control.json create mode 100644 backend/directus-config/snapshot/fields/maps/show_gratitude_control.json create mode 100644 backend/directus-config/snapshot/fields/maps/show_layer_control.json create mode 100644 backend/directus-config/snapshot/fields/maps/show_theme_control.json create mode 100644 backend/directus-config/snapshot/fields/maps/show_zoom_control.json create mode 100644 backend/directus-config/snapshot/fields/maps/tile_server.json create mode 100644 backend/directus-config/snapshot/fields/maps/tile_server_attribution.json create mode 100644 backend/directus-config/snapshot/fields/maps/tile_server_url.json create mode 100644 backend/directus-config/snapshot/fields/maps/url.json create mode 100644 backend/directus-config/snapshot/fields/maps/user_type.json create mode 100644 backend/directus-config/snapshot/fields/maps/zoom.json create mode 100644 backend/directus-config/snapshot/fields/marker_icons/id.json create mode 100644 backend/directus-config/snapshot/fields/marker_icons/image.json create mode 100644 backend/directus-config/snapshot/fields/marker_icons/size.json create mode 100644 backend/directus-config/snapshot/fields/oceannomads_profiles/avatar_url.json create mode 100644 backend/directus-config/snapshot/fields/oceannomads_profiles/date_created.json create mode 100644 backend/directus-config/snapshot/fields/oceannomads_profiles/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/oceannomads_profiles/email.json create mode 100644 backend/directus-config/snapshot/fields/oceannomads_profiles/first_name.json create mode 100644 backend/directus-config/snapshot/fields/oceannomads_profiles/id.json create mode 100644 backend/directus-config/snapshot/fields/oceannomads_profiles/last_name.json create mode 100644 backend/directus-config/snapshot/fields/oceannomads_profiles/location.json create mode 100644 backend/directus-config/snapshot/fields/relations/id.json create mode 100644 backend/directus-config/snapshot/fields/relations/relation.json create mode 100644 backend/directus-config/snapshot/fields/startEnd/date_created.json create mode 100644 backend/directus-config/snapshot/fields/startEnd/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/startEnd/id.json create mode 100644 backend/directus-config/snapshot/fields/startEnd/user_created.json create mode 100644 backend/directus-config/snapshot/fields/startEnd/user_updated.json create mode 100644 backend/directus-config/snapshot/fields/tags/color.json create mode 100644 backend/directus-config/snapshot/fields/tags/date_created.json create mode 100644 backend/directus-config/snapshot/fields/tags/id.json create mode 100644 backend/directus-config/snapshot/fields/tags/map.json create mode 100644 backend/directus-config/snapshot/fields/tags/name.json create mode 100644 backend/directus-config/snapshot/fields/tags/offer_or_need.json create mode 100644 backend/directus-config/snapshot/fields/tags/user_created.json create mode 100644 backend/directus-config/snapshot/fields/team/date_created.json create mode 100644 backend/directus-config/snapshot/fields/team/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/team/id.json create mode 100644 backend/directus-config/snapshot/fields/team/image.json create mode 100644 backend/directus-config/snapshot/fields/team/name.json create mode 100644 backend/directus-config/snapshot/fields/team/role.json create mode 100644 backend/directus-config/snapshot/fields/team/sort.json create mode 100644 backend/directus-config/snapshot/fields/team/status.json create mode 100644 backend/directus-config/snapshot/fields/team/text.json create mode 100644 backend/directus-config/snapshot/fields/team/user_created.json create mode 100644 backend/directus-config/snapshot/fields/team/user_updated.json create mode 100644 backend/directus-config/snapshot/fields/texts/dataField.json create mode 100644 backend/directus-config/snapshot/fields/texts/date_created.json create mode 100644 backend/directus-config/snapshot/fields/texts/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/texts/heading.json create mode 100644 backend/directus-config/snapshot/fields/texts/hideWhenEmpty.json create mode 100644 backend/directus-config/snapshot/fields/texts/id.json create mode 100644 backend/directus-config/snapshot/fields/texts/showMarkdownHint.json create mode 100644 backend/directus-config/snapshot/fields/texts/size.json create mode 100644 backend/directus-config/snapshot/fields/texts/user_created.json create mode 100644 backend/directus-config/snapshot/fields/texts/user_updated.json create mode 100644 backend/directus-config/snapshot/fields/types/Profile.json create mode 100644 backend/directus-config/snapshot/fields/types/Tabs.json create mode 100644 backend/directus-config/snapshot/fields/types/accordion-ykcgp6.json create mode 100644 backend/directus-config/snapshot/fields/types/active_tabs.json create mode 100644 backend/directus-config/snapshot/fields/types/custom_text.json create mode 100644 backend/directus-config/snapshot/fields/types/date_created.json create mode 100644 backend/directus-config/snapshot/fields/types/date_updated.json create mode 100644 backend/directus-config/snapshot/fields/types/icon_as_labels.json create mode 100644 backend/directus-config/snapshot/fields/types/id.json create mode 100644 backend/directus-config/snapshot/fields/types/name.json create mode 100644 backend/directus-config/snapshot/fields/types/offers_and_needs.json create mode 100644 backend/directus-config/snapshot/fields/types/onepager.json create mode 100644 backend/directus-config/snapshot/fields/types/profileTemplate.json create mode 100644 backend/directus-config/snapshot/fields/types/questlog.json create mode 100644 backend/directus-config/snapshot/fields/types/relations.json create mode 100644 backend/directus-config/snapshot/fields/types/show_name.json create mode 100644 backend/directus-config/snapshot/fields/types/show_name_input.json create mode 100644 backend/directus-config/snapshot/fields/types/show_profile_button.json create mode 100644 backend/directus-config/snapshot/fields/types/show_start_end.json create mode 100644 backend/directus-config/snapshot/fields/types/show_start_end_input.json create mode 100644 backend/directus-config/snapshot/fields/types/show_text.json create mode 100644 backend/directus-config/snapshot/fields/types/show_text_input.json create mode 100644 backend/directus-config/snapshot/fields/types/small_form.json create mode 100644 backend/directus-config/snapshot/fields/types/small_view.json create mode 100644 backend/directus-config/snapshot/fields/types/template.json create mode 100644 backend/directus-config/snapshot/fields/types/text.json create mode 100644 backend/directus-config/snapshot/fields/types/text_area.json create mode 100644 backend/directus-config/snapshot/fields/types/user_created.json create mode 100644 backend/directus-config/snapshot/fields/types/user_updated.json create mode 100644 backend/directus-config/snapshot/fields/types_profileTemplate/collection.json create mode 100644 backend/directus-config/snapshot/fields/types_profileTemplate/id.json create mode 100644 backend/directus-config/snapshot/fields/types_profileTemplate/item.json create mode 100644 backend/directus-config/snapshot/fields/types_profileTemplate/sort.json create mode 100644 backend/directus-config/snapshot/fields/types_profileTemplate/types_id.json create mode 100644 backend/directus-config/snapshot/relations/attestations/user_created.json create mode 100644 backend/directus-config/snapshot/relations/attestations_directus_users/attestations_id.json create mode 100644 backend/directus-config/snapshot/relations/attestations_directus_users/directus_users_id.json create mode 100644 backend/directus-config/snapshot/relations/contactInfos/user_created.json create mode 100644 backend/directus-config/snapshot/relations/contactInfos/user_updated.json create mode 100644 backend/directus-config/snapshot/relations/crowdfundings/user_created.json create mode 100644 backend/directus-config/snapshot/relations/crowdfundings/user_updated.json create mode 100644 backend/directus-config/snapshot/relations/features/user_created.json create mode 100644 backend/directus-config/snapshot/relations/features/user_updated.json create mode 100644 backend/directus-config/snapshot/relations/gallery/user_created.json create mode 100644 backend/directus-config/snapshot/relations/gallery/user_updated.json create mode 100644 backend/directus-config/snapshot/relations/groupSubheaders/user_created.json create mode 100644 backend/directus-config/snapshot/relations/groupSubheaders/user_updated.json create mode 100644 backend/directus-config/snapshot/relations/groupSubheaders_groupTypes/groupSubheaders_id.json create mode 100644 backend/directus-config/snapshot/relations/groupSubheaders_groupTypes/groupTypes_id.json create mode 100644 backend/directus-config/snapshot/relations/groupTypes/image.json create mode 100644 backend/directus-config/snapshot/relations/groupTypes/markerIcon.json create mode 100644 backend/directus-config/snapshot/relations/groupTypes/user_created.json create mode 100644 backend/directus-config/snapshot/relations/groupTypes/user_updated.json create mode 100644 backend/directus-config/snapshot/relations/inviteLinks/user_created.json create mode 100644 backend/directus-config/snapshot/relations/inviteLinks/user_updated.json create mode 100644 backend/directus-config/snapshot/relations/itemSecrets/item.json create mode 100644 backend/directus-config/snapshot/relations/items/image.json create mode 100644 backend/directus-config/snapshot/relations/items/layer.json create mode 100644 backend/directus-config/snapshot/relations/items/markerIcon.json create mode 100644 backend/directus-config/snapshot/relations/items/parent.json create mode 100644 backend/directus-config/snapshot/relations/items/user_created.json create mode 100644 backend/directus-config/snapshot/relations/items/user_updated.json create mode 100644 backend/directus-config/snapshot/relations/items_files/directus_files_id.json create mode 100644 backend/directus-config/snapshot/relations/items_files/items_id.json create mode 100644 backend/directus-config/snapshot/relations/items_items/items_id.json create mode 100644 backend/directus-config/snapshot/relations/items_items/related_items_id.json create mode 100644 backend/directus-config/snapshot/relations/items_tags/items_id.json create mode 100644 backend/directus-config/snapshot/relations/items_tags/tags_id.json create mode 100644 backend/directus-config/snapshot/relations/items_tags_1/items_id.json create mode 100644 backend/directus-config/snapshot/relations/items_tags_1/tags_id.json create mode 100644 backend/directus-config/snapshot/relations/junction_directus_users_tags/directus_users_id.json create mode 100644 backend/directus-config/snapshot/relations/junction_directus_users_tags/tags_id.json create mode 100644 backend/directus-config/snapshot/relations/junction_directus_users_tags_1/directus_users_id.json create mode 100644 backend/directus-config/snapshot/relations/junction_directus_users_tags_1/tags_id.json create mode 100644 backend/directus-config/snapshot/relations/layers/indexIcon.json create mode 100644 backend/directus-config/snapshot/relations/layers/itemType.json create mode 100644 backend/directus-config/snapshot/relations/layers/markerIcon.json create mode 100644 backend/directus-config/snapshot/relations/layers/menuIcon.json create mode 100644 backend/directus-config/snapshot/relations/layers_directus_users_1/directus_users_id.json create mode 100644 backend/directus-config/snapshot/relations/layers_directus_users_1/layers_id.json create mode 100644 backend/directus-config/snapshot/relations/layers_files/directus_files_id.json create mode 100644 backend/directus-config/snapshot/relations/layers_files/layers_id.json create mode 100644 backend/directus-config/snapshot/relations/layers_maps/layers_id.json create mode 100644 backend/directus-config/snapshot/relations/layers_maps/maps_id.json create mode 100644 backend/directus-config/snapshot/relations/maps/default_theme.json create mode 100644 backend/directus-config/snapshot/relations/maps/logo.json create mode 100644 backend/directus-config/snapshot/relations/maps/user_type.json create mode 100644 backend/directus-config/snapshot/relations/marker_icons/image.json create mode 100644 backend/directus-config/snapshot/relations/startEnd/user_created.json create mode 100644 backend/directus-config/snapshot/relations/startEnd/user_updated.json create mode 100644 backend/directus-config/snapshot/relations/tags/map.json create mode 100644 backend/directus-config/snapshot/relations/team/image.json create mode 100644 backend/directus-config/snapshot/relations/team/user_created.json create mode 100644 backend/directus-config/snapshot/relations/team/user_updated.json create mode 100644 backend/directus-config/snapshot/relations/texts/user_created.json create mode 100644 backend/directus-config/snapshot/relations/texts/user_updated.json create mode 100644 backend/directus-config/snapshot/relations/types/user_created.json create mode 100644 backend/directus-config/snapshot/relations/types/user_updated.json create mode 100644 backend/directus-config/snapshot/relations/types_profileTemplate/item.json create mode 100644 backend/directus-config/snapshot/relations/types_profileTemplate/types_id.json diff --git a/backend/directus-config/collections/flows.json b/backend/directus-config/collections/flows.json index fe51488c..0c986f2d 100644 --- a/backend/directus-config/collections/flows.json +++ b/backend/directus-config/collections/flows.json @@ -1 +1,191 @@ -[] +[ + { + "name": "get_item_by_secret", + "icon": "bolt", + "color": null, + "description": null, + "status": "active", + "trigger": "webhook", + "accountability": "all", + "options": {}, + "operation": "8bf158c9-8540-4ce3-88da-0e5f17f76ed7", + "_syncId": "01d61db0-25aa-4bfa-bc24-c6a8f208a455" + }, + { + "name": "Create initial secret", + "icon": "bolt", + "color": null, + "description": "Creates a secret for an existing item, triggered by another flow", + "status": "active", + "trigger": "operation", + "accountability": "all", + "options": { + "return": "$last" + }, + "operation": "491e552d-539e-4474-bcf5-a94dcc43e67e", + "_syncId": "234d13fe-112a-4408-9bdb-78dd8cbd6b82" + }, + { + "name": "Post Profiles to Murmurations", + "icon": "bolt", + "color": null, + "description": null, + "status": "inactive", + "trigger": "event", + "accountability": "all", + "options": { + "type": "action", + "scope": [ + "items.create", + "items.update" + ], + "collections": [ + "updates" + ] + }, + "operation": "c4d60433-bb2e-4d06-b10b-f3029b02963d", + "_syncId": "5e320392-429d-4759-95ec-c5adcff61f01" + }, + { + "name": "Request Profile", + "icon": "bolt", + "color": null, + "description": null, + "status": "inactive", + "trigger": "webhook", + "accountability": "all", + "options": { + "return": "$all" + }, + "operation": null, + "_syncId": "6a48c246-2fb2-42ca-bebb-3f605e794d02" + }, + { + "name": "Initial item secrets trigger", + "icon": "salinity", + "color": null, + "description": "Generate a secret for each item", + "status": "active", + "trigger": "manual", + "accountability": "all", + "options": { + "collections": [ + "itemSecrets" + ], + "requireSelection": false + }, + "operation": "c5b9aa76-b524-47b8-acc5-dd0350a3a12a", + "_syncId": "9a1d1084-438f-471e-aac5-47e0749375e7" + }, + { + "name": "Telegram-Bot-Trigger", + "icon": "mark_chat_read", + "color": "#3584E4", + "description": null, + "status": "active", + "trigger": "event", + "accountability": "all", + "options": { + "type": "action", + "scope": [ + "items.update", + "items.create" + ], + "collections": [ + "items" + ] + }, + "operation": "95ed41d5-f195-4ebb-b444-402cff7c4a12", + "_syncId": "a78d01a4-13b3-46a4-8938-9606bf26e329" + }, + { + "name": "Item Notification Setup", + "icon": "outgoing_mail", + "color": "#C061CB", + "description": "Inform Users about new items in layers they subscripe to ", + "status": "active", + "trigger": "event", + "accountability": "all", + "options": { + "type": "action", + "scope": [ + "items.create", + "items.update" + ], + "collections": [ + "items" + ] + }, + "operation": "b95390e0-fa4c-4b2f-b7ea-a151b333229f", + "_syncId": "bff21ad9-d142-4a6e-96fe-8da016576bc7" + }, + { + "name": "Create Secret", + "icon": "azm", + "color": null, + "description": null, + "status": "active", + "trigger": "event", + "accountability": "all", + "options": { + "type": "action", + "scope": [ + "items.create" + ], + "collections": [ + "items" + ] + }, + "operation": "7b158384-5bce-4fd7-917a-4a61e53de6ec", + "_syncId": "cbd7d15d-7f09-4f45-8060-3b24adabf82a" + }, + { + "name": "redeem-invite", + "icon": "bolt", + "color": null, + "description": "Redeems an invite link (item secret)", + "status": "active", + "trigger": "webhook", + "accountability": "all", + "options": { + "error_on_reject": true, + "method": "POST" + }, + "operation": "020070b2-cf09-4a0d-82d0-c90b334a70cc", + "_syncId": "cc80ec73-ecf5-4789-bee5-1127fb1a6ed4" + }, + { + "name": "Send Item Notification Mail", + "icon": "send", + "color": "#C061CB", + "description": null, + "status": "active", + "trigger": "operation", + "accountability": "all", + "options": { + "return": "$last" + }, + "operation": "bb96dab8-08c7-4b39-8ead-c2ed5d5a906c", + "_syncId": "d7e74f35-a19a-4a0b-9ae8-59af2fa0f081" + }, + { + "name": "Slug Generation", + "icon": "bolt", + "color": null, + "description": null, + "status": "active", + "trigger": "event", + "accountability": "all", + "options": { + "type": "action", + "scope": [ + "items.create" + ], + "collections": [ + "items" + ] + }, + "operation": "c7c8e08e-e94d-41f1-9b69-70251b2d3caf", + "_syncId": "f2beb617-9c21-48b2-a8ec-c04197d1b7d1" + } +] diff --git a/backend/directus-config/collections/folders.json b/backend/directus-config/collections/folders.json index fe51488c..2177eb4b 100644 --- a/backend/directus-config/collections/folders.json +++ b/backend/directus-config/collections/folders.json @@ -1 +1,57 @@ -[] +[ + { + "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 index fe51488c..b0c52d45 100644 --- a/backend/directus-config/collections/operations.json +++ b/backend/directus-config/collections/operations.json @@ -1 +1,793 @@ -[] +[ + { + "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/permissions.json b/backend/directus-config/collections/permissions.json index fe51488c..0e5385be 100644 --- a/backend/directus-config/collections/permissions.json +++ b/backend/directus-config/collections/permissions.json @@ -1 +1,3372 @@ -[] +[ + { + "collection": "directus_comments", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "3a2ccff0-98b8-4de0-826e-38c7d6e7aacc" + }, + { + "collection": "directus_dashboards", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "f6f4cc26-ab98-448f-89f4-a0c513abc708" + }, + { + "collection": "directus_dashboards", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "08b95f80-577f-4816-b3cb-de816473ea9b" + }, + { + "collection": "directus_dashboards", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "f149d308-ebca-4323-a2b6-c9cb8ca01b53" + }, + { + "collection": "directus_dashboards", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "bad5d956-47e1-46a0-93ec-dca11071b5f8" + }, + { + "collection": "directus_files", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "f95e9af7-1a7c-4bbd-ba52-03dfac8ec576" + }, + { + "collection": "directus_files", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "2123317f-7305-48d1-b704-92b735603e34" + }, + { + "collection": "directus_files", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "5db3804a-05cd-4ba8-9721-3d4acf4adfbd" + }, + { + "collection": "directus_files", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "af1f65d7-f595-4dbe-81f3-64dfd0edf8ff" + }, + { + "collection": "directus_flows", + "action": "read", + "permissions": { + "trigger": { + "_eq": "manual" + } + }, + "validation": null, + "presets": null, + "fields": [ + "id", + "status", + "name", + "icon", + "color", + "options", + "trigger" + ], + "policy": "_sync_default_public_policy", + "_syncId": "f480aad7-623b-4ab9-9107-7ad015d065a0" + }, + { + "collection": "directus_folders", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "0e12b4be-2663-47e7-8747-d6155429124b" + }, + { + "collection": "directus_folders", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": null, + "policy": "_sync_default_public_policy", + "_syncId": "714ddaf4-4f13-4fc8-bd70-39493c3e583b" + }, + { + "collection": "directus_folders", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "837131f9-c376-4a10-94d8-731824685217" + }, + { + "collection": "directus_folders", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "18354c2a-ba1f-48e3-9ccc-acd1de31804d" + }, + { + "collection": "directus_panels", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "5e4158d0-4663-4866-a518-cd19488d7a63" + }, + { + "collection": "directus_panels", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "2cc0980b-64a6-487f-9524-d96244029192" + }, + { + "collection": "directus_panels", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "e2187305-97a5-4603-85a6-a22f544cb090" + }, + { + "collection": "directus_panels", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "3a5469b1-6692-4f7b-a46e-531c9c265495" + }, + { + "collection": "directus_roles", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "544bd407-7722-4c70-9808-1ff7d088b91e" + }, + { + "collection": "directus_shares", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "3efdfb4f-8431-4519-ae6f-273bccb61ee0" + }, + { + "collection": "directus_shares", + "action": "delete", + "permissions": { + "user_created": { + "_eq": "$CURRENT_USER" + } + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "400ee346-363d-41a6-b6a7-456378249984" + }, + { + "collection": "directus_shares", + "action": "read", + "permissions": { + "_or": [ + { + "role": { + "_eq": "$CURRENT_ROLE" + } + }, + { + "role": { + "_null": true + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "d3e74b1d-b998-4d57-9f8f-5aea590ce872" + }, + { + "collection": "directus_shares", + "action": "update", + "permissions": { + "user_created": { + "_eq": "$CURRENT_USER" + } + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "45d58593-b00f-4e57-8e7b-56a677822ecf" + }, + { + "collection": "directus_users", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "_sync_default_public_policy", + "_syncId": "57f70fd2-bd0f-46f4-bf28-6018b71da17a" + }, + { + "collection": "directus_users", + "action": "update", + "permissions": { + "id": { + "_eq": "$CURRENT_USER" + } + }, + "validation": null, + "presets": null, + "fields": [ + "first_name", + "last_name", + "email", + "password", + "location", + "title", + "description", + "avatar", + "language", + "appearance", + "theme_light", + "theme_dark", + "theme_light_overrides", + "theme_dark_overrides", + "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" + }, + { + "collection": "attestations_directus_users", + "action": "create", + "permissions": {}, + "validation": { + "_and": [ + { + "directus_users_id": { + "_neq": "$CURRENT_USER" + } + } + ] + }, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "389e4972-fca9-420a-ac48-f17f1c4a9fc3" + }, + { + "collection": "attestations_directus_users", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "db56a3a7-c09c-4888-81df-a2d2fecd47d8" + }, + { + "collection": "attestations", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "07aebaa5-af6c-44b8-b5a8-7432e6391f79" + }, + { + "collection": "attestations", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "7982690b-a1ba-4209-81a7-53998a8095a3" + }, + { + "collection": "contactInfos", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "0e6819ee-486c-464e-a5fe-de936204277e" + }, + { + "collection": "crowdfundings", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "8a75bd58-1694-47f0-9a7d-e0bf294411bc" + }, + { + "collection": "directus_dashboards", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "407e3b00-e79b-4450-8ab7-0f9e3b013512" + }, + { + "collection": "directus_dashboards", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "c69ddaec-521f-44d5-8c95-d48ed8bd53f9" + }, + { + "collection": "directus_dashboards", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "69798679-d527-48b4-ae20-ffeda24fa364" + }, + { + "collection": "directus_dashboards", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "5d1fcc32-916b-4960-a049-ad306c8fe8bc" + }, + { + "collection": "directus_files", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "5f61e876-9e56-4f42-b3a3-af888e248298" + }, + { + "collection": "directus_files", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "8d09519e-8107-4a4a-b84c-da9df08a9dd3" + }, + { + "collection": "directus_files", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "ac68ac2f-5510-4396-ac1e-87cb02de6035" + }, + { + "collection": "directus_files", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "491a5c73-ea9b-4444-923f-a72e7d934de7" + }, + { + "collection": "directus_flows", + "action": "read", + "permissions": { + "trigger": { + "_eq": "manual" + } + }, + "validation": null, + "presets": null, + "fields": [ + "id", + "status", + "name", + "icon", + "color", + "options", + "trigger" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "db3d4ce2-5349-426b-9d46-8ab2367570be" + }, + { + "collection": "directus_folders", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "4fe719fd-8f69-4ffd-9759-440fb2e6652d" + }, + { + "collection": "directus_folders", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": null, + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "8cc78871-f82f-4a5b-9f46-8f9f57be21bf" + }, + { + "collection": "directus_folders", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "fe458722-c35d-4b4e-a7fe-280ff671e544" + }, + { + "collection": "directus_folders", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "930b5754-638b-4170-a8fe-17f5fa566e8e" + }, + { + "collection": "directus_panels", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "06aa59c1-9c43-4a55-8ff3-ad9e112dc94b" + }, + { + "collection": "directus_panels", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "b95800c7-8b9a-41a4-ba21-3419266e2d95" + }, + { + "collection": "directus_panels", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "3a04fce1-a14f-415e-9b51-416ca152ae0d" + }, + { + "collection": "directus_panels", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "9994455d-36ca-48d2-8e3c-4b996987050c" + }, + { + "collection": "directus_permissions", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "85503012-48fc-44d6-9475-f50b4bbcceb4" + }, + { + "collection": "directus_policies", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "1a22dea3-cff3-43e0-8a84-aa9e25bfcbff" + }, + { + "collection": "directus_roles", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "472dec55-eb9c-4880-a63b-bb4fb3c92f53" + }, + { + "collection": "directus_shares", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "01c5e3a7-69d0-4fbc-96a4-68594231c9fe" + }, + { + "collection": "directus_shares", + "action": "delete", + "permissions": { + "user_created": { + "_eq": "$CURRENT_USER" + } + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "b0fa3f84-9eae-4f93-8974-d698480a0a9f" + }, + { + "collection": "directus_shares", + "action": "read", + "permissions": { + "_or": [ + { + "role": { + "_eq": "$CURRENT_ROLE" + } + }, + { + "role": { + "_null": true + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "78ab7268-842e-461f-8e3a-c211156d5662" + }, + { + "collection": "directus_shares", + "action": "update", + "permissions": { + "user_created": { + "_eq": "$CURRENT_USER" + } + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "5c24d663-f751-45c1-a70d-0b3dbd3c9317" + }, + { + "collection": "directus_users", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "f8696d87-b2bc-45cb-96e5-8712c333a0f5" + }, + { + "collection": "directus_users", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "4e4a1b88-8137-41fb-bf44-aebdb5ebd0be" + }, + { + "collection": "features", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "cce1f744-f2d4-4aa1-8666-375f82b9072d" + }, + { + "collection": "features", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "4d43d492-9a41-4b91-bd01-d47a10603308" + }, + { + "collection": "features", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "3bcb05fd-4380-4ff5-889d-2938f64bf503" + }, + { + "collection": "features", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "affb74eb-0dfd-4fd6-a610-01cdc553689b" + }, + { + "collection": "gallery", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "1635dd77-df6a-40ce-9d15-aa6fc19ad7e9" + }, + { + "collection": "groupSubheaders_groupTypes", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "b03291cf-c5e4-4098-9637-bfc613a6ed82" + }, + { + "collection": "groupSubheaders", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "17b41e82-12dd-45d5-937a-27280d29eaee" + }, + { + "collection": "groupTypes", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "fab7b34d-8092-471a-add9-eabc31c506b1" + }, + { + "collection": "items_files", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "2a3016a3-3043-49c7-a65e-2810cd20817a" + }, + { + "collection": "items_files", + "action": "delete", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "60f4632d-967d-4b82-80cc-3883280bca30" + }, + { + "collection": "items_files", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "719f366a-06d2-4a5a-819d-e053cbc90119" + }, + { + "collection": "items_files", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "e88f4408-3fd1-4dc9-84ac-4e8aeb4b40af" + }, + { + "collection": "items_items", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "90e6c5f4-3b2e-4ec7-97fe-5ef77f5196e0" + }, + { + "collection": "items_items", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "6340b76c-574b-4219-a50d-fca540904b82" + }, + { + "collection": "items_items", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "7b2f1fdd-1b33-450b-aaa9-cc5987b2493f" + }, + { + "collection": "items_items", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "c3878030-81f1-4f1b-915a-766b10d15061" + }, + { + "collection": "items_tags_1", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "5f7dec07-26af-4ad8-b227-e457fc5af676" + }, + { + "collection": "items_tags_1", + "action": "delete", + "permissions": { + "_and": [ + { + "_or": [ + { + "items_id": { + "user_created": { + "id": { + "_eq": "$CURRENT_USER" + } + } + } + }, + { + "items_id": { + "public_edit": { + "_eq": true + } + } + } + ] + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "ccbfb413-9e4a-48b8-b082-588f3928e34a" + }, + { + "collection": "items_tags_1", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "8c07fbb0-c003-4622-979b-f40c857b0909" + }, + { + "collection": "items_tags_1", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "69f72797-3002-4b0a-8f8b-f0e8d6fc47ba" + }, + { + "collection": "items_tags", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "054bd627-ee9e-4b63-88cb-3b58dfee67ce" + }, + { + "collection": "items_tags", + "action": "delete", + "permissions": { + "_and": [ + { + "_or": [ + { + "items_id": { + "user_created": { + "id": { + "_eq": "$CURRENT_USER" + } + } + } + }, + { + "items_id": { + "public_edit": { + "_eq": true + } + } + } + ] + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "89ca1d27-8d0d-4745-b2be-cbf593db663c" + }, + { + "collection": "items_tags", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "6406fe7f-500f-40a7-a28f-92244d9fb482" + }, + { + "collection": "items_tags", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "0e2c70c7-2873-4492-97ab-51e2bd3a1a2f" + }, + { + "collection": "items", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "c58a152e-f5d9-4f57-b7b0-5416b2740088" + }, + { + "collection": "items", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "5f5178b4-294e-4f83-854e-f54fcdd46ab7" + }, + { + "collection": "items", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "1c1906b1-865a-40c2-b449-0ac53314165e" + }, + { + "collection": "items", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "082c8432-f051-45b1-b075-83272c4f35c0" + }, + { + "collection": "itemSecrets", + "action": "read", + "permissions": { + "_and": [ + { + "item": { + "user_created": { + "_eq": "$CURRENT_USER" + } + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "secret", + "item" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "1b4b3b37-c16d-4804-85f8-50b0e03c7309" + }, + { + "collection": "junction_directus_users_tags_1", + "action": "create", + "permissions": {}, + "validation": { + "_and": [ + { + "directus_users_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "ae2a3d26-a6d5-4e9a-8082-2acb0bec392d" + }, + { + "collection": "junction_directus_users_tags_1", + "action": "delete", + "permissions": { + "_and": [ + { + "directus_users_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "5eea682c-9de0-45c6-9720-ee56bf202a6a" + }, + { + "collection": "junction_directus_users_tags_1", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "3c00e381-9d0f-4d6e-932e-e2323f30c7c1" + }, + { + "collection": "junction_directus_users_tags_1", + "action": "update", + "permissions": { + "_and": [ + { + "directus_users_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "fe432bca-3e97-4e0e-a23c-f50218f4b81e" + }, + { + "collection": "junction_directus_users_tags", + "action": "create", + "permissions": {}, + "validation": { + "_and": [ + { + "directus_users_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "80311885-67e5-4c03-a14e-d09dd08046b8" + }, + { + "collection": "junction_directus_users_tags", + "action": "delete", + "permissions": { + "_and": [ + { + "directus_users_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "a34d0404-6560-4b08-8ca4-1566838d2fdf" + }, + { + "collection": "junction_directus_users_tags", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "93cdee3a-a3a8-4ae5-8084-5581e0fe05be" + }, + { + "collection": "junction_directus_users_tags", + "action": "update", + "permissions": { + "_and": [ + { + "directus_users_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "0208c353-795b-4977-a222-d05617792add" + }, + { + "collection": "layers_files", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "26aec4a9-7ea3-4ef4-b3a2-787a4f125ed8" + }, + { + "collection": "layers_maps", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "47ab5308-a9a3-4cf7-9f31-4b3ece43511a" + }, + { + "collection": "layers", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "43161a06-c7ba-4de1-abc9-9f6153905a92" + }, + { + "collection": "maps", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "ea616181-7b3f-4e55-bfa4-96626e63f65e" + }, + { + "collection": "marker_icons", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "1757d973-04e8-4aff-a5cc-7c7d719b8c52" + }, + { + "collection": "startEnd", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "4d505ec1-1007-4ff7-9ae9-e2c987519cf9" + }, + { + "collection": "tags", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "9aa32293-2499-462f-92b3-6c392a245c7b" + }, + { + "collection": "tags", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "24abf1a7-442d-4f5b-8f56-32e0a79d3dbd" + }, + { + "collection": "tags", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "e8d492af-c360-4b6e-b7d5-e252b5c0ed76" + }, + { + "collection": "tags", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "6a30a3ed-f82e-4335-bd65-55dfe76d4824" + }, + { + "collection": "team", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "284d457a-d48f-44f5-a113-504d195a4b06" + }, + { + "collection": "team", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "3a99f6da-4b30-49fd-8222-fbb8386ae807" + }, + { + "collection": "team", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "dbf583dc-d69a-4282-aad4-d41f58688a1f" + }, + { + "collection": "team", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "19a31cf3-0aba-42dd-b163-0c5a6679746a" + }, + { + "collection": "texts", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "da686339-70c0-4a61-8dfa-8eeb0cf2ea6a" + }, + { + "collection": "types_profileTemplate", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "f6a506af-aba0-43b0-8870-78b2e42b2206" + }, + { + "collection": "types", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d", + "_syncId": "4e693ca2-3def-4500-9fca-9345ab689af6" + }, + { + "collection": "attestations_directus_users", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "c7871336-f3ad-4d2f-85a4-c239ca057175" + }, + { + "collection": "attestations", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "93a955bb-14ad-4e69-8c6e-e6e67ba29c73" + }, + { + "collection": "contactInfos", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "3c4072f6-6b5a-44bd-998c-daf5d926ad0d" + }, + { + "collection": "crowdfundings", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "7c21bc39-20b3-4ddc-a19e-d56f89bccb49" + }, + { + "collection": "directus_files", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "3a177c66-5bd4-4752-8af3-ef240aa78ec4" + }, + { + "collection": "directus_files", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "3303704d-9eb3-4307-a7f7-3e9426878385" + }, + { + "collection": "directus_permissions", + "action": "read", + "permissions": { + "_and": [ + { + "policy": { + "id": { + "_eq": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + } + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "action", + "role", + "collection", + "id", + "permissions", + "policy" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "db071437-f4b2-4153-8790-919e5ef1acc2" + }, + { + "collection": "directus_policies", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "7709b2be-e3a9-4a9a-8068-554b0b4f6f98" + }, + { + "collection": "directus_roles", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "f9538cf5-f899-4d87-9f17-43a4a68bb60b" + }, + { + "collection": "directus_users", + "action": "create", + "permissions": null, + "validation": null, + "presets": { + "role": "cccbc503-ecab-4ef1-8cf9-b6ac0f2be240" + }, + "fields": [ + "first_name", + "email", + "password" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "b402bf28-42f8-41e2-a0a1-bd71dcc4705b" + }, + { + "collection": "directus_users", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "first_name", + "id", + "avatar" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "09c96ed5-c9c6-4145-8afd-9639638acbe0" + }, + { + "collection": "features", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "0ed8ee6b-c4dc-4e64-8cb1-d2fa21392ca8" + }, + { + "collection": "gallery", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "39b8cc70-176e-4515-908c-3a71e905219b" + }, + { + "collection": "groupSubheaders_groupTypes", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "98f508bb-ab0b-487c-8a68-e39280d3ff10" + }, + { + "collection": "groupSubheaders", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "15ef404c-7da1-4f9e-8f50-c0d3a895e8d8" + }, + { + "collection": "groupTypes", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "17fedf49-c56a-4041-90f1-0d3f33542cf7" + }, + { + "collection": "items_files", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "b509f554-8b7d-4d78-9efe-1eb0021e6add" + }, + { + "collection": "items_items", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "e6d00b88-f375-4365-9a0b-bf40205b1a2e" + }, + { + "collection": "items_items", + "action": "delete", + "permissions": { + "_and": [ + { + "items_id": { + "public_edit": { + "_eq": true + } + } + } + ] + }, + "validation": null, + "presets": null, + "fields": null, + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "4cb6ebbb-25d8-4ce8-bb19-4d62fae56ada" + }, + { + "collection": "items_items", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "492c9748-43fd-4ab5-a8b0-dd2ecb148197" + }, + { + "collection": "items_items", + "action": "update", + "permissions": { + "_and": [ + { + "items_id": { + "public_edit": { + "_eq": true + } + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "75d0cfb1-6c37-4fd5-8c82-49d43c3aa25a" + }, + { + "collection": "items_tags_1", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "615a3931-6464-48a7-890e-09b48cb7608b" + }, + { + "collection": "items_tags_1", + "action": "delete", + "permissions": { + "_and": [ + { + "items_id": { + "public_edit": { + "_eq": true + } + } + } + ] + }, + "validation": null, + "presets": null, + "fields": null, + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "606066b6-bbbe-4079-a9cc-62fc2a829a7c" + }, + { + "collection": "items_tags_1", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "a3f5a1e1-fe64-481e-958a-6ff250709b89" + }, + { + "collection": "items_tags_1", + "action": "update", + "permissions": { + "_and": [ + { + "items_id": { + "public_edit": { + "_eq": true + } + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "a2dc4f15-fd92-42b3-af8a-475727778312" + }, + { + "collection": "items_tags", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "41d1b499-4751-402e-a5fd-cfada3d375ed" + }, + { + "collection": "items_tags", + "action": "delete", + "permissions": { + "_and": [ + { + "items_id": { + "public_edit": { + "_eq": true + } + } + } + ] + }, + "validation": null, + "presets": null, + "fields": null, + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "ebac6247-d717-44f2-8c99-8eeb53aef569" + }, + { + "collection": "items_tags", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "14776bde-1d75-4dd6-bafb-701017f3e5b3" + }, + { + "collection": "items_tags", + "action": "update", + "permissions": { + "_and": [ + { + "items_id": { + "public_edit": { + "_eq": true + } + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "38a97d0e-3a1b-422f-8fff-d0d9e67c4c5e" + }, + { + "collection": "items", + "action": "create", + "permissions": {}, + "validation": { + "_and": [ + { + "user_created": { + "_null": true + } + }, + { + "autogenerated": { + "_neq": true + } + } + ] + }, + "presets": { + "public_edit": true + }, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "03895cbc-8323-467b-a3dc-f455cd91c866" + }, + { + "collection": "items", + "action": "delete", + "permissions": { + "_and": [ + { + "public_edit": { + "_eq": true + } + } + ] + }, + "validation": null, + "presets": null, + "fields": null, + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "da08ef85-00ba-42dd-bcdc-7511e56d16f0" + }, + { + "collection": "items", + "action": "read", + "permissions": { + "_and": [ + { + "_or": [ + { + "draft": { + "_eq": false + } + }, + { + "user_created": { + "_eq": "$CURRENT_USER" + } + } + ] + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "aadcf713-75f4-49f1-8c01-97e8e1241bc6" + }, + { + "collection": "items", + "action": "update", + "permissions": { + "_and": [ + { + "public_edit": { + "_eq": true + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "61a8fa3c-5007-4d58-b8e7-bc0bb84671a2" + }, + { + "collection": "junction_directus_users_tags_1", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "2bc2f1f2-2619-454a-9239-db84fce4f88a" + }, + { + "collection": "junction_directus_users_tags", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "d701051e-6a4d-44d4-b101-b67d2d9f84ea" + }, + { + "collection": "layers_files", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "e7e71ef0-d055-48de-be09-8e09da841d88" + }, + { + "collection": "layers_maps", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "8e557ccc-6384-4086-97cf-f6a5cc87cabe" + }, + { + "collection": "layers", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "d37d59fb-c8de-43d7-a7fc-b5d019acc9ef" + }, + { + "collection": "maps", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "928e3726-cc9e-4243-afff-1f93c62d7393" + }, + { + "collection": "marker_icons", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "736ecaa8-cc9b-4a4b-bd8a-5936b9c7d1ad" + }, + { + "collection": "startEnd", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "3e1c736d-4945-4d96-bfe8-845ba076c24c" + }, + { + "collection": "tags", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "33dd404b-3f77-4ffa-a1b0-259bae8f63e9" + }, + { + "collection": "tags", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "713a7ea5-eb54-4940-b0e4-1b5c57fefa39" + }, + { + "collection": "team", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "70f37a10-eb53-4e0b-9196-4f7c1e7c20e4" + }, + { + "collection": "texts", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "e9593a9a-f5a7-4737-aa3d-d189920e75e7" + }, + { + "collection": "types_profileTemplate", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "621ab6b1-f0cc-4a10-b465-562369b250b3" + }, + { + "collection": "types", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a", + "_syncId": "ffacff14-13b3-46ec-881a-1e68f3c29732" + }, + { + "collection": "attestations_directus_users", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "d5147e54-c10e-4bd2-b238-ae280ce17802" + }, + { + "collection": "attestations_directus_users", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "9d9e2387-53b7-4c9e-b46e-7a8629735409" + }, + { + "collection": "attestations", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "f298ab61-1d32-4675-aff7-fce6273bc7f9" + }, + { + "collection": "attestations", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "faaa3269-59c1-475a-803b-7db694d5b4a4" + }, + { + "collection": "contactInfos", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "72ddd3d3-278b-4581-935e-141ae5746619" + }, + { + "collection": "crowdfundings", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "65b9c7b7-9cc9-480b-9265-e7f54105469a" + }, + { + "collection": "directus_files", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "3f1ce11e-5e7f-4074-ab1d-00214ec37b63" + }, + { + "collection": "directus_files", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "12915b66-d68a-4a6b-bf18-866ccbbf5e16" + }, + { + "collection": "directus_files", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "a6709e06-0e8c-4c71-a09a-701ae6e7654b" + }, + { + "collection": "directus_permissions", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "2eb1a8d4-bb3d-4324-97fe-a8be8ec74c15" + }, + { + "collection": "directus_policies", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "ac874207-7713-49d2-a74f-6ed734eab1d2" + }, + { + "collection": "directus_roles", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "3af7478b-9f18-4886-bd5a-7e723f5ef9db" + }, + { + "collection": "directus_users", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "first_name", + "profile", + "last_name", + "groups", + "color", + "avatar", + "description", + "id", + "role", + "offers", + "needs", + "contact" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "79539158-50d5-4940-a62d-4126221a563f" + }, + { + "collection": "directus_users", + "action": "update", + "permissions": { + "_and": [ + { + "id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "first_name", + "color", + "avatar", + "email", + "password", + "description", + "offers", + "needs", + "contact" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "081c905d-e572-4d8a-b0a0-f7490d65915a" + }, + { + "collection": "features", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "082713dc-0562-4ef7-a669-c10e7b846236" + }, + { + "collection": "gallery", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "b567a953-eb52-429e-866c-81f4603011dc" + }, + { + "collection": "groupSubheaders_groupTypes", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "02b165a5-4783-442e-b52a-b777a9b099de" + }, + { + "collection": "groupSubheaders", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "3b1fd64c-a6da-4b10-9943-ec8caca5551f" + }, + { + "collection": "groupTypes", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "38597689-848d-4e63-8344-a59de153b9eb" + }, + { + "collection": "items_files", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "f49cba5c-cdf4-45ad-b8d7-e14871964793" + }, + { + "collection": "items_files", + "action": "delete", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "dd845a8d-9b27-4dc1-a5f2-145a1a465bcd" + }, + { + "collection": "items_files", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "11d15213-ecbe-4093-be71-6150752b42cb" + }, + { + "collection": "items_files", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "cadf4c76-2f23-477f-9d20-5e479292520a" + }, + { + "collection": "items_items", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "3fd44576-4472-432a-8dca-ac2e9589509f" + }, + { + "collection": "items_items", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "49579f77-1a87-4e43-847b-a5690312cf40" + }, + { + "collection": "items_items", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "b0463e20-533a-49b8-be48-a9d09cb418fd" + }, + { + "collection": "items_items", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "e1930a86-7630-49c9-b912-71014c097cd5" + }, + { + "collection": "items_tags_1", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "f35c36f4-78e5-4bde-a585-ae7e0be7f03f" + }, + { + "collection": "items_tags_1", + "action": "delete", + "permissions": { + "_and": [ + { + "_or": [ + { + "items_id": { + "user_created": { + "id": { + "_eq": "$CURRENT_USER" + } + } + } + }, + { + "items_id": { + "public_edit": { + "_eq": true + } + } + } + ] + } + ] + }, + "validation": null, + "presets": null, + "fields": null, + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "caae0778-bca8-4ea6-a5b3-7219b9fac376" + }, + { + "collection": "items_tags_1", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "c50632e5-2d18-4b3f-8d63-12e968afb42a" + }, + { + "collection": "items_tags_1", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "69993001-f342-46c7-abc7-8589739b2c75" + }, + { + "collection": "items_tags", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "657bd61d-1fbf-4e91-8027-5f86620fa54b" + }, + { + "collection": "items_tags", + "action": "delete", + "permissions": { + "_and": [ + { + "_or": [ + { + "items_id": { + "user_created": { + "id": { + "_eq": "$CURRENT_USER" + } + } + } + }, + { + "items_id": { + "public_edit": { + "_eq": true + } + } + } + ] + } + ] + }, + "validation": null, + "presets": null, + "fields": null, + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "3f230b90-09a9-43ed-9195-24ad9350c75f" + }, + { + "collection": "items_tags", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "8e32edc9-94d8-4237-a3dc-e6ed4f357c5a" + }, + { + "collection": "items_tags", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "8612fcbb-3257-494e-a34f-dd82f8ed7aa9" + }, + { + "collection": "items", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "341a277e-172c-410a-ab2b-366b24ba93fd" + }, + { + "collection": "items", + "action": "delete", + "permissions": { + "_and": [ + { + "_or": [ + { + "user_created": { + "_eq": "$CURRENT_USER" + } + }, + { + "public_edit": { + "_eq": true + } + } + ] + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "14551740-9c58-4eaf-8b8b-8ee9c6e7e223" + }, + { + "collection": "items", + "action": "read", + "permissions": { + "_and": [ + { + "_or": [ + { + "draft": { + "_eq": false + } + }, + { + "user_created": { + "_eq": "$CURRENT_USER" + } + } + ] + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "96992816-44b4-4770-857f-2b6fe4c0156c" + }, + { + "collection": "items", + "action": "update", + "permissions": { + "_and": [ + { + "_or": [ + { + "user_created": { + "_eq": "$CURRENT_USER" + } + }, + { + "public_edit": { + "_eq": true + } + } + ] + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "1cee7a94-24f8-4092-9c26-5c2ca8d6fc94" + }, + { + "collection": "itemSecrets", + "action": "read", + "permissions": { + "_and": [ + { + "item": { + "user_created": { + "_eq": "$CURRENT_USER" + } + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "secret", + "item" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "68f18b87-0102-4a97-917f-6498e561ef9c" + }, + { + "collection": "junction_directus_users_tags_1", + "action": "create", + "permissions": {}, + "validation": { + "_and": [ + { + "directus_users_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "63bb7f98-3d4d-4d5d-8411-17a092e2c003" + }, + { + "collection": "junction_directus_users_tags_1", + "action": "delete", + "permissions": { + "_and": [ + { + "directus_users_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "e078d994-26f5-4f7e-bbb6-5e153c9bd945" + }, + { + "collection": "junction_directus_users_tags_1", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "c3011817-5ecc-4577-9dff-fbc48a4e2791" + }, + { + "collection": "junction_directus_users_tags_1", + "action": "update", + "permissions": { + "_and": [ + { + "directus_users_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": null, + "presets": null, + "fields": null, + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "ef9155dd-8659-4898-96ad-19d96c878dfb" + }, + { + "collection": "junction_directus_users_tags", + "action": "create", + "permissions": {}, + "validation": { + "_and": [ + { + "directus_users_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "4198e53c-169e-4876-b14d-26d9150455b1" + }, + { + "collection": "junction_directus_users_tags", + "action": "delete", + "permissions": { + "_and": [ + { + "directus_users_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "a45f2bef-51a2-4e59-9463-05db16804430" + }, + { + "collection": "junction_directus_users_tags", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "d0d49469-e51b-4fe8-85a5-0350e89be223" + }, + { + "collection": "junction_directus_users_tags", + "action": "update", + "permissions": { + "_and": [ + { + "directus_users_id": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": null, + "presets": null, + "fields": null, + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "981d86dc-15c7-4cbb-9de7-f00e1f07d9f7" + }, + { + "collection": "layers_files", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "1099d8b5-6f05-4441-987e-bafaf45e5127" + }, + { + "collection": "layers_maps", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "ff36f0af-42f4-44a0-81e1-266a4398ccc5" + }, + { + "collection": "layers", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "e6400a18-1a3f-4cab-86f9-4425e75f7e4d" + }, + { + "collection": "maps", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "9f27648e-9113-42d1-8d55-49b5cddcbbe6" + }, + { + "collection": "marker_icons", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "dd4600f5-dd76-4772-9b1b-d88d152e7408" + }, + { + "collection": "startEnd", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "b47c2d51-228d-48a3-9dac-14f3354d9f25" + }, + { + "collection": "tags", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "2e65d427-30a7-4dfb-b48f-edce20bc3336" + }, + { + "collection": "tags", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "757673e5-8d65-4b1a-ad00-fd7b177bb0b9" + }, + { + "collection": "tags", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "0aea41ed-f226-4efe-a04b-b899d967f01b" + }, + { + "collection": "tags", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "34d2b620-0916-49be-972e-7cf3b1655f6c" + }, + { + "collection": "team", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "be5c659e-b77c-464d-9b9b-34c9c3d22e15" + }, + { + "collection": "texts", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "b09e642f-c29e-4555-90f7-89e6e726dbda" + }, + { + "collection": "types_profileTemplate", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "b16453e3-676b-49d6-917b-6d6f81089114", + "_syncId": "73f3492b-02d6-4718-8d39-7582ee3f7496" + }, + { + "collection": "types", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "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" + } +] diff --git a/backend/directus-config/collections/policies.json b/backend/directus-config/collections/policies.json index e9ddc251..7d529236 100644 --- a/backend/directus-config/collections/policies.json +++ b/backend/directus-config/collections/policies.json @@ -2,7 +2,7 @@ { "name": "Administrator", "icon": "verified", - "description": "$t:admin_description", + "description": "$t:admin_policy_description", "ip_access": null, "enforce_tfa": false, "admin_access": true, @@ -10,11 +10,63 @@ "roles": [ { "role": "_sync_default_admin_role", - "sort": null + "sort": 1 } ], "_syncId": "_sync_default_admin_policy" }, + { + "name": "App Access", + "icon": "badge", + "description": null, + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": true, + "roles": [ + { + "role": null, + "sort": 1 + }, + { + "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" + }, + { + "name": "Editor", + "icon": "supervised_user_circle", + "description": null, + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": true, + "roles": [ + { + "role": "a65f6094-ba98-42d3-940b-07934959e3fb", + "sort": 1 + } + ], + "_syncId": "ab3d3699-a59d-43fc-99e1-ffc2d0a65c0d" + }, { "name": "$t:public_label", "icon": "public", @@ -29,6 +81,38 @@ "sort": 1 } ], - "_syncId": "_sync_default_public_policy" + "_syncId": "ae878d38-3e1a-476f-8dba-e3ae56d19d4a" + }, + { + "name": "Registrated", + "icon": "paragliding", + "description": null, + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false, + "roles": [ + { + "role": "9865ace7-27fe-4d1f-be88-99ee6410fca2", + "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" } ] diff --git a/backend/directus-config/collections/roles.json b/backend/directus-config/collections/roles.json index 4973cd84..d5de88d1 100644 --- a/backend/directus-config/collections/roles.json +++ b/backend/directus-config/collections/roles.json @@ -5,5 +5,26 @@ "description": "$t:admin_description", "parent": null, "_syncId": "_sync_default_admin_role" + }, + { + "name": "Registrated", + "icon": "paragliding", + "description": null, + "parent": null, + "_syncId": "9865ace7-27fe-4d1f-be88-99ee6410fca2" + }, + { + "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" } ] diff --git a/backend/directus-config/collections/settings.json b/backend/directus-config/collections/settings.json index fe51488c..1919ba4f 100644 --- a/backend/directus-config/collections/settings.json +++ b/backend/directus-config/collections/settings.json @@ -1 +1,65 @@ -[] +[ + { + "project_name": "Utopia Map", + "project_color": "#99C1F1", + "public_note": null, + "auth_login_attempts": 25, + "auth_password_policy": null, + "storage_asset_transform": "all", + "storage_asset_presets": null, + "custom_css": null, + "storage_default_folder": null, + "basemaps": null, + "mapbox_key": null, + "module_bar": [ + { + "type": "module", + "id": "content", + "enabled": true + }, + { + "type": "module", + "id": "visual", + "enabled": false + }, + { + "type": "module", + "id": "users", + "enabled": true + }, + { + "type": "module", + "id": "files", + "enabled": true + }, + { + "type": "module", + "id": "insights", + "enabled": false + }, + { + "type": "module", + "id": "settings", + "enabled": true, + "locked": true + } + ], + "project_descriptor": "collaborative Mapping", + "default_language": "en-US", + "custom_aspect_ratios": null, + "default_appearance": "auto", + "default_theme_light": null, + "theme_light_overrides": null, + "default_theme_dark": null, + "theme_dark_overrides": null, + "report_error_url": null, + "report_bug_url": null, + "report_feature_url": null, + "public_registration": false, + "public_registration_verify_email": true, + "public_registration_role": null, + "public_registration_email_filter": null, + "visual_editor_urls": null, + "_syncId": "0c18d64f-a3d1-4c3b-bad1-e1f822fc5d72" + } +] diff --git a/backend/directus-config/snapshot/collections/Landingpage.json b/backend/directus-config/snapshot/collections/Landingpage.json new file mode 100644 index 00000000..ffa25825 --- /dev/null +++ b/backend/directus-config/snapshot/collections/Landingpage.json @@ -0,0 +1,25 @@ +{ + "collection": "Landingpage", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "Landingpage", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "house", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 9, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + } +} diff --git a/backend/directus-config/snapshot/collections/Themes.json b/backend/directus-config/snapshot/collections/Themes.json new file mode 100644 index 00000000..3e349a4d --- /dev/null +++ b/backend/directus-config/snapshot/collections/Themes.json @@ -0,0 +1,28 @@ +{ + "collection": "Themes", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "Themes", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": null, + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 21, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "Themes" + } +} diff --git a/backend/directus-config/snapshot/collections/UI_Components.json b/backend/directus-config/snapshot/collections/UI_Components.json new file mode 100644 index 00000000..0c8778fb --- /dev/null +++ b/backend/directus-config/snapshot/collections/UI_Components.json @@ -0,0 +1,25 @@ +{ + "collection": "UI_Components", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "UI_Components", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "code_blocks", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 16, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + } +} diff --git a/backend/directus-config/snapshot/collections/UI_Config.json b/backend/directus-config/snapshot/collections/UI_Config.json new file mode 100644 index 00000000..ccb2dd53 --- /dev/null +++ b/backend/directus-config/snapshot/collections/UI_Config.json @@ -0,0 +1,25 @@ +{ + "collection": "UI_Config", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "UI_Config", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "palette", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 17, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + } +} diff --git a/backend/directus-config/snapshot/collections/attestations.json b/backend/directus-config/snapshot/collections/attestations.json new file mode 100644 index 00000000..56c4a42b --- /dev/null +++ b/backend/directus-config/snapshot/collections/attestations.json @@ -0,0 +1,28 @@ +{ + "collection": "attestations", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "attestations", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "favorite", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 8, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "attestations" + } +} diff --git a/backend/directus-config/snapshot/collections/attestations_directus_users.json b/backend/directus-config/snapshot/collections/attestations_directus_users.json new file mode 100644 index 00000000..da5be158 --- /dev/null +++ b/backend/directus-config/snapshot/collections/attestations_directus_users.json @@ -0,0 +1,28 @@ +{ + "collection": "attestations_directus_users", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "attestations_directus_users", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 15, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "attestations_directus_users" + } +} diff --git a/backend/directus-config/snapshot/collections/contactInfos.json b/backend/directus-config/snapshot/collections/contactInfos.json new file mode 100644 index 00000000..34a39f3a --- /dev/null +++ b/backend/directus-config/snapshot/collections/contactInfos.json @@ -0,0 +1,28 @@ +{ + "collection": "contactInfos", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "contactInfos", + "color": null, + "display_template": null, + "group": "UI_Components", + "hidden": false, + "icon": "phone_enabled", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 5, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "contactInfos" + } +} diff --git a/backend/directus-config/snapshot/collections/crowdfundings.json b/backend/directus-config/snapshot/collections/crowdfundings.json new file mode 100644 index 00000000..57d1115a --- /dev/null +++ b/backend/directus-config/snapshot/collections/crowdfundings.json @@ -0,0 +1,28 @@ +{ + "collection": "crowdfundings", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "crowdfundings", + "color": null, + "display_template": null, + "group": "UI_Components", + "hidden": false, + "icon": "bitcoin", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 3, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "crowdfundings" + } +} diff --git a/backend/directus-config/snapshot/collections/features.json b/backend/directus-config/snapshot/collections/features.json new file mode 100644 index 00000000..ed07ef38 --- /dev/null +++ b/backend/directus-config/snapshot/collections/features.json @@ -0,0 +1,28 @@ +{ + "collection": "features", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": "archived", + "collapse": "open", + "collection": "features", + "color": null, + "display_template": null, + "group": "Landingpage", + "hidden": false, + "icon": null, + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 2, + "sort_field": null, + "translations": null, + "unarchive_value": "draft", + "versioning": false + }, + "schema": { + "name": "features" + } +} diff --git a/backend/directus-config/snapshot/collections/gallery.json b/backend/directus-config/snapshot/collections/gallery.json new file mode 100644 index 00000000..807bad98 --- /dev/null +++ b/backend/directus-config/snapshot/collections/gallery.json @@ -0,0 +1,28 @@ +{ + "collection": "gallery", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "gallery", + "color": null, + "display_template": null, + "group": "UI_Components", + "hidden": false, + "icon": "imagesmode", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 8, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "gallery" + } +} diff --git a/backend/directus-config/snapshot/collections/groupSubheaders.json b/backend/directus-config/snapshot/collections/groupSubheaders.json new file mode 100644 index 00000000..b17549d2 --- /dev/null +++ b/backend/directus-config/snapshot/collections/groupSubheaders.json @@ -0,0 +1,28 @@ +{ + "collection": "groupSubheaders", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "groupSubheaders", + "color": null, + "display_template": null, + "group": "UI_Components", + "hidden": false, + "icon": "call_to_action", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 4, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "groupSubheaders" + } +} diff --git a/backend/directus-config/snapshot/collections/groupSubheaders_groupTypes.json b/backend/directus-config/snapshot/collections/groupSubheaders_groupTypes.json new file mode 100644 index 00000000..cb1d90ec --- /dev/null +++ b/backend/directus-config/snapshot/collections/groupSubheaders_groupTypes.json @@ -0,0 +1,28 @@ +{ + "collection": "groupSubheaders_groupTypes", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "groupSubheaders_groupTypes", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 18, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "groupSubheaders_groupTypes" + } +} diff --git a/backend/directus-config/snapshot/collections/groupTypes.json b/backend/directus-config/snapshot/collections/groupTypes.json new file mode 100644 index 00000000..b01d5997 --- /dev/null +++ b/backend/directus-config/snapshot/collections/groupTypes.json @@ -0,0 +1,28 @@ +{ + "collection": "groupTypes", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "groupTypes", + "color": null, + "display_template": "{{color}} {{name}}", + "group": "UI_Config", + "hidden": false, + "icon": "groups", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 2, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "groupTypes" + } +} diff --git a/backend/directus-config/snapshot/collections/inviteLinks.json b/backend/directus-config/snapshot/collections/inviteLinks.json new file mode 100644 index 00000000..b36cf45f --- /dev/null +++ b/backend/directus-config/snapshot/collections/inviteLinks.json @@ -0,0 +1,28 @@ +{ + "collection": "inviteLinks", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "inviteLinks", + "color": null, + "display_template": null, + "group": "UI_Components", + "hidden": false, + "icon": "qr_code_2", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 2, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "inviteLinks" + } +} diff --git a/backend/directus-config/snapshot/collections/itemSecrets.json b/backend/directus-config/snapshot/collections/itemSecrets.json new file mode 100644 index 00000000..f5d2605c --- /dev/null +++ b/backend/directus-config/snapshot/collections/itemSecrets.json @@ -0,0 +1,28 @@ +{ + "collection": "itemSecrets", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "itemSecrets", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "vpn_key", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 22, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "itemSecrets" + } +} diff --git a/backend/directus-config/snapshot/collections/items.json b/backend/directus-config/snapshot/collections/items.json new file mode 100644 index 00000000..70d5ab42 --- /dev/null +++ b/backend/directus-config/snapshot/collections/items.json @@ -0,0 +1,28 @@ +{ + "collection": "items", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "items", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "location_on", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 4, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "items" + } +} diff --git a/backend/directus-config/snapshot/collections/items_files.json b/backend/directus-config/snapshot/collections/items_files.json new file mode 100644 index 00000000..edc87f87 --- /dev/null +++ b/backend/directus-config/snapshot/collections/items_files.json @@ -0,0 +1,28 @@ +{ + "collection": "items_files", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "items_files", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 20, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "items_files" + } +} diff --git a/backend/directus-config/snapshot/collections/items_items.json b/backend/directus-config/snapshot/collections/items_items.json new file mode 100644 index 00000000..38390577 --- /dev/null +++ b/backend/directus-config/snapshot/collections/items_items.json @@ -0,0 +1,28 @@ +{ + "collection": "items_items", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "items_items", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 10, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "items_items" + } +} diff --git a/backend/directus-config/snapshot/collections/items_tags.json b/backend/directus-config/snapshot/collections/items_tags.json new file mode 100644 index 00000000..6612eacc --- /dev/null +++ b/backend/directus-config/snapshot/collections/items_tags.json @@ -0,0 +1,28 @@ +{ + "collection": "items_tags", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "items_tags", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 13, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "items_tags" + } +} diff --git a/backend/directus-config/snapshot/collections/items_tags_1.json b/backend/directus-config/snapshot/collections/items_tags_1.json new file mode 100644 index 00000000..8b03bb46 --- /dev/null +++ b/backend/directus-config/snapshot/collections/items_tags_1.json @@ -0,0 +1,28 @@ +{ + "collection": "items_tags_1", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "items_tags_1", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 14, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "items_tags_1" + } +} diff --git a/backend/directus-config/snapshot/collections/junction_directus_users_tags.json b/backend/directus-config/snapshot/collections/junction_directus_users_tags.json new file mode 100644 index 00000000..df833217 --- /dev/null +++ b/backend/directus-config/snapshot/collections/junction_directus_users_tags.json @@ -0,0 +1,28 @@ +{ + "collection": "junction_directus_users_tags", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "junction_directus_users_tags", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 5, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "junction_directus_users_tags" + } +} diff --git a/backend/directus-config/snapshot/collections/junction_directus_users_tags_1.json b/backend/directus-config/snapshot/collections/junction_directus_users_tags_1.json new file mode 100644 index 00000000..dbfd3c0c --- /dev/null +++ b/backend/directus-config/snapshot/collections/junction_directus_users_tags_1.json @@ -0,0 +1,28 @@ +{ + "collection": "junction_directus_users_tags_1", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "junction_directus_users_tags_1", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 6, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "junction_directus_users_tags_1" + } +} diff --git a/backend/directus-config/snapshot/collections/layers.json b/backend/directus-config/snapshot/collections/layers.json new file mode 100644 index 00000000..283709c9 --- /dev/null +++ b/backend/directus-config/snapshot/collections/layers.json @@ -0,0 +1,28 @@ +{ + "collection": "layers", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "layers", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "checklist", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 2, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "layers" + } +} diff --git a/backend/directus-config/snapshot/collections/layers_directus_users_1.json b/backend/directus-config/snapshot/collections/layers_directus_users_1.json new file mode 100644 index 00000000..968a4f37 --- /dev/null +++ b/backend/directus-config/snapshot/collections/layers_directus_users_1.json @@ -0,0 +1,28 @@ +{ + "collection": "layers_directus_users_1", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "layers_directus_users_1", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "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": "layers_directus_users_1" + } +} diff --git a/backend/directus-config/snapshot/collections/layers_files.json b/backend/directus-config/snapshot/collections/layers_files.json new file mode 100644 index 00000000..a11674ef --- /dev/null +++ b/backend/directus-config/snapshot/collections/layers_files.json @@ -0,0 +1,28 @@ +{ + "collection": "layers_files", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "layers_files", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 11, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "layers_files" + } +} diff --git a/backend/directus-config/snapshot/collections/layers_maps.json b/backend/directus-config/snapshot/collections/layers_maps.json new file mode 100644 index 00000000..cf0c132f --- /dev/null +++ b/backend/directus-config/snapshot/collections/layers_maps.json @@ -0,0 +1,28 @@ +{ + "collection": "layers_maps", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "layers_maps", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 12, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "layers_maps" + } +} diff --git a/backend/directus-config/snapshot/collections/maps.json b/backend/directus-config/snapshot/collections/maps.json new file mode 100644 index 00000000..bbf7d243 --- /dev/null +++ b/backend/directus-config/snapshot/collections/maps.json @@ -0,0 +1,28 @@ +{ + "collection": "maps", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "maps", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "map", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "maps" + } +} diff --git a/backend/directus-config/snapshot/collections/marker_icons.json b/backend/directus-config/snapshot/collections/marker_icons.json new file mode 100644 index 00000000..59c0a76d --- /dev/null +++ b/backend/directus-config/snapshot/collections/marker_icons.json @@ -0,0 +1,28 @@ +{ + "collection": "marker_icons", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "marker_icons", + "color": null, + "display_template": null, + "group": "UI_Config", + "hidden": false, + "icon": "home_pin", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "marker_icons" + } +} diff --git a/backend/directus-config/snapshot/collections/oceannomads_profiles.json b/backend/directus-config/snapshot/collections/oceannomads_profiles.json new file mode 100644 index 00000000..5ea095cc --- /dev/null +++ b/backend/directus-config/snapshot/collections/oceannomads_profiles.json @@ -0,0 +1,28 @@ +{ + "collection": "oceannomads_profiles", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "oceannomads_profiles", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": null, + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": null, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "oceannomads_profiles" + } +} diff --git a/backend/directus-config/snapshot/collections/relations.json b/backend/directus-config/snapshot/collections/relations.json new file mode 100644 index 00000000..391e8968 --- /dev/null +++ b/backend/directus-config/snapshot/collections/relations.json @@ -0,0 +1,28 @@ +{ + "collection": "relations", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "relations", + "color": null, + "display_template": null, + "group": "UI_Components", + "hidden": false, + "icon": "arrows_outward", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "relations" + } +} diff --git a/backend/directus-config/snapshot/collections/startEnd.json b/backend/directus-config/snapshot/collections/startEnd.json new file mode 100644 index 00000000..53b41818 --- /dev/null +++ b/backend/directus-config/snapshot/collections/startEnd.json @@ -0,0 +1,28 @@ +{ + "collection": "startEnd", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "startEnd", + "color": null, + "display_template": null, + "group": "UI_Components", + "hidden": false, + "icon": "calendar_month", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 7, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "startEnd" + } +} diff --git a/backend/directus-config/snapshot/collections/tags.json b/backend/directus-config/snapshot/collections/tags.json new file mode 100644 index 00000000..d54903ec --- /dev/null +++ b/backend/directus-config/snapshot/collections/tags.json @@ -0,0 +1,28 @@ +{ + "collection": "tags", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "tags", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "label", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 7, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "tags" + } +} diff --git a/backend/directus-config/snapshot/collections/team.json b/backend/directus-config/snapshot/collections/team.json new file mode 100644 index 00000000..425f86a5 --- /dev/null +++ b/backend/directus-config/snapshot/collections/team.json @@ -0,0 +1,28 @@ +{ + "collection": "team", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": "archived", + "collapse": "open", + "collection": "team", + "color": null, + "display_template": null, + "group": "Landingpage", + "hidden": false, + "icon": "groups", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": null, + "unarchive_value": "draft", + "versioning": false + }, + "schema": { + "name": "team" + } +} diff --git a/backend/directus-config/snapshot/collections/texts.json b/backend/directus-config/snapshot/collections/texts.json new file mode 100644 index 00000000..75770c63 --- /dev/null +++ b/backend/directus-config/snapshot/collections/texts.json @@ -0,0 +1,28 @@ +{ + "collection": "texts", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "texts", + "color": null, + "display_template": null, + "group": "UI_Components", + "hidden": false, + "icon": "format_align_left", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 6, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "texts" + } +} diff --git a/backend/directus-config/snapshot/collections/types.json b/backend/directus-config/snapshot/collections/types.json new file mode 100644 index 00000000..540d018c --- /dev/null +++ b/backend/directus-config/snapshot/collections/types.json @@ -0,0 +1,28 @@ +{ + "collection": "types", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "types", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "play_shapes", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 3, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "types" + } +} diff --git a/backend/directus-config/snapshot/collections/types_profileTemplate.json b/backend/directus-config/snapshot/collections/types_profileTemplate.json new file mode 100644 index 00000000..e9bf9a6d --- /dev/null +++ b/backend/directus-config/snapshot/collections/types_profileTemplate.json @@ -0,0 +1,28 @@ +{ + "collection": "types_profileTemplate", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "types_profileTemplate", + "color": null, + "display_template": null, + "group": null, + "hidden": true, + "icon": "import_export", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 19, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "types_profileTemplate" + } +} diff --git a/backend/directus-config/snapshot/fields/Themes/theme.json b/backend/directus-config/snapshot/fields/Themes/theme.json new file mode 100644 index 00000000..fb51add5 --- /dev/null +++ b/backend/directus-config/snapshot/fields/Themes/theme.json @@ -0,0 +1,43 @@ +{ + "collection": "Themes", + "field": "theme", + "type": "string", + "meta": { + "collection": "Themes", + "conditions": null, + "display": null, + "display_options": null, + "field": "theme", + "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": "theme", + "table": "Themes", + "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/snapshot/fields/attestations/color.json b/backend/directus-config/snapshot/fields/attestations/color.json new file mode 100644 index 00000000..8bdc73d4 --- /dev/null +++ b/backend/directus-config/snapshot/fields/attestations/color.json @@ -0,0 +1,43 @@ +{ + "collection": "attestations", + "field": "color", + "type": "string", + "meta": { + "collection": "attestations", + "conditions": null, + "display": null, + "display_options": null, + "field": "color", + "group": null, + "hidden": false, + "interface": "select-color", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "color", + "table": "attestations", + "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/attestations/date_created.json b/backend/directus-config/snapshot/fields/attestations/date_created.json new file mode 100644 index 00000000..eb67e505 --- /dev/null +++ b/backend/directus-config/snapshot/fields/attestations/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "attestations", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "attestations", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": false, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "attestations", + "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/snapshot/fields/attestations/emoji.json b/backend/directus-config/snapshot/fields/attestations/emoji.json new file mode 100644 index 00000000..60263299 --- /dev/null +++ b/backend/directus-config/snapshot/fields/attestations/emoji.json @@ -0,0 +1,43 @@ +{ + "collection": "attestations", + "field": "emoji", + "type": "string", + "meta": { + "collection": "attestations", + "conditions": null, + "display": null, + "display_options": null, + "field": "emoji", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "emoji", + "table": "attestations", + "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/attestations/id.json b/backend/directus-config/snapshot/fields/attestations/id.json new file mode 100644 index 00000000..c5ccc0e2 --- /dev/null +++ b/backend/directus-config/snapshot/fields/attestations/id.json @@ -0,0 +1,45 @@ +{ + "collection": "attestations", + "field": "id", + "type": "uuid", + "meta": { + "collection": "attestations", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "id", + "table": "attestations", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/attestations/shape.json b/backend/directus-config/snapshot/fields/attestations/shape.json new file mode 100644 index 00000000..9449f3dc --- /dev/null +++ b/backend/directus-config/snapshot/fields/attestations/shape.json @@ -0,0 +1,59 @@ +{ + "collection": "attestations", + "field": "shape", + "type": "string", + "meta": { + "collection": "attestations", + "conditions": null, + "display": null, + "display_options": null, + "field": "shape", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "allowOther": true, + "choices": [ + { + "text": "circle", + "value": "circle" + }, + { + "text": "squircle", + "value": "squircle" + }, + { + "text": "hexago-2", + "value": "hexagon-2" + } + ] + }, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "shape", + "table": "attestations", + "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/attestations/text.json b/backend/directus-config/snapshot/fields/attestations/text.json new file mode 100644 index 00000000..3388b9c0 --- /dev/null +++ b/backend/directus-config/snapshot/fields/attestations/text.json @@ -0,0 +1,43 @@ +{ + "collection": "attestations", + "field": "text", + "type": "text", + "meta": { + "collection": "attestations", + "conditions": null, + "display": null, + "display_options": null, + "field": "text", + "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": "half" + }, + "schema": { + "name": "text", + "table": "attestations", + "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/snapshot/fields/attestations/to.json b/backend/directus-config/snapshot/fields/attestations/to.json new file mode 100644 index 00000000..de0cb52f --- /dev/null +++ b/backend/directus-config/snapshot/fields/attestations/to.json @@ -0,0 +1,29 @@ +{ + "collection": "attestations", + "field": "to", + "type": "alias", + "meta": { + "collection": "attestations", + "conditions": null, + "display": null, + "display_options": null, + "field": "to", + "group": null, + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "enableCreate": false + }, + "readonly": false, + "required": false, + "sort": 8, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + } +} diff --git a/backend/directus-config/snapshot/fields/attestations/user_created.json b/backend/directus-config/snapshot/fields/attestations/user_created.json new file mode 100644 index 00000000..cfbd5f4f --- /dev/null +++ b/backend/directus-config/snapshot/fields/attestations/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "attestations", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "attestations", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "attestations", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/attestations_directus_users/attestations_id.json b/backend/directus-config/snapshot/fields/attestations_directus_users/attestations_id.json new file mode 100644 index 00000000..f4cd9482 --- /dev/null +++ b/backend/directus-config/snapshot/fields/attestations_directus_users/attestations_id.json @@ -0,0 +1,43 @@ +{ + "collection": "attestations_directus_users", + "field": "attestations_id", + "type": "uuid", + "meta": { + "collection": "attestations_directus_users", + "conditions": null, + "display": null, + "display_options": null, + "field": "attestations_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "attestations_id", + "table": "attestations_directus_users", + "data_type": "uuid", + "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": "attestations", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/attestations_directus_users/directus_users_id.json b/backend/directus-config/snapshot/fields/attestations_directus_users/directus_users_id.json new file mode 100644 index 00000000..eb29890a --- /dev/null +++ b/backend/directus-config/snapshot/fields/attestations_directus_users/directus_users_id.json @@ -0,0 +1,43 @@ +{ + "collection": "attestations_directus_users", + "field": "directus_users_id", + "type": "uuid", + "meta": { + "collection": "attestations_directus_users", + "conditions": null, + "display": null, + "display_options": null, + "field": "directus_users_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "directus_users_id", + "table": "attestations_directus_users", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/attestations_directus_users/id.json b/backend/directus-config/snapshot/fields/attestations_directus_users/id.json new file mode 100644 index 00000000..73f28dbb --- /dev/null +++ b/backend/directus-config/snapshot/fields/attestations_directus_users/id.json @@ -0,0 +1,43 @@ +{ + "collection": "attestations_directus_users", + "field": "id", + "type": "integer", + "meta": { + "collection": "attestations_directus_users", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "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": "attestations_directus_users", + "data_type": "integer", + "default_value": "nextval('attestations_directus_users_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/contactInfos/date_created.json b/backend/directus-config/snapshot/fields/contactInfos/date_created.json new file mode 100644 index 00000000..3fb659a0 --- /dev/null +++ b/backend/directus-config/snapshot/fields/contactInfos/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "contactInfos", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "contactInfos", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "contactInfos", + "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/snapshot/fields/contactInfos/date_updated.json b/backend/directus-config/snapshot/fields/contactInfos/date_updated.json new file mode 100644 index 00000000..20f1eea6 --- /dev/null +++ b/backend/directus-config/snapshot/fields/contactInfos/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "contactInfos", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "contactInfos", + "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": 5, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "contactInfos", + "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/snapshot/fields/contactInfos/heading.json b/backend/directus-config/snapshot/fields/contactInfos/heading.json new file mode 100644 index 00000000..f3ea7516 --- /dev/null +++ b/backend/directus-config/snapshot/fields/contactInfos/heading.json @@ -0,0 +1,43 @@ +{ + "collection": "contactInfos", + "field": "heading", + "type": "string", + "meta": { + "collection": "contactInfos", + "conditions": null, + "display": null, + "display_options": null, + "field": "heading", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "heading", + "table": "contactInfos", + "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/contactInfos/id.json b/backend/directus-config/snapshot/fields/contactInfos/id.json new file mode 100644 index 00000000..1308b2ff --- /dev/null +++ b/backend/directus-config/snapshot/fields/contactInfos/id.json @@ -0,0 +1,45 @@ +{ + "collection": "contactInfos", + "field": "id", + "type": "uuid", + "meta": { + "collection": "contactInfos", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "contactInfos", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/contactInfos/user_created.json b/backend/directus-config/snapshot/fields/contactInfos/user_created.json new file mode 100644 index 00000000..76ab79f1 --- /dev/null +++ b/backend/directus-config/snapshot/fields/contactInfos/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "contactInfos", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "contactInfos", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "contactInfos", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/contactInfos/user_updated.json b/backend/directus-config/snapshot/fields/contactInfos/user_updated.json new file mode 100644 index 00000000..5bc38586 --- /dev/null +++ b/backend/directus-config/snapshot/fields/contactInfos/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "contactInfos", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "contactInfos", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "contactInfos", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/crowdfundings/date_created.json b/backend/directus-config/snapshot/fields/crowdfundings/date_created.json new file mode 100644 index 00000000..457d9069 --- /dev/null +++ b/backend/directus-config/snapshot/fields/crowdfundings/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "crowdfundings", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "crowdfundings", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "crowdfundings", + "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/snapshot/fields/crowdfundings/date_updated.json b/backend/directus-config/snapshot/fields/crowdfundings/date_updated.json new file mode 100644 index 00000000..0595019a --- /dev/null +++ b/backend/directus-config/snapshot/fields/crowdfundings/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "crowdfundings", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "crowdfundings", + "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": 5, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "crowdfundings", + "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/snapshot/fields/crowdfundings/id.json b/backend/directus-config/snapshot/fields/crowdfundings/id.json new file mode 100644 index 00000000..de2aec81 --- /dev/null +++ b/backend/directus-config/snapshot/fields/crowdfundings/id.json @@ -0,0 +1,45 @@ +{ + "collection": "crowdfundings", + "field": "id", + "type": "uuid", + "meta": { + "collection": "crowdfundings", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "crowdfundings", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/crowdfundings/user_created.json b/backend/directus-config/snapshot/fields/crowdfundings/user_created.json new file mode 100644 index 00000000..e32604a0 --- /dev/null +++ b/backend/directus-config/snapshot/fields/crowdfundings/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "crowdfundings", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "crowdfundings", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "crowdfundings", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/crowdfundings/user_updated.json b/backend/directus-config/snapshot/fields/crowdfundings/user_updated.json new file mode 100644 index 00000000..d692d9ec --- /dev/null +++ b/backend/directus-config/snapshot/fields/crowdfundings/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "crowdfundings", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "crowdfundings", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "crowdfundings", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/directus_sync_id_map/created_at.json b/backend/directus-config/snapshot/fields/directus_sync_id_map/created_at.json index edee32af..e92614ff 100644 --- a/backend/directus-config/snapshot/fields/directus_sync_id_map/created_at.json +++ b/backend/directus-config/snapshot/fields/directus_sync_id_map/created_at.json @@ -1,12 +1,12 @@ { "collection": "directus_sync_id_map", "field": "created_at", - "type": "dateTime", + "type": "timestamp", "meta": null, "schema": { "name": "created_at", "table": "directus_sync_id_map", - "data_type": "datetime", + "data_type": "timestamp with time zone", "default_value": "CURRENT_TIMESTAMP", "max_length": null, "numeric_precision": null, diff --git a/backend/directus-config/snapshot/fields/directus_sync_id_map/id.json b/backend/directus-config/snapshot/fields/directus_sync_id_map/id.json index 0707090b..8ac9a3d1 100644 --- a/backend/directus-config/snapshot/fields/directus_sync_id_map/id.json +++ b/backend/directus-config/snapshot/fields/directus_sync_id_map/id.json @@ -7,12 +7,12 @@ "name": "id", "table": "directus_sync_id_map", "data_type": "integer", - "default_value": null, + "default_value": "nextval('directus_sync_id_map_id_seq'::regclass)", "max_length": null, - "numeric_precision": null, - "numeric_scale": null, + "numeric_precision": 32, + "numeric_scale": 0, "is_nullable": false, - "is_unique": false, + "is_unique": true, "is_indexed": false, "is_primary_key": true, "is_generated": false, diff --git a/backend/directus-config/snapshot/fields/directus_sync_id_map/local_id.json b/backend/directus-config/snapshot/fields/directus_sync_id_map/local_id.json index 6246f366..e10d08a5 100644 --- a/backend/directus-config/snapshot/fields/directus_sync_id_map/local_id.json +++ b/backend/directus-config/snapshot/fields/directus_sync_id_map/local_id.json @@ -6,7 +6,7 @@ "schema": { "name": "local_id", "table": "directus_sync_id_map", - "data_type": "varchar", + "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, diff --git a/backend/directus-config/snapshot/fields/directus_sync_id_map/sync_id.json b/backend/directus-config/snapshot/fields/directus_sync_id_map/sync_id.json index 7e27cb11..ebc85f73 100644 --- a/backend/directus-config/snapshot/fields/directus_sync_id_map/sync_id.json +++ b/backend/directus-config/snapshot/fields/directus_sync_id_map/sync_id.json @@ -6,7 +6,7 @@ "schema": { "name": "sync_id", "table": "directus_sync_id_map", - "data_type": "varchar", + "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, diff --git a/backend/directus-config/snapshot/fields/directus_sync_id_map/table.json b/backend/directus-config/snapshot/fields/directus_sync_id_map/table.json index a59f5f50..590c5ae1 100644 --- a/backend/directus-config/snapshot/fields/directus_sync_id_map/table.json +++ b/backend/directus-config/snapshot/fields/directus_sync_id_map/table.json @@ -6,7 +6,7 @@ "schema": { "name": "table", "table": "directus_sync_id_map", - "data_type": "varchar", + "data_type": "character varying", "default_value": null, "max_length": 255, "numeric_precision": null, diff --git a/backend/directus-config/snapshot/fields/directus_users/imported.json b/backend/directus-config/snapshot/fields/directus_users/imported.json new file mode 100644 index 00000000..2ecf46c1 --- /dev/null +++ b/backend/directus-config/snapshot/fields/directus_users/imported.json @@ -0,0 +1,45 @@ +{ + "collection": "directus_users", + "field": "imported", + "type": "boolean", + "meta": { + "collection": "directus_users", + "conditions": null, + "display": null, + "display_options": null, + "field": "imported", + "group": null, + "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": "full" + }, + "schema": { + "name": "imported", + "table": "directus_users", + "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/directus_users/notifications.json b/backend/directus-config/snapshot/fields/directus_users/notifications.json new file mode 100644 index 00000000..0c36f239 --- /dev/null +++ b/backend/directus-config/snapshot/fields/directus_users/notifications.json @@ -0,0 +1,27 @@ +{ + "collection": "directus_users", + "field": "notifications", + "type": "alias", + "meta": { + "collection": "directus_users", + "conditions": null, + "display": null, + "display_options": null, + "field": "notifications", + "group": null, + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/directus_users/wc_user.json b/backend/directus-config/snapshot/fields/directus_users/wc_user.json new file mode 100644 index 00000000..7d71873c --- /dev/null +++ b/backend/directus-config/snapshot/fields/directus_users/wc_user.json @@ -0,0 +1,45 @@ +{ + "collection": "directus_users", + "field": "wc_user", + "type": "boolean", + "meta": { + "collection": "directus_users", + "conditions": null, + "display": null, + "display_options": null, + "field": "wc_user", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 8, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "wc_user", + "table": "directus_users", + "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/features/date_created.json b/backend/directus-config/snapshot/fields/features/date_created.json new file mode 100644 index 00000000..51155d09 --- /dev/null +++ b/backend/directus-config/snapshot/fields/features/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "features", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "features", + "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": 5, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "features", + "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/snapshot/fields/features/date_updated.json b/backend/directus-config/snapshot/fields/features/date_updated.json new file mode 100644 index 00000000..1dffe876 --- /dev/null +++ b/backend/directus-config/snapshot/fields/features/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "features", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "features", + "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": 7, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "features", + "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/snapshot/fields/features/heading.json b/backend/directus-config/snapshot/fields/features/heading.json new file mode 100644 index 00000000..b12b3d4a --- /dev/null +++ b/backend/directus-config/snapshot/fields/features/heading.json @@ -0,0 +1,43 @@ +{ + "collection": "features", + "field": "heading", + "type": "string", + "meta": { + "collection": "features", + "conditions": null, + "display": null, + "display_options": null, + "field": "heading", + "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": "heading", + "table": "features", + "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/features/id.json b/backend/directus-config/snapshot/fields/features/id.json new file mode 100644 index 00000000..6743685c --- /dev/null +++ b/backend/directus-config/snapshot/fields/features/id.json @@ -0,0 +1,43 @@ +{ + "collection": "features", + "field": "id", + "type": "integer", + "meta": { + "collection": "features", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "features", + "data_type": "integer", + "default_value": "nextval('features_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/features/sort.json b/backend/directus-config/snapshot/fields/features/sort.json new file mode 100644 index 00000000..d705c8f4 --- /dev/null +++ b/backend/directus-config/snapshot/fields/features/sort.json @@ -0,0 +1,43 @@ +{ + "collection": "features", + "field": "sort", + "type": "integer", + "meta": { + "collection": "features", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "sort", + "table": "features", + "data_type": "integer", + "default_value": null, + "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/features/status.json b/backend/directus-config/snapshot/fields/features/status.json new file mode 100644 index 00000000..e09f7655 --- /dev/null +++ b/backend/directus-config/snapshot/fields/features/status.json @@ -0,0 +1,80 @@ +{ + "collection": "features", + "field": "status", + "type": "string", + "meta": { + "collection": "features", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "background": "var(--theme--primary)", + "foreground": "#FFFFFF", + "text": "$t:published", + "value": "published" + }, + { + "background": "#D3DAE4", + "foreground": "#18222F", + "text": "$t:draft", + "value": "draft" + }, + { + "background": "var(--theme--warning)", + "foreground": "#FFFFFF", + "text": "$t:archived", + "value": "archived" + } + ], + "showAsDot": true + }, + "field": "status", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "text": "$t:published", + "value": "published" + }, + { + "text": "$t:draft", + "value": "draft" + }, + { + "text": "$t:archived", + "value": "archived" + } + ] + }, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "status", + "table": "features", + "data_type": "character varying", + "default_value": "draft", + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "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/features/symbol.json b/backend/directus-config/snapshot/fields/features/symbol.json new file mode 100644 index 00000000..74e82b6c --- /dev/null +++ b/backend/directus-config/snapshot/fields/features/symbol.json @@ -0,0 +1,43 @@ +{ + "collection": "features", + "field": "symbol", + "type": "string", + "meta": { + "collection": "features", + "conditions": null, + "display": null, + "display_options": null, + "field": "symbol", + "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": "symbol", + "table": "features", + "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/features/text.json b/backend/directus-config/snapshot/fields/features/text.json new file mode 100644 index 00000000..d733c972 --- /dev/null +++ b/backend/directus-config/snapshot/fields/features/text.json @@ -0,0 +1,43 @@ +{ + "collection": "features", + "field": "text", + "type": "text", + "meta": { + "collection": "features", + "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": 10, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "text", + "table": "features", + "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/snapshot/fields/features/user_created.json b/backend/directus-config/snapshot/fields/features/user_created.json new file mode 100644 index 00000000..5e528aac --- /dev/null +++ b/backend/directus-config/snapshot/fields/features/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "features", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "features", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "features", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/features/user_updated.json b/backend/directus-config/snapshot/fields/features/user_updated.json new file mode 100644 index 00000000..d4c9d434 --- /dev/null +++ b/backend/directus-config/snapshot/fields/features/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "features", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "features", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 6, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "features", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/gallery/date_created.json b/backend/directus-config/snapshot/fields/gallery/date_created.json new file mode 100644 index 00000000..cd48056d --- /dev/null +++ b/backend/directus-config/snapshot/fields/gallery/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "gallery", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "gallery", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "gallery", + "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/snapshot/fields/gallery/date_updated.json b/backend/directus-config/snapshot/fields/gallery/date_updated.json new file mode 100644 index 00000000..a4e52e47 --- /dev/null +++ b/backend/directus-config/snapshot/fields/gallery/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "gallery", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "gallery", + "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": 5, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "gallery", + "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/snapshot/fields/gallery/hideInputLabel.json b/backend/directus-config/snapshot/fields/gallery/hideInputLabel.json new file mode 100644 index 00000000..c891994e --- /dev/null +++ b/backend/directus-config/snapshot/fields/gallery/hideInputLabel.json @@ -0,0 +1,45 @@ +{ + "collection": "gallery", + "field": "hideInputLabel", + "type": "boolean", + "meta": { + "collection": "gallery", + "conditions": null, + "display": null, + "display_options": null, + "field": "hideInputLabel", + "group": null, + "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": "full" + }, + "schema": { + "name": "hideInputLabel", + "table": "gallery", + "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/gallery/id.json b/backend/directus-config/snapshot/fields/gallery/id.json new file mode 100644 index 00000000..3549118b --- /dev/null +++ b/backend/directus-config/snapshot/fields/gallery/id.json @@ -0,0 +1,45 @@ +{ + "collection": "gallery", + "field": "id", + "type": "uuid", + "meta": { + "collection": "gallery", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "gallery", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/gallery/user_created.json b/backend/directus-config/snapshot/fields/gallery/user_created.json new file mode 100644 index 00000000..b539627d --- /dev/null +++ b/backend/directus-config/snapshot/fields/gallery/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "gallery", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "gallery", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "gallery", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/gallery/user_updated.json b/backend/directus-config/snapshot/fields/gallery/user_updated.json new file mode 100644 index 00000000..e0e423cd --- /dev/null +++ b/backend/directus-config/snapshot/fields/gallery/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "gallery", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "gallery", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "gallery", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/groupSubheaders/date_created.json b/backend/directus-config/snapshot/fields/groupSubheaders/date_created.json new file mode 100644 index 00000000..83ee1f92 --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupSubheaders/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "groupSubheaders", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "groupSubheaders", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "groupSubheaders", + "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/snapshot/fields/groupSubheaders/date_updated.json b/backend/directus-config/snapshot/fields/groupSubheaders/date_updated.json new file mode 100644 index 00000000..ecb07003 --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupSubheaders/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "groupSubheaders", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "groupSubheaders", + "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": 5, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "groupSubheaders", + "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/snapshot/fields/groupSubheaders/groupStates.json b/backend/directus-config/snapshot/fields/groupSubheaders/groupStates.json new file mode 100644 index 00000000..85484c74 --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupSubheaders/groupStates.json @@ -0,0 +1,45 @@ +{ + "collection": "groupSubheaders", + "field": "groupStates", + "type": "json", + "meta": { + "collection": "groupSubheaders", + "conditions": null, + "display": null, + "display_options": null, + "field": "groupStates", + "group": null, + "hidden": false, + "interface": "tags", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "groupStates", + "table": "groupSubheaders", + "data_type": "json", + "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/snapshot/fields/groupSubheaders/groupTypes.json b/backend/directus-config/snapshot/fields/groupSubheaders/groupTypes.json new file mode 100644 index 00000000..3dbd3c22 --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupSubheaders/groupTypes.json @@ -0,0 +1,27 @@ +{ + "collection": "groupSubheaders", + "field": "groupTypes", + "type": "alias", + "meta": { + "collection": "groupSubheaders", + "conditions": null, + "display": null, + "display_options": null, + "field": "groupTypes", + "group": null, + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 10, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/groupSubheaders/id.json b/backend/directus-config/snapshot/fields/groupSubheaders/id.json new file mode 100644 index 00000000..4e1288b2 --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupSubheaders/id.json @@ -0,0 +1,45 @@ +{ + "collection": "groupSubheaders", + "field": "id", + "type": "uuid", + "meta": { + "collection": "groupSubheaders", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "groupSubheaders", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/groupSubheaders/platforms.json b/backend/directus-config/snapshot/fields/groupSubheaders/platforms.json new file mode 100644 index 00000000..68dd0d82 --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupSubheaders/platforms.json @@ -0,0 +1,57 @@ +{ + "collection": "groupSubheaders", + "field": "platforms", + "type": "json", + "meta": { + "collection": "groupSubheaders", + "conditions": null, + "display": null, + "display_options": null, + "field": "platforms", + "group": null, + "hidden": false, + "interface": "tags", + "note": null, + "options": { + "allowCustom": false, + "presets": [ + "facebook", + "twitter", + "xing", + "linkedin", + "email", + "clipboard", + "telegram", + "whatsapp" + ] + }, + "readonly": false, + "required": false, + "sort": 11, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "platforms", + "table": "groupSubheaders", + "data_type": "json", + "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/snapshot/fields/groupSubheaders/shareBaseUrl.json b/backend/directus-config/snapshot/fields/groupSubheaders/shareBaseUrl.json new file mode 100644 index 00000000..1243edaa --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupSubheaders/shareBaseUrl.json @@ -0,0 +1,43 @@ +{ + "collection": "groupSubheaders", + "field": "shareBaseUrl", + "type": "string", + "meta": { + "collection": "groupSubheaders", + "conditions": null, + "display": null, + "display_options": null, + "field": "shareBaseUrl", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "shareBaseUrl", + "table": "groupSubheaders", + "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/groupSubheaders/user_created.json b/backend/directus-config/snapshot/fields/groupSubheaders/user_created.json new file mode 100644 index 00000000..6d0a725a --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupSubheaders/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "groupSubheaders", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "groupSubheaders", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "groupSubheaders", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/groupSubheaders/user_updated.json b/backend/directus-config/snapshot/fields/groupSubheaders/user_updated.json new file mode 100644 index 00000000..e79e8a85 --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupSubheaders/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "groupSubheaders", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "groupSubheaders", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "groupSubheaders", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/groupSubheaders_id.json b/backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/groupSubheaders_id.json new file mode 100644 index 00000000..af279cde --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/groupSubheaders_id.json @@ -0,0 +1,43 @@ +{ + "collection": "groupSubheaders_groupTypes", + "field": "groupSubheaders_id", + "type": "uuid", + "meta": { + "collection": "groupSubheaders_groupTypes", + "conditions": null, + "display": null, + "display_options": null, + "field": "groupSubheaders_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "groupSubheaders_id", + "table": "groupSubheaders_groupTypes", + "data_type": "uuid", + "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": "groupSubheaders", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/groupTypes_id.json b/backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/groupTypes_id.json new file mode 100644 index 00000000..26a596ab --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/groupTypes_id.json @@ -0,0 +1,43 @@ +{ + "collection": "groupSubheaders_groupTypes", + "field": "groupTypes_id", + "type": "uuid", + "meta": { + "collection": "groupSubheaders_groupTypes", + "conditions": null, + "display": null, + "display_options": null, + "field": "groupTypes_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "groupTypes_id", + "table": "groupSubheaders_groupTypes", + "data_type": "uuid", + "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": "groupTypes", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/id.json b/backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/id.json new file mode 100644 index 00000000..245775cd --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupSubheaders_groupTypes/id.json @@ -0,0 +1,43 @@ +{ + "collection": "groupSubheaders_groupTypes", + "field": "id", + "type": "integer", + "meta": { + "collection": "groupSubheaders_groupTypes", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "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": "groupSubheaders_groupTypes", + "data_type": "integer", + "default_value": "nextval('\"groupSubheaders_groupTypes_id_seq\"'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/groupTypes/color.json b/backend/directus-config/snapshot/fields/groupTypes/color.json new file mode 100644 index 00000000..6b5022ff --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupTypes/color.json @@ -0,0 +1,43 @@ +{ + "collection": "groupTypes", + "field": "color", + "type": "string", + "meta": { + "collection": "groupTypes", + "conditions": null, + "display": "color", + "display_options": null, + "field": "color", + "group": null, + "hidden": false, + "interface": "select-color", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "color", + "table": "groupTypes", + "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/groupTypes/date_created.json b/backend/directus-config/snapshot/fields/groupTypes/date_created.json new file mode 100644 index 00000000..33277a77 --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupTypes/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "groupTypes", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "groupTypes", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "groupTypes", + "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/snapshot/fields/groupTypes/date_updated.json b/backend/directus-config/snapshot/fields/groupTypes/date_updated.json new file mode 100644 index 00000000..2d667903 --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupTypes/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "groupTypes", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "groupTypes", + "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": 5, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "groupTypes", + "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/snapshot/fields/groupTypes/id.json b/backend/directus-config/snapshot/fields/groupTypes/id.json new file mode 100644 index 00000000..deda04be --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupTypes/id.json @@ -0,0 +1,45 @@ +{ + "collection": "groupTypes", + "field": "id", + "type": "uuid", + "meta": { + "collection": "groupTypes", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "groupTypes", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/groupTypes/image.json b/backend/directus-config/snapshot/fields/groupTypes/image.json new file mode 100644 index 00000000..dcf24018 --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupTypes/image.json @@ -0,0 +1,45 @@ +{ + "collection": "groupTypes", + "field": "image", + "type": "uuid", + "meta": { + "collection": "groupTypes", + "conditions": null, + "display": null, + "display_options": null, + "field": "image", + "group": null, + "hidden": false, + "interface": "file-image", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 8, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "image", + "table": "groupTypes", + "data_type": "uuid", + "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": "directus_files", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/groupTypes/markerIcon.json b/backend/directus-config/snapshot/fields/groupTypes/markerIcon.json new file mode 100644 index 00000000..12ab7f3a --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupTypes/markerIcon.json @@ -0,0 +1,45 @@ +{ + "collection": "groupTypes", + "field": "markerIcon", + "type": "string", + "meta": { + "collection": "groupTypes", + "conditions": null, + "display": null, + "display_options": null, + "field": "markerIcon", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "markerIcon", + "table": "groupTypes", + "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": "marker_icons", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/groupTypes/name.json b/backend/directus-config/snapshot/fields/groupTypes/name.json new file mode 100644 index 00000000..56f5c09e --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupTypes/name.json @@ -0,0 +1,43 @@ +{ + "collection": "groupTypes", + "field": "name", + "type": "string", + "meta": { + "collection": "groupTypes", + "conditions": null, + "display": null, + "display_options": null, + "field": "name", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "name", + "table": "groupTypes", + "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/groupTypes/user_created.json b/backend/directus-config/snapshot/fields/groupTypes/user_created.json new file mode 100644 index 00000000..bed8eae9 --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupTypes/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "groupTypes", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "groupTypes", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "groupTypes", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/groupTypes/user_updated.json b/backend/directus-config/snapshot/fields/groupTypes/user_updated.json new file mode 100644 index 00000000..b54263a5 --- /dev/null +++ b/backend/directus-config/snapshot/fields/groupTypes/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "groupTypes", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "groupTypes", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "groupTypes", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/inviteLinks/date_created.json b/backend/directus-config/snapshot/fields/inviteLinks/date_created.json new file mode 100644 index 00000000..18b3692e --- /dev/null +++ b/backend/directus-config/snapshot/fields/inviteLinks/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "inviteLinks", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "inviteLinks", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "inviteLinks", + "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/snapshot/fields/inviteLinks/date_updated.json b/backend/directus-config/snapshot/fields/inviteLinks/date_updated.json new file mode 100644 index 00000000..04e789b9 --- /dev/null +++ b/backend/directus-config/snapshot/fields/inviteLinks/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "inviteLinks", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "inviteLinks", + "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": 5, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "inviteLinks", + "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/snapshot/fields/inviteLinks/id.json b/backend/directus-config/snapshot/fields/inviteLinks/id.json new file mode 100644 index 00000000..6a50a0fd --- /dev/null +++ b/backend/directus-config/snapshot/fields/inviteLinks/id.json @@ -0,0 +1,45 @@ +{ + "collection": "inviteLinks", + "field": "id", + "type": "uuid", + "meta": { + "collection": "inviteLinks", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "inviteLinks", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/inviteLinks/user_created.json b/backend/directus-config/snapshot/fields/inviteLinks/user_created.json new file mode 100644 index 00000000..537e1e61 --- /dev/null +++ b/backend/directus-config/snapshot/fields/inviteLinks/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "inviteLinks", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "inviteLinks", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "inviteLinks", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/inviteLinks/user_updated.json b/backend/directus-config/snapshot/fields/inviteLinks/user_updated.json new file mode 100644 index 00000000..0d4e2200 --- /dev/null +++ b/backend/directus-config/snapshot/fields/inviteLinks/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "inviteLinks", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "inviteLinks", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "inviteLinks", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/itemSecrets/item.json b/backend/directus-config/snapshot/fields/itemSecrets/item.json new file mode 100644 index 00000000..26534a83 --- /dev/null +++ b/backend/directus-config/snapshot/fields/itemSecrets/item.json @@ -0,0 +1,45 @@ +{ + "collection": "itemSecrets", + "field": "item", + "type": "uuid", + "meta": { + "collection": "itemSecrets", + "conditions": null, + "display": null, + "display_options": null, + "field": "item", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "item", + "table": "itemSecrets", + "data_type": "uuid", + "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": "items", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/itemSecrets/secret.json b/backend/directus-config/snapshot/fields/itemSecrets/secret.json new file mode 100644 index 00000000..d46d8930 --- /dev/null +++ b/backend/directus-config/snapshot/fields/itemSecrets/secret.json @@ -0,0 +1,45 @@ +{ + "collection": "itemSecrets", + "field": "secret", + "type": "uuid", + "meta": { + "collection": "itemSecrets", + "conditions": null, + "display": null, + "display_options": null, + "field": "secret", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "secret", + "table": "itemSecrets", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/items/Wuederkompass.json b/backend/directus-config/snapshot/fields/items/Wuederkompass.json new file mode 100644 index 00000000..c32cd570 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/Wuederkompass.json @@ -0,0 +1,29 @@ +{ + "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/items/color.json b/backend/directus-config/snapshot/fields/items/color.json new file mode 100644 index 00000000..8f0bb8e5 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/color.json @@ -0,0 +1,43 @@ +{ + "collection": "items", + "field": "color", + "type": "string", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "color", + "group": null, + "hidden": false, + "interface": "select-color", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "color", + "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/contact.json b/backend/directus-config/snapshot/fields/items/contact.json new file mode 100644 index 00000000..134476af --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/contact.json @@ -0,0 +1,43 @@ +{ + "collection": "items", + "field": "contact", + "type": "text", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "contact", + "group": null, + "hidden": false, + "interface": "input-rich-text-md", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 22, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "contact", + "table": "items", + "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/snapshot/fields/items/date_created.json b/backend/directus-config/snapshot/fields/items/date_created.json new file mode 100644 index 00000000..ef92a584 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "items", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "items", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": false, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "items", + "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/snapshot/fields/items/date_updated.json b/backend/directus-config/snapshot/fields/items/date_updated.json new file mode 100644 index 00000000..b58386b5 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "items", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "items", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_updated", + "group": null, + "hidden": false, + "interface": "datetime", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "items", + "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/snapshot/fields/items/draft.json b/backend/directus-config/snapshot/fields/items/draft.json new file mode 100644 index 00000000..6aeb1087 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/draft.json @@ -0,0 +1,45 @@ +{ + "collection": "items", + "field": "draft", + "type": "boolean", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "draft", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 26, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "draft", + "table": "items", + "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/items/end.json b/backend/directus-config/snapshot/fields/items/end.json new file mode 100644 index 00000000..b8cec526 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/end.json @@ -0,0 +1,43 @@ +{ + "collection": "items", + "field": "end", + "type": "dateTime", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "end", + "group": null, + "hidden": false, + "interface": "datetime", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 16, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "end", + "table": "items", + "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/snapshot/fields/items/gallery.json b/backend/directus-config/snapshot/fields/items/gallery.json new file mode 100644 index 00000000..89782e56 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/gallery.json @@ -0,0 +1,29 @@ +{ + "collection": "items", + "field": "gallery", + "type": "alias", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "gallery", + "group": null, + "hidden": false, + "interface": "files", + "note": null, + "options": { + "folder": "2daee21f-52b8-4152-88e9-ccf18169dcf0" + }, + "readonly": false, + "required": false, + "sort": 24, + "special": [ + "files" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/items/group_type.json b/backend/directus-config/snapshot/fields/items/group_type.json new file mode 100644 index 00000000..d853273e --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/group_type.json @@ -0,0 +1,58 @@ +{ + "collection": "items", + "field": "group_type", + "type": "string", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "group_type", + "group": "Wuederkompass", + "hidden": false, + "interface": null, + "note": null, + "options": { + "choices": [ + { + "text": "würdekompass", + "value": "wuerdekompass" + }, + { + "text": "themenkompass", + "value": "themenkompass" + }, + { + "text": "liebevoll.jetzt", + "value": "liebevoll.jetzt" + } + ] + }, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "group_type", + "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/id.json b/backend/directus-config/snapshot/fields/items/id.json new file mode 100644 index 00000000..2e5fae65 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/id.json @@ -0,0 +1,45 @@ +{ + "collection": "items", + "field": "id", + "type": "uuid", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "items", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/items/image.json b/backend/directus-config/snapshot/fields/items/image.json new file mode 100644 index 00000000..52596974 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/image.json @@ -0,0 +1,47 @@ +{ + "collection": "items", + "field": "image", + "type": "uuid", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "image", + "group": null, + "hidden": false, + "interface": "file-image", + "note": null, + "options": { + "folder": "43837abb-cc52-4439-ac98-e3671cbc7773" + }, + "readonly": false, + "required": false, + "sort": 11, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "image", + "table": "items", + "data_type": "uuid", + "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": "directus_files", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items/layer.json b/backend/directus-config/snapshot/fields/items/layer.json new file mode 100644 index 00000000..37d604f7 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/layer.json @@ -0,0 +1,47 @@ +{ + "collection": "items", + "field": "layer", + "type": "uuid", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "layer", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{name}}-{{maps.maps_id.name}}" + }, + "readonly": false, + "required": false, + "sort": 12, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "layer", + "table": "items", + "data_type": "uuid", + "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": "layers", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items/markerIcon.json b/backend/directus-config/snapshot/fields/items/markerIcon.json new file mode 100644 index 00000000..d7c9546d --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/markerIcon.json @@ -0,0 +1,47 @@ +{ + "collection": "items", + "field": "markerIcon", + "type": "string", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "markerIcon", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{id}}" + }, + "readonly": false, + "required": false, + "sort": 20, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "markerIcon", + "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": "marker_icons", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items/name.json b/backend/directus-config/snapshot/fields/items/name.json new file mode 100644 index 00000000..b14bb06f --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/name.json @@ -0,0 +1,43 @@ +{ + "collection": "items", + "field": "name", + "type": "string", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "name", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": true, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "name", + "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/needs.json b/backend/directus-config/snapshot/fields/items/needs.json new file mode 100644 index 00000000..7c349d2d --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/needs.json @@ -0,0 +1,30 @@ +{ + "collection": "items", + "field": "needs", + "type": "alias", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "needs", + "group": null, + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "enableCreate": false, + "template": "{{tags_id.name}}" + }, + "readonly": false, + "required": false, + "sort": 18, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + } +} diff --git a/backend/directus-config/snapshot/fields/items/next_appointment.json b/backend/directus-config/snapshot/fields/items/next_appointment.json new file mode 100644 index 00000000..f1925441 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/next_appointment.json @@ -0,0 +1,43 @@ +{ + "collection": "items", + "field": "next_appointment", + "type": "text", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "next_appointment", + "group": "Wuederkompass", + "hidden": false, + "interface": "input-rich-text-md", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "next_appointment", + "table": "items", + "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/snapshot/fields/items/offers.json b/backend/directus-config/snapshot/fields/items/offers.json new file mode 100644 index 00000000..57a65cd1 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/offers.json @@ -0,0 +1,30 @@ +{ + "collection": "items", + "field": "offers", + "type": "alias", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "offers", + "group": null, + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "enableCreate": false, + "template": "{{tags_id.name}}" + }, + "readonly": false, + "required": false, + "sort": 17, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + } +} diff --git a/backend/directus-config/snapshot/fields/items/openCollectiveSlug.json b/backend/directus-config/snapshot/fields/items/openCollectiveSlug.json new file mode 100644 index 00000000..4c349f81 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/openCollectiveSlug.json @@ -0,0 +1,43 @@ +{ + "collection": "items", + "field": "openCollectiveSlug", + "type": "string", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "openCollectiveSlug", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 25, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "openCollectiveSlug", + "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/parent.json b/backend/directus-config/snapshot/fields/items/parent.json new file mode 100644 index 00000000..241ff22a --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/parent.json @@ -0,0 +1,48 @@ +{ + "collection": "items", + "field": "parent", + "type": "uuid", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "parent", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "enableCreate": false, + "template": "{{name}}" + }, + "readonly": false, + "required": false, + "sort": 14, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "parent", + "table": "items", + "data_type": "uuid", + "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": "items", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items/position.json b/backend/directus-config/snapshot/fields/items/position.json new file mode 100644 index 00000000..9d7efbee --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/position.json @@ -0,0 +1,54 @@ +{ + "collection": "items", + "field": "position", + "type": "geometry.Point", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "position", + "group": null, + "hidden": false, + "interface": "map", + "note": null, + "options": { + "defaultView": { + "bearing": 0, + "center": { + "lat": 0, + "lng": 0 + }, + "pitch": 0, + "zoom": 0 + }, + "geometryType": "Point" + }, + "readonly": false, + "required": false, + "sort": 10, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "position", + "table": "items", + "data_type": "POINT", + "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/snapshot/fields/items/public_edit.json b/backend/directus-config/snapshot/fields/items/public_edit.json new file mode 100644 index 00000000..fd5bd0db --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/public_edit.json @@ -0,0 +1,45 @@ +{ + "collection": "items", + "field": "public_edit", + "type": "boolean", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "public_edit", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 19, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "public_edit", + "table": "items", + "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/items/relations.json b/backend/directus-config/snapshot/fields/items/relations.json new file mode 100644 index 00000000..3f91f4c3 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/relations.json @@ -0,0 +1,30 @@ +{ + "collection": "items", + "field": "relations", + "type": "alias", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "relations", + "group": null, + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "enableCreate": false, + "template": "{{type}} {{related_items_id.name}}({{related_items_id.id}})" + }, + "readonly": false, + "required": false, + "sort": 13, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/items/secrets.json b/backend/directus-config/snapshot/fields/items/secrets.json new file mode 100644 index 00000000..7310cef3 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/secrets.json @@ -0,0 +1,27 @@ +{ + "collection": "items", + "field": "secrets", + "type": "alias", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "secrets", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 27, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/items/slug.json b/backend/directus-config/snapshot/fields/items/slug.json new file mode 100644 index 00000000..a47271bf --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/slug.json @@ -0,0 +1,45 @@ +{ + "collection": "items", + "field": "slug", + "type": "string", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "slug", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "slug": true + }, + "readonly": false, + "required": false, + "sort": 21, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "slug", + "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/start.json b/backend/directus-config/snapshot/fields/items/start.json new file mode 100644 index 00000000..ae51e678 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/start.json @@ -0,0 +1,43 @@ +{ + "collection": "items", + "field": "start", + "type": "dateTime", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "start", + "group": null, + "hidden": false, + "interface": "datetime", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 15, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "start", + "table": "items", + "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/snapshot/fields/items/status.json b/backend/directus-config/snapshot/fields/items/status.json new file mode 100644 index 00000000..1fc413d1 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/status.json @@ -0,0 +1,58 @@ +{ + "collection": "items", + "field": "status", + "type": "string", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "status", + "group": "Wuederkompass", + "hidden": false, + "interface": null, + "note": null, + "options": { + "choices": [ + { + "text": "active", + "value": "active" + }, + { + "text": "paused", + "value": "paused" + }, + { + "text": "in_planning", + "value": "in_planning" + } + ] + }, + "readonly": false, + "required": false, + "sort": 1, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "status", + "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/subname.json b/backend/directus-config/snapshot/fields/items/subname.json new file mode 100644 index 00000000..2864e2d0 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/subname.json @@ -0,0 +1,43 @@ +{ + "collection": "items", + "field": "subname", + "type": "string", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "subname", + "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": "half" + }, + "schema": { + "name": "subname", + "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/telephone.json b/backend/directus-config/snapshot/fields/items/telephone.json new file mode 100644 index 00000000..21c7568e --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/telephone.json @@ -0,0 +1,43 @@ +{ + "collection": "items", + "field": "telephone", + "type": "string", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "telephone", + "group": "Wuederkompass", + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "telephone", + "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/text.json b/backend/directus-config/snapshot/fields/items/text.json new file mode 100644 index 00000000..db6ff021 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/text.json @@ -0,0 +1,43 @@ +{ + "collection": "items", + "field": "text", + "type": "text", + "meta": { + "collection": "items", + "conditions": null, + "display": null, + "display_options": null, + "field": "text", + "group": null, + "hidden": false, + "interface": "input-rich-text-md", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "text", + "table": "items", + "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/snapshot/fields/items/user_created.json b/backend/directus-config/snapshot/fields/items/user_created.json new file mode 100644 index 00000000..62da0881 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "items", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "items", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "items", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items/user_updated.json b/backend/directus-config/snapshot/fields/items/user_updated.json new file mode 100644 index 00000000..f01a3abd --- /dev/null +++ b/backend/directus-config/snapshot/fields/items/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "items", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "items", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "items", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items_files/directus_files_id.json b/backend/directus-config/snapshot/fields/items_files/directus_files_id.json new file mode 100644 index 00000000..a99914ec --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_files/directus_files_id.json @@ -0,0 +1,43 @@ +{ + "collection": "items_files", + "field": "directus_files_id", + "type": "uuid", + "meta": { + "collection": "items_files", + "conditions": null, + "display": null, + "display_options": null, + "field": "directus_files_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "directus_files_id", + "table": "items_files", + "data_type": "uuid", + "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": "directus_files", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items_files/id.json b/backend/directus-config/snapshot/fields/items_files/id.json new file mode 100644 index 00000000..f253970a --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_files/id.json @@ -0,0 +1,43 @@ +{ + "collection": "items_files", + "field": "id", + "type": "integer", + "meta": { + "collection": "items_files", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "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": "items_files", + "data_type": "integer", + "default_value": "nextval('items_files_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/items_files/items_id.json b/backend/directus-config/snapshot/fields/items_files/items_id.json new file mode 100644 index 00000000..809487de --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_files/items_id.json @@ -0,0 +1,43 @@ +{ + "collection": "items_files", + "field": "items_id", + "type": "uuid", + "meta": { + "collection": "items_files", + "conditions": null, + "display": null, + "display_options": null, + "field": "items_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "items_id", + "table": "items_files", + "data_type": "uuid", + "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": "items", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items_items/id.json b/backend/directus-config/snapshot/fields/items_items/id.json new file mode 100644 index 00000000..e7f8d6ea --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_items/id.json @@ -0,0 +1,43 @@ +{ + "collection": "items_items", + "field": "id", + "type": "integer", + "meta": { + "collection": "items_items", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "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": "items_items", + "data_type": "integer", + "default_value": "nextval('items_items_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/items_items/items_id.json b/backend/directus-config/snapshot/fields/items_items/items_id.json new file mode 100644 index 00000000..422c1e59 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_items/items_id.json @@ -0,0 +1,43 @@ +{ + "collection": "items_items", + "field": "items_id", + "type": "uuid", + "meta": { + "collection": "items_items", + "conditions": null, + "display": null, + "display_options": null, + "field": "items_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "items_id", + "table": "items_items", + "data_type": "uuid", + "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": "items", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items_items/related_items_id.json b/backend/directus-config/snapshot/fields/items_items/related_items_id.json new file mode 100644 index 00000000..562fd3bb --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_items/related_items_id.json @@ -0,0 +1,43 @@ +{ + "collection": "items_items", + "field": "related_items_id", + "type": "uuid", + "meta": { + "collection": "items_items", + "conditions": null, + "display": null, + "display_options": null, + "field": "related_items_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "related_items_id", + "table": "items_items", + "data_type": "uuid", + "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": "items", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items_items/type.json b/backend/directus-config/snapshot/fields/items_items/type.json new file mode 100644 index 00000000..75f42867 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_items/type.json @@ -0,0 +1,43 @@ +{ + "collection": "items_items", + "field": "type", + "type": "string", + "meta": { + "collection": "items_items", + "conditions": null, + "display": null, + "display_options": null, + "field": "type", + "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": "type", + "table": "items_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_tags/id.json b/backend/directus-config/snapshot/fields/items_tags/id.json new file mode 100644 index 00000000..4aab1c50 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_tags/id.json @@ -0,0 +1,43 @@ +{ + "collection": "items_tags", + "field": "id", + "type": "integer", + "meta": { + "collection": "items_tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "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": "items_tags", + "data_type": "integer", + "default_value": "nextval('items_tags_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/items_tags/items_id.json b/backend/directus-config/snapshot/fields/items_tags/items_id.json new file mode 100644 index 00000000..5fb6b5ce --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_tags/items_id.json @@ -0,0 +1,43 @@ +{ + "collection": "items_tags", + "field": "items_id", + "type": "uuid", + "meta": { + "collection": "items_tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "items_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "items_id", + "table": "items_tags", + "data_type": "uuid", + "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": "items", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items_tags/tags_id.json b/backend/directus-config/snapshot/fields/items_tags/tags_id.json new file mode 100644 index 00000000..8d18294d --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_tags/tags_id.json @@ -0,0 +1,43 @@ +{ + "collection": "items_tags", + "field": "tags_id", + "type": "uuid", + "meta": { + "collection": "items_tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "tags_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tags_id", + "table": "items_tags", + "data_type": "uuid", + "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": "tags", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items_tags_1/id.json b/backend/directus-config/snapshot/fields/items_tags_1/id.json new file mode 100644 index 00000000..ed678071 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_tags_1/id.json @@ -0,0 +1,43 @@ +{ + "collection": "items_tags_1", + "field": "id", + "type": "integer", + "meta": { + "collection": "items_tags_1", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "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": "items_tags_1", + "data_type": "integer", + "default_value": "nextval('items_tags_1_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/items_tags_1/items_id.json b/backend/directus-config/snapshot/fields/items_tags_1/items_id.json new file mode 100644 index 00000000..1c302079 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_tags_1/items_id.json @@ -0,0 +1,43 @@ +{ + "collection": "items_tags_1", + "field": "items_id", + "type": "uuid", + "meta": { + "collection": "items_tags_1", + "conditions": null, + "display": null, + "display_options": null, + "field": "items_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "items_id", + "table": "items_tags_1", + "data_type": "uuid", + "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": "items", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/items_tags_1/tags_id.json b/backend/directus-config/snapshot/fields/items_tags_1/tags_id.json new file mode 100644 index 00000000..b1e0f1d8 --- /dev/null +++ b/backend/directus-config/snapshot/fields/items_tags_1/tags_id.json @@ -0,0 +1,43 @@ +{ + "collection": "items_tags_1", + "field": "tags_id", + "type": "uuid", + "meta": { + "collection": "items_tags_1", + "conditions": null, + "display": null, + "display_options": null, + "field": "tags_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tags_id", + "table": "items_tags_1", + "data_type": "uuid", + "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": "tags", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/junction_directus_users_tags/directus_users_id.json b/backend/directus-config/snapshot/fields/junction_directus_users_tags/directus_users_id.json new file mode 100644 index 00000000..8eb4fac7 --- /dev/null +++ b/backend/directus-config/snapshot/fields/junction_directus_users_tags/directus_users_id.json @@ -0,0 +1,43 @@ +{ + "collection": "junction_directus_users_tags", + "field": "directus_users_id", + "type": "uuid", + "meta": { + "collection": "junction_directus_users_tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "directus_users_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "directus_users_id", + "table": "junction_directus_users_tags", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/junction_directus_users_tags/id.json b/backend/directus-config/snapshot/fields/junction_directus_users_tags/id.json new file mode 100644 index 00000000..bd251403 --- /dev/null +++ b/backend/directus-config/snapshot/fields/junction_directus_users_tags/id.json @@ -0,0 +1,43 @@ +{ + "collection": "junction_directus_users_tags", + "field": "id", + "type": "integer", + "meta": { + "collection": "junction_directus_users_tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "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": "junction_directus_users_tags", + "data_type": "integer", + "default_value": "nextval('junction_directus_users_tags_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/junction_directus_users_tags/tags_id.json b/backend/directus-config/snapshot/fields/junction_directus_users_tags/tags_id.json new file mode 100644 index 00000000..aa806849 --- /dev/null +++ b/backend/directus-config/snapshot/fields/junction_directus_users_tags/tags_id.json @@ -0,0 +1,43 @@ +{ + "collection": "junction_directus_users_tags", + "field": "tags_id", + "type": "uuid", + "meta": { + "collection": "junction_directus_users_tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "tags_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tags_id", + "table": "junction_directus_users_tags", + "data_type": "uuid", + "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": "tags", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/junction_directus_users_tags_1/directus_users_id.json b/backend/directus-config/snapshot/fields/junction_directus_users_tags_1/directus_users_id.json new file mode 100644 index 00000000..526fbe45 --- /dev/null +++ b/backend/directus-config/snapshot/fields/junction_directus_users_tags_1/directus_users_id.json @@ -0,0 +1,43 @@ +{ + "collection": "junction_directus_users_tags_1", + "field": "directus_users_id", + "type": "uuid", + "meta": { + "collection": "junction_directus_users_tags_1", + "conditions": null, + "display": null, + "display_options": null, + "field": "directus_users_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "directus_users_id", + "table": "junction_directus_users_tags_1", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/junction_directus_users_tags_1/id.json b/backend/directus-config/snapshot/fields/junction_directus_users_tags_1/id.json new file mode 100644 index 00000000..dbed620a --- /dev/null +++ b/backend/directus-config/snapshot/fields/junction_directus_users_tags_1/id.json @@ -0,0 +1,43 @@ +{ + "collection": "junction_directus_users_tags_1", + "field": "id", + "type": "integer", + "meta": { + "collection": "junction_directus_users_tags_1", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "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": "junction_directus_users_tags_1", + "data_type": "integer", + "default_value": "nextval('junction_directus_users_tags_1_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/junction_directus_users_tags_1/tags_id.json b/backend/directus-config/snapshot/fields/junction_directus_users_tags_1/tags_id.json new file mode 100644 index 00000000..d8776a2c --- /dev/null +++ b/backend/directus-config/snapshot/fields/junction_directus_users_tags_1/tags_id.json @@ -0,0 +1,43 @@ +{ + "collection": "junction_directus_users_tags_1", + "field": "tags_id", + "type": "uuid", + "meta": { + "collection": "junction_directus_users_tags_1", + "conditions": null, + "display": null, + "display_options": null, + "field": "tags_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tags_id", + "table": "junction_directus_users_tags_1", + "data_type": "uuid", + "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": "tags", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/layers/Add_Button.json b/backend/directus-config/snapshot/fields/layers/Add_Button.json new file mode 100644 index 00000000..917f1405 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/Add_Button.json @@ -0,0 +1,32 @@ +{ + "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/fields/layers/Marker.json b/backend/directus-config/snapshot/fields/layers/Marker.json new file mode 100644 index 00000000..4ce9d36c --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/Marker.json @@ -0,0 +1,31 @@ +{ + "collection": "layers", + "field": "Marker", + "type": "alias", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "Marker", + "group": null, + "hidden": false, + "interface": "group-detail", + "note": null, + "options": { + "headerIcon": null + }, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/layers/divider-yaul5v.json b/backend/directus-config/snapshot/fields/layers/divider-yaul5v.json new file mode 100644 index 00000000..00be3c0a --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/divider-yaul5v.json @@ -0,0 +1,28 @@ +{ + "collection": "layers", + "field": "divider-yaul5v", + "type": "alias", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "divider-yaul5v", + "group": null, + "hidden": false, + "interface": "presentation-divider", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/layers/id.json b/backend/directus-config/snapshot/fields/layers/id.json new file mode 100644 index 00000000..05333c98 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/id.json @@ -0,0 +1,45 @@ +{ + "collection": "layers", + "field": "id", + "type": "uuid", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "layers", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/layers/indexIcon.json b/backend/directus-config/snapshot/fields/layers/indexIcon.json new file mode 100644 index 00000000..94440bd4 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/indexIcon.json @@ -0,0 +1,47 @@ +{ + "collection": "layers", + "field": "indexIcon", + "type": "uuid", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "indexIcon", + "group": null, + "hidden": false, + "interface": "file-image", + "note": null, + "options": { + "folder": "0b66498d-8ee3-48fc-8fe7-72b6f86d8d0f" + }, + "readonly": false, + "required": false, + "sort": 10, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "indexIcon", + "table": "layers", + "data_type": "uuid", + "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": "directus_files", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/layers/index_plus_button.json b/backend/directus-config/snapshot/fields/layers/index_plus_button.json new file mode 100644 index 00000000..3f69b66a --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/index_plus_button.json @@ -0,0 +1,45 @@ +{ + "collection": "layers", + "field": "index_plus_button", + "type": "boolean", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "index_plus_button", + "group": null, + "hidden": true, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 13, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "index_plus_button", + "table": "layers", + "data_type": "boolean", + "default_value": true, + "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/layers/itemType.json b/backend/directus-config/snapshot/fields/layers/itemType.json new file mode 100644 index 00000000..25c1a3a9 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/itemType.json @@ -0,0 +1,47 @@ +{ + "collection": "layers", + "field": "itemType", + "type": "uuid", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "itemType", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{name}}" + }, + "readonly": false, + "required": true, + "sort": 3, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "itemType", + "table": "layers", + "data_type": "uuid", + "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": "types", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/layers/item_presets.json b/backend/directus-config/snapshot/fields/layers/item_presets.json new file mode 100644 index 00000000..b365ccb1 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/item_presets.json @@ -0,0 +1,48 @@ +{ + "collection": "layers", + "field": "item_presets", + "type": "json", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "item_presets", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": { + "allowOther": true, + "schema": null + }, + "readonly": false, + "required": false, + "sort": 16, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "item_presets", + "table": "layers", + "data_type": "json", + "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/snapshot/fields/layers/listed.json b/backend/directus-config/snapshot/fields/layers/listed.json new file mode 100644 index 00000000..2881da64 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/listed.json @@ -0,0 +1,45 @@ +{ + "collection": "layers", + "field": "listed", + "type": "boolean", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "listed", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 15, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "listed", + "table": "layers", + "data_type": "boolean", + "default_value": true, + "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/layers/maps.json b/backend/directus-config/snapshot/fields/layers/maps.json new file mode 100644 index 00000000..e2f5a660 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/maps.json @@ -0,0 +1,30 @@ +{ + "collection": "layers", + "field": "maps", + "type": "alias", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "maps", + "group": null, + "hidden": true, + "interface": "list-m2m", + "note": null, + "options": { + "enableCreate": false, + "template": "{{maps_id.name}}" + }, + "readonly": false, + "required": false, + "sort": 11, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + } +} diff --git a/backend/directus-config/snapshot/fields/layers/markerDefaultColor2.json b/backend/directus-config/snapshot/fields/layers/markerDefaultColor2.json new file mode 100644 index 00000000..09276320 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/markerDefaultColor2.json @@ -0,0 +1,43 @@ +{ + "collection": "layers", + "field": "markerDefaultColor2", + "type": "string", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "markerDefaultColor2", + "group": null, + "hidden": true, + "interface": "select-color", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "markerDefaultColor2", + "table": "layers", + "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/layers/markerIcon.json b/backend/directus-config/snapshot/fields/layers/markerIcon.json new file mode 100644 index 00000000..43eda564 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/markerIcon.json @@ -0,0 +1,47 @@ +{ + "collection": "layers", + "field": "markerIcon", + "type": "string", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "markerIcon", + "group": "Marker", + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{id}}" + }, + "readonly": false, + "required": true, + "sort": 2, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "markerIcon", + "table": "layers", + "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": "marker_icons", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/layers/markerShape.json b/backend/directus-config/snapshot/fields/layers/markerShape.json new file mode 100644 index 00000000..29c7339d --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/markerShape.json @@ -0,0 +1,54 @@ +{ + "collection": "layers", + "field": "markerShape", + "type": "string", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "markerShape", + "group": "Marker", + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "text": "Circle", + "value": "circle" + }, + { + "text": "Square", + "value": "square" + } + ] + }, + "readonly": false, + "required": false, + "sort": 1, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "markerShape", + "table": "layers", + "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/layers/menuColor.json b/backend/directus-config/snapshot/fields/layers/menuColor.json new file mode 100644 index 00000000..c26812db --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/menuColor.json @@ -0,0 +1,43 @@ +{ + "collection": "layers", + "field": "menuColor", + "type": "string", + "meta": { + "collection": "layers", + "conditions": null, + "display": "color", + "display_options": null, + "field": "menuColor", + "group": null, + "hidden": false, + "interface": "select-color", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "menuColor", + "table": "layers", + "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/layers/menuIcon.json b/backend/directus-config/snapshot/fields/layers/menuIcon.json new file mode 100644 index 00000000..74ccc330 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/menuIcon.json @@ -0,0 +1,47 @@ +{ + "collection": "layers", + "field": "menuIcon", + "type": "uuid", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "menuIcon", + "group": "Add_Button", + "hidden": false, + "interface": "file-image", + "note": null, + "options": { + "folder": "a97106b4-218b-45df-adc9-36184886e285" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "menuIcon", + "table": "layers", + "data_type": "uuid", + "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": "directus_files", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/layers/menuText.json b/backend/directus-config/snapshot/fields/layers/menuText.json new file mode 100644 index 00000000..62cd2dc3 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/menuText.json @@ -0,0 +1,43 @@ +{ + "collection": "layers", + "field": "menuText", + "type": "string", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "menuText", + "group": "Add_Button", + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "menuText", + "table": "layers", + "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/layers/name.json b/backend/directus-config/snapshot/fields/layers/name.json new file mode 100644 index 00000000..d75ea368 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/name.json @@ -0,0 +1,43 @@ +{ + "collection": "layers", + "field": "name", + "type": "string", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "name", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "name", + "table": "layers", + "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/layers/notifications.json b/backend/directus-config/snapshot/fields/layers/notifications.json new file mode 100644 index 00000000..7d174468 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/notifications.json @@ -0,0 +1,27 @@ +{ + "collection": "layers", + "field": "notifications", + "type": "alias", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "notifications", + "group": null, + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": {}, + "readonly": false, + "required": false, + "sort": 17, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/layers/onlyOnePerOwner.json b/backend/directus-config/snapshot/fields/layers/onlyOnePerOwner.json new file mode 100644 index 00000000..5468d224 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/onlyOnePerOwner.json @@ -0,0 +1,45 @@ +{ + "collection": "layers", + "field": "onlyOnePerOwner", + "type": "boolean", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "onlyOnePerOwner", + "group": null, + "hidden": true, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 12, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "onlyOnePerOwner", + "table": "layers", + "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/layers/public_edit_items.json b/backend/directus-config/snapshot/fields/layers/public_edit_items.json new file mode 100644 index 00000000..4a796acb --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/public_edit_items.json @@ -0,0 +1,45 @@ +{ + "collection": "layers", + "field": "public_edit_items", + "type": "boolean", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "public_edit_items", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 14, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "public_edit_items", + "table": "layers", + "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/layers/userProfileLayer.json b/backend/directus-config/snapshot/fields/layers/userProfileLayer.json new file mode 100644 index 00000000..fcee5045 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers/userProfileLayer.json @@ -0,0 +1,45 @@ +{ + "collection": "layers", + "field": "userProfileLayer", + "type": "boolean", + "meta": { + "collection": "layers", + "conditions": null, + "display": null, + "display_options": null, + "field": "userProfileLayer", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "userProfileLayer", + "table": "layers", + "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/layers_directus_users_1/directus_users_id.json b/backend/directus-config/snapshot/fields/layers_directus_users_1/directus_users_id.json new file mode 100644 index 00000000..5a4c11ca --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers_directus_users_1/directus_users_id.json @@ -0,0 +1,43 @@ +{ + "collection": "layers_directus_users_1", + "field": "directus_users_id", + "type": "uuid", + "meta": { + "collection": "layers_directus_users_1", + "conditions": null, + "display": null, + "display_options": null, + "field": "directus_users_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "directus_users_id", + "table": "layers_directus_users_1", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/layers_directus_users_1/id.json b/backend/directus-config/snapshot/fields/layers_directus_users_1/id.json new file mode 100644 index 00000000..75745779 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers_directus_users_1/id.json @@ -0,0 +1,43 @@ +{ + "collection": "layers_directus_users_1", + "field": "id", + "type": "integer", + "meta": { + "collection": "layers_directus_users_1", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "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": "layers_directus_users_1", + "data_type": "integer", + "default_value": "nextval('layers_directus_users_1_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/layers_directus_users_1/layers_id.json b/backend/directus-config/snapshot/fields/layers_directus_users_1/layers_id.json new file mode 100644 index 00000000..55357082 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers_directus_users_1/layers_id.json @@ -0,0 +1,43 @@ +{ + "collection": "layers_directus_users_1", + "field": "layers_id", + "type": "uuid", + "meta": { + "collection": "layers_directus_users_1", + "conditions": null, + "display": null, + "display_options": null, + "field": "layers_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "layers_id", + "table": "layers_directus_users_1", + "data_type": "uuid", + "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": "layers", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/layers_files/directus_files_id.json b/backend/directus-config/snapshot/fields/layers_files/directus_files_id.json new file mode 100644 index 00000000..8790148d --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers_files/directus_files_id.json @@ -0,0 +1,43 @@ +{ + "collection": "layers_files", + "field": "directus_files_id", + "type": "uuid", + "meta": { + "collection": "layers_files", + "conditions": null, + "display": null, + "display_options": null, + "field": "directus_files_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "directus_files_id", + "table": "layers_files", + "data_type": "uuid", + "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": "directus_files", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/layers_files/id.json b/backend/directus-config/snapshot/fields/layers_files/id.json new file mode 100644 index 00000000..d0d0ebf5 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers_files/id.json @@ -0,0 +1,43 @@ +{ + "collection": "layers_files", + "field": "id", + "type": "integer", + "meta": { + "collection": "layers_files", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "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": "layers_files", + "data_type": "integer", + "default_value": "nextval('layers_files_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/layers_files/layers_id.json b/backend/directus-config/snapshot/fields/layers_files/layers_id.json new file mode 100644 index 00000000..58c65760 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers_files/layers_id.json @@ -0,0 +1,43 @@ +{ + "collection": "layers_files", + "field": "layers_id", + "type": "uuid", + "meta": { + "collection": "layers_files", + "conditions": null, + "display": null, + "display_options": null, + "field": "layers_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "layers_id", + "table": "layers_files", + "data_type": "uuid", + "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": "layers", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/layers_maps/id.json b/backend/directus-config/snapshot/fields/layers_maps/id.json new file mode 100644 index 00000000..731d151e --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers_maps/id.json @@ -0,0 +1,43 @@ +{ + "collection": "layers_maps", + "field": "id", + "type": "integer", + "meta": { + "collection": "layers_maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "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": "layers_maps", + "data_type": "integer", + "default_value": "nextval('layers_maps_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/layers_maps/layers_id.json b/backend/directus-config/snapshot/fields/layers_maps/layers_id.json new file mode 100644 index 00000000..ba4a2631 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers_maps/layers_id.json @@ -0,0 +1,43 @@ +{ + "collection": "layers_maps", + "field": "layers_id", + "type": "uuid", + "meta": { + "collection": "layers_maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "layers_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "layers_id", + "table": "layers_maps", + "data_type": "uuid", + "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": "layers", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/layers_maps/maps_id.json b/backend/directus-config/snapshot/fields/layers_maps/maps_id.json new file mode 100644 index 00000000..d256e0d0 --- /dev/null +++ b/backend/directus-config/snapshot/fields/layers_maps/maps_id.json @@ -0,0 +1,43 @@ +{ + "collection": "layers_maps", + "field": "maps_id", + "type": "uuid", + "meta": { + "collection": "layers_maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "maps_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "maps_id", + "table": "layers_maps", + "data_type": "uuid", + "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": "maps", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/maps/Controls.json b/backend/directus-config/snapshot/fields/maps/Controls.json new file mode 100644 index 00000000..b0984f2e --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/Controls.json @@ -0,0 +1,29 @@ +{ + "collection": "maps", + "field": "Controls", + "type": "alias", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "Controls", + "group": null, + "hidden": false, + "interface": "group-detail", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 12, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/maps/Presets.json b/backend/directus-config/snapshot/fields/maps/Presets.json new file mode 100644 index 00000000..53be852b --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/Presets.json @@ -0,0 +1,29 @@ +{ + "collection": "maps", + "field": "Presets", + "type": "alias", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "Presets", + "group": null, + "hidden": false, + "interface": "group-detail", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 15, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/maps/center.json b/backend/directus-config/snapshot/fields/maps/center.json new file mode 100644 index 00000000..18d53335 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/center.json @@ -0,0 +1,54 @@ +{ + "collection": "maps", + "field": "center", + "type": "geometry.Point", + "meta": { + "collection": "maps", + "conditions": null, + "display": "raw", + "display_options": null, + "field": "center", + "group": null, + "hidden": false, + "interface": "map", + "note": null, + "options": { + "defaultView": { + "bearing": 0, + "center": { + "lat": 51.848550055383214, + "lng": 11.512749260504052 + }, + "pitch": 0, + "zoom": 3.8841411017305782 + }, + "geometryType": "Point" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "center", + "table": "maps", + "data_type": "POINT", + "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/snapshot/fields/maps/custom_text.json b/backend/directus-config/snapshot/fields/maps/custom_text.json new file mode 100644 index 00000000..201a5402 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/custom_text.json @@ -0,0 +1,43 @@ +{ + "collection": "maps", + "field": "custom_text", + "type": "text", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "custom_text", + "group": null, + "hidden": false, + "interface": "input-rich-text-md", + "note": "Replace the info text in the info popup", + "options": null, + "readonly": false, + "required": false, + "sort": 13, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "custom_text", + "table": "maps", + "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/snapshot/fields/maps/default_theme.json b/backend/directus-config/snapshot/fields/maps/default_theme.json new file mode 100644 index 00000000..2058819e --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/default_theme.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "default_theme", + "type": "string", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "default_theme", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 10, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "default_theme", + "table": "maps", + "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": "Themes", + "foreign_key_column": "theme" + } +} diff --git a/backend/directus-config/snapshot/fields/maps/donation_widget.json b/backend/directus-config/snapshot/fields/maps/donation_widget.json new file mode 100644 index 00000000..816de3c9 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/donation_widget.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "donation_widget", + "type": "boolean", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "donation_widget", + "group": null, + "hidden": false, + "interface": "boolean", + "note": "Shows a donation widget after 10 minutes", + "options": null, + "readonly": false, + "required": false, + "sort": 11, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "donation_widget", + "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/expand_layer_control.json b/backend/directus-config/snapshot/fields/maps/expand_layer_control.json new file mode 100644 index 00000000..7f22ced6 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/expand_layer_control.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "expand_layer_control", + "type": "boolean", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "expand_layer_control", + "group": "Presets", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "expand_layer_control", + "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/geo.json b/backend/directus-config/snapshot/fields/maps/geo.json new file mode 100644 index 00000000..05b3a9b3 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/geo.json @@ -0,0 +1,56 @@ +{ + "collection": "maps", + "field": "geo", + "type": "json", + "meta": { + "collection": "maps", + "conditions": null, + "display": "raw", + "display_options": null, + "field": "geo", + "group": null, + "hidden": false, + "interface": null, + "note": "You can include GeoJSON", + "options": { + "defaultView": { + "bearing": 0, + "center": { + "lat": 0, + "lng": 0 + }, + "pitch": 0, + "zoom": 0 + }, + "geometryType": "Point" + }, + "readonly": false, + "required": false, + "sort": 14, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "geo", + "table": "maps", + "data_type": "json", + "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/snapshot/fields/maps/id.json b/backend/directus-config/snapshot/fields/maps/id.json new file mode 100644 index 00000000..f71f6ad8 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/id.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "id", + "type": "uuid", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "maps", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/maps/info_open.json b/backend/directus-config/snapshot/fields/maps/info_open.json new file mode 100644 index 00000000..2c611e10 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/info_open.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "info_open", + "type": "boolean", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "info_open", + "group": "Presets", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "info_open", + "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/layers.json b/backend/directus-config/snapshot/fields/maps/layers.json new file mode 100644 index 00000000..12530f56 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/layers.json @@ -0,0 +1,29 @@ +{ + "collection": "maps", + "field": "layers", + "type": "alias", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "layers", + "group": null, + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "template": "{{layers_id.name}}" + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + } +} diff --git a/backend/directus-config/snapshot/fields/maps/logo.json b/backend/directus-config/snapshot/fields/maps/logo.json new file mode 100644 index 00000000..735f3a45 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/logo.json @@ -0,0 +1,47 @@ +{ + "collection": "maps", + "field": "logo", + "type": "uuid", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "logo", + "group": null, + "hidden": false, + "interface": "file-image", + "note": "Used as FavIcon", + "options": { + "folder": "27b2a288-d50a-48b7-88cd-35945503277b" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "logo", + "table": "maps", + "data_type": "uuid", + "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": "directus_files", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/maps/name.json b/backend/directus-config/snapshot/fields/maps/name.json new file mode 100644 index 00000000..82f19fe1 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/name.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "name", + "type": "string", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "name", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "placeholder": "Fresh Map" + }, + "readonly": false, + "required": true, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "name", + "table": "maps", + "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/maps/own_tag_space.json b/backend/directus-config/snapshot/fields/maps/own_tag_space.json new file mode 100644 index 00000000..be9f51e6 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/own_tag_space.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "own_tag_space", + "type": "boolean", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "own_tag_space", + "group": null, + "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": "own_tag_space", + "table": "maps", + "data_type": "boolean", + "default_value": true, + "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_filter_control.json b/backend/directus-config/snapshot/fields/maps/show_filter_control.json new file mode 100644 index 00000000..a35fd20c --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/show_filter_control.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "show_filter_control", + "type": "boolean", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_filter_control", + "group": "Controls", + "hidden": true, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_filter_control", + "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_gratitude_control.json b/backend/directus-config/snapshot/fields/maps/show_gratitude_control.json new file mode 100644 index 00000000..56763aee --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/show_gratitude_control.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "show_gratitude_control", + "type": "boolean", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_gratitude_control", + "group": "Controls", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_gratitude_control", + "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_layer_control.json b/backend/directus-config/snapshot/fields/maps/show_layer_control.json new file mode 100644 index 00000000..b7b3c2d5 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/show_layer_control.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "show_layer_control", + "type": "boolean", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_layer_control", + "group": "Controls", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_layer_control", + "table": "maps", + "data_type": "boolean", + "default_value": true, + "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/snapshot/fields/maps/show_theme_control.json new file mode 100644 index 00000000..5f879f44 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/show_theme_control.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "show_theme_control", + "type": "boolean", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_theme_control", + "group": "Controls", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_theme_control", + "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_zoom_control.json b/backend/directus-config/snapshot/fields/maps/show_zoom_control.json new file mode 100644 index 00000000..54dc60e3 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/show_zoom_control.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "show_zoom_control", + "type": "boolean", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_zoom_control", + "group": "Controls", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_zoom_control", + "table": "maps", + "data_type": "boolean", + "default_value": false, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "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/tile_server.json b/backend/directus-config/snapshot/fields/maps/tile_server.json new file mode 100644 index 00000000..d88f8ee9 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/tile_server.json @@ -0,0 +1,31 @@ +{ + "collection": "maps", + "field": "tile_server", + "type": "alias", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "tile_server", + "group": null, + "hidden": false, + "interface": "group-detail", + "note": null, + "options": { + "start": "closed" + }, + "readonly": false, + "required": false, + "sort": 16, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/maps/tile_server_attribution.json b/backend/directus-config/snapshot/fields/maps/tile_server_attribution.json new file mode 100644 index 00000000..dd6e5403 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/tile_server_attribution.json @@ -0,0 +1,43 @@ +{ + "collection": "maps", + "field": "tile_server_attribution", + "type": "string", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "tile_server_attribution", + "group": "tile_server", + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tile_server_attribution", + "table": "maps", + "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/maps/tile_server_url.json b/backend/directus-config/snapshot/fields/maps/tile_server_url.json new file mode 100644 index 00000000..cd7aea26 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/tile_server_url.json @@ -0,0 +1,43 @@ +{ + "collection": "maps", + "field": "tile_server_url", + "type": "string", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "tile_server_url", + "group": "tile_server", + "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": "tile_server_url", + "table": "maps", + "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/maps/url.json b/backend/directus-config/snapshot/fields/maps/url.json new file mode 100644 index 00000000..b1d06639 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/url.json @@ -0,0 +1,45 @@ +{ + "collection": "maps", + "field": "url", + "type": "string", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "url", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "placeholder": "https://fresh-map.utopia-map.org" + }, + "readonly": false, + "required": true, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "url", + "table": "maps", + "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/maps/user_type.json b/backend/directus-config/snapshot/fields/maps/user_type.json new file mode 100644 index 00000000..80966058 --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/user_type.json @@ -0,0 +1,47 @@ +{ + "collection": "maps", + "field": "user_type", + "type": "uuid", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "user_type", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{name}}" + }, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "user_type", + "table": "maps", + "data_type": "uuid", + "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": "types", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/maps/zoom.json b/backend/directus-config/snapshot/fields/maps/zoom.json new file mode 100644 index 00000000..e946abcc --- /dev/null +++ b/backend/directus-config/snapshot/fields/maps/zoom.json @@ -0,0 +1,43 @@ +{ + "collection": "maps", + "field": "zoom", + "type": "integer", + "meta": { + "collection": "maps", + "conditions": null, + "display": null, + "display_options": null, + "field": "zoom", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "zoom", + "table": "maps", + "data_type": "integer", + "default_value": 6, + "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/marker_icons/id.json b/backend/directus-config/snapshot/fields/marker_icons/id.json new file mode 100644 index 00000000..9456eaf2 --- /dev/null +++ b/backend/directus-config/snapshot/fields/marker_icons/id.json @@ -0,0 +1,43 @@ +{ + "collection": "marker_icons", + "field": "id", + "type": "string", + "meta": { + "collection": "marker_icons", + "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": "marker_icons", + "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/snapshot/fields/marker_icons/image.json b/backend/directus-config/snapshot/fields/marker_icons/image.json new file mode 100644 index 00000000..1f20ebcf --- /dev/null +++ b/backend/directus-config/snapshot/fields/marker_icons/image.json @@ -0,0 +1,47 @@ +{ + "collection": "marker_icons", + "field": "image", + "type": "uuid", + "meta": { + "collection": "marker_icons", + "conditions": null, + "display": null, + "display_options": null, + "field": "image", + "group": null, + "hidden": false, + "interface": "file-image", + "note": null, + "options": { + "folder": "889a110a-a117-40fa-b091-5c5a2766563f" + }, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "image", + "table": "marker_icons", + "data_type": "uuid", + "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": "directus_files", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/marker_icons/size.json b/backend/directus-config/snapshot/fields/marker_icons/size.json new file mode 100644 index 00000000..2c8dc06d --- /dev/null +++ b/backend/directus-config/snapshot/fields/marker_icons/size.json @@ -0,0 +1,45 @@ +{ + "collection": "marker_icons", + "field": "size", + "type": "decimal", + "meta": { + "collection": "marker_icons", + "conditions": null, + "display": null, + "display_options": null, + "field": "size", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "placeholder": "12" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "size", + "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/snapshot/fields/oceannomads_profiles/avatar_url.json b/backend/directus-config/snapshot/fields/oceannomads_profiles/avatar_url.json new file mode 100644 index 00000000..18140dff --- /dev/null +++ b/backend/directus-config/snapshot/fields/oceannomads_profiles/avatar_url.json @@ -0,0 +1,43 @@ +{ + "collection": "oceannomads_profiles", + "field": "avatar_url", + "type": "string", + "meta": { + "collection": "oceannomads_profiles", + "conditions": null, + "display": null, + "display_options": null, + "field": "avatar_url", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "avatar_url", + "table": "oceannomads_profiles", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/date_created.json b/backend/directus-config/snapshot/fields/oceannomads_profiles/date_created.json new file mode 100644 index 00000000..d4735a53 --- /dev/null +++ b/backend/directus-config/snapshot/fields/oceannomads_profiles/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "oceannomads_profiles", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "oceannomads_profiles", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "oceannomads_profiles", + "data_type": "timestamp with time zone", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/date_updated.json b/backend/directus-config/snapshot/fields/oceannomads_profiles/date_updated.json new file mode 100644 index 00000000..991f590f --- /dev/null +++ b/backend/directus-config/snapshot/fields/oceannomads_profiles/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "oceannomads_profiles", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "oceannomads_profiles", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_updated", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "oceannomads_profiles", + "data_type": "timestamp with time zone", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/email.json b/backend/directus-config/snapshot/fields/oceannomads_profiles/email.json new file mode 100644 index 00000000..0fb1d979 --- /dev/null +++ b/backend/directus-config/snapshot/fields/oceannomads_profiles/email.json @@ -0,0 +1,43 @@ +{ + "collection": "oceannomads_profiles", + "field": "email", + "type": "string", + "meta": { + "collection": "oceannomads_profiles", + "conditions": null, + "display": null, + "display_options": null, + "field": "email", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "email", + "table": "oceannomads_profiles", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/first_name.json b/backend/directus-config/snapshot/fields/oceannomads_profiles/first_name.json new file mode 100644 index 00000000..e8dfbd38 --- /dev/null +++ b/backend/directus-config/snapshot/fields/oceannomads_profiles/first_name.json @@ -0,0 +1,43 @@ +{ + "collection": "oceannomads_profiles", + "field": "first_name", + "type": "string", + "meta": { + "collection": "oceannomads_profiles", + "conditions": null, + "display": null, + "display_options": null, + "field": "first_name", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "first_name", + "table": "oceannomads_profiles", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/id.json b/backend/directus-config/snapshot/fields/oceannomads_profiles/id.json new file mode 100644 index 00000000..b7de15e1 --- /dev/null +++ b/backend/directus-config/snapshot/fields/oceannomads_profiles/id.json @@ -0,0 +1,43 @@ +{ + "collection": "oceannomads_profiles", + "field": "id", + "type": "string", + "meta": { + "collection": "oceannomads_profiles", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "id", + "table": "oceannomads_profiles", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/last_name.json b/backend/directus-config/snapshot/fields/oceannomads_profiles/last_name.json new file mode 100644 index 00000000..f5e6a759 --- /dev/null +++ b/backend/directus-config/snapshot/fields/oceannomads_profiles/last_name.json @@ -0,0 +1,43 @@ +{ + "collection": "oceannomads_profiles", + "field": "last_name", + "type": "string", + "meta": { + "collection": "oceannomads_profiles", + "conditions": null, + "display": null, + "display_options": null, + "field": "last_name", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "last_name", + "table": "oceannomads_profiles", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/oceannomads_profiles/location.json b/backend/directus-config/snapshot/fields/oceannomads_profiles/location.json new file mode 100644 index 00000000..ec6eaeb7 --- /dev/null +++ b/backend/directus-config/snapshot/fields/oceannomads_profiles/location.json @@ -0,0 +1,43 @@ +{ + "collection": "oceannomads_profiles", + "field": "location", + "type": "string", + "meta": { + "collection": "oceannomads_profiles", + "conditions": null, + "display": null, + "display_options": null, + "field": "location", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "location", + "table": "oceannomads_profiles", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/relations/id.json b/backend/directus-config/snapshot/fields/relations/id.json new file mode 100644 index 00000000..2773ed52 --- /dev/null +++ b/backend/directus-config/snapshot/fields/relations/id.json @@ -0,0 +1,43 @@ +{ + "collection": "relations", + "field": "id", + "type": "integer", + "meta": { + "collection": "relations", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "relations", + "data_type": "integer", + "default_value": "nextval('relations_id_seq'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/relations/relation.json b/backend/directus-config/snapshot/fields/relations/relation.json new file mode 100644 index 00000000..5a3567cc --- /dev/null +++ b/backend/directus-config/snapshot/fields/relations/relation.json @@ -0,0 +1,43 @@ +{ + "collection": "relations", + "field": "relation", + "type": "string", + "meta": { + "collection": "relations", + "conditions": null, + "display": null, + "display_options": null, + "field": "relation", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": true, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "relation", + "table": "relations", + "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/startEnd/date_created.json b/backend/directus-config/snapshot/fields/startEnd/date_created.json new file mode 100644 index 00000000..9b7c473d --- /dev/null +++ b/backend/directus-config/snapshot/fields/startEnd/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "startEnd", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "startEnd", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "startEnd", + "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/snapshot/fields/startEnd/date_updated.json b/backend/directus-config/snapshot/fields/startEnd/date_updated.json new file mode 100644 index 00000000..3584c06d --- /dev/null +++ b/backend/directus-config/snapshot/fields/startEnd/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "startEnd", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "startEnd", + "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": 5, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "startEnd", + "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/snapshot/fields/startEnd/id.json b/backend/directus-config/snapshot/fields/startEnd/id.json new file mode 100644 index 00000000..cdaa9827 --- /dev/null +++ b/backend/directus-config/snapshot/fields/startEnd/id.json @@ -0,0 +1,45 @@ +{ + "collection": "startEnd", + "field": "id", + "type": "uuid", + "meta": { + "collection": "startEnd", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "startEnd", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/startEnd/user_created.json b/backend/directus-config/snapshot/fields/startEnd/user_created.json new file mode 100644 index 00000000..e80cb9af --- /dev/null +++ b/backend/directus-config/snapshot/fields/startEnd/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "startEnd", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "startEnd", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "startEnd", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/startEnd/user_updated.json b/backend/directus-config/snapshot/fields/startEnd/user_updated.json new file mode 100644 index 00000000..ac57bc67 --- /dev/null +++ b/backend/directus-config/snapshot/fields/startEnd/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "startEnd", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "startEnd", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "startEnd", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/tags/color.json b/backend/directus-config/snapshot/fields/tags/color.json new file mode 100644 index 00000000..7e242148 --- /dev/null +++ b/backend/directus-config/snapshot/fields/tags/color.json @@ -0,0 +1,43 @@ +{ + "collection": "tags", + "field": "color", + "type": "string", + "meta": { + "collection": "tags", + "conditions": null, + "display": "color", + "display_options": null, + "field": "color", + "group": null, + "hidden": false, + "interface": "select-color", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "color", + "table": "tags", + "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/tags/date_created.json b/backend/directus-config/snapshot/fields/tags/date_created.json new file mode 100644 index 00000000..e4a32a51 --- /dev/null +++ b/backend/directus-config/snapshot/fields/tags/date_created.json @@ -0,0 +1,45 @@ +{ + "collection": "tags", + "field": "date_created", + "type": "dateTime", + "meta": { + "collection": "tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "date_created", + "group": null, + "hidden": false, + "interface": "datetime", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "date_created", + "table": "tags", + "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/snapshot/fields/tags/id.json b/backend/directus-config/snapshot/fields/tags/id.json new file mode 100644 index 00000000..4f259ec4 --- /dev/null +++ b/backend/directus-config/snapshot/fields/tags/id.json @@ -0,0 +1,45 @@ +{ + "collection": "tags", + "field": "id", + "type": "uuid", + "meta": { + "collection": "tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "tags", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/tags/map.json b/backend/directus-config/snapshot/fields/tags/map.json new file mode 100644 index 00000000..00b03010 --- /dev/null +++ b/backend/directus-config/snapshot/fields/tags/map.json @@ -0,0 +1,48 @@ +{ + "collection": "tags", + "field": "map", + "type": "uuid", + "meta": { + "collection": "tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "map", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "enableCreate": false, + "template": "{{name}}" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "map", + "table": "tags", + "data_type": "uuid", + "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": "maps", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/tags/name.json b/backend/directus-config/snapshot/fields/tags/name.json new file mode 100644 index 00000000..821a19d9 --- /dev/null +++ b/backend/directus-config/snapshot/fields/tags/name.json @@ -0,0 +1,43 @@ +{ + "collection": "tags", + "field": "name", + "type": "string", + "meta": { + "collection": "tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "name", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "name", + "table": "tags", + "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/tags/offer_or_need.json b/backend/directus-config/snapshot/fields/tags/offer_or_need.json new file mode 100644 index 00000000..9fd7d391 --- /dev/null +++ b/backend/directus-config/snapshot/fields/tags/offer_or_need.json @@ -0,0 +1,45 @@ +{ + "collection": "tags", + "field": "offer_or_need", + "type": "boolean", + "meta": { + "collection": "tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "offer_or_need", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "offer_or_need", + "table": "tags", + "data_type": "boolean", + "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/snapshot/fields/tags/user_created.json b/backend/directus-config/snapshot/fields/tags/user_created.json new file mode 100644 index 00000000..457668fa --- /dev/null +++ b/backend/directus-config/snapshot/fields/tags/user_created.json @@ -0,0 +1,45 @@ +{ + "collection": "tags", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "user_created", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "user_created", + "table": "tags", + "data_type": "uuid", + "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/snapshot/fields/team/date_created.json b/backend/directus-config/snapshot/fields/team/date_created.json new file mode 100644 index 00000000..7058c669 --- /dev/null +++ b/backend/directus-config/snapshot/fields/team/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "team", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "team", + "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": 5, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "team", + "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/snapshot/fields/team/date_updated.json b/backend/directus-config/snapshot/fields/team/date_updated.json new file mode 100644 index 00000000..0ba035d1 --- /dev/null +++ b/backend/directus-config/snapshot/fields/team/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "team", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "team", + "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": 7, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "team", + "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/snapshot/fields/team/id.json b/backend/directus-config/snapshot/fields/team/id.json new file mode 100644 index 00000000..15cf7261 --- /dev/null +++ b/backend/directus-config/snapshot/fields/team/id.json @@ -0,0 +1,45 @@ +{ + "collection": "team", + "field": "id", + "type": "uuid", + "meta": { + "collection": "team", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "team", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/team/image.json b/backend/directus-config/snapshot/fields/team/image.json new file mode 100644 index 00000000..b3c7cf7a --- /dev/null +++ b/backend/directus-config/snapshot/fields/team/image.json @@ -0,0 +1,45 @@ +{ + "collection": "team", + "field": "image", + "type": "uuid", + "meta": { + "collection": "team", + "conditions": null, + "display": null, + "display_options": null, + "field": "image", + "group": null, + "hidden": false, + "interface": "file-image", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 11, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "image", + "table": "team", + "data_type": "uuid", + "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": "directus_files", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/team/name.json b/backend/directus-config/snapshot/fields/team/name.json new file mode 100644 index 00000000..5a799de6 --- /dev/null +++ b/backend/directus-config/snapshot/fields/team/name.json @@ -0,0 +1,43 @@ +{ + "collection": "team", + "field": "name", + "type": "string", + "meta": { + "collection": "team", + "conditions": null, + "display": null, + "display_options": null, + "field": "name", + "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": "name", + "table": "team", + "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/team/role.json b/backend/directus-config/snapshot/fields/team/role.json new file mode 100644 index 00000000..c52a113b --- /dev/null +++ b/backend/directus-config/snapshot/fields/team/role.json @@ -0,0 +1,43 @@ +{ + "collection": "team", + "field": "role", + "type": "string", + "meta": { + "collection": "team", + "conditions": null, + "display": null, + "display_options": null, + "field": "role", + "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": "role", + "table": "team", + "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/team/sort.json b/backend/directus-config/snapshot/fields/team/sort.json new file mode 100644 index 00000000..a5f31f92 --- /dev/null +++ b/backend/directus-config/snapshot/fields/team/sort.json @@ -0,0 +1,43 @@ +{ + "collection": "team", + "field": "sort", + "type": "integer", + "meta": { + "collection": "team", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "sort", + "table": "team", + "data_type": "integer", + "default_value": null, + "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/team/status.json b/backend/directus-config/snapshot/fields/team/status.json new file mode 100644 index 00000000..eb7a1f5a --- /dev/null +++ b/backend/directus-config/snapshot/fields/team/status.json @@ -0,0 +1,80 @@ +{ + "collection": "team", + "field": "status", + "type": "string", + "meta": { + "collection": "team", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "background": "var(--theme--primary)", + "foreground": "#FFFFFF", + "text": "$t:published", + "value": "published" + }, + { + "background": "#D3DAE4", + "foreground": "#18222F", + "text": "$t:draft", + "value": "draft" + }, + { + "background": "var(--theme--warning)", + "foreground": "#FFFFFF", + "text": "$t:archived", + "value": "archived" + } + ], + "showAsDot": true + }, + "field": "status", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "text": "$t:published", + "value": "published" + }, + { + "text": "$t:draft", + "value": "draft" + }, + { + "text": "$t:archived", + "value": "archived" + } + ] + }, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "status", + "table": "team", + "data_type": "character varying", + "default_value": "draft", + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "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/team/text.json b/backend/directus-config/snapshot/fields/team/text.json new file mode 100644 index 00000000..b8881789 --- /dev/null +++ b/backend/directus-config/snapshot/fields/team/text.json @@ -0,0 +1,43 @@ +{ + "collection": "team", + "field": "text", + "type": "text", + "meta": { + "collection": "team", + "conditions": null, + "display": null, + "display_options": null, + "field": "text", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 10, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "text", + "table": "team", + "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/snapshot/fields/team/user_created.json b/backend/directus-config/snapshot/fields/team/user_created.json new file mode 100644 index 00000000..c8a99355 --- /dev/null +++ b/backend/directus-config/snapshot/fields/team/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "team", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "team", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "team", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/team/user_updated.json b/backend/directus-config/snapshot/fields/team/user_updated.json new file mode 100644 index 00000000..0a2cd9d2 --- /dev/null +++ b/backend/directus-config/snapshot/fields/team/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "team", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "team", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 6, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "team", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/texts/dataField.json b/backend/directus-config/snapshot/fields/texts/dataField.json new file mode 100644 index 00000000..cdeeaa7f --- /dev/null +++ b/backend/directus-config/snapshot/fields/texts/dataField.json @@ -0,0 +1,43 @@ +{ + "collection": "texts", + "field": "dataField", + "type": "string", + "meta": { + "collection": "texts", + "conditions": null, + "display": null, + "display_options": null, + "field": "dataField", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "dataField", + "table": "texts", + "data_type": "character varying", + "default_value": "text", + "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/texts/date_created.json b/backend/directus-config/snapshot/fields/texts/date_created.json new file mode 100644 index 00000000..7dbfd9bc --- /dev/null +++ b/backend/directus-config/snapshot/fields/texts/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "texts", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "texts", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "texts", + "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/snapshot/fields/texts/date_updated.json b/backend/directus-config/snapshot/fields/texts/date_updated.json new file mode 100644 index 00000000..49f60113 --- /dev/null +++ b/backend/directus-config/snapshot/fields/texts/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "texts", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "texts", + "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": 5, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "texts", + "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/snapshot/fields/texts/heading.json b/backend/directus-config/snapshot/fields/texts/heading.json new file mode 100644 index 00000000..388df4e1 --- /dev/null +++ b/backend/directus-config/snapshot/fields/texts/heading.json @@ -0,0 +1,43 @@ +{ + "collection": "texts", + "field": "heading", + "type": "string", + "meta": { + "collection": "texts", + "conditions": null, + "display": null, + "display_options": null, + "field": "heading", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "heading", + "table": "texts", + "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/texts/hideWhenEmpty.json b/backend/directus-config/snapshot/fields/texts/hideWhenEmpty.json new file mode 100644 index 00000000..8204795e --- /dev/null +++ b/backend/directus-config/snapshot/fields/texts/hideWhenEmpty.json @@ -0,0 +1,45 @@ +{ + "collection": "texts", + "field": "hideWhenEmpty", + "type": "boolean", + "meta": { + "collection": "texts", + "conditions": null, + "display": null, + "display_options": null, + "field": "hideWhenEmpty", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 8, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "hideWhenEmpty", + "table": "texts", + "data_type": "boolean", + "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/snapshot/fields/texts/id.json b/backend/directus-config/snapshot/fields/texts/id.json new file mode 100644 index 00000000..b51b0512 --- /dev/null +++ b/backend/directus-config/snapshot/fields/texts/id.json @@ -0,0 +1,45 @@ +{ + "collection": "texts", + "field": "id", + "type": "uuid", + "meta": { + "collection": "texts", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "texts", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/texts/showMarkdownHint.json b/backend/directus-config/snapshot/fields/texts/showMarkdownHint.json new file mode 100644 index 00000000..09efeb79 --- /dev/null +++ b/backend/directus-config/snapshot/fields/texts/showMarkdownHint.json @@ -0,0 +1,45 @@ +{ + "collection": "texts", + "field": "showMarkdownHint", + "type": "boolean", + "meta": { + "collection": "texts", + "conditions": null, + "display": null, + "display_options": null, + "field": "showMarkdownHint", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 11, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "showMarkdownHint", + "table": "texts", + "data_type": "boolean", + "default_value": true, + "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/texts/size.json b/backend/directus-config/snapshot/fields/texts/size.json new file mode 100644 index 00000000..96d6d821 --- /dev/null +++ b/backend/directus-config/snapshot/fields/texts/size.json @@ -0,0 +1,54 @@ +{ + "collection": "texts", + "field": "size", + "type": "string", + "meta": { + "collection": "texts", + "conditions": null, + "display": null, + "display_options": null, + "field": "size", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "text": "small", + "value": "small" + }, + { + "text": "full", + "value": "full" + } + ] + }, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "size", + "table": "texts", + "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/texts/user_created.json b/backend/directus-config/snapshot/fields/texts/user_created.json new file mode 100644 index 00000000..d8f7dddb --- /dev/null +++ b/backend/directus-config/snapshot/fields/texts/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "texts", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "texts", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "texts", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/texts/user_updated.json b/backend/directus-config/snapshot/fields/texts/user_updated.json new file mode 100644 index 00000000..81a419c0 --- /dev/null +++ b/backend/directus-config/snapshot/fields/texts/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "texts", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "texts", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "texts", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/types/Profile.json b/backend/directus-config/snapshot/fields/types/Profile.json new file mode 100644 index 00000000..8737656d --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/Profile.json @@ -0,0 +1,29 @@ +{ + "collection": "types", + "field": "Profile", + "type": "alias", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "Profile", + "group": null, + "hidden": false, + "interface": "group-detail", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/types/Tabs.json b/backend/directus-config/snapshot/fields/types/Tabs.json new file mode 100644 index 00000000..cc15315c --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/Tabs.json @@ -0,0 +1,31 @@ +{ + "collection": "types", + "field": "Tabs", + "type": "alias", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "Tabs", + "group": "accordion-ykcgp6", + "hidden": false, + "interface": "group-detail", + "note": null, + "options": { + "headerColor": "#1A5FB4" + }, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/types/accordion-ykcgp6.json b/backend/directus-config/snapshot/fields/types/accordion-ykcgp6.json new file mode 100644 index 00000000..755bbd76 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/accordion-ykcgp6.json @@ -0,0 +1,29 @@ +{ + "collection": "types", + "field": "accordion-ykcgp6", + "type": "alias", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "accordion-ykcgp6", + "group": "Profile", + "hidden": false, + "interface": "group-accordion", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/types/active_tabs.json b/backend/directus-config/snapshot/fields/types/active_tabs.json new file mode 100644 index 00000000..87c35197 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/active_tabs.json @@ -0,0 +1,29 @@ +{ + "collection": "types", + "field": "active_tabs", + "type": "alias", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "active_tabs", + "group": "Tabs", + "hidden": false, + "interface": "group-detail", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/types/custom_text.json b/backend/directus-config/snapshot/fields/types/custom_text.json new file mode 100644 index 00000000..4beb8a39 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/custom_text.json @@ -0,0 +1,43 @@ +{ + "collection": "types", + "field": "custom_text", + "type": "string", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "custom_text", + "group": "small_form", + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "custom_text", + "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/date_created.json b/backend/directus-config/snapshot/fields/types/date_created.json new file mode 100644 index 00000000..db4a816c --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/date_created.json @@ -0,0 +1,47 @@ +{ + "collection": "types", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "types", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "types", + "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/snapshot/fields/types/date_updated.json b/backend/directus-config/snapshot/fields/types/date_updated.json new file mode 100644 index 00000000..70a1166a --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/date_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "types", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "types", + "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": 5, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "types", + "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/snapshot/fields/types/icon_as_labels.json b/backend/directus-config/snapshot/fields/types/icon_as_labels.json new file mode 100644 index 00000000..1605ecd8 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/icon_as_labels.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "icon_as_labels", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "icon_as_labels", + "group": "Tabs", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "icon_as_labels", + "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/id.json b/backend/directus-config/snapshot/fields/types/id.json new file mode 100644 index 00000000..f399b8e0 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/id.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "id", + "type": "uuid", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "types", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "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/snapshot/fields/types/name.json b/backend/directus-config/snapshot/fields/types/name.json new file mode 100644 index 00000000..50fc2574 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/name.json @@ -0,0 +1,43 @@ +{ + "collection": "types", + "field": "name", + "type": "string", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "name", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "name", + "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/offers_and_needs.json b/backend/directus-config/snapshot/fields/types/offers_and_needs.json new file mode 100644 index 00000000..bf24c1c6 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/offers_and_needs.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "offers_and_needs", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "offers_and_needs", + "group": "active_tabs", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "offers_and_needs", + "table": "types", + "data_type": "boolean", + "default_value": true, + "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/onepager.json b/backend/directus-config/snapshot/fields/types/onepager.json new file mode 100644 index 00000000..e5077c93 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/onepager.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "onepager", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "onepager", + "group": "accordion-ykcgp6", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "onepager", + "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/profileTemplate.json b/backend/directus-config/snapshot/fields/types/profileTemplate.json new file mode 100644 index 00000000..ce61f678 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/profileTemplate.json @@ -0,0 +1,27 @@ +{ + "collection": "types", + "field": "profileTemplate", + "type": "alias", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "profileTemplate", + "group": null, + "hidden": false, + "interface": "list-m2a", + "note": null, + "options": {}, + "readonly": false, + "required": false, + "sort": 11, + "special": [ + "m2a" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/types/questlog.json b/backend/directus-config/snapshot/fields/types/questlog.json new file mode 100644 index 00000000..c3dcab35 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/questlog.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "questlog", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "questlog", + "group": "active_tabs", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "questlog", + "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/relations.json b/backend/directus-config/snapshot/fields/types/relations.json new file mode 100644 index 00000000..f045446a --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/relations.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "relations", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "relations", + "group": "active_tabs", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "relations", + "table": "types", + "data_type": "boolean", + "default_value": true, + "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/snapshot/fields/types/show_name.json new file mode 100644 index 00000000..cc5412cb --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/show_name.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "show_name", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_name", + "group": "small_view", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_name", + "table": "types", + "data_type": "boolean", + "default_value": true, + "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_input.json b/backend/directus-config/snapshot/fields/types/show_name_input.json new file mode 100644 index 00000000..ab315edc --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/show_name_input.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "show_name_input", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_name_input", + "group": "small_form", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_name_input", + "table": "types", + "data_type": "boolean", + "default_value": true, + "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_profile_button.json b/backend/directus-config/snapshot/fields/types/show_profile_button.json new file mode 100644 index 00000000..1e83e4ec --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/show_profile_button.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "show_profile_button", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_profile_button", + "group": "small_view", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_profile_button", + "table": "types", + "data_type": "boolean", + "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/snapshot/fields/types/show_start_end.json b/backend/directus-config/snapshot/fields/types/show_start_end.json new file mode 100644 index 00000000..bc43f516 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/show_start_end.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "show_start_end", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_start_end", + "group": "small_view", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_start_end", + "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_start_end_input.json b/backend/directus-config/snapshot/fields/types/show_start_end_input.json new file mode 100644 index 00000000..487a7589 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/show_start_end_input.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "show_start_end_input", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_start_end_input", + "group": "small_form", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_start_end_input", + "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_text.json b/backend/directus-config/snapshot/fields/types/show_text.json new file mode 100644 index 00000000..a5c9653c --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/show_text.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "show_text", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_text", + "group": "small_view", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_text", + "table": "types", + "data_type": "boolean", + "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/snapshot/fields/types/show_text_input.json b/backend/directus-config/snapshot/fields/types/show_text_input.json new file mode 100644 index 00000000..657a7e33 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/show_text_input.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "show_text_input", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "show_text_input", + "group": "small_form", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "show_text_input", + "table": "types", + "data_type": "boolean", + "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/snapshot/fields/types/small_form.json b/backend/directus-config/snapshot/fields/types/small_form.json new file mode 100644 index 00000000..008246f9 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/small_form.json @@ -0,0 +1,29 @@ +{ + "collection": "types", + "field": "small_form", + "type": "alias", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "small_form", + "group": null, + "hidden": false, + "interface": "group-detail", + "note": null, + "options": 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/fields/types/small_view.json b/backend/directus-config/snapshot/fields/types/small_view.json new file mode 100644 index 00000000..e818f20d --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/small_view.json @@ -0,0 +1,29 @@ +{ + "collection": "types", + "field": "small_view", + "type": "alias", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "small_view", + "group": null, + "hidden": false, + "interface": "group-detail", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } +} diff --git a/backend/directus-config/snapshot/fields/types/template.json b/backend/directus-config/snapshot/fields/types/template.json new file mode 100644 index 00000000..4b0b8eaf --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/template.json @@ -0,0 +1,62 @@ +{ + "collection": "types", + "field": "template", + "type": "string", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "template", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "text": "simple", + "value": "simple" + }, + { + "text": "tabs", + "value": "tabs" + }, + { + "text": "onepager", + "value": "onepager" + }, + { + "text": "flex", + "value": "flex" + } + ] + }, + "readonly": false, + "required": false, + "sort": 10, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "template", + "table": "types", + "data_type": "character varying", + "default_value": "simple", + "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/text.json b/backend/directus-config/snapshot/fields/types/text.json new file mode 100644 index 00000000..a047e6f3 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/text.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "text", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "text", + "group": "active_tabs", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "text", + "table": "types", + "data_type": "boolean", + "default_value": true, + "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/text_area.json b/backend/directus-config/snapshot/fields/types/text_area.json new file mode 100644 index 00000000..3930de6d --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/text_area.json @@ -0,0 +1,45 @@ +{ + "collection": "types", + "field": "text_area", + "type": "boolean", + "meta": { + "collection": "types", + "conditions": null, + "display": null, + "display_options": null, + "field": "text_area", + "group": "accordion-ykcgp6", + "hidden": false, + "interface": "boolean", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "text_area", + "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/user_created.json b/backend/directus-config/snapshot/fields/types/user_created.json new file mode 100644 index 00000000..20db0d68 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/user_created.json @@ -0,0 +1,47 @@ +{ + "collection": "types", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "types", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "types", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/types/user_updated.json b/backend/directus-config/snapshot/fields/types/user_updated.json new file mode 100644 index 00000000..7a63d1ef --- /dev/null +++ b/backend/directus-config/snapshot/fields/types/user_updated.json @@ -0,0 +1,47 @@ +{ + "collection": "types", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "types", + "conditions": null, + "display": "user", + "display_options": null, + "field": "user_updated", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "types", + "data_type": "uuid", + "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": "directus_users", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/fields/types_profileTemplate/collection.json b/backend/directus-config/snapshot/fields/types_profileTemplate/collection.json new file mode 100644 index 00000000..c5602482 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types_profileTemplate/collection.json @@ -0,0 +1,43 @@ +{ + "collection": "types_profileTemplate", + "field": "collection", + "type": "string", + "meta": { + "collection": "types_profileTemplate", + "conditions": null, + "display": null, + "display_options": null, + "field": "collection", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "collection", + "table": "types_profileTemplate", + "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_profileTemplate/id.json b/backend/directus-config/snapshot/fields/types_profileTemplate/id.json new file mode 100644 index 00000000..207214d3 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types_profileTemplate/id.json @@ -0,0 +1,43 @@ +{ + "collection": "types_profileTemplate", + "field": "id", + "type": "integer", + "meta": { + "collection": "types_profileTemplate", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": null, + "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": "types_profileTemplate", + "data_type": "integer", + "default_value": "nextval('\"types_profileTemplate_id_seq\"'::regclass)", + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": true, + "foreign_key_table": null, + "foreign_key_column": null + } +} diff --git a/backend/directus-config/snapshot/fields/types_profileTemplate/item.json b/backend/directus-config/snapshot/fields/types_profileTemplate/item.json new file mode 100644 index 00000000..1d23d3f1 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types_profileTemplate/item.json @@ -0,0 +1,43 @@ +{ + "collection": "types_profileTemplate", + "field": "item", + "type": "string", + "meta": { + "collection": "types_profileTemplate", + "conditions": null, + "display": null, + "display_options": null, + "field": "item", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "item", + "table": "types_profileTemplate", + "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_profileTemplate/sort.json b/backend/directus-config/snapshot/fields/types_profileTemplate/sort.json new file mode 100644 index 00000000..f424f474 --- /dev/null +++ b/backend/directus-config/snapshot/fields/types_profileTemplate/sort.json @@ -0,0 +1,43 @@ +{ + "collection": "types_profileTemplate", + "field": "sort", + "type": "integer", + "meta": { + "collection": "types_profileTemplate", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "sort", + "table": "types_profileTemplate", + "data_type": "integer", + "default_value": null, + "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/types_profileTemplate/types_id.json b/backend/directus-config/snapshot/fields/types_profileTemplate/types_id.json new file mode 100644 index 00000000..2afff77e --- /dev/null +++ b/backend/directus-config/snapshot/fields/types_profileTemplate/types_id.json @@ -0,0 +1,43 @@ +{ + "collection": "types_profileTemplate", + "field": "types_id", + "type": "uuid", + "meta": { + "collection": "types_profileTemplate", + "conditions": null, + "display": null, + "display_options": null, + "field": "types_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "types_id", + "table": "types_profileTemplate", + "data_type": "uuid", + "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": "types", + "foreign_key_column": "id" + } +} diff --git a/backend/directus-config/snapshot/info.json b/backend/directus-config/snapshot/info.json index e4d0409a..e6b553c8 100644 --- a/backend/directus-config/snapshot/info.json +++ b/backend/directus-config/snapshot/info.json @@ -1,5 +1,5 @@ { "version": 1, - "directus": "11.4.1", - "vendor": "sqlite" + "directus": "11.7.2", + "vendor": "postgres" } diff --git a/backend/directus-config/snapshot/relations/attestations/user_created.json b/backend/directus-config/snapshot/relations/attestations/user_created.json new file mode 100644 index 00000000..a4cbef5d --- /dev/null +++ b/backend/directus-config/snapshot/relations/attestations/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "attestations", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "attestations", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "attestations", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "attestations_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/attestations_directus_users/attestations_id.json b/backend/directus-config/snapshot/relations/attestations_directus_users/attestations_id.json new file mode 100644 index 00000000..5788f504 --- /dev/null +++ b/backend/directus-config/snapshot/relations/attestations_directus_users/attestations_id.json @@ -0,0 +1,25 @@ +{ + "collection": "attestations_directus_users", + "field": "attestations_id", + "related_collection": "attestations", + "meta": { + "junction_field": "directus_users_id", + "many_collection": "attestations_directus_users", + "many_field": "attestations_id", + "one_allowed_collections": null, + "one_collection": "attestations", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "to", + "sort_field": null + }, + "schema": { + "table": "attestations_directus_users", + "column": "attestations_id", + "foreign_key_table": "attestations", + "foreign_key_column": "id", + "constraint_name": "attestations_directus_users_attestations_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/attestations_directus_users/directus_users_id.json b/backend/directus-config/snapshot/relations/attestations_directus_users/directus_users_id.json new file mode 100644 index 00000000..fb4662d1 --- /dev/null +++ b/backend/directus-config/snapshot/relations/attestations_directus_users/directus_users_id.json @@ -0,0 +1,25 @@ +{ + "collection": "attestations_directus_users", + "field": "directus_users_id", + "related_collection": "directus_users", + "meta": { + "junction_field": "attestations_id", + "many_collection": "attestations_directus_users", + "many_field": "directus_users_id", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "attestations_directus_users", + "column": "directus_users_id", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "attestations_directus_users_directus_users_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/contactInfos/user_created.json b/backend/directus-config/snapshot/relations/contactInfos/user_created.json new file mode 100644 index 00000000..89d27a43 --- /dev/null +++ b/backend/directus-config/snapshot/relations/contactInfos/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "contactInfos", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "contactInfos", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "contactInfos", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "contactinfos_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/contactInfos/user_updated.json b/backend/directus-config/snapshot/relations/contactInfos/user_updated.json new file mode 100644 index 00000000..b685c6d9 --- /dev/null +++ b/backend/directus-config/snapshot/relations/contactInfos/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "contactInfos", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "contactInfos", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "contactInfos", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "contactinfos_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/crowdfundings/user_created.json b/backend/directus-config/snapshot/relations/crowdfundings/user_created.json new file mode 100644 index 00000000..7295bea4 --- /dev/null +++ b/backend/directus-config/snapshot/relations/crowdfundings/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "crowdfundings", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "crowdfundings", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "crowdfundings", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "crowdfundings_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/crowdfundings/user_updated.json b/backend/directus-config/snapshot/relations/crowdfundings/user_updated.json new file mode 100644 index 00000000..fd6b9b14 --- /dev/null +++ b/backend/directus-config/snapshot/relations/crowdfundings/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "crowdfundings", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "crowdfundings", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "crowdfundings", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "crowdfundings_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/features/user_created.json b/backend/directus-config/snapshot/relations/features/user_created.json new file mode 100644 index 00000000..22733496 --- /dev/null +++ b/backend/directus-config/snapshot/relations/features/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "features", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "features", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "features", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "features_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/features/user_updated.json b/backend/directus-config/snapshot/relations/features/user_updated.json new file mode 100644 index 00000000..59e334c0 --- /dev/null +++ b/backend/directus-config/snapshot/relations/features/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "features", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "features", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "features", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "features_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/gallery/user_created.json b/backend/directus-config/snapshot/relations/gallery/user_created.json new file mode 100644 index 00000000..64bba154 --- /dev/null +++ b/backend/directus-config/snapshot/relations/gallery/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "gallery", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "gallery", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "gallery", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "gallery_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/gallery/user_updated.json b/backend/directus-config/snapshot/relations/gallery/user_updated.json new file mode 100644 index 00000000..bfaad920 --- /dev/null +++ b/backend/directus-config/snapshot/relations/gallery/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "gallery", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "gallery", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "gallery", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "gallery_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/groupSubheaders/user_created.json b/backend/directus-config/snapshot/relations/groupSubheaders/user_created.json new file mode 100644 index 00000000..3a600fdc --- /dev/null +++ b/backend/directus-config/snapshot/relations/groupSubheaders/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "groupSubheaders", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "groupSubheaders", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "groupSubheaders", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "groupsubheaders_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/groupSubheaders/user_updated.json b/backend/directus-config/snapshot/relations/groupSubheaders/user_updated.json new file mode 100644 index 00000000..0b560957 --- /dev/null +++ b/backend/directus-config/snapshot/relations/groupSubheaders/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "groupSubheaders", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "groupSubheaders", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "groupSubheaders", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "groupsubheaders_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/groupSubheaders_groupTypes/groupSubheaders_id.json b/backend/directus-config/snapshot/relations/groupSubheaders_groupTypes/groupSubheaders_id.json new file mode 100644 index 00000000..89faace2 --- /dev/null +++ b/backend/directus-config/snapshot/relations/groupSubheaders_groupTypes/groupSubheaders_id.json @@ -0,0 +1,25 @@ +{ + "collection": "groupSubheaders_groupTypes", + "field": "groupSubheaders_id", + "related_collection": "groupSubheaders", + "meta": { + "junction_field": "groupTypes_id", + "many_collection": "groupSubheaders_groupTypes", + "many_field": "groupSubheaders_id", + "one_allowed_collections": null, + "one_collection": "groupSubheaders", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "groupTypes", + "sort_field": null + }, + "schema": { + "table": "groupSubheaders_groupTypes", + "column": "groupSubheaders_id", + "foreign_key_table": "groupSubheaders", + "foreign_key_column": "id", + "constraint_name": "groupsubheaders_grouptypes_groupsubheaders_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/groupSubheaders_groupTypes/groupTypes_id.json b/backend/directus-config/snapshot/relations/groupSubheaders_groupTypes/groupTypes_id.json new file mode 100644 index 00000000..8a4ed4cc --- /dev/null +++ b/backend/directus-config/snapshot/relations/groupSubheaders_groupTypes/groupTypes_id.json @@ -0,0 +1,25 @@ +{ + "collection": "groupSubheaders_groupTypes", + "field": "groupTypes_id", + "related_collection": "groupTypes", + "meta": { + "junction_field": "groupSubheaders_id", + "many_collection": "groupSubheaders_groupTypes", + "many_field": "groupTypes_id", + "one_allowed_collections": null, + "one_collection": "groupTypes", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "groupSubheaders_groupTypes", + "column": "groupTypes_id", + "foreign_key_table": "groupTypes", + "foreign_key_column": "id", + "constraint_name": "groupsubheaders_grouptypes_grouptypes_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/groupTypes/image.json b/backend/directus-config/snapshot/relations/groupTypes/image.json new file mode 100644 index 00000000..83a3fd90 --- /dev/null +++ b/backend/directus-config/snapshot/relations/groupTypes/image.json @@ -0,0 +1,25 @@ +{ + "collection": "groupTypes", + "field": "image", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "groupTypes", + "many_field": "image", + "one_allowed_collections": null, + "one_collection": "directus_files", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "groupTypes", + "column": "image", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "grouptypes_image_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/groupTypes/markerIcon.json b/backend/directus-config/snapshot/relations/groupTypes/markerIcon.json new file mode 100644 index 00000000..7e0b8d48 --- /dev/null +++ b/backend/directus-config/snapshot/relations/groupTypes/markerIcon.json @@ -0,0 +1,25 @@ +{ + "collection": "groupTypes", + "field": "markerIcon", + "related_collection": "marker_icons", + "meta": { + "junction_field": null, + "many_collection": "groupTypes", + "many_field": "markerIcon", + "one_allowed_collections": null, + "one_collection": "marker_icons", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "groupTypes", + "column": "markerIcon", + "foreign_key_table": "marker_icons", + "foreign_key_column": "id", + "constraint_name": "grouptypes_markericon_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/groupTypes/user_created.json b/backend/directus-config/snapshot/relations/groupTypes/user_created.json new file mode 100644 index 00000000..120cb6aa --- /dev/null +++ b/backend/directus-config/snapshot/relations/groupTypes/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "groupTypes", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "groupTypes", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "groupTypes", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "grouptypes_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/groupTypes/user_updated.json b/backend/directus-config/snapshot/relations/groupTypes/user_updated.json new file mode 100644 index 00000000..ec86c917 --- /dev/null +++ b/backend/directus-config/snapshot/relations/groupTypes/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "groupTypes", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "groupTypes", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "groupTypes", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "grouptypes_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/inviteLinks/user_created.json b/backend/directus-config/snapshot/relations/inviteLinks/user_created.json new file mode 100644 index 00000000..df55b917 --- /dev/null +++ b/backend/directus-config/snapshot/relations/inviteLinks/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "inviteLinks", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "inviteLinks", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "inviteLinks", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "invitelinks_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/inviteLinks/user_updated.json b/backend/directus-config/snapshot/relations/inviteLinks/user_updated.json new file mode 100644 index 00000000..16dbcc22 --- /dev/null +++ b/backend/directus-config/snapshot/relations/inviteLinks/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "inviteLinks", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "inviteLinks", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "inviteLinks", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "invitelinks_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/itemSecrets/item.json b/backend/directus-config/snapshot/relations/itemSecrets/item.json new file mode 100644 index 00000000..9634a677 --- /dev/null +++ b/backend/directus-config/snapshot/relations/itemSecrets/item.json @@ -0,0 +1,25 @@ +{ + "collection": "itemSecrets", + "field": "item", + "related_collection": "items", + "meta": { + "junction_field": null, + "many_collection": "itemSecrets", + "many_field": "item", + "one_allowed_collections": null, + "one_collection": "items", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "secrets", + "sort_field": null + }, + "schema": { + "table": "itemSecrets", + "column": "item", + "foreign_key_table": "items", + "foreign_key_column": "id", + "constraint_name": "itemsecrets_item_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/items/image.json b/backend/directus-config/snapshot/relations/items/image.json new file mode 100644 index 00000000..812c248a --- /dev/null +++ b/backend/directus-config/snapshot/relations/items/image.json @@ -0,0 +1,25 @@ +{ + "collection": "items", + "field": "image", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "items", + "many_field": "image", + "one_allowed_collections": null, + "one_collection": "directus_files", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "items", + "column": "image", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "items_image_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/items/layer.json b/backend/directus-config/snapshot/relations/items/layer.json new file mode 100644 index 00000000..c7561107 --- /dev/null +++ b/backend/directus-config/snapshot/relations/items/layer.json @@ -0,0 +1,25 @@ +{ + "collection": "items", + "field": "layer", + "related_collection": "layers", + "meta": { + "junction_field": null, + "many_collection": "items", + "many_field": "layer", + "one_allowed_collections": null, + "one_collection": "layers", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "items", + "column": "layer", + "foreign_key_table": "layers", + "foreign_key_column": "id", + "constraint_name": "items_layer_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/items/markerIcon.json b/backend/directus-config/snapshot/relations/items/markerIcon.json new file mode 100644 index 00000000..ccb1a6a9 --- /dev/null +++ b/backend/directus-config/snapshot/relations/items/markerIcon.json @@ -0,0 +1,25 @@ +{ + "collection": "items", + "field": "markerIcon", + "related_collection": "marker_icons", + "meta": { + "junction_field": null, + "many_collection": "items", + "many_field": "markerIcon", + "one_allowed_collections": null, + "one_collection": "marker_icons", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "items", + "column": "markerIcon", + "foreign_key_table": "marker_icons", + "foreign_key_column": "id", + "constraint_name": "items_markericon_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/items/parent.json b/backend/directus-config/snapshot/relations/items/parent.json new file mode 100644 index 00000000..ba7107e1 --- /dev/null +++ b/backend/directus-config/snapshot/relations/items/parent.json @@ -0,0 +1,25 @@ +{ + "collection": "items", + "field": "parent", + "related_collection": "items", + "meta": { + "junction_field": null, + "many_collection": "items", + "many_field": "parent", + "one_allowed_collections": null, + "one_collection": "items", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "items", + "column": "parent", + "foreign_key_table": "items", + "foreign_key_column": "id", + "constraint_name": "items_parent_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/items/user_created.json b/backend/directus-config/snapshot/relations/items/user_created.json new file mode 100644 index 00000000..0dd628e8 --- /dev/null +++ b/backend/directus-config/snapshot/relations/items/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "items", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "items", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "items", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "items_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/items/user_updated.json b/backend/directus-config/snapshot/relations/items/user_updated.json new file mode 100644 index 00000000..2e951aa3 --- /dev/null +++ b/backend/directus-config/snapshot/relations/items/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "items", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "items", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "items", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "items_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/items_files/directus_files_id.json b/backend/directus-config/snapshot/relations/items_files/directus_files_id.json new file mode 100644 index 00000000..a57e4e1b --- /dev/null +++ b/backend/directus-config/snapshot/relations/items_files/directus_files_id.json @@ -0,0 +1,25 @@ +{ + "collection": "items_files", + "field": "directus_files_id", + "related_collection": "directus_files", + "meta": { + "junction_field": "items_id", + "many_collection": "items_files", + "many_field": "directus_files_id", + "one_allowed_collections": null, + "one_collection": "directus_files", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "items_files", + "column": "directus_files_id", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "items_files_directus_files_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/items_files/items_id.json b/backend/directus-config/snapshot/relations/items_files/items_id.json new file mode 100644 index 00000000..761da272 --- /dev/null +++ b/backend/directus-config/snapshot/relations/items_files/items_id.json @@ -0,0 +1,25 @@ +{ + "collection": "items_files", + "field": "items_id", + "related_collection": "items", + "meta": { + "junction_field": "directus_files_id", + "many_collection": "items_files", + "many_field": "items_id", + "one_allowed_collections": null, + "one_collection": "items", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "gallery", + "sort_field": null + }, + "schema": { + "table": "items_files", + "column": "items_id", + "foreign_key_table": "items", + "foreign_key_column": "id", + "constraint_name": "items_files_items_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/items_items/items_id.json b/backend/directus-config/snapshot/relations/items_items/items_id.json new file mode 100644 index 00000000..81b237cc --- /dev/null +++ b/backend/directus-config/snapshot/relations/items_items/items_id.json @@ -0,0 +1,25 @@ +{ + "collection": "items_items", + "field": "items_id", + "related_collection": "items", + "meta": { + "junction_field": "related_items_id", + "many_collection": "items_items", + "many_field": "items_id", + "one_allowed_collections": null, + "one_collection": "items", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "relations", + "sort_field": null + }, + "schema": { + "table": "items_items", + "column": "items_id", + "foreign_key_table": "items", + "foreign_key_column": "id", + "constraint_name": "items_items_items_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/items_items/related_items_id.json b/backend/directus-config/snapshot/relations/items_items/related_items_id.json new file mode 100644 index 00000000..8dfc8de8 --- /dev/null +++ b/backend/directus-config/snapshot/relations/items_items/related_items_id.json @@ -0,0 +1,25 @@ +{ + "collection": "items_items", + "field": "related_items_id", + "related_collection": "items", + "meta": { + "junction_field": "items_id", + "many_collection": "items_items", + "many_field": "related_items_id", + "one_allowed_collections": null, + "one_collection": "items", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "items_items", + "column": "related_items_id", + "foreign_key_table": "items", + "foreign_key_column": "id", + "constraint_name": "items_items_related_items_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/items_tags/items_id.json b/backend/directus-config/snapshot/relations/items_tags/items_id.json new file mode 100644 index 00000000..5cb45b0e --- /dev/null +++ b/backend/directus-config/snapshot/relations/items_tags/items_id.json @@ -0,0 +1,25 @@ +{ + "collection": "items_tags", + "field": "items_id", + "related_collection": "items", + "meta": { + "junction_field": "tags_id", + "many_collection": "items_tags", + "many_field": "items_id", + "one_allowed_collections": null, + "one_collection": "items", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "offers", + "sort_field": null + }, + "schema": { + "table": "items_tags", + "column": "items_id", + "foreign_key_table": "items", + "foreign_key_column": "id", + "constraint_name": "items_tags_items_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/items_tags/tags_id.json b/backend/directus-config/snapshot/relations/items_tags/tags_id.json new file mode 100644 index 00000000..fd948427 --- /dev/null +++ b/backend/directus-config/snapshot/relations/items_tags/tags_id.json @@ -0,0 +1,25 @@ +{ + "collection": "items_tags", + "field": "tags_id", + "related_collection": "tags", + "meta": { + "junction_field": "items_id", + "many_collection": "items_tags", + "many_field": "tags_id", + "one_allowed_collections": null, + "one_collection": "tags", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "items_tags", + "column": "tags_id", + "foreign_key_table": "tags", + "foreign_key_column": "id", + "constraint_name": "items_tags_tags_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/items_tags_1/items_id.json b/backend/directus-config/snapshot/relations/items_tags_1/items_id.json new file mode 100644 index 00000000..5e109a0e --- /dev/null +++ b/backend/directus-config/snapshot/relations/items_tags_1/items_id.json @@ -0,0 +1,25 @@ +{ + "collection": "items_tags_1", + "field": "items_id", + "related_collection": "items", + "meta": { + "junction_field": "tags_id", + "many_collection": "items_tags_1", + "many_field": "items_id", + "one_allowed_collections": null, + "one_collection": "items", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "needs", + "sort_field": null + }, + "schema": { + "table": "items_tags_1", + "column": "items_id", + "foreign_key_table": "items", + "foreign_key_column": "id", + "constraint_name": "items_tags_1_items_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/items_tags_1/tags_id.json b/backend/directus-config/snapshot/relations/items_tags_1/tags_id.json new file mode 100644 index 00000000..80d91059 --- /dev/null +++ b/backend/directus-config/snapshot/relations/items_tags_1/tags_id.json @@ -0,0 +1,25 @@ +{ + "collection": "items_tags_1", + "field": "tags_id", + "related_collection": "tags", + "meta": { + "junction_field": "items_id", + "many_collection": "items_tags_1", + "many_field": "tags_id", + "one_allowed_collections": null, + "one_collection": "tags", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "items_tags_1", + "column": "tags_id", + "foreign_key_table": "tags", + "foreign_key_column": "id", + "constraint_name": "items_tags_1_tags_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/junction_directus_users_tags/directus_users_id.json b/backend/directus-config/snapshot/relations/junction_directus_users_tags/directus_users_id.json new file mode 100644 index 00000000..3ff944dc --- /dev/null +++ b/backend/directus-config/snapshot/relations/junction_directus_users_tags/directus_users_id.json @@ -0,0 +1,25 @@ +{ + "collection": "junction_directus_users_tags", + "field": "directus_users_id", + "related_collection": "directus_users", + "meta": { + "junction_field": "tags_id", + "many_collection": "junction_directus_users_tags", + "many_field": "directus_users_id", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "junction_directus_users_tags", + "column": "directus_users_id", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "junction_directus_users_tags_directus_users_id_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } +} diff --git a/backend/directus-config/snapshot/relations/junction_directus_users_tags/tags_id.json b/backend/directus-config/snapshot/relations/junction_directus_users_tags/tags_id.json new file mode 100644 index 00000000..2a60a984 --- /dev/null +++ b/backend/directus-config/snapshot/relations/junction_directus_users_tags/tags_id.json @@ -0,0 +1,25 @@ +{ + "collection": "junction_directus_users_tags", + "field": "tags_id", + "related_collection": "tags", + "meta": { + "junction_field": "directus_users_id", + "many_collection": "junction_directus_users_tags", + "many_field": "tags_id", + "one_allowed_collections": null, + "one_collection": "tags", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "junction_directus_users_tags", + "column": "tags_id", + "foreign_key_table": "tags", + "foreign_key_column": "id", + "constraint_name": "junction_directus_users_tags_tags_id_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } +} diff --git a/backend/directus-config/snapshot/relations/junction_directus_users_tags_1/directus_users_id.json b/backend/directus-config/snapshot/relations/junction_directus_users_tags_1/directus_users_id.json new file mode 100644 index 00000000..cbffa967 --- /dev/null +++ b/backend/directus-config/snapshot/relations/junction_directus_users_tags_1/directus_users_id.json @@ -0,0 +1,25 @@ +{ + "collection": "junction_directus_users_tags_1", + "field": "directus_users_id", + "related_collection": "directus_users", + "meta": { + "junction_field": "tags_id", + "many_collection": "junction_directus_users_tags_1", + "many_field": "directus_users_id", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "junction_directus_users_tags_1", + "column": "directus_users_id", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "junction_directus_users_tags_1_directus_users_id_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } +} diff --git a/backend/directus-config/snapshot/relations/junction_directus_users_tags_1/tags_id.json b/backend/directus-config/snapshot/relations/junction_directus_users_tags_1/tags_id.json new file mode 100644 index 00000000..ceb8704b --- /dev/null +++ b/backend/directus-config/snapshot/relations/junction_directus_users_tags_1/tags_id.json @@ -0,0 +1,25 @@ +{ + "collection": "junction_directus_users_tags_1", + "field": "tags_id", + "related_collection": "tags", + "meta": { + "junction_field": "directus_users_id", + "many_collection": "junction_directus_users_tags_1", + "many_field": "tags_id", + "one_allowed_collections": null, + "one_collection": "tags", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "junction_directus_users_tags_1", + "column": "tags_id", + "foreign_key_table": "tags", + "foreign_key_column": "id", + "constraint_name": "junction_directus_users_tags_1_tags_id_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } +} diff --git a/backend/directus-config/snapshot/relations/layers/indexIcon.json b/backend/directus-config/snapshot/relations/layers/indexIcon.json new file mode 100644 index 00000000..9b00d8cc --- /dev/null +++ b/backend/directus-config/snapshot/relations/layers/indexIcon.json @@ -0,0 +1,25 @@ +{ + "collection": "layers", + "field": "indexIcon", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "layers", + "many_field": "indexIcon", + "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": "indexIcon", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "layers_indexicon_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/layers/itemType.json b/backend/directus-config/snapshot/relations/layers/itemType.json new file mode 100644 index 00000000..74cca1b3 --- /dev/null +++ b/backend/directus-config/snapshot/relations/layers/itemType.json @@ -0,0 +1,25 @@ +{ + "collection": "layers", + "field": "itemType", + "related_collection": "types", + "meta": { + "junction_field": null, + "many_collection": "layers", + "many_field": "itemType", + "one_allowed_collections": null, + "one_collection": "types", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "layers", + "column": "itemType", + "foreign_key_table": "types", + "foreign_key_column": "id", + "constraint_name": "layers_itemtype_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/layers/markerIcon.json b/backend/directus-config/snapshot/relations/layers/markerIcon.json new file mode 100644 index 00000000..8bb1092d --- /dev/null +++ b/backend/directus-config/snapshot/relations/layers/markerIcon.json @@ -0,0 +1,25 @@ +{ + "collection": "layers", + "field": "markerIcon", + "related_collection": "marker_icons", + "meta": { + "junction_field": null, + "many_collection": "layers", + "many_field": "markerIcon", + "one_allowed_collections": null, + "one_collection": "marker_icons", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "layers", + "column": "markerIcon", + "foreign_key_table": "marker_icons", + "foreign_key_column": "id", + "constraint_name": "layers_markericon_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/layers/menuIcon.json b/backend/directus-config/snapshot/relations/layers/menuIcon.json new file mode 100644 index 00000000..facd048b --- /dev/null +++ b/backend/directus-config/snapshot/relations/layers/menuIcon.json @@ -0,0 +1,25 @@ +{ + "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/directus-config/snapshot/relations/layers_directus_users_1/directus_users_id.json b/backend/directus-config/snapshot/relations/layers_directus_users_1/directus_users_id.json new file mode 100644 index 00000000..fce3108b --- /dev/null +++ b/backend/directus-config/snapshot/relations/layers_directus_users_1/directus_users_id.json @@ -0,0 +1,25 @@ +{ + "collection": "layers_directus_users_1", + "field": "directus_users_id", + "related_collection": "directus_users", + "meta": { + "junction_field": "layers_id", + "many_collection": "layers_directus_users_1", + "many_field": "directus_users_id", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "notifications", + "sort_field": null + }, + "schema": { + "table": "layers_directus_users_1", + "column": "directus_users_id", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "layers_directus_users_1_directus_users_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/layers_directus_users_1/layers_id.json b/backend/directus-config/snapshot/relations/layers_directus_users_1/layers_id.json new file mode 100644 index 00000000..a7463316 --- /dev/null +++ b/backend/directus-config/snapshot/relations/layers_directus_users_1/layers_id.json @@ -0,0 +1,25 @@ +{ + "collection": "layers_directus_users_1", + "field": "layers_id", + "related_collection": "layers", + "meta": { + "junction_field": "directus_users_id", + "many_collection": "layers_directus_users_1", + "many_field": "layers_id", + "one_allowed_collections": null, + "one_collection": "layers", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "notifications", + "sort_field": null + }, + "schema": { + "table": "layers_directus_users_1", + "column": "layers_id", + "foreign_key_table": "layers", + "foreign_key_column": "id", + "constraint_name": "layers_directus_users_1_layers_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/layers_files/directus_files_id.json b/backend/directus-config/snapshot/relations/layers_files/directus_files_id.json new file mode 100644 index 00000000..9703467b --- /dev/null +++ b/backend/directus-config/snapshot/relations/layers_files/directus_files_id.json @@ -0,0 +1,25 @@ +{ + "collection": "layers_files", + "field": "directus_files_id", + "related_collection": "directus_files", + "meta": { + "junction_field": "layers_id", + "many_collection": "layers_files", + "many_field": "directus_files_id", + "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_files", + "column": "directus_files_id", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "layers_files_directus_files_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/layers_files/layers_id.json b/backend/directus-config/snapshot/relations/layers_files/layers_id.json new file mode 100644 index 00000000..9b0c7fcf --- /dev/null +++ b/backend/directus-config/snapshot/relations/layers_files/layers_id.json @@ -0,0 +1,25 @@ +{ + "collection": "layers_files", + "field": "layers_id", + "related_collection": "layers", + "meta": { + "junction_field": "directus_files_id", + "many_collection": "layers_files", + "many_field": "layers_id", + "one_allowed_collections": null, + "one_collection": "layers", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "layers_files", + "column": "layers_id", + "foreign_key_table": "layers", + "foreign_key_column": "id", + "constraint_name": "layers_files_layers_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/layers_maps/layers_id.json b/backend/directus-config/snapshot/relations/layers_maps/layers_id.json new file mode 100644 index 00000000..b9ab6bce --- /dev/null +++ b/backend/directus-config/snapshot/relations/layers_maps/layers_id.json @@ -0,0 +1,25 @@ +{ + "collection": "layers_maps", + "field": "layers_id", + "related_collection": "layers", + "meta": { + "junction_field": "maps_id", + "many_collection": "layers_maps", + "many_field": "layers_id", + "one_allowed_collections": null, + "one_collection": "layers", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "maps", + "sort_field": null + }, + "schema": { + "table": "layers_maps", + "column": "layers_id", + "foreign_key_table": "layers", + "foreign_key_column": "id", + "constraint_name": "layers_maps_layers_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/layers_maps/maps_id.json b/backend/directus-config/snapshot/relations/layers_maps/maps_id.json new file mode 100644 index 00000000..4ea82e85 --- /dev/null +++ b/backend/directus-config/snapshot/relations/layers_maps/maps_id.json @@ -0,0 +1,25 @@ +{ + "collection": "layers_maps", + "field": "maps_id", + "related_collection": "maps", + "meta": { + "junction_field": "layers_id", + "many_collection": "layers_maps", + "many_field": "maps_id", + "one_allowed_collections": null, + "one_collection": "maps", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "layers", + "sort_field": null + }, + "schema": { + "table": "layers_maps", + "column": "maps_id", + "foreign_key_table": "maps", + "foreign_key_column": "id", + "constraint_name": "layers_maps_maps_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/maps/default_theme.json b/backend/directus-config/snapshot/relations/maps/default_theme.json new file mode 100644 index 00000000..75a573d0 --- /dev/null +++ b/backend/directus-config/snapshot/relations/maps/default_theme.json @@ -0,0 +1,25 @@ +{ + "collection": "maps", + "field": "default_theme", + "related_collection": "Themes", + "meta": { + "junction_field": null, + "many_collection": "maps", + "many_field": "default_theme", + "one_allowed_collections": null, + "one_collection": "Themes", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "maps", + "column": "default_theme", + "foreign_key_table": "Themes", + "foreign_key_column": "theme", + "constraint_name": "maps_default_theme_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/maps/logo.json b/backend/directus-config/snapshot/relations/maps/logo.json new file mode 100644 index 00000000..e33373e9 --- /dev/null +++ b/backend/directus-config/snapshot/relations/maps/logo.json @@ -0,0 +1,25 @@ +{ + "collection": "maps", + "field": "logo", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "maps", + "many_field": "logo", + "one_allowed_collections": null, + "one_collection": "directus_files", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "maps", + "column": "logo", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "maps_logo_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/maps/user_type.json b/backend/directus-config/snapshot/relations/maps/user_type.json new file mode 100644 index 00000000..c28588fc --- /dev/null +++ b/backend/directus-config/snapshot/relations/maps/user_type.json @@ -0,0 +1,25 @@ +{ + "collection": "maps", + "field": "user_type", + "related_collection": "types", + "meta": { + "junction_field": null, + "many_collection": "maps", + "many_field": "user_type", + "one_allowed_collections": null, + "one_collection": "types", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "maps", + "column": "user_type", + "foreign_key_table": "types", + "foreign_key_column": "id", + "constraint_name": "maps_user_type_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/marker_icons/image.json b/backend/directus-config/snapshot/relations/marker_icons/image.json new file mode 100644 index 00000000..af4c759a --- /dev/null +++ b/backend/directus-config/snapshot/relations/marker_icons/image.json @@ -0,0 +1,25 @@ +{ + "collection": "marker_icons", + "field": "image", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "marker_icons", + "many_field": "image", + "one_allowed_collections": null, + "one_collection": "directus_files", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "marker_icons", + "column": "image", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "marker_icons_image_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/snapshot/relations/startEnd/user_created.json new file mode 100644 index 00000000..96482ce7 --- /dev/null +++ b/backend/directus-config/snapshot/relations/startEnd/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "startEnd", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "startEnd", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "startEnd", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "startend_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/startEnd/user_updated.json b/backend/directus-config/snapshot/relations/startEnd/user_updated.json new file mode 100644 index 00000000..09613ce6 --- /dev/null +++ b/backend/directus-config/snapshot/relations/startEnd/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "startEnd", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "startEnd", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "startEnd", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "startend_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/tags/map.json b/backend/directus-config/snapshot/relations/tags/map.json new file mode 100644 index 00000000..80ad47c5 --- /dev/null +++ b/backend/directus-config/snapshot/relations/tags/map.json @@ -0,0 +1,25 @@ +{ + "collection": "tags", + "field": "map", + "related_collection": "maps", + "meta": { + "junction_field": null, + "many_collection": "tags", + "many_field": "map", + "one_allowed_collections": null, + "one_collection": "maps", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "tags", + "column": "map", + "foreign_key_table": "maps", + "foreign_key_column": "id", + "constraint_name": "tags_map_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/team/image.json b/backend/directus-config/snapshot/relations/team/image.json new file mode 100644 index 00000000..3b1fae87 --- /dev/null +++ b/backend/directus-config/snapshot/relations/team/image.json @@ -0,0 +1,25 @@ +{ + "collection": "team", + "field": "image", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "team", + "many_field": "image", + "one_allowed_collections": null, + "one_collection": "directus_files", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "team", + "column": "image", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "team_image_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/snapshot/relations/team/user_created.json b/backend/directus-config/snapshot/relations/team/user_created.json new file mode 100644 index 00000000..0c2334a0 --- /dev/null +++ b/backend/directus-config/snapshot/relations/team/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "team", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "team", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "team", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "team_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/team/user_updated.json b/backend/directus-config/snapshot/relations/team/user_updated.json new file mode 100644 index 00000000..872cdca6 --- /dev/null +++ b/backend/directus-config/snapshot/relations/team/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "team", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "team", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "team", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "team_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/texts/user_created.json b/backend/directus-config/snapshot/relations/texts/user_created.json new file mode 100644 index 00000000..461a4cf6 --- /dev/null +++ b/backend/directus-config/snapshot/relations/texts/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "texts", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "texts", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "texts", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "texts_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/texts/user_updated.json b/backend/directus-config/snapshot/relations/texts/user_updated.json new file mode 100644 index 00000000..37f75ae6 --- /dev/null +++ b/backend/directus-config/snapshot/relations/texts/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "texts", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "texts", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "texts", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "texts_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/types/user_created.json b/backend/directus-config/snapshot/relations/types/user_created.json new file mode 100644 index 00000000..27961e18 --- /dev/null +++ b/backend/directus-config/snapshot/relations/types/user_created.json @@ -0,0 +1,25 @@ +{ + "collection": "types", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "types", + "many_field": "user_created", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "types", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "types_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/types/user_updated.json b/backend/directus-config/snapshot/relations/types/user_updated.json new file mode 100644 index 00000000..4f1cb598 --- /dev/null +++ b/backend/directus-config/snapshot/relations/types/user_updated.json @@ -0,0 +1,25 @@ +{ + "collection": "types", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "types", + "many_field": "user_updated", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "types", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "types_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } +} diff --git a/backend/directus-config/snapshot/relations/types_profileTemplate/item.json b/backend/directus-config/snapshot/relations/types_profileTemplate/item.json new file mode 100644 index 00000000..2029ab84 --- /dev/null +++ b/backend/directus-config/snapshot/relations/types_profileTemplate/item.json @@ -0,0 +1,25 @@ +{ + "collection": "types_profileTemplate", + "field": "item", + "related_collection": null, + "meta": { + "junction_field": "types_id", + "many_collection": "types_profileTemplate", + "many_field": "item", + "one_allowed_collections": [ + "groupSubheaders", + "contactInfos", + "texts", + "startEnd", + "gallery", + "crowdfundings", + "inviteLinks", + "relations" + ], + "one_collection": null, + "one_collection_field": "collection", + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + } +} diff --git a/backend/directus-config/snapshot/relations/types_profileTemplate/types_id.json b/backend/directus-config/snapshot/relations/types_profileTemplate/types_id.json new file mode 100644 index 00000000..579f78b1 --- /dev/null +++ b/backend/directus-config/snapshot/relations/types_profileTemplate/types_id.json @@ -0,0 +1,25 @@ +{ + "collection": "types_profileTemplate", + "field": "types_id", + "related_collection": "types", + "meta": { + "junction_field": "item", + "many_collection": "types_profileTemplate", + "many_field": "types_id", + "one_allowed_collections": null, + "one_collection": "types", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "profileTemplate", + "sort_field": "sort" + }, + "schema": { + "table": "types_profileTemplate", + "column": "types_id", + "foreign_key_table": "types", + "foreign_key_column": "id", + "constraint_name": "types_profiletemplate_types_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } +} diff --git a/backend/directus-config/specs/item.graphql b/backend/directus-config/specs/item.graphql index 81990647..bf63f0ed 100644 --- a/backend/directus-config/specs/item.graphql +++ b/backend/directus-config/specs/item.graphql @@ -1,32 +1,439 @@ type Query { - """There's no data to query.""" - _empty: Void + contactInfos(filter: contactInfos_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [contactInfos!]! + contactInfos_by_id(id: ID!, version: String): contactInfos + contactInfos_aggregated(groupBy: [String], filter: contactInfos_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [contactInfos_aggregated!]! + contactInfos_by_version(version: String!, id: ID!): version_contactInfos + crowdfundings(filter: crowdfundings_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [crowdfundings!]! + crowdfundings_by_id(id: ID!, version: String): crowdfundings + crowdfundings_aggregated(groupBy: [String], filter: crowdfundings_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [crowdfundings_aggregated!]! + crowdfundings_by_version(version: String!, id: ID!): version_crowdfundings + Themes(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [Themes!]! + Themes_by_id(id: ID!, version: String): Themes + Themes_aggregated(groupBy: [String], filter: Themes_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [Themes_aggregated!]! + Themes_by_version(version: String!, id: ID!): version_Themes + 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!]! + attestations_by_version(version: String!, id: ID!): version_attestations + items_items(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_items!]! + items_items_by_id(id: ID!, version: String): items_items + items_items_aggregated(groupBy: [String], filter: items_items_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_items_aggregated!]! + items_items_by_version(version: String!, id: ID!): version_items_items + gallery(filter: gallery_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [gallery!]! + gallery_by_id(id: ID!, version: String): gallery + gallery_aggregated(groupBy: [String], filter: gallery_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [gallery_aggregated!]! + gallery_by_version(version: String!, id: ID!): version_gallery + groupSubheaders(filter: groupSubheaders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [groupSubheaders!]! + groupSubheaders_by_id(id: ID!, version: String): groupSubheaders + groupSubheaders_aggregated(groupBy: [String], filter: groupSubheaders_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [groupSubheaders_aggregated!]! + groupSubheaders_by_version(version: String!, id: ID!): version_groupSubheaders + groupTypes(filter: groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [groupTypes!]! + 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 + 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!]! + inviteLinks_by_version(version: String!, id: ID!): version_inviteLinks + items_files(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_files!]! + items_files_by_id(id: ID!, version: String): items_files + items_files_aggregated(groupBy: [String], filter: items_files_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_files_aggregated!]! + items_files_by_version(version: String!, id: ID!): version_items_files + items(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items!]! + items_by_id(id: ID!, version: String): items + items_aggregated(groupBy: [String], filter: items_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_aggregated!]! + items_by_version(version: String!, id: ID!): version_items + junction_directus_users_tags_1(filter: junction_directus_users_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [junction_directus_users_tags_1!]! + junction_directus_users_tags_1_by_id(id: ID!, version: String): junction_directus_users_tags_1 + junction_directus_users_tags_1_aggregated(groupBy: [String], filter: junction_directus_users_tags_1_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [junction_directus_users_tags_1_aggregated!]! + junction_directus_users_tags_1_by_version(version: String!, id: ID!): version_junction_directus_users_tags_1 + layers(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers!]! + layers_by_id(id: ID!, version: String): layers + layers_aggregated(groupBy: [String], filter: layers_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [layers_aggregated!]! + layers_by_version(version: String!, id: ID!): version_layers + items_tags_1(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags_1!]! + items_tags_1_by_id(id: ID!, version: String): items_tags_1 + items_tags_1_aggregated(groupBy: [String], filter: items_tags_1_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_tags_1_aggregated!]! + items_tags_1_by_version(version: String!, id: ID!): version_items_tags_1 + itemSecrets(filter: itemSecrets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [itemSecrets!]! + itemSecrets_by_id(id: ID!, version: String): itemSecrets + itemSecrets_aggregated(groupBy: [String], filter: itemSecrets_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [itemSecrets_aggregated!]! + itemSecrets_by_version(version: String!, id: ID!): version_itemSecrets + items_tags(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags!]! + items_tags_by_id(id: ID!, version: String): items_tags + items_tags_aggregated(groupBy: [String], filter: items_tags_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_tags_aggregated!]! + items_tags_by_version(version: String!, id: ID!): version_items_tags + layers_directus_users_1(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_directus_users_1!]! + layers_directus_users_1_by_id(id: ID!, version: String): layers_directus_users_1 + layers_directus_users_1_aggregated(groupBy: [String], filter: layers_directus_users_1_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [layers_directus_users_1_aggregated!]! + layers_directus_users_1_by_version(version: String!, id: ID!): version_layers_directus_users_1 + junction_directus_users_tags(filter: junction_directus_users_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [junction_directus_users_tags!]! + junction_directus_users_tags_by_id(id: ID!, version: String): junction_directus_users_tags + junction_directus_users_tags_aggregated(groupBy: [String], filter: junction_directus_users_tags_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [junction_directus_users_tags_aggregated!]! + junction_directus_users_tags_by_version(version: String!, id: ID!): version_junction_directus_users_tags + layers_files(filter: layers_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_files!]! + layers_files_by_id(id: ID!, version: String): layers_files + layers_files_aggregated(groupBy: [String], filter: layers_files_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [layers_files_aggregated!]! + layers_files_by_version(version: String!, id: ID!): version_layers_files + layers_maps(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_maps!]! + layers_maps_by_id(id: ID!, version: String): layers_maps + layers_maps_aggregated(groupBy: [String], filter: layers_maps_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [layers_maps_aggregated!]! + layers_maps_by_version(version: String!, id: ID!): version_layers_maps + features(filter: features_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [features!]! + features_by_id(id: ID!, version: String): features + features_aggregated(groupBy: [String], filter: features_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [features_aggregated!]! + features_by_version(version: String!, id: ID!): version_features + startEnd(filter: startEnd_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [startEnd!]! + startEnd_by_id(id: ID!, version: String): startEnd + startEnd_aggregated(groupBy: [String], filter: startEnd_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [startEnd_aggregated!]! + startEnd_by_version(version: String!, id: ID!): version_startEnd + tags(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [tags!]! + tags_by_id(id: ID!, version: String): tags + tags_aggregated(groupBy: [String], filter: tags_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [tags_aggregated!]! + tags_by_version(version: String!, id: ID!): version_tags + 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 + relations(filter: relations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [relations!]! + 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 + team(filter: team_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [team!]! + team_by_id(id: ID!, version: String): team + team_aggregated(groupBy: [String], filter: team_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [team_aggregated!]! + team_by_version(version: String!, id: ID!): version_team + types(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [types!]! + types_by_id(id: ID!, version: String): types + types_aggregated(groupBy: [String], filter: types_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [types_aggregated!]! + types_by_version(version: String!, id: ID!): version_types + texts(filter: texts_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [texts!]! + texts_by_id(id: ID!, version: String): texts + texts_aggregated(groupBy: [String], filter: texts_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [texts_aggregated!]! + texts_by_version(version: String!, id: ID!): version_texts + maps(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [maps!]! + maps_by_id(id: ID!, version: String): maps + maps_aggregated(groupBy: [String], filter: maps_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [maps_aggregated!]! + maps_by_version(version: String!, id: ID!): version_maps + types_profileTemplate(filter: types_profileTemplate_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [types_profileTemplate!]! + types_profileTemplate_by_id(id: ID!, version: String): types_profileTemplate + types_profileTemplate_aggregated(groupBy: [String], filter: types_profileTemplate_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [types_profileTemplate_aggregated!]! + types_profileTemplate_by_version(version: String!, id: ID!): version_types_profileTemplate + attestations_directus_users(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [attestations_directus_users!]! + attestations_directus_users_by_id(id: ID!, version: String): attestations_directus_users + attestations_directus_users_aggregated(groupBy: [String], filter: attestations_directus_users_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [attestations_directus_users_aggregated!]! + attestations_directus_users_by_version(version: String!, id: ID!): version_attestations_directus_users + groupSubheaders_groupTypes(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [groupSubheaders_groupTypes!]! + groupSubheaders_groupTypes_by_id(id: ID!, version: String): groupSubheaders_groupTypes + groupSubheaders_groupTypes_aggregated(groupBy: [String], filter: groupSubheaders_groupTypes_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [groupSubheaders_groupTypes_aggregated!]! + groupSubheaders_groupTypes_by_version(version: String!, id: ID!): version_groupSubheaders_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 + directus_sync_id_map(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_sync_id_map!]! + directus_sync_id_map_by_id(id: ID!, version: String): directus_sync_id_map + directus_sync_id_map_aggregated(groupBy: [String], filter: directus_sync_id_map_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_sync_id_map_aggregated!]! + directus_sync_id_map_by_version(version: String!, id: ID!): version_directus_sync_id_map } -type Mutation +type Mutation { + create_contactInfos_items(filter: contactInfos_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_contactInfos_input!]): [contactInfos!]! + create_contactInfos_item(data: create_contactInfos_input!): contactInfos + create_crowdfundings_items(filter: crowdfundings_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_crowdfundings_input!]): [crowdfundings!]! + create_crowdfundings_item(data: create_crowdfundings_input!): crowdfundings + create_Themes_items(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_Themes_input!]): [Themes!]! + create_Themes_item(data: create_Themes_input!): Themes + 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_items_items_items(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_items_input!]): [items_items!]! + create_items_items_item(data: create_items_items_input!): items_items + create_gallery_items(filter: gallery_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_gallery_input!]): [gallery!]! + create_gallery_item(data: create_gallery_input!): gallery + create_groupSubheaders_items(filter: groupSubheaders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_groupSubheaders_input!]): [groupSubheaders!]! + create_groupSubheaders_item(data: create_groupSubheaders_input!): groupSubheaders + 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_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_files_items(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_files_input!]): [items_files!]! + create_items_files_item(data: create_items_files_input!): items_files + create_items_items(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_input!]): [items!]! + create_items_item(data: create_items_input!): items + create_junction_directus_users_tags_1_items(filter: junction_directus_users_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_junction_directus_users_tags_1_input!]): [junction_directus_users_tags_1!]! + create_junction_directus_users_tags_1_item(data: create_junction_directus_users_tags_1_input!): junction_directus_users_tags_1 + create_layers_items(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_layers_input!]): [layers!]! + create_layers_item(data: create_layers_input!): layers + create_items_tags_1_items(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_tags_1_input!]): [items_tags_1!]! + create_items_tags_1_item(data: create_items_tags_1_input!): items_tags_1 + create_itemSecrets_items(filter: itemSecrets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_itemSecrets_input!]): [itemSecrets!]! + create_itemSecrets_item(data: create_itemSecrets_input!): itemSecrets + create_items_tags_items(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_tags_input!]): [items_tags!]! + create_items_tags_item(data: create_items_tags_input!): items_tags + create_layers_directus_users_1_items(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_layers_directus_users_1_input!]): [layers_directus_users_1!]! + create_layers_directus_users_1_item(data: create_layers_directus_users_1_input!): layers_directus_users_1 + create_junction_directus_users_tags_items(filter: junction_directus_users_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_junction_directus_users_tags_input!]): [junction_directus_users_tags!]! + create_junction_directus_users_tags_item(data: create_junction_directus_users_tags_input!): junction_directus_users_tags + create_layers_files_items(filter: layers_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_layers_files_input!]): [layers_files!]! + create_layers_files_item(data: create_layers_files_input!): layers_files + create_layers_maps_items(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_layers_maps_input!]): [layers_maps!]! + create_layers_maps_item(data: create_layers_maps_input!): layers_maps + create_features_items(filter: features_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_features_input!]): [features!]! + create_features_item(data: create_features_input!): features + create_startEnd_items(filter: startEnd_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_startEnd_input!]): [startEnd!]! + create_startEnd_item(data: create_startEnd_input!): startEnd + create_tags_items(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_tags_input!]): [tags!]! + create_tags_item(data: create_tags_input!): tags + 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_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_team_items(filter: team_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_team_input!]): [team!]! + create_team_item(data: create_team_input!): team + create_types_items(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_types_input!]): [types!]! + create_types_item(data: create_types_input!): types + create_texts_items(filter: texts_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_texts_input!]): [texts!]! + create_texts_item(data: create_texts_input!): texts + create_maps_items(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_maps_input!]): [maps!]! + create_maps_item(data: create_maps_input!): maps + create_types_profileTemplate_items(filter: types_profileTemplate_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_types_profileTemplate_input!]): [types_profileTemplate!]! + create_types_profileTemplate_item(data: create_types_profileTemplate_input!): types_profileTemplate + 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!]! + create_attestations_directus_users_item(data: create_attestations_directus_users_input!): attestations_directus_users + create_groupSubheaders_groupTypes_items(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_groupSubheaders_groupTypes_input!]): [groupSubheaders_groupTypes!]! + create_groupSubheaders_groupTypes_item(data: create_groupSubheaders_groupTypes_input!): groupSubheaders_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_directus_sync_id_map_items(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_sync_id_map_input!]): [directus_sync_id_map!]! + create_directus_sync_id_map_item(data: create_directus_sync_id_map_input!): directus_sync_id_map + update_contactInfos_items(filter: contactInfos_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_contactInfos_input!): [contactInfos!]! + update_contactInfos_batch(filter: contactInfos_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_contactInfos_input!]): [contactInfos!]! + update_contactInfos_item(id: ID!, data: update_contactInfos_input!): contactInfos + update_crowdfundings_items(filter: crowdfundings_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_crowdfundings_input!): [crowdfundings!]! + update_crowdfundings_batch(filter: crowdfundings_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_crowdfundings_input!]): [crowdfundings!]! + update_crowdfundings_item(id: ID!, data: update_crowdfundings_input!): crowdfundings + update_Themes_items(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_Themes_input!): [Themes!]! + update_Themes_batch(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_Themes_input!]): [Themes!]! + update_Themes_item(id: ID!, data: update_Themes_input!): Themes + 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 + update_items_items_items(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_items_input!): [items_items!]! + update_items_items_batch(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_items_input!]): [items_items!]! + update_items_items_item(id: ID!, data: update_items_items_input!): items_items + update_gallery_items(filter: gallery_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_gallery_input!): [gallery!]! + update_gallery_batch(filter: gallery_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_gallery_input!]): [gallery!]! + update_gallery_item(id: ID!, data: update_gallery_input!): gallery + update_groupSubheaders_items(filter: groupSubheaders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_groupSubheaders_input!): [groupSubheaders!]! + update_groupSubheaders_batch(filter: groupSubheaders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_groupSubheaders_input!]): [groupSubheaders!]! + update_groupSubheaders_item(id: ID!, data: update_groupSubheaders_input!): groupSubheaders + 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_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 + update_items_files_items(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_files_input!): [items_files!]! + update_items_files_batch(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_files_input!]): [items_files!]! + update_items_files_item(id: ID!, data: update_items_files_input!): items_files + update_items_items(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_input!): [items!]! + update_items_batch(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_input!]): [items!]! + update_items_item(id: ID!, data: update_items_input!): items + update_junction_directus_users_tags_1_items(filter: junction_directus_users_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_junction_directus_users_tags_1_input!): [junction_directus_users_tags_1!]! + update_junction_directus_users_tags_1_batch(filter: junction_directus_users_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_junction_directus_users_tags_1_input!]): [junction_directus_users_tags_1!]! + update_junction_directus_users_tags_1_item(id: ID!, data: update_junction_directus_users_tags_1_input!): junction_directus_users_tags_1 + update_layers_items(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_layers_input!): [layers!]! + update_layers_batch(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_layers_input!]): [layers!]! + update_layers_item(id: ID!, data: update_layers_input!): layers + update_items_tags_1_items(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_tags_1_input!): [items_tags_1!]! + update_items_tags_1_batch(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_tags_1_input!]): [items_tags_1!]! + update_items_tags_1_item(id: ID!, data: update_items_tags_1_input!): items_tags_1 + update_itemSecrets_items(filter: itemSecrets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_itemSecrets_input!): [itemSecrets!]! + update_itemSecrets_batch(filter: itemSecrets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_itemSecrets_input!]): [itemSecrets!]! + update_itemSecrets_item(id: ID!, data: update_itemSecrets_input!): itemSecrets + update_items_tags_items(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_tags_input!): [items_tags!]! + update_items_tags_batch(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_tags_input!]): [items_tags!]! + update_items_tags_item(id: ID!, data: update_items_tags_input!): items_tags + update_layers_directus_users_1_items(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_layers_directus_users_1_input!): [layers_directus_users_1!]! + update_layers_directus_users_1_batch(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_layers_directus_users_1_input!]): [layers_directus_users_1!]! + update_layers_directus_users_1_item(id: ID!, data: update_layers_directus_users_1_input!): layers_directus_users_1 + update_junction_directus_users_tags_items(filter: junction_directus_users_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_junction_directus_users_tags_input!): [junction_directus_users_tags!]! + update_junction_directus_users_tags_batch(filter: junction_directus_users_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_junction_directus_users_tags_input!]): [junction_directus_users_tags!]! + update_junction_directus_users_tags_item(id: ID!, data: update_junction_directus_users_tags_input!): junction_directus_users_tags + update_layers_files_items(filter: layers_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_layers_files_input!): [layers_files!]! + update_layers_files_batch(filter: layers_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_layers_files_input!]): [layers_files!]! + update_layers_files_item(id: ID!, data: update_layers_files_input!): layers_files + update_layers_maps_items(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_layers_maps_input!): [layers_maps!]! + update_layers_maps_batch(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_layers_maps_input!]): [layers_maps!]! + update_layers_maps_item(id: ID!, data: update_layers_maps_input!): layers_maps + update_features_items(filter: features_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_features_input!): [features!]! + update_features_batch(filter: features_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_features_input!]): [features!]! + update_features_item(id: ID!, data: update_features_input!): features + update_startEnd_items(filter: startEnd_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_startEnd_input!): [startEnd!]! + update_startEnd_batch(filter: startEnd_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_startEnd_input!]): [startEnd!]! + update_startEnd_item(id: ID!, data: update_startEnd_input!): startEnd + update_tags_items(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_tags_input!): [tags!]! + update_tags_batch(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_tags_input!]): [tags!]! + update_tags_item(id: ID!, data: update_tags_input!): tags + 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_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_team_items(filter: team_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_team_input!): [team!]! + update_team_batch(filter: team_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_team_input!]): [team!]! + update_team_item(id: ID!, data: update_team_input!): team + update_types_items(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_types_input!): [types!]! + update_types_batch(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_types_input!]): [types!]! + update_types_item(id: ID!, data: update_types_input!): types + update_texts_items(filter: texts_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_texts_input!): [texts!]! + update_texts_batch(filter: texts_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_texts_input!]): [texts!]! + update_texts_item(id: ID!, data: update_texts_input!): texts + update_maps_items(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_maps_input!): [maps!]! + update_maps_batch(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_maps_input!]): [maps!]! + update_maps_item(id: ID!, data: update_maps_input!): maps + update_types_profileTemplate_items(filter: types_profileTemplate_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_types_profileTemplate_input!): [types_profileTemplate!]! + update_types_profileTemplate_batch(filter: types_profileTemplate_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_types_profileTemplate_input!]): [types_profileTemplate!]! + update_types_profileTemplate_item(id: ID!, data: update_types_profileTemplate_input!): types_profileTemplate + update_attestations_directus_users_items(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_attestations_directus_users_input!): [attestations_directus_users!]! + update_attestations_directus_users_batch(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_attestations_directus_users_input!]): [attestations_directus_users!]! + update_attestations_directus_users_item(id: ID!, data: update_attestations_directus_users_input!): attestations_directus_users + update_groupSubheaders_groupTypes_items(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_groupSubheaders_groupTypes_input!): [groupSubheaders_groupTypes!]! + update_groupSubheaders_groupTypes_batch(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_groupSubheaders_groupTypes_input!]): [groupSubheaders_groupTypes!]! + update_groupSubheaders_groupTypes_item(id: ID!, data: update_groupSubheaders_groupTypes_input!): groupSubheaders_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_directus_sync_id_map_items(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_sync_id_map_input!): [directus_sync_id_map!]! + update_directus_sync_id_map_batch(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_sync_id_map_input!]): [directus_sync_id_map!]! + update_directus_sync_id_map_item(id: ID!, data: update_directus_sync_id_map_input!): directus_sync_id_map + delete_contactInfos_items(ids: [ID]!): delete_many + delete_contactInfos_item(id: ID!): delete_one + delete_crowdfundings_items(ids: [ID]!): delete_many + delete_crowdfundings_item(id: ID!): delete_one + delete_Themes_items(ids: [ID]!): delete_many + delete_Themes_item(id: ID!): delete_one + delete_attestations_items(ids: [ID]!): delete_many + delete_attestations_item(id: ID!): delete_one + delete_items_items_items(ids: [ID]!): delete_many + delete_items_items_item(id: ID!): delete_one + delete_gallery_items(ids: [ID]!): delete_many + delete_gallery_item(id: ID!): delete_one + delete_groupSubheaders_items(ids: [ID]!): delete_many + delete_groupSubheaders_item(id: ID!): delete_one + delete_groupTypes_items(ids: [ID]!): delete_many + delete_groupTypes_item(id: ID!): delete_one + delete_inviteLinks_items(ids: [ID]!): delete_many + delete_inviteLinks_item(id: ID!): delete_one + delete_items_files_items(ids: [ID]!): delete_many + delete_items_files_item(id: ID!): delete_one + delete_items_items(ids: [ID]!): delete_many + delete_items_item(id: ID!): delete_one + delete_junction_directus_users_tags_1_items(ids: [ID]!): delete_many + delete_junction_directus_users_tags_1_item(id: ID!): delete_one + delete_layers_items(ids: [ID]!): delete_many + delete_layers_item(id: ID!): delete_one + delete_items_tags_1_items(ids: [ID]!): delete_many + delete_items_tags_1_item(id: ID!): delete_one + delete_itemSecrets_items(ids: [ID]!): delete_many + delete_itemSecrets_item(id: ID!): delete_one + delete_items_tags_items(ids: [ID]!): delete_many + delete_items_tags_item(id: ID!): delete_one + delete_layers_directus_users_1_items(ids: [ID]!): delete_many + delete_layers_directus_users_1_item(id: ID!): delete_one + delete_junction_directus_users_tags_items(ids: [ID]!): delete_many + delete_junction_directus_users_tags_item(id: ID!): delete_one + delete_layers_files_items(ids: [ID]!): delete_many + delete_layers_files_item(id: ID!): delete_one + delete_layers_maps_items(ids: [ID]!): delete_many + delete_layers_maps_item(id: ID!): delete_one + delete_features_items(ids: [ID]!): delete_many + delete_features_item(id: ID!): delete_one + delete_startEnd_items(ids: [ID]!): delete_many + delete_startEnd_item(id: ID!): delete_one + delete_tags_items(ids: [ID]!): delete_many + delete_tags_item(id: ID!): delete_one + delete_oceannomads_profiles_items(ids: [ID]!): delete_many + delete_oceannomads_profiles_item(id: ID!): delete_one + delete_relations_items(ids: [ID]!): delete_many + delete_relations_item(id: ID!): delete_one + delete_team_items(ids: [ID]!): delete_many + delete_team_item(id: ID!): delete_one + delete_types_items(ids: [ID]!): delete_many + delete_types_item(id: ID!): delete_one + delete_texts_items(ids: [ID]!): delete_many + delete_texts_item(id: ID!): delete_one + delete_maps_items(ids: [ID]!): delete_many + delete_maps_item(id: ID!): delete_one + delete_types_profileTemplate_items(ids: [ID]!): delete_many + delete_types_profileTemplate_item(id: ID!): delete_one + delete_attestations_directus_users_items(ids: [ID]!): delete_many + delete_attestations_directus_users_item(id: ID!): delete_one + delete_groupSubheaders_groupTypes_items(ids: [ID]!): delete_many + delete_groupSubheaders_groupTypes_item(id: ID!): delete_one + delete_marker_icons_items(ids: [ID]!): delete_many + delete_marker_icons_item(id: ID!): delete_one + delete_directus_sync_id_map_items(ids: [ID]!): delete_many + delete_directus_sync_id_map_item(id: ID!): delete_one +} type Subscription { + contactInfos_mutated(event: EventEnum): contactInfos_mutated + crowdfundings_mutated(event: EventEnum): crowdfundings_mutated + directus_access_mutated(event: EventEnum): directus_access_mutated + Themes_mutated(event: EventEnum): Themes_mutated + attestations_mutated(event: EventEnum): attestations_mutated + directus_comments_mutated(event: EventEnum): directus_comments_mutated + directus_dashboards_mutated(event: EventEnum): directus_dashboards_mutated directus_folders_mutated(event: EventEnum): directus_folders_mutated - directus_files_mutated(event: EventEnum): directus_files_mutated - directus_operations_mutated(event: EventEnum): directus_operations_mutated + directus_flows_mutated(event: EventEnum): directus_flows_mutated directus_notifications_mutated(event: EventEnum): directus_notifications_mutated + directus_operations_mutated(event: EventEnum): directus_operations_mutated + directus_panels_mutated(event: EventEnum): directus_panels_mutated + directus_permissions_mutated(event: EventEnum): directus_permissions_mutated + directus_activity_mutated(event: EventEnum): directus_activity_mutated + directus_files_mutated(event: EventEnum): directus_files_mutated + directus_roles_mutated(event: EventEnum): directus_roles_mutated + directus_presets_mutated(event: EventEnum): directus_presets_mutated + directus_revisions_mutated(event: EventEnum): directus_revisions_mutated + directus_versions_mutated(event: EventEnum): directus_versions_mutated + directus_settings_mutated(event: EventEnum): directus_settings_mutated + directus_webhooks_mutated(event: EventEnum): directus_webhooks_mutated + directus_policies_mutated(event: EventEnum): directus_policies_mutated directus_translations_mutated(event: EventEnum): directus_translations_mutated directus_shares_mutated(event: EventEnum): directus_shares_mutated - directus_versions_mutated(event: EventEnum): directus_versions_mutated - directus_revisions_mutated(event: EventEnum): directus_revisions_mutated directus_users_mutated(event: EventEnum): directus_users_mutated - directus_webhooks_mutated(event: EventEnum): directus_webhooks_mutated - directus_settings_mutated(event: EventEnum): directus_settings_mutated - directus_policies_mutated(event: EventEnum): directus_policies_mutated - directus_permissions_mutated(event: EventEnum): directus_permissions_mutated - directus_access_mutated(event: EventEnum): directus_access_mutated - directus_dashboards_mutated(event: EventEnum): directus_dashboards_mutated - directus_flows_mutated(event: EventEnum): directus_flows_mutated - directus_panels_mutated(event: EventEnum): directus_panels_mutated - directus_presets_mutated(event: EventEnum): directus_presets_mutated - directus_roles_mutated(event: EventEnum): directus_roles_mutated - directus_comments_mutated(event: EventEnum): directus_comments_mutated - directus_activity_mutated(event: EventEnum): directus_activity_mutated + items_items_mutated(event: EventEnum): items_items_mutated + gallery_mutated(event: EventEnum): gallery_mutated + groupSubheaders_mutated(event: EventEnum): groupSubheaders_mutated + groupTypes_mutated(event: EventEnum): groupTypes_mutated + inviteLinks_mutated(event: EventEnum): inviteLinks_mutated + items_files_mutated(event: EventEnum): items_files_mutated + items_mutated(event: EventEnum): items_mutated + junction_directus_users_tags_1_mutated(event: EventEnum): junction_directus_users_tags_1_mutated + layers_mutated(event: EventEnum): layers_mutated + items_tags_1_mutated(event: EventEnum): items_tags_1_mutated + itemSecrets_mutated(event: EventEnum): itemSecrets_mutated + items_tags_mutated(event: EventEnum): items_tags_mutated + layers_directus_users_1_mutated(event: EventEnum): layers_directus_users_1_mutated + junction_directus_users_tags_mutated(event: EventEnum): junction_directus_users_tags_mutated + layers_files_mutated(event: EventEnum): layers_files_mutated + layers_maps_mutated(event: EventEnum): layers_maps_mutated + features_mutated(event: EventEnum): features_mutated + startEnd_mutated(event: EventEnum): startEnd_mutated + tags_mutated(event: EventEnum): tags_mutated + oceannomads_profiles_mutated(event: EventEnum): oceannomads_profiles_mutated + relations_mutated(event: EventEnum): relations_mutated + team_mutated(event: EventEnum): team_mutated + types_mutated(event: EventEnum): types_mutated + texts_mutated(event: EventEnum): texts_mutated + maps_mutated(event: EventEnum): maps_mutated + types_profileTemplate_mutated(event: EventEnum): types_profileTemplate_mutated + attestations_directus_users_mutated(event: EventEnum): attestations_directus_users_mutated + groupSubheaders_groupTypes_mutated(event: EventEnum): groupSubheaders_groupTypes_mutated + marker_icons_mutated(event: EventEnum): marker_icons_mutated + directus_sync_id_map_mutated(event: EventEnum): directus_sync_id_map_mutated } """The `Boolean` scalar type represents `true` or `false`.""" @@ -35,9 +442,17 @@ scalar Boolean """ISO8601 Date values""" scalar Date +""" +The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point). +""" +scalar Float + """BigInt value""" scalar GraphQLBigInt +"""GeoJSON value""" +scalar GraphQLGeoJSON + """A Float or a String""" scalar GraphQLStringOrFloat @@ -64,19 +479,154 @@ The `String` scalar type represents textual data, represented as UTF-8 character """ scalar String -"""Represents NULL values""" -scalar Void - enum EventEnum { create update delete } +union types_profileTemplate_item_union = groupSubheaders | contactInfos | texts | startEnd | gallery | crowdfundings | inviteLinks | relations + +type attestations { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + text: String + color: String + emoji: String + shape: String + to(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [attestations_directus_users] + to_func: count_functions +} + +type attestations_aggregated { + group: JSON + countAll: Int + count: attestations_aggregated_count + countDistinct: attestations_aggregated_count +} + +type attestations_aggregated_count { + id: Int + user_created: Int + date_created: Int + text: Int + color: Int + emoji: Int + shape: Int + to: Int +} + +type attestations_directus_users { + id: ID! + attestations_id(filter: attestations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): attestations + directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users +} + +type attestations_directus_users_aggregated { + group: JSON + countAll: Int + count: attestations_directus_users_aggregated_count + countDistinct: attestations_directus_users_aggregated_count + avg: attestations_directus_users_aggregated_fields + sum: attestations_directus_users_aggregated_fields + avgDistinct: attestations_directus_users_aggregated_fields + sumDistinct: attestations_directus_users_aggregated_fields + min: attestations_directus_users_aggregated_fields + max: attestations_directus_users_aggregated_fields +} + +type attestations_directus_users_aggregated_count { + id: Int + attestations_id: Int + directus_users_id: Int +} + +type attestations_directus_users_aggregated_fields { + id: Float +} + +type attestations_directus_users_mutated { + key: ID! + event: EventEnum + data: attestations_directus_users +} + +type attestations_mutated { + key: ID! + event: EventEnum + data: attestations +} + +type contactInfos { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + heading: String +} + +type contactInfos_aggregated { + group: JSON + countAll: Int + count: contactInfos_aggregated_count + countDistinct: contactInfos_aggregated_count +} + +type contactInfos_aggregated_count { + id: Int + user_created: Int + date_created: Int + user_updated: Int + date_updated: Int + heading: Int +} + +type contactInfos_mutated { + key: ID! + event: EventEnum + data: contactInfos +} + type count_functions { count: Int } +type crowdfundings { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions +} + +type crowdfundings_aggregated { + group: JSON + countAll: Int + count: crowdfundings_aggregated_count + countDistinct: crowdfundings_aggregated_count +} + +type crowdfundings_aggregated_count { + id: Int + user_created: Int + date_created: Int + user_updated: Int + date_updated: Int +} + +type crowdfundings_mutated { + key: ID! + event: EventEnum + data: crowdfundings +} + type datetime_functions { year: Int month: Int @@ -88,6 +638,14 @@ type datetime_functions { second: Int } +type delete_many { + ids: [ID]! +} + +type delete_one { + id: ID! +} + type directus_access { id: ID! role(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_roles @@ -465,6 +1023,8 @@ type directus_settings { """$t:fields.directus_settings.public_registration_email_filter_note""" public_registration_email_filter: JSON public_registration_email_filter_func: count_functions + visual_editor_urls: JSON + visual_editor_urls_func: count_functions } type directus_settings_mutated { @@ -505,6 +1065,46 @@ type directus_shares_mutated { data: directus_shares } +type directus_sync_id_map { + id: ID! + table: String! + sync_id: String! + local_id: String! + created_at: Date + created_at_func: datetime_functions +} + +type directus_sync_id_map_aggregated { + group: JSON + countAll: Int + count: directus_sync_id_map_aggregated_count + countDistinct: directus_sync_id_map_aggregated_count + avg: directus_sync_id_map_aggregated_fields + sum: directus_sync_id_map_aggregated_fields + avgDistinct: directus_sync_id_map_aggregated_fields + sumDistinct: directus_sync_id_map_aggregated_fields + min: directus_sync_id_map_aggregated_fields + max: directus_sync_id_map_aggregated_fields +} + +type directus_sync_id_map_aggregated_count { + id: Int + table: Int + sync_id: Int + local_id: Int + created_at: Int +} + +type directus_sync_id_map_aggregated_fields { + id: Float +} + +type directus_sync_id_map_mutated { + key: ID! + event: EventEnum + data: directus_sync_id_map +} + type directus_translations { id: ID! language: String! @@ -550,6 +1150,10 @@ type directus_users { theme_light_overrides_func: count_functions theme_dark_overrides: JSON theme_dark_overrides_func: count_functions + imported: Boolean + wc_user: Boolean + 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 policies(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_access] policies_func: count_functions } @@ -604,6 +1208,1626 @@ type directus_webhooks_mutated { data: directus_webhooks } +type features { + id: ID! + status: String + sort: Int + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + heading: String + symbol: String + text: String +} + +type features_aggregated { + group: JSON + countAll: Int + count: features_aggregated_count + countDistinct: features_aggregated_count + avg: features_aggregated_fields + sum: features_aggregated_fields + avgDistinct: features_aggregated_fields + sumDistinct: features_aggregated_fields + min: features_aggregated_fields + max: features_aggregated_fields +} + +type features_aggregated_count { + id: Int + status: Int + sort: Int + user_created: Int + date_created: Int + user_updated: Int + date_updated: Int + heading: Int + symbol: Int + text: Int +} + +type features_aggregated_fields { + id: Float + sort: Float +} + +type features_mutated { + key: ID! + event: EventEnum + data: features +} + +type gallery { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + hideInputLabel: Boolean +} + +type gallery_aggregated { + group: JSON + countAll: Int + count: gallery_aggregated_count + countDistinct: gallery_aggregated_count +} + +type gallery_aggregated_count { + id: Int + user_created: Int + date_created: Int + user_updated: Int + date_updated: Int + hideInputLabel: Int +} + +type gallery_mutated { + key: ID! + event: EventEnum + data: gallery +} + +type groupSubheaders { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + shareBaseUrl: String + groupStates: JSON + groupStates_func: count_functions + platforms: JSON + platforms_func: count_functions + groupTypes(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [groupSubheaders_groupTypes] + groupTypes_func: count_functions +} + +type groupSubheaders_aggregated { + group: JSON + countAll: Int + count: groupSubheaders_aggregated_count + countDistinct: groupSubheaders_aggregated_count +} + +type groupSubheaders_aggregated_count { + id: Int + user_created: Int + date_created: Int + user_updated: Int + date_updated: Int + shareBaseUrl: Int + groupStates: Int + platforms: Int + groupTypes: Int +} + +type groupSubheaders_groupTypes { + id: ID! + groupSubheaders_id(filter: groupSubheaders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): groupSubheaders + groupTypes_id(filter: groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): groupTypes +} + +type groupSubheaders_groupTypes_aggregated { + group: JSON + countAll: Int + count: groupSubheaders_groupTypes_aggregated_count + countDistinct: groupSubheaders_groupTypes_aggregated_count + avg: groupSubheaders_groupTypes_aggregated_fields + sum: groupSubheaders_groupTypes_aggregated_fields + avgDistinct: groupSubheaders_groupTypes_aggregated_fields + sumDistinct: groupSubheaders_groupTypes_aggregated_fields + min: groupSubheaders_groupTypes_aggregated_fields + max: groupSubheaders_groupTypes_aggregated_fields +} + +type groupSubheaders_groupTypes_aggregated_count { + id: Int + groupSubheaders_id: Int + groupTypes_id: Int +} + +type groupSubheaders_groupTypes_aggregated_fields { + id: Float +} + +type groupSubheaders_groupTypes_mutated { + key: ID! + event: EventEnum + data: groupSubheaders_groupTypes +} + +type groupSubheaders_mutated { + key: ID! + event: EventEnum + data: groupSubheaders +} + +type groupTypes { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + name: String + color: String + image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons +} + +type groupTypes_aggregated { + group: JSON + countAll: Int + count: groupTypes_aggregated_count + countDistinct: groupTypes_aggregated_count +} + +type groupTypes_aggregated_count { + id: Int + user_created: Int + date_created: Int + user_updated: Int + date_updated: Int + name: Int + color: Int + image: Int + markerIcon: Int +} + +type groupTypes_mutated { + key: ID! + event: EventEnum + data: groupTypes +} + +type inviteLinks { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions +} + +type inviteLinks_aggregated { + group: JSON + countAll: Int + count: inviteLinks_aggregated_count + countDistinct: inviteLinks_aggregated_count +} + +type inviteLinks_aggregated_count { + id: Int + user_created: Int + date_created: Int + user_updated: Int + date_updated: Int +} + +type inviteLinks_mutated { + key: ID! + event: EventEnum + data: inviteLinks +} + +type items { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + name: String + text: String + position: GraphQLGeoJSON + image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + layer(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers + start: Date + start_func: datetime_functions + end: Date + end_func: datetime_functions + color: String + parent(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + subname: String + public_edit: Boolean + slug: String + status: String + markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons + telephone: String + group_type: String + next_appointment: String + contact: String + openCollectiveSlug: String + draft: Boolean + gallery(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_files] + gallery_func: count_functions + offers(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags] + offers_func: count_functions + needs(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags_1] + needs_func: count_functions + relations(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_items] + relations_func: count_functions + secrets(filter: itemSecrets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [itemSecrets] + secrets_func: count_functions +} + +type items_aggregated { + group: JSON + countAll: Int + count: items_aggregated_count + countDistinct: items_aggregated_count +} + +type items_aggregated_count { + id: Int + user_created: Int + date_created: Int + user_updated: Int + date_updated: Int + name: Int + text: Int + position: Int + image: Int + layer: Int + start: Int + end: Int + color: Int + parent: Int + subname: Int + public_edit: Int + slug: Int + status: Int + markerIcon: Int + telephone: Int + group_type: Int + next_appointment: Int + contact: Int + openCollectiveSlug: Int + draft: Int + gallery: Int + offers: Int + needs: Int + relations: Int + secrets: Int +} + +type items_files { + id: ID! + items_id(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + directus_files_id(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files +} + +type items_files_aggregated { + group: JSON + countAll: Int + count: items_files_aggregated_count + countDistinct: items_files_aggregated_count + avg: items_files_aggregated_fields + sum: items_files_aggregated_fields + avgDistinct: items_files_aggregated_fields + sumDistinct: items_files_aggregated_fields + min: items_files_aggregated_fields + max: items_files_aggregated_fields +} + +type items_files_aggregated_count { + id: Int + items_id: Int + directus_files_id: Int +} + +type items_files_aggregated_fields { + id: Float +} + +type items_files_mutated { + key: ID! + event: EventEnum + data: items_files +} + +type items_items { + id: ID! + items_id(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + related_items_id(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + type: String +} + +type items_items_aggregated { + group: JSON + countAll: Int + count: items_items_aggregated_count + countDistinct: items_items_aggregated_count + avg: items_items_aggregated_fields + sum: items_items_aggregated_fields + avgDistinct: items_items_aggregated_fields + sumDistinct: items_items_aggregated_fields + min: items_items_aggregated_fields + max: items_items_aggregated_fields +} + +type items_items_aggregated_count { + id: Int + items_id: Int + related_items_id: Int + type: Int +} + +type items_items_aggregated_fields { + id: Float +} + +type items_items_mutated { + key: ID! + event: EventEnum + data: items_items +} + +type items_mutated { + key: ID! + event: EventEnum + data: items +} + +type items_tags { + id: ID! + items_id(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + tags_id(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): tags +} + +type items_tags_1 { + id: ID! + items_id(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + tags_id(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): tags +} + +type items_tags_1_aggregated { + group: JSON + countAll: Int + count: items_tags_1_aggregated_count + countDistinct: items_tags_1_aggregated_count + avg: items_tags_1_aggregated_fields + sum: items_tags_1_aggregated_fields + avgDistinct: items_tags_1_aggregated_fields + sumDistinct: items_tags_1_aggregated_fields + min: items_tags_1_aggregated_fields + max: items_tags_1_aggregated_fields +} + +type items_tags_1_aggregated_count { + id: Int + items_id: Int + tags_id: Int +} + +type items_tags_1_aggregated_fields { + id: Float +} + +type items_tags_1_mutated { + key: ID! + event: EventEnum + data: items_tags_1 +} + +type items_tags_aggregated { + group: JSON + countAll: Int + count: items_tags_aggregated_count + countDistinct: items_tags_aggregated_count + avg: items_tags_aggregated_fields + sum: items_tags_aggregated_fields + avgDistinct: items_tags_aggregated_fields + sumDistinct: items_tags_aggregated_fields + min: items_tags_aggregated_fields + max: items_tags_aggregated_fields +} + +type items_tags_aggregated_count { + id: Int + items_id: Int + tags_id: Int +} + +type items_tags_aggregated_fields { + id: Float +} + +type items_tags_mutated { + key: ID! + event: EventEnum + data: items_tags +} + +type itemSecrets { + secret: ID! + item(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items +} + +type itemSecrets_aggregated { + group: JSON + countAll: Int + count: itemSecrets_aggregated_count + countDistinct: itemSecrets_aggregated_count +} + +type itemSecrets_aggregated_count { + secret: Int + item: Int +} + +type itemSecrets_mutated { + key: ID! + event: EventEnum + data: itemSecrets +} + +type junction_directus_users_tags { + id: ID! + directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + tags_id(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): tags +} + +type junction_directus_users_tags_1 { + id: ID! + directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + tags_id(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): tags +} + +type junction_directus_users_tags_1_aggregated { + group: JSON + countAll: Int + count: junction_directus_users_tags_1_aggregated_count + countDistinct: junction_directus_users_tags_1_aggregated_count + avg: junction_directus_users_tags_1_aggregated_fields + sum: junction_directus_users_tags_1_aggregated_fields + avgDistinct: junction_directus_users_tags_1_aggregated_fields + sumDistinct: junction_directus_users_tags_1_aggregated_fields + min: junction_directus_users_tags_1_aggregated_fields + max: junction_directus_users_tags_1_aggregated_fields +} + +type junction_directus_users_tags_1_aggregated_count { + id: Int + directus_users_id: Int + tags_id: Int +} + +type junction_directus_users_tags_1_aggregated_fields { + id: Float +} + +type junction_directus_users_tags_1_mutated { + key: ID! + event: EventEnum + data: junction_directus_users_tags_1 +} + +type junction_directus_users_tags_aggregated { + group: JSON + countAll: Int + count: junction_directus_users_tags_aggregated_count + countDistinct: junction_directus_users_tags_aggregated_count + avg: junction_directus_users_tags_aggregated_fields + sum: junction_directus_users_tags_aggregated_fields + avgDistinct: junction_directus_users_tags_aggregated_fields + sumDistinct: junction_directus_users_tags_aggregated_fields + min: junction_directus_users_tags_aggregated_fields + max: junction_directus_users_tags_aggregated_fields +} + +type junction_directus_users_tags_aggregated_count { + id: Int + directus_users_id: Int + tags_id: Int +} + +type junction_directus_users_tags_aggregated_fields { + id: Float +} + +type junction_directus_users_tags_mutated { + key: ID! + event: EventEnum + data: junction_directus_users_tags +} + +type layers { + id: ID! + name: String + markerShape: String + menuText: String + menuColor: String + indexIcon(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + menuIcon(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + onlyOnePerOwner: Boolean + itemType(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types + index_plus_button: Boolean + public_edit_items: Boolean + markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons + markerDefaultColor2: String + listed: Boolean + item_presets: JSON + item_presets_func: count_functions + 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 +} + +type layers_aggregated { + group: JSON + countAll: Int + count: layers_aggregated_count + countDistinct: layers_aggregated_count +} + +type layers_aggregated_count { + id: Int + name: Int + markerShape: Int + menuText: Int + menuColor: Int + indexIcon: Int + menuIcon: Int + onlyOnePerOwner: Int + itemType: Int + index_plus_button: Int + public_edit_items: Int + markerIcon: Int + markerDefaultColor2: Int + listed: Int + item_presets: Int + userProfileLayer: Int + maps: Int + notifications: Int +} + +type layers_directus_users_1 { + id: ID! + layers_id(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers + directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users +} + +type layers_directus_users_1_aggregated { + group: JSON + countAll: Int + count: layers_directus_users_1_aggregated_count + countDistinct: layers_directus_users_1_aggregated_count + avg: layers_directus_users_1_aggregated_fields + sum: layers_directus_users_1_aggregated_fields + avgDistinct: layers_directus_users_1_aggregated_fields + sumDistinct: layers_directus_users_1_aggregated_fields + min: layers_directus_users_1_aggregated_fields + max: layers_directus_users_1_aggregated_fields +} + +type layers_directus_users_1_aggregated_count { + id: Int + layers_id: Int + directus_users_id: Int +} + +type layers_directus_users_1_aggregated_fields { + id: Float +} + +type layers_directus_users_1_mutated { + key: ID! + event: EventEnum + data: layers_directus_users_1 +} + +type layers_files { + id: ID! + layers_id(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers + directus_files_id(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files +} + +type layers_files_aggregated { + group: JSON + countAll: Int + count: layers_files_aggregated_count + countDistinct: layers_files_aggregated_count + avg: layers_files_aggregated_fields + sum: layers_files_aggregated_fields + avgDistinct: layers_files_aggregated_fields + sumDistinct: layers_files_aggregated_fields + min: layers_files_aggregated_fields + max: layers_files_aggregated_fields +} + +type layers_files_aggregated_count { + id: Int + layers_id: Int + directus_files_id: Int +} + +type layers_files_aggregated_fields { + id: Float +} + +type layers_files_mutated { + key: ID! + event: EventEnum + data: layers_files +} + +type layers_maps { + id: ID! + layers_id(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers + maps_id(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): maps +} + +type layers_maps_aggregated { + group: JSON + countAll: Int + count: layers_maps_aggregated_count + countDistinct: layers_maps_aggregated_count + avg: layers_maps_aggregated_fields + sum: layers_maps_aggregated_fields + avgDistinct: layers_maps_aggregated_fields + sumDistinct: layers_maps_aggregated_fields + min: layers_maps_aggregated_fields + max: layers_maps_aggregated_fields +} + +type layers_maps_aggregated_count { + id: Int + layers_id: Int + maps_id: Int +} + +type layers_maps_aggregated_fields { + id: Float +} + +type layers_maps_mutated { + key: ID! + event: EventEnum + data: layers_maps +} + +type layers_mutated { + key: ID! + event: EventEnum + data: layers +} + +type maps { + id: ID! + name: String + url: String + logo(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + zoom: Int + center: GraphQLGeoJSON + own_tag_space: Boolean + + """You can include GeoJSON""" + geo: JSON + geo_func: count_functions + show_layer_control: Boolean + show_filter_control: Boolean + user_type(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types + + """Replace the info text in the info popup""" + custom_text: String + show_gratitude_control: Boolean + + """Shows a donation widget after 10 minutes""" + donation_widget: Boolean + show_theme_control: Boolean + default_theme(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): Themes + show_zoom_control: Boolean! + expand_layer_control: Boolean + info_open: Boolean + tile_server_url: String + tile_server_attribution: String + layers(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_maps] + layers_func: count_functions +} + +type maps_aggregated { + group: JSON + countAll: Int + count: maps_aggregated_count + countDistinct: maps_aggregated_count + avg: maps_aggregated_fields + sum: maps_aggregated_fields + avgDistinct: maps_aggregated_fields + sumDistinct: maps_aggregated_fields + min: maps_aggregated_fields + max: maps_aggregated_fields +} + +type maps_aggregated_count { + id: Int + name: Int + url: Int + + """Used as FavIcon""" + logo: Int + zoom: Int + center: Int + own_tag_space: Int + + """You can include GeoJSON""" + geo: Int + show_layer_control: Int + show_filter_control: Int + user_type: Int + + """Replace the info text in the info popup""" + custom_text: Int + show_gratitude_control: Int + + """Shows a donation widget after 10 minutes""" + donation_widget: Int + show_theme_control: Int + default_theme: Int + show_zoom_control: Int + expand_layer_control: Int + info_open: Int + tile_server_url: Int + tile_server_attribution: Int + layers: Int +} + +type maps_aggregated_fields { + zoom: Float +} + +type maps_mutated { + key: ID! + event: EventEnum + data: maps +} + +type marker_icons { + id: ID! + size: Float + image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files +} + +type marker_icons_aggregated { + group: JSON + countAll: Int + count: marker_icons_aggregated_count + countDistinct: marker_icons_aggregated_count + avg: marker_icons_aggregated_fields + sum: marker_icons_aggregated_fields + avgDistinct: marker_icons_aggregated_fields + sumDistinct: marker_icons_aggregated_fields + min: marker_icons_aggregated_fields + max: marker_icons_aggregated_fields +} + +type marker_icons_aggregated_count { + id: Int + size: Int + image: Int +} + +type marker_icons_aggregated_fields { + size: Float +} + +type marker_icons_mutated { + key: ID! + event: EventEnum + data: marker_icons +} + +type oceannomads_profiles { + id: ID! + date_created: Date + date_created_func: datetime_functions + date_updated: Date + date_updated_func: datetime_functions + email: String + first_name: String + last_name: String + location: String + avatar_url: String +} + +type oceannomads_profiles_aggregated { + group: JSON + countAll: Int + count: oceannomads_profiles_aggregated_count + countDistinct: oceannomads_profiles_aggregated_count +} + +type oceannomads_profiles_aggregated_count { + id: Int + date_created: Int + date_updated: Int + email: Int + first_name: Int + last_name: Int + location: Int + avatar_url: Int +} + +type oceannomads_profiles_mutated { + key: ID! + event: EventEnum + data: oceannomads_profiles +} + +type relations { + id: ID! + relation: String +} + +type relations_aggregated { + group: JSON + countAll: Int + count: relations_aggregated_count + countDistinct: relations_aggregated_count + avg: relations_aggregated_fields + sum: relations_aggregated_fields + avgDistinct: relations_aggregated_fields + sumDistinct: relations_aggregated_fields + min: relations_aggregated_fields + max: relations_aggregated_fields +} + +type relations_aggregated_count { + id: Int + relation: Int +} + +type relations_aggregated_fields { + id: Float +} + +type relations_mutated { + key: ID! + event: EventEnum + data: relations +} + +type startEnd { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions +} + +type startEnd_aggregated { + group: JSON + countAll: Int + count: startEnd_aggregated_count + countDistinct: startEnd_aggregated_count +} + +type startEnd_aggregated_count { + id: Int + user_created: Int + date_created: Int + user_updated: Int + date_updated: Int +} + +type startEnd_mutated { + key: ID! + event: EventEnum + data: startEnd +} + +type tags { + id: ID! + name: String + color: String + map(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): maps + offer_or_need: Boolean + user_created: ID + date_created: Date + date_created_func: datetime_functions +} + +type tags_aggregated { + group: JSON + countAll: Int + count: tags_aggregated_count + countDistinct: tags_aggregated_count +} + +type tags_aggregated_count { + id: Int + name: Int + color: Int + map: Int + offer_or_need: Int + user_created: Int + date_created: Int +} + +type tags_mutated { + key: ID! + event: EventEnum + data: tags +} + +type team { + id: ID! + status: String + sort: Int + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + name: String + role: String + text: String + image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files +} + +type team_aggregated { + group: JSON + countAll: Int + count: team_aggregated_count + countDistinct: team_aggregated_count + avg: team_aggregated_fields + sum: team_aggregated_fields + avgDistinct: team_aggregated_fields + sumDistinct: team_aggregated_fields + min: team_aggregated_fields + max: team_aggregated_fields +} + +type team_aggregated_count { + id: Int + status: Int + sort: Int + user_created: Int + date_created: Int + user_updated: Int + date_updated: Int + name: Int + role: Int + text: Int + image: Int +} + +type team_aggregated_fields { + sort: Float +} + +type team_mutated { + key: ID! + event: EventEnum + data: team +} + +type texts { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + heading: String + hideWhenEmpty: Boolean + dataField: String + size: String + showMarkdownHint: Boolean +} + +type texts_aggregated { + group: JSON + countAll: Int + count: texts_aggregated_count + countDistinct: texts_aggregated_count +} + +type texts_aggregated_count { + id: Int + user_created: Int + date_created: Int + user_updated: Int + date_updated: Int + heading: Int + hideWhenEmpty: Int + dataField: Int + size: Int + showMarkdownHint: Int +} + +type texts_mutated { + key: ID! + event: EventEnum + data: texts +} + +type Themes { + theme: ID! +} + +type Themes_aggregated { + group: JSON + countAll: Int + count: Themes_aggregated_count + countDistinct: Themes_aggregated_count +} + +type Themes_aggregated_count { + theme: Int +} + +type Themes_mutated { + key: ID! + event: EventEnum + data: Themes +} + +type types { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + name: String + show_text_input: Boolean + show_name_input: Boolean + show_profile_button: Boolean + show_text: Boolean + show_name: Boolean + custom_text: String + show_start_end_input: Boolean + show_start_end: Boolean + offers_and_needs: Boolean + relations: Boolean + onepager: Boolean + text_area: Boolean + text: Boolean + questlog: Boolean + icon_as_labels: Boolean + template: String + profileTemplate(filter: types_profileTemplate_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [types_profileTemplate] + profileTemplate_func: count_functions +} + +type types_aggregated { + group: JSON + countAll: Int + count: types_aggregated_count + countDistinct: types_aggregated_count +} + +type types_aggregated_count { + id: Int + user_created: Int + date_created: Int + user_updated: Int + date_updated: Int + name: Int + show_text_input: Int + show_name_input: Int + show_profile_button: Int + show_text: Int + show_name: Int + custom_text: Int + show_start_end_input: Int + show_start_end: Int + offers_and_needs: Int + relations: Int + onepager: Int + text_area: Int + text: Int + questlog: Int + icon_as_labels: Int + template: Int + profileTemplate: Int +} + +type types_mutated { + key: ID! + event: EventEnum + data: types +} + +type types_profileTemplate { + id: ID! + types_id(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types + item: types_profileTemplate_item_union + collection: String + sort: Int +} + +type types_profileTemplate_aggregated { + group: JSON + countAll: Int + count: types_profileTemplate_aggregated_count + countDistinct: types_profileTemplate_aggregated_count + avg: types_profileTemplate_aggregated_fields + sum: types_profileTemplate_aggregated_fields + avgDistinct: types_profileTemplate_aggregated_fields + sumDistinct: types_profileTemplate_aggregated_fields + min: types_profileTemplate_aggregated_fields + max: types_profileTemplate_aggregated_fields +} + +type types_profileTemplate_aggregated_count { + id: Int + types_id: Int + item: Int + collection: Int + sort: Int +} + +type types_profileTemplate_aggregated_fields { + id: Float + sort: Float +} + +type types_profileTemplate_mutated { + key: ID! + event: EventEnum + data: types_profileTemplate +} + +"""""" +type version_attestations { + id: ID + user_created: JSON + date_created: Date + text: String + color: String + emoji: String + shape: String + to: JSON +} + +"""""" +type version_attestations_directus_users { + id: ID + attestations_id: JSON + directus_users_id: JSON +} + +"""""" +type version_contactInfos { + id: ID + user_created: JSON + date_created: Date + user_updated: JSON + date_updated: Date + heading: String +} + +"""""" +type version_crowdfundings { + id: ID + user_created: JSON + date_created: Date + user_updated: JSON + date_updated: Date +} + +"""""" +type version_directus_sync_id_map { + id: ID + table: String + sync_id: String + local_id: String + created_at: Date +} + +"""""" +type version_features { + id: ID + status: String + sort: Int + user_created: JSON + date_created: Date + user_updated: JSON + date_updated: Date + heading: String + symbol: String + text: String +} + +"""""" +type version_gallery { + id: ID + user_created: JSON + date_created: Date + user_updated: JSON + date_updated: Date + hideInputLabel: Boolean +} + +"""""" +type version_groupSubheaders { + id: ID + user_created: JSON + date_created: Date + user_updated: JSON + date_updated: Date + shareBaseUrl: String + groupStates: JSON + platforms: JSON + groupTypes: JSON +} + +"""""" +type version_groupSubheaders_groupTypes { + id: ID + groupSubheaders_id: JSON + groupTypes_id: JSON +} + +"""""" +type version_groupTypes { + id: ID + user_created: JSON + date_created: Date + user_updated: JSON + date_updated: Date + name: String + color: String + image: JSON + markerIcon: JSON +} + +"""""" +type version_inviteLinks { + id: ID + user_created: JSON + date_created: Date + user_updated: JSON + date_updated: Date +} + +"""""" +type version_items { + id: ID + user_created: JSON + date_created: Date + user_updated: JSON + date_updated: Date + name: String + text: String + position: GraphQLGeoJSON + image: JSON + layer: JSON + start: Date + end: Date + color: String + parent: JSON + subname: String + public_edit: Boolean + slug: String + status: String + markerIcon: JSON + telephone: String + group_type: String + next_appointment: String + contact: String + openCollectiveSlug: String + draft: Boolean + gallery: JSON + offers: JSON + needs: JSON + relations: JSON + secrets: JSON +} + +"""""" +type version_items_files { + id: ID + items_id: JSON + directus_files_id: JSON +} + +"""""" +type version_items_items { + id: ID + items_id: JSON + related_items_id: JSON + type: String +} + +"""""" +type version_items_tags { + id: ID + items_id: JSON + tags_id: JSON +} + +"""""" +type version_items_tags_1 { + id: ID + items_id: JSON + tags_id: JSON +} + +"""""" +type version_itemSecrets { + secret: ID + item: JSON +} + +"""""" +type version_junction_directus_users_tags { + id: ID + directus_users_id: JSON + tags_id: JSON +} + +"""""" +type version_junction_directus_users_tags_1 { + id: ID + directus_users_id: JSON + tags_id: JSON +} + +"""""" +type version_layers { + id: ID + name: String + markerShape: String + menuText: String + menuColor: String + indexIcon: JSON + menuIcon: JSON + onlyOnePerOwner: Boolean + itemType: JSON + index_plus_button: Boolean + public_edit_items: Boolean + markerIcon: JSON + markerDefaultColor2: String + listed: Boolean + item_presets: JSON + userProfileLayer: Boolean + maps: JSON + notifications: JSON +} + +"""""" +type version_layers_directus_users_1 { + id: ID + layers_id: JSON + directus_users_id: JSON +} + +"""""" +type version_layers_files { + id: ID + layers_id: JSON + directus_files_id: JSON +} + +"""""" +type version_layers_maps { + id: ID + layers_id: JSON + maps_id: JSON +} + +"""""" +type version_maps { + id: ID + name: String + url: String + logo: JSON + zoom: Int + center: GraphQLGeoJSON + own_tag_space: Boolean + + """You can include GeoJSON""" + geo: JSON + show_layer_control: Boolean + show_filter_control: Boolean + user_type: JSON + + """Replace the info text in the info popup""" + custom_text: String + show_gratitude_control: Boolean + + """Shows a donation widget after 10 minutes""" + donation_widget: Boolean + show_theme_control: Boolean + default_theme: JSON + show_zoom_control: Boolean + expand_layer_control: Boolean + info_open: Boolean + tile_server_url: String + tile_server_attribution: String + layers: JSON +} + +"""""" +type version_marker_icons { + id: ID + size: Float + image: JSON +} + +"""""" +type version_oceannomads_profiles { + id: ID + date_created: Date + date_updated: Date + email: String + first_name: String + last_name: String + location: String + avatar_url: String +} + +"""""" +type version_relations { + id: ID + relation: String +} + +"""""" +type version_startEnd { + id: ID + user_created: JSON + date_created: Date + user_updated: JSON + date_updated: Date +} + +"""""" +type version_tags { + id: ID + name: String + color: String + map: JSON + offer_or_need: Boolean + user_created: ID + date_created: Date +} + +"""""" +type version_team { + id: ID + status: String + sort: Int + user_created: JSON + date_created: Date + user_updated: JSON + date_updated: Date + name: String + role: String + text: String + image: JSON +} + +"""""" +type version_texts { + id: ID + user_created: JSON + date_created: Date + user_updated: JSON + date_updated: Date + heading: String + hideWhenEmpty: Boolean + dataField: String + size: String + showMarkdownHint: Boolean +} + +"""""" +type version_Themes { + theme: ID +} + +"""""" +type version_types { + id: ID + user_created: JSON + date_created: Date + user_updated: JSON + date_updated: Date + name: String + show_text_input: Boolean + show_name_input: Boolean + show_profile_button: Boolean + show_text: Boolean + show_name: Boolean + custom_text: String + show_start_end_input: Boolean + show_start_end: Boolean + offers_and_needs: Boolean + relations: Boolean + onepager: Boolean + text_area: Boolean + text: Boolean + questlog: Boolean + icon_as_labels: Boolean + template: String + profileTemplate: JSON +} + +"""""" +type version_types_profileTemplate { + id: ID + types_id: JSON + item: String + collection: String + sort: Int +} + +input attestations_directus_users_filter { + id: number_filter_operators + attestations_id: attestations_filter + directus_users_id: directus_users_filter + _and: [attestations_directus_users_filter] + _or: [attestations_directus_users_filter] +} + +"""""" +input attestations_directus_users_quantifier_filter { + id: number_filter_operators + attestations_id: attestations_filter + directus_users_id: directus_users_filter + _and: [attestations_directus_users_filter] + _or: [attestations_directus_users_filter] + _some: attestations_directus_users_filter + _none: attestations_directus_users_filter +} + +input attestations_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + text: string_filter_operators + color: string_filter_operators + emoji: string_filter_operators + shape: string_filter_operators + to: attestations_directus_users_quantifier_filter + to_func: count_function_filter_operators + _and: [attestations_filter] + _or: [attestations_filter] +} + input big_int_filter_operators { _eq: GraphQLBigInt _neq: GraphQLBigInt @@ -626,10 +2850,501 @@ input boolean_filter_operators { _nnull: Boolean } +input contactInfos_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + heading: string_filter_operators + _and: [contactInfos_filter] + _or: [contactInfos_filter] +} + input count_function_filter_operators { count: number_filter_operators } +input create_attestations_directus_users_input { + id: ID + attestations_id: create_attestations_input + directus_users_id: create_directus_users_input +} + +input create_attestations_input { + id: ID + user_created: create_directus_users_input + date_created: Date + text: String + color: String + emoji: String + shape: String + to: [create_attestations_directus_users_input] +} + +input create_contactInfos_input { + id: ID + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date + heading: String +} + +input create_crowdfundings_input { + id: ID + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date +} + +input create_directus_access_input { + id: ID + role: create_directus_roles_input + user: create_directus_users_input + policy: create_directus_policies_input + sort: Int +} + +input create_directus_files_input { + id: ID + storage: String! + filename_disk: String + filename_download: String! + title: String + type: String + folder: create_directus_folders_input + uploaded_by: create_directus_users_input + created_on: Date + modified_by: create_directus_users_input + modified_on: Date + charset: String + filesize: GraphQLBigInt + width: Int + height: Int + duration: Int + embed: String + description: String + location: String + tags: JSON + metadata: JSON + focal_point_x: Int + focal_point_y: Int + tus_id: String + tus_data: JSON + uploaded_on: Date +} + +input create_directus_folders_input { + id: ID + name: String! + parent: create_directus_folders_input +} + +input create_directus_permissions_input { + id: ID + collection: String! + action: String! + permissions: JSON + validation: JSON + presets: JSON + fields: [String] + policy: create_directus_policies_input +} + +input create_directus_policies_input { + id: ID + name: String! + icon: String + description: String + ip_access: [String] + + """$t:field_options.directus_policies.enforce_tfa""" + enforce_tfa: Boolean! + admin_access: Boolean! + app_access: Boolean! + permissions: [create_directus_permissions_input] + users: [create_directus_access_input] + roles: [create_directus_access_input] +} + +input create_directus_roles_input { + id: ID + name: String! + icon: String + description: String + parent: create_directus_roles_input + children: [create_directus_roles_input] + policies: [create_directus_access_input] + users: [create_directus_users_input] +} + +input create_directus_sync_id_map_input { + id: ID + table: String! + sync_id: String! + local_id: String! + created_at: Date +} + +input create_directus_users_input { + id: ID + first_name: String + last_name: String + email: String + password: Hash + location: String + title: String + description: String + tags: JSON + avatar: create_directus_files_input + language: String + tfa_secret: Hash + status: String + role: create_directus_roles_input + token: Hash + last_access: Date + last_page: String + provider: String + external_identifier: String + auth_data: JSON + email_notifications: Boolean + appearance: String + theme_dark: String + theme_light: String + theme_light_overrides: JSON + theme_dark_overrides: JSON + imported: Boolean + wc_user: Boolean + notifications: [create_layers_directus_users_1_input] + policies: [create_directus_access_input] +} + +input create_features_input { + id: ID + status: String + sort: Int + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date + heading: String + symbol: String + text: String +} + +input create_gallery_input { + id: ID + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date + hideInputLabel: Boolean +} + +input create_groupSubheaders_groupTypes_input { + id: ID + groupSubheaders_id: create_groupSubheaders_input + groupTypes_id: create_groupTypes_input +} + +input create_groupSubheaders_input { + id: ID + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date + shareBaseUrl: String + groupStates: JSON + platforms: JSON + groupTypes: [create_groupSubheaders_groupTypes_input] +} + +input create_groupTypes_input { + id: ID + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date + name: String + color: String + image: create_directus_files_input + markerIcon: create_marker_icons_input +} + +input create_inviteLinks_input { + id: ID + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date +} + +input create_items_files_input { + id: ID + items_id: create_items_input + directus_files_id: create_directus_files_input +} + +input create_items_input { + id: ID + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date + name: String + text: String + position: GraphQLGeoJSON + image: create_directus_files_input + layer: create_layers_input + start: Date + end: Date + color: String + parent: create_items_input + subname: String + public_edit: Boolean + slug: String + status: String + markerIcon: create_marker_icons_input + telephone: String + group_type: String + next_appointment: String + contact: String + openCollectiveSlug: String + draft: Boolean + gallery: [create_items_files_input] + offers: [create_items_tags_input] + needs: [create_items_tags_1_input] + relations: [create_items_items_input] + secrets: [create_itemSecrets_input] +} + +input create_items_items_input { + id: ID + items_id: create_items_input + related_items_id: create_items_input + type: String +} + +input create_items_tags_1_input { + id: ID + items_id: create_items_input + tags_id: create_tags_input +} + +input create_items_tags_input { + id: ID + items_id: create_items_input + tags_id: create_tags_input +} + +input create_itemSecrets_input { + secret: ID + item: create_items_input +} + +input create_junction_directus_users_tags_1_input { + id: ID + directus_users_id: create_directus_users_input + tags_id: create_tags_input +} + +input create_junction_directus_users_tags_input { + id: ID + directus_users_id: create_directus_users_input + tags_id: create_tags_input +} + +input create_layers_directus_users_1_input { + id: ID + layers_id: create_layers_input + directus_users_id: create_directus_users_input +} + +input create_layers_files_input { + id: ID + layers_id: create_layers_input + directus_files_id: create_directus_files_input +} + +input create_layers_input { + id: ID + name: String + markerShape: String + menuText: String + menuColor: String + indexIcon: create_directus_files_input + menuIcon: create_directus_files_input + onlyOnePerOwner: Boolean + itemType: create_types_input + index_plus_button: Boolean + public_edit_items: Boolean + markerIcon: create_marker_icons_input + markerDefaultColor2: String + listed: Boolean + item_presets: JSON + userProfileLayer: Boolean + maps: [create_layers_maps_input] + notifications: [create_layers_directus_users_1_input] +} + +input create_layers_maps_input { + id: ID + layers_id: create_layers_input + maps_id: create_maps_input +} + +input create_maps_input { + id: ID + name: String + url: String + logo: create_directus_files_input + zoom: Int + center: GraphQLGeoJSON + own_tag_space: Boolean + + """You can include GeoJSON""" + geo: JSON + show_layer_control: Boolean + show_filter_control: Boolean + user_type: create_types_input + + """Replace the info text in the info popup""" + custom_text: String + show_gratitude_control: Boolean + + """Shows a donation widget after 10 minutes""" + donation_widget: Boolean + show_theme_control: Boolean + default_theme: create_Themes_input + show_zoom_control: Boolean! + expand_layer_control: Boolean + info_open: Boolean + tile_server_url: String + tile_server_attribution: String + layers: [create_layers_maps_input] +} + +input create_marker_icons_input { + id: ID! + size: Float + image: create_directus_files_input +} + +input create_oceannomads_profiles_input { + id: ID! + date_created: Date + date_updated: Date + email: String + first_name: String + last_name: String + location: String + avatar_url: String +} + +input create_relations_input { + id: ID + relation: String +} + +input create_startEnd_input { + id: ID + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date +} + +input create_tags_input { + id: ID + name: String + color: String + map: create_maps_input + offer_or_need: Boolean + user_created: ID + date_created: Date +} + +input create_team_input { + id: ID + status: String + sort: Int + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date + name: String + role: String + text: String + image: create_directus_files_input +} + +input create_texts_input { + id: ID + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date + heading: String + hideWhenEmpty: Boolean + dataField: String + size: String + showMarkdownHint: Boolean +} + +input create_Themes_input { + theme: ID! +} + +input create_types_input { + id: ID + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date + name: String + show_text_input: Boolean + show_name_input: Boolean + show_profile_button: Boolean + show_text: Boolean + show_name: Boolean + custom_text: String + show_start_end_input: Boolean + show_start_end: Boolean + offers_and_needs: Boolean + relations: Boolean + onepager: Boolean + text_area: Boolean + text: Boolean + questlog: Boolean + icon_as_labels: Boolean + template: String + profileTemplate: [create_types_profileTemplate_input] +} + +input create_types_profileTemplate_input { + id: ID + types_id: create_types_input + item: String + collection: String + sort: Int +} + +input crowdfundings_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + _and: [crowdfundings_filter] + _or: [crowdfundings_filter] +} + input date_filter_operators { _eq: String _neq: String @@ -657,7 +3372,7 @@ input datetime_function_filter_operators { } input directus_access_filter { - id: string_filter_operators + id: id_filter_operators role: directus_roles_filter user: directus_users_filter policy: directus_policies_filter @@ -666,6 +3381,19 @@ input directus_access_filter { _or: [directus_access_filter] } +"""""" +input directus_access_quantifier_filter { + id: id_filter_operators + role: directus_roles_filter + user: directus_users_filter + policy: directus_policies_filter + sort: number_filter_operators + _and: [directus_access_filter] + _or: [directus_access_filter] + _some: directus_access_filter + _none: directus_access_filter +} + input directus_activity_filter { id: number_filter_operators action: string_filter_operators @@ -677,14 +3405,14 @@ input directus_activity_filter { collection: string_filter_operators item: string_filter_operators origin: string_filter_operators - revisions: directus_revisions_filter + revisions: directus_revisions_quantifier_filter revisions_func: count_function_filter_operators _and: [directus_activity_filter] _or: [directus_activity_filter] } input directus_dashboards_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators icon: string_filter_operators note: string_filter_operators @@ -692,14 +3420,14 @@ input directus_dashboards_filter { date_created_func: datetime_function_filter_operators user_created: directus_users_filter color: string_filter_operators - panels: directus_panels_filter + panels: directus_panels_quantifier_filter panels_func: count_function_filter_operators _and: [directus_dashboards_filter] _or: [directus_dashboards_filter] } input directus_files_filter { - id: string_filter_operators + id: id_filter_operators storage: string_filter_operators filename_disk: string_filter_operators filename_download: string_filter_operators @@ -736,7 +3464,7 @@ input directus_files_filter { } input directus_flows_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators icon: string_filter_operators color: string_filter_operators @@ -750,14 +3478,14 @@ input directus_flows_filter { date_created: date_filter_operators date_created_func: datetime_function_filter_operators user_created: directus_users_filter - operations: directus_operations_filter + operations: directus_operations_quantifier_filter operations_func: count_function_filter_operators _and: [directus_flows_filter] _or: [directus_flows_filter] } input directus_folders_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators parent: directus_folders_filter _and: [directus_folders_filter] @@ -765,7 +3493,7 @@ input directus_folders_filter { } input directus_operations_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators key: string_filter_operators type: string_filter_operators @@ -783,8 +3511,30 @@ input directus_operations_filter { _or: [directus_operations_filter] } +"""""" +input directus_operations_quantifier_filter { + id: id_filter_operators + name: string_filter_operators + key: string_filter_operators + type: string_filter_operators + position_x: number_filter_operators + position_y: number_filter_operators + options: string_filter_operators + options_func: count_function_filter_operators + resolve: directus_operations_filter + reject: directus_operations_filter + flow: directus_flows_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_created: directus_users_filter + _and: [directus_operations_filter] + _or: [directus_operations_filter] + _some: directus_operations_filter + _none: directus_operations_filter +} + input directus_panels_filter { - id: string_filter_operators + id: id_filter_operators dashboard: directus_dashboards_filter name: string_filter_operators icon: string_filter_operators @@ -805,6 +3555,31 @@ input directus_panels_filter { _or: [directus_panels_filter] } +"""""" +input directus_panels_quantifier_filter { + id: id_filter_operators + dashboard: directus_dashboards_filter + name: string_filter_operators + icon: string_filter_operators + color: string_filter_operators + show_header: boolean_filter_operators + note: string_filter_operators + type: string_filter_operators + position_x: number_filter_operators + position_y: number_filter_operators + width: number_filter_operators + height: number_filter_operators + options: string_filter_operators + options_func: count_function_filter_operators + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_created: directus_users_filter + _and: [directus_panels_filter] + _or: [directus_panels_filter] + _some: directus_panels_filter + _none: directus_panels_filter +} + input directus_permissions_filter { id: number_filter_operators collection: string_filter_operators @@ -821,8 +3596,27 @@ input directus_permissions_filter { _or: [directus_permissions_filter] } +"""""" +input directus_permissions_quantifier_filter { + id: number_filter_operators + collection: string_filter_operators + action: string_filter_operators + permissions: string_filter_operators + permissions_func: count_function_filter_operators + validation: string_filter_operators + validation_func: count_function_filter_operators + presets: string_filter_operators + presets_func: count_function_filter_operators + fields: string_filter_operators + policy: directus_policies_filter + _and: [directus_permissions_filter] + _or: [directus_permissions_filter] + _some: directus_permissions_filter + _none: directus_permissions_filter +} + input directus_policies_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators icon: string_filter_operators description: string_filter_operators @@ -830,11 +3624,11 @@ input directus_policies_filter { enforce_tfa: boolean_filter_operators admin_access: boolean_filter_operators app_access: boolean_filter_operators - permissions: directus_permissions_filter + permissions: directus_permissions_quantifier_filter permissions_func: count_function_filter_operators - users: directus_access_filter + users: directus_access_quantifier_filter users_func: count_function_filter_operators - roles: directus_access_filter + roles: directus_access_quantifier_filter roles_func: count_function_filter_operators _and: [directus_policies_filter] _or: [directus_policies_filter] @@ -855,24 +3649,72 @@ input directus_revisions_filter { _or: [directus_revisions_filter] } +"""""" +input directus_revisions_quantifier_filter { + id: number_filter_operators + activity: directus_activity_filter + collection: string_filter_operators + item: string_filter_operators + data: string_filter_operators + data_func: count_function_filter_operators + delta: string_filter_operators + delta_func: count_function_filter_operators + parent: directus_revisions_filter + version: directus_versions_filter + _and: [directus_revisions_filter] + _or: [directus_revisions_filter] + _some: directus_revisions_filter + _none: directus_revisions_filter +} + input directus_roles_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators icon: string_filter_operators description: string_filter_operators parent: directus_roles_filter - children: directus_roles_filter + children: directus_roles_quantifier_filter children_func: count_function_filter_operators - policies: directus_access_filter + policies: directus_access_quantifier_filter policies_func: count_function_filter_operators - users: directus_users_filter + users: directus_users_quantifier_filter users_func: count_function_filter_operators _and: [directus_roles_filter] _or: [directus_roles_filter] } +"""""" +input directus_roles_quantifier_filter { + id: id_filter_operators + name: string_filter_operators + icon: string_filter_operators + description: string_filter_operators + parent: directus_roles_filter + children: directus_roles_quantifier_filter + children_func: count_function_filter_operators + policies: directus_access_quantifier_filter + policies_func: count_function_filter_operators + users: directus_users_quantifier_filter + users_func: count_function_filter_operators + _and: [directus_roles_filter] + _or: [directus_roles_filter] + _some: directus_roles_filter + _none: directus_roles_filter +} + +input directus_sync_id_map_filter { + id: number_filter_operators + table: string_filter_operators + sync_id: string_filter_operators + local_id: string_filter_operators + created_at: date_filter_operators + created_at_func: datetime_function_filter_operators + _and: [directus_sync_id_map_filter] + _or: [directus_sync_id_map_filter] +} + input directus_users_filter { - id: string_filter_operators + id: id_filter_operators first_name: string_filter_operators last_name: string_filter_operators email: string_filter_operators @@ -903,14 +3745,63 @@ input directus_users_filter { theme_light_overrides_func: count_function_filter_operators theme_dark_overrides: string_filter_operators theme_dark_overrides_func: count_function_filter_operators - policies: directus_access_filter + imported: boolean_filter_operators + wc_user: boolean_filter_operators + notifications: layers_directus_users_1_quantifier_filter + notifications_func: count_function_filter_operators + policies: directus_access_quantifier_filter policies_func: count_function_filter_operators _and: [directus_users_filter] _or: [directus_users_filter] } +"""""" +input directus_users_quantifier_filter { + id: id_filter_operators + first_name: string_filter_operators + last_name: string_filter_operators + email: string_filter_operators + password: hash_filter_operators + location: string_filter_operators + title: string_filter_operators + description: string_filter_operators + tags: string_filter_operators + tags_func: count_function_filter_operators + avatar: directus_files_filter + language: string_filter_operators + tfa_secret: hash_filter_operators + status: string_filter_operators + role: directus_roles_filter + token: hash_filter_operators + last_access: date_filter_operators + last_access_func: datetime_function_filter_operators + last_page: string_filter_operators + provider: string_filter_operators + external_identifier: string_filter_operators + auth_data: string_filter_operators + auth_data_func: count_function_filter_operators + email_notifications: boolean_filter_operators + appearance: string_filter_operators + theme_dark: string_filter_operators + theme_light: string_filter_operators + theme_light_overrides: string_filter_operators + theme_light_overrides_func: count_function_filter_operators + theme_dark_overrides: string_filter_operators + theme_dark_overrides_func: count_function_filter_operators + imported: boolean_filter_operators + wc_user: boolean_filter_operators + notifications: layers_directus_users_1_quantifier_filter + notifications_func: count_function_filter_operators + policies: directus_access_quantifier_filter + policies_func: count_function_filter_operators + _and: [directus_users_filter] + _or: [directus_users_filter] + _some: directus_users_filter + _none: directus_users_filter +} + input directus_versions_filter { - id: string_filter_operators + id: id_filter_operators key: string_filter_operators name: string_filter_operators collection: string_filter_operators @@ -928,6 +3819,101 @@ input directus_versions_filter { _or: [directus_versions_filter] } +input features_filter { + id: number_filter_operators + status: string_filter_operators + sort: number_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + heading: string_filter_operators + symbol: string_filter_operators + text: string_filter_operators + _and: [features_filter] + _or: [features_filter] +} + +input gallery_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + hideInputLabel: boolean_filter_operators + _and: [gallery_filter] + _or: [gallery_filter] +} + +input geometry_filter_operators { + _eq: GraphQLGeoJSON + _neq: GraphQLGeoJSON + _intersects: GraphQLGeoJSON + _nintersects: GraphQLGeoJSON + _intersects_bbox: GraphQLGeoJSON + _nintersects_bbox: GraphQLGeoJSON + _null: Boolean + _nnull: Boolean +} + +input groupSubheaders_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + shareBaseUrl: string_filter_operators + groupStates: string_filter_operators + groupStates_func: count_function_filter_operators + platforms: string_filter_operators + platforms_func: count_function_filter_operators + groupTypes: groupSubheaders_groupTypes_quantifier_filter + groupTypes_func: count_function_filter_operators + _and: [groupSubheaders_filter] + _or: [groupSubheaders_filter] +} + +input groupSubheaders_groupTypes_filter { + id: number_filter_operators + groupSubheaders_id: groupSubheaders_filter + groupTypes_id: groupTypes_filter + _and: [groupSubheaders_groupTypes_filter] + _or: [groupSubheaders_groupTypes_filter] +} + +"""""" +input groupSubheaders_groupTypes_quantifier_filter { + id: number_filter_operators + groupSubheaders_id: groupSubheaders_filter + groupTypes_id: groupTypes_filter + _and: [groupSubheaders_groupTypes_filter] + _or: [groupSubheaders_groupTypes_filter] + _some: groupSubheaders_groupTypes_filter + _none: groupSubheaders_groupTypes_filter +} + +input groupTypes_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + name: string_filter_operators + color: string_filter_operators + image: directus_files_filter + markerIcon: marker_icons_filter + _and: [groupTypes_filter] + _or: [groupTypes_filter] +} + input hash_filter_operators { _null: Boolean _nnull: Boolean @@ -935,6 +3921,304 @@ input hash_filter_operators { _nempty: Boolean } +input id_filter_operators { + _eq: ID + _neq: ID + _contains: ID + _icontains: ID + _ncontains: ID + _starts_with: ID + _nstarts_with: ID + _istarts_with: ID + _nistarts_with: ID + _ends_with: ID + _nends_with: ID + _iends_with: ID + _niends_with: ID + _in: [ID] + _nin: [ID] + _null: Boolean + _nnull: Boolean + _empty: Boolean + _nempty: Boolean +} + +input inviteLinks_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + _and: [inviteLinks_filter] + _or: [inviteLinks_filter] +} + +input items_files_filter { + id: number_filter_operators + items_id: items_filter + directus_files_id: directus_files_filter + _and: [items_files_filter] + _or: [items_files_filter] +} + +"""""" +input items_files_quantifier_filter { + id: number_filter_operators + items_id: items_filter + directus_files_id: directus_files_filter + _and: [items_files_filter] + _or: [items_files_filter] + _some: items_files_filter + _none: items_files_filter +} + +input items_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + name: string_filter_operators + text: string_filter_operators + position: geometry_filter_operators + image: directus_files_filter + layer: layers_filter + start: date_filter_operators + start_func: datetime_function_filter_operators + end: date_filter_operators + end_func: datetime_function_filter_operators + color: string_filter_operators + parent: items_filter + subname: string_filter_operators + public_edit: boolean_filter_operators + slug: string_filter_operators + status: string_filter_operators + markerIcon: marker_icons_filter + telephone: string_filter_operators + group_type: string_filter_operators + next_appointment: string_filter_operators + contact: string_filter_operators + openCollectiveSlug: string_filter_operators + draft: boolean_filter_operators + gallery: items_files_quantifier_filter + gallery_func: count_function_filter_operators + offers: items_tags_quantifier_filter + offers_func: count_function_filter_operators + needs: items_tags_1_quantifier_filter + needs_func: count_function_filter_operators + relations: items_items_quantifier_filter + relations_func: count_function_filter_operators + secrets: itemSecrets_quantifier_filter + secrets_func: count_function_filter_operators + _and: [items_filter] + _or: [items_filter] +} + +input items_items_filter { + id: number_filter_operators + items_id: items_filter + related_items_id: items_filter + type: string_filter_operators + _and: [items_items_filter] + _or: [items_items_filter] +} + +"""""" +input items_items_quantifier_filter { + id: number_filter_operators + items_id: items_filter + related_items_id: items_filter + type: string_filter_operators + _and: [items_items_filter] + _or: [items_items_filter] + _some: items_items_filter + _none: items_items_filter +} + +input items_tags_1_filter { + id: number_filter_operators + items_id: items_filter + tags_id: tags_filter + _and: [items_tags_1_filter] + _or: [items_tags_1_filter] +} + +"""""" +input items_tags_1_quantifier_filter { + id: number_filter_operators + items_id: items_filter + tags_id: tags_filter + _and: [items_tags_1_filter] + _or: [items_tags_1_filter] + _some: items_tags_1_filter + _none: items_tags_1_filter +} + +input items_tags_filter { + id: number_filter_operators + items_id: items_filter + tags_id: tags_filter + _and: [items_tags_filter] + _or: [items_tags_filter] +} + +"""""" +input items_tags_quantifier_filter { + id: number_filter_operators + items_id: items_filter + tags_id: tags_filter + _and: [items_tags_filter] + _or: [items_tags_filter] + _some: items_tags_filter + _none: items_tags_filter +} + +input itemSecrets_filter { + secret: id_filter_operators + item: items_filter + _and: [itemSecrets_filter] + _or: [itemSecrets_filter] +} + +"""""" +input itemSecrets_quantifier_filter { + secret: id_filter_operators + item: items_filter + _and: [itemSecrets_filter] + _or: [itemSecrets_filter] + _some: itemSecrets_filter + _none: itemSecrets_filter +} + +input junction_directus_users_tags_1_filter { + id: number_filter_operators + directus_users_id: directus_users_filter + tags_id: tags_filter + _and: [junction_directus_users_tags_1_filter] + _or: [junction_directus_users_tags_1_filter] +} + +input junction_directus_users_tags_filter { + id: number_filter_operators + directus_users_id: directus_users_filter + tags_id: tags_filter + _and: [junction_directus_users_tags_filter] + _or: [junction_directus_users_tags_filter] +} + +input layers_directus_users_1_filter { + id: number_filter_operators + layers_id: layers_filter + directus_users_id: directus_users_filter + _and: [layers_directus_users_1_filter] + _or: [layers_directus_users_1_filter] +} + +"""""" +input layers_directus_users_1_quantifier_filter { + id: number_filter_operators + layers_id: layers_filter + directus_users_id: directus_users_filter + _and: [layers_directus_users_1_filter] + _or: [layers_directus_users_1_filter] + _some: layers_directus_users_1_filter + _none: layers_directus_users_1_filter +} + +input layers_files_filter { + id: number_filter_operators + layers_id: layers_filter + directus_files_id: directus_files_filter + _and: [layers_files_filter] + _or: [layers_files_filter] +} + +input layers_filter { + id: id_filter_operators + name: string_filter_operators + markerShape: string_filter_operators + menuText: string_filter_operators + menuColor: string_filter_operators + indexIcon: directus_files_filter + menuIcon: directus_files_filter + onlyOnePerOwner: boolean_filter_operators + itemType: types_filter + index_plus_button: boolean_filter_operators + public_edit_items: boolean_filter_operators + markerIcon: marker_icons_filter + markerDefaultColor2: string_filter_operators + listed: boolean_filter_operators + item_presets: string_filter_operators + item_presets_func: count_function_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 + _and: [layers_filter] + _or: [layers_filter] +} + +input layers_maps_filter { + id: number_filter_operators + layers_id: layers_filter + maps_id: maps_filter + _and: [layers_maps_filter] + _or: [layers_maps_filter] +} + +"""""" +input layers_maps_quantifier_filter { + id: number_filter_operators + layers_id: layers_filter + maps_id: maps_filter + _and: [layers_maps_filter] + _or: [layers_maps_filter] + _some: layers_maps_filter + _none: layers_maps_filter +} + +input maps_filter { + id: id_filter_operators + name: string_filter_operators + url: string_filter_operators + logo: directus_files_filter + zoom: number_filter_operators + center: geometry_filter_operators + own_tag_space: boolean_filter_operators + geo: string_filter_operators + geo_func: count_function_filter_operators + show_layer_control: boolean_filter_operators + show_filter_control: boolean_filter_operators + user_type: types_filter + custom_text: string_filter_operators + show_gratitude_control: boolean_filter_operators + donation_widget: boolean_filter_operators + show_theme_control: boolean_filter_operators + default_theme: Themes_filter + show_zoom_control: boolean_filter_operators + expand_layer_control: boolean_filter_operators + info_open: boolean_filter_operators + tile_server_url: string_filter_operators + tile_server_attribution: string_filter_operators + layers: layers_maps_quantifier_filter + layers_func: count_function_filter_operators + _and: [maps_filter] + _or: [maps_filter] +} + +input marker_icons_filter { + id: string_filter_operators + size: number_filter_operators + image: directus_files_filter + _and: [marker_icons_filter] + _or: [marker_icons_filter] +} + input number_filter_operators { _eq: GraphQLStringOrFloat _neq: GraphQLStringOrFloat @@ -950,6 +4234,40 @@ input number_filter_operators { _nbetween: [GraphQLStringOrFloat] } +input oceannomads_profiles_filter { + id: string_filter_operators + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + email: string_filter_operators + first_name: string_filter_operators + last_name: string_filter_operators + location: string_filter_operators + avatar_url: string_filter_operators + _and: [oceannomads_profiles_filter] + _or: [oceannomads_profiles_filter] +} + +input relations_filter { + id: number_filter_operators + relation: string_filter_operators + _and: [relations_filter] + _or: [relations_filter] +} + +input startEnd_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + _and: [startEnd_filter] + _or: [startEnd_filter] +} + input string_filter_operators { _eq: String _neq: String @@ -970,4 +4288,592 @@ input string_filter_operators { _nnull: Boolean _empty: Boolean _nempty: Boolean +} + +input tags_filter { + id: id_filter_operators + name: string_filter_operators + color: string_filter_operators + map: maps_filter + offer_or_need: boolean_filter_operators + user_created: id_filter_operators + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + _and: [tags_filter] + _or: [tags_filter] +} + +input team_filter { + id: id_filter_operators + status: string_filter_operators + sort: number_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + name: string_filter_operators + role: string_filter_operators + text: string_filter_operators + image: directus_files_filter + _and: [team_filter] + _or: [team_filter] +} + +input texts_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + heading: string_filter_operators + hideWhenEmpty: boolean_filter_operators + dataField: string_filter_operators + size: string_filter_operators + showMarkdownHint: boolean_filter_operators + _and: [texts_filter] + _or: [texts_filter] +} + +input Themes_filter { + theme: string_filter_operators + _and: [Themes_filter] + _or: [Themes_filter] +} + +input types_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + name: string_filter_operators + show_text_input: boolean_filter_operators + show_name_input: boolean_filter_operators + show_profile_button: boolean_filter_operators + show_text: boolean_filter_operators + show_name: boolean_filter_operators + custom_text: string_filter_operators + show_start_end_input: boolean_filter_operators + show_start_end: boolean_filter_operators + offers_and_needs: boolean_filter_operators + relations: boolean_filter_operators + onepager: boolean_filter_operators + text_area: boolean_filter_operators + text: boolean_filter_operators + questlog: boolean_filter_operators + icon_as_labels: boolean_filter_operators + template: string_filter_operators + profileTemplate: types_profileTemplate_quantifier_filter + profileTemplate_func: count_function_filter_operators + _and: [types_filter] + _or: [types_filter] +} + +input types_profileTemplate_filter { + id: number_filter_operators + types_id: types_filter + collection: string_filter_operators + sort: number_filter_operators + _and: [types_profileTemplate_filter] + _or: [types_profileTemplate_filter] + item__groupSubheaders: groupSubheaders_filter + item__contactInfos: contactInfos_filter + item__texts: texts_filter + item__startEnd: startEnd_filter + item__gallery: gallery_filter + item__crowdfundings: crowdfundings_filter + item__inviteLinks: inviteLinks_filter + item__relations: relations_filter +} + +"""""" +input types_profileTemplate_quantifier_filter { + id: number_filter_operators + types_id: types_filter + collection: string_filter_operators + sort: number_filter_operators + _and: [types_profileTemplate_filter] + _or: [types_profileTemplate_filter] + _some: types_profileTemplate_filter + _none: types_profileTemplate_filter + item__groupSubheaders: groupSubheaders_filter + item__contactInfos: contactInfos_filter + item__texts: texts_filter + item__startEnd: startEnd_filter + item__gallery: gallery_filter + item__crowdfundings: crowdfundings_filter + item__inviteLinks: inviteLinks_filter + item__relations: relations_filter +} + +input update_attestations_directus_users_input { + id: ID + attestations_id: update_attestations_input + directus_users_id: update_directus_users_input +} + +input update_attestations_input { + id: ID + user_created: update_directus_users_input + date_created: Date + text: String + color: String + emoji: String + shape: String + to: [update_attestations_directus_users_input] +} + +input update_contactInfos_input { + id: ID + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date + heading: String +} + +input update_crowdfundings_input { + id: ID + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date +} + +input update_directus_access_input { + id: ID + role: update_directus_roles_input + user: update_directus_users_input + policy: update_directus_policies_input + sort: Int +} + +input update_directus_files_input { + id: ID + storage: String + filename_disk: String + filename_download: String + title: String + type: String + folder: update_directus_folders_input + uploaded_by: update_directus_users_input + created_on: Date + modified_by: update_directus_users_input + modified_on: Date + charset: String + filesize: GraphQLBigInt + width: Int + height: Int + duration: Int + embed: String + description: String + location: String + tags: JSON + metadata: JSON + focal_point_x: Int + focal_point_y: Int + tus_id: String + tus_data: JSON + uploaded_on: Date +} + +input update_directus_folders_input { + id: ID + name: String + parent: update_directus_folders_input +} + +input update_directus_permissions_input { + id: ID + collection: String + action: String + permissions: JSON + validation: JSON + presets: JSON + fields: [String] + policy: update_directus_policies_input +} + +input update_directus_policies_input { + id: ID + name: String + icon: String + description: String + ip_access: [String] + + """$t:field_options.directus_policies.enforce_tfa""" + enforce_tfa: Boolean + admin_access: Boolean + app_access: Boolean + permissions: [update_directus_permissions_input] + users: [update_directus_access_input] + roles: [update_directus_access_input] +} + +input update_directus_roles_input { + id: ID + name: String + icon: String + description: String + parent: update_directus_roles_input + children: [update_directus_roles_input] + policies: [update_directus_access_input] + users: [update_directus_users_input] +} + +input update_directus_sync_id_map_input { + id: ID + table: String + sync_id: String + local_id: String + created_at: Date +} + +input update_directus_users_input { + id: ID + first_name: String + last_name: String + email: String + password: Hash + location: String + title: String + description: String + tags: JSON + avatar: update_directus_files_input + language: String + tfa_secret: Hash + status: String + role: update_directus_roles_input + token: Hash + last_access: Date + last_page: String + provider: String + external_identifier: String + auth_data: JSON + email_notifications: Boolean + appearance: String + theme_dark: String + theme_light: String + theme_light_overrides: JSON + theme_dark_overrides: JSON + imported: Boolean + wc_user: Boolean + notifications: [update_layers_directus_users_1_input] + policies: [update_directus_access_input] +} + +input update_features_input { + id: ID + status: String + sort: Int + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date + heading: String + symbol: String + text: String +} + +input update_gallery_input { + id: ID + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date + hideInputLabel: Boolean +} + +input update_groupSubheaders_groupTypes_input { + id: ID + groupSubheaders_id: update_groupSubheaders_input + groupTypes_id: update_groupTypes_input +} + +input update_groupSubheaders_input { + id: ID + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date + shareBaseUrl: String + groupStates: JSON + platforms: JSON + groupTypes: [update_groupSubheaders_groupTypes_input] +} + +input update_groupTypes_input { + id: ID + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date + name: String + color: String + image: update_directus_files_input + markerIcon: update_marker_icons_input +} + +input update_inviteLinks_input { + id: ID + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date +} + +input update_items_files_input { + id: ID + items_id: update_items_input + directus_files_id: update_directus_files_input +} + +input update_items_input { + id: ID + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date + name: String + text: String + position: GraphQLGeoJSON + image: update_directus_files_input + layer: update_layers_input + start: Date + end: Date + color: String + parent: update_items_input + subname: String + public_edit: Boolean + slug: String + status: String + markerIcon: update_marker_icons_input + telephone: String + group_type: String + next_appointment: String + contact: String + openCollectiveSlug: String + draft: Boolean + gallery: [update_items_files_input] + offers: [update_items_tags_input] + needs: [update_items_tags_1_input] + relations: [update_items_items_input] + secrets: [update_itemSecrets_input] +} + +input update_items_items_input { + id: ID + items_id: update_items_input + related_items_id: update_items_input + type: String +} + +input update_items_tags_1_input { + id: ID + items_id: update_items_input + tags_id: update_tags_input +} + +input update_items_tags_input { + id: ID + items_id: update_items_input + tags_id: update_tags_input +} + +input update_itemSecrets_input { + secret: ID + item: update_items_input +} + +input update_junction_directus_users_tags_1_input { + id: ID + directus_users_id: update_directus_users_input + tags_id: update_tags_input +} + +input update_junction_directus_users_tags_input { + id: ID + directus_users_id: update_directus_users_input + tags_id: update_tags_input +} + +input update_layers_directus_users_1_input { + id: ID + layers_id: update_layers_input + directus_users_id: update_directus_users_input +} + +input update_layers_files_input { + id: ID + layers_id: update_layers_input + directus_files_id: update_directus_files_input +} + +input update_layers_input { + id: ID + name: String + markerShape: String + menuText: String + menuColor: String + indexIcon: update_directus_files_input + menuIcon: update_directus_files_input + onlyOnePerOwner: Boolean + itemType: update_types_input + index_plus_button: Boolean + public_edit_items: Boolean + markerIcon: update_marker_icons_input + markerDefaultColor2: String + listed: Boolean + item_presets: JSON + userProfileLayer: Boolean + maps: [update_layers_maps_input] + notifications: [update_layers_directus_users_1_input] +} + +input update_layers_maps_input { + id: ID + layers_id: update_layers_input + maps_id: update_maps_input +} + +input update_maps_input { + id: ID + name: String + url: String + logo: update_directus_files_input + zoom: Int + center: GraphQLGeoJSON + own_tag_space: Boolean + + """You can include GeoJSON""" + geo: JSON + show_layer_control: Boolean + show_filter_control: Boolean + user_type: update_types_input + + """Replace the info text in the info popup""" + custom_text: String + show_gratitude_control: Boolean + + """Shows a donation widget after 10 minutes""" + donation_widget: Boolean + show_theme_control: Boolean + default_theme: update_Themes_input + show_zoom_control: Boolean + expand_layer_control: Boolean + info_open: Boolean + tile_server_url: String + tile_server_attribution: String + layers: [update_layers_maps_input] +} + +input update_marker_icons_input { + id: ID + size: Float + image: update_directus_files_input +} + +input update_oceannomads_profiles_input { + id: ID + date_created: Date + date_updated: Date + email: String + first_name: String + last_name: String + location: String + avatar_url: String +} + +input update_relations_input { + id: ID + relation: String +} + +input update_startEnd_input { + id: ID + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date +} + +input update_tags_input { + id: ID + name: String + color: String + map: update_maps_input + offer_or_need: Boolean + user_created: ID + date_created: Date +} + +input update_team_input { + id: ID + status: String + sort: Int + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date + name: String + role: String + text: String + image: update_directus_files_input +} + +input update_texts_input { + id: ID + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date + heading: String + hideWhenEmpty: Boolean + dataField: String + size: String + showMarkdownHint: Boolean +} + +input update_Themes_input { + theme: ID +} + +input update_types_input { + id: ID + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date + name: String + show_text_input: Boolean + show_name_input: Boolean + show_profile_button: Boolean + show_text: Boolean + show_name: Boolean + custom_text: String + show_start_end_input: Boolean + show_start_end: Boolean + offers_and_needs: Boolean + relations: Boolean + onepager: Boolean + text_area: Boolean + text: Boolean + questlog: Boolean + icon_as_labels: Boolean + template: String + profileTemplate: [update_types_profileTemplate_input] +} + +input update_types_profileTemplate_input { + id: ID + types_id: update_types_input + item: String + collection: String + sort: Int } \ No newline at end of file diff --git a/backend/directus-config/specs/openapi.json b/backend/directus-config/specs/openapi.json index a0f55792..49f05248 100644 --- a/backend/directus-config/specs/openapi.json +++ b/backend/directus-config/specs/openapi.json @@ -3,7 +3,7 @@ "info": { "title": "Dynamic API Specification", "description": "This is a dynamically generated API specification for all endpoints existing on the current project.", - "version": "11.4.1" + "version": "11.7.2" }, "servers": [ { @@ -949,75 +949,16 @@ ] } }, - "/folders": { - "get": { - "summary": "List Folders", - "description": "List the folders.", - "operationId": "getFolders", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Folders" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Folders" - ] - }, + "/items/contactInfos": { "post": { - "summary": "Create a Folder", - "description": "Create a new folder.", - "operationId": "createFolder", + "summary": "Create an Item", + "description": "Create a new contactInfos item.", + "tags": [ + "Items", + "ItemsContactInfos" + ], + "operationId": "createItemsContactInfos", "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, { "$ref": "#/components/parameters/Meta" } @@ -1026,20 +967,16 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "Amsterdam", - "description": "Name of the folder." + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsContactInfos" + } }, - "parent": { - "description": "Unique identifier of the parent folder. This allows for nested folders.", - "type": "integer" + { + "$ref": "#/components/schemas/ItemsContactInfos" } - }, - "required": [ - "name" ] } } @@ -1054,7 +991,10 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Folders" + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsContactInfos" + } } } } @@ -1063,22 +1003,22 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Folders" - ] + } }, - "patch": { - "summary": "Update Multiple Folders", - "description": "Update multiple folders at the same time.", + "get": { + "summary": "List Items", + "description": "List the contactInfos items.", "tags": [ - "Folders" + "Items", + "ItemsContactInfos" + ], + "operationId": "readItemsContactInfos", + "security": [ + { + "Auth": [] + } ], - "operationId": "updateFolders", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -1102,40 +1042,6 @@ "$ref": "#/components/parameters/Search" } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "Amsterdam", - "description": "Name of the folder." - }, - "parent": { - "description": "Unique identifier of the parent folder. This allows for nested folders.", - "type": "integer" - } - }, - "required": [ - "name" - ] - }, - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, "responses": { "200": { "description": "Successful request", @@ -1147,7 +1053,8 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Folders" + "type": "object", + "$ref": "#/components/schemas/ItemsContactInfos" } }, "meta": { @@ -1163,158 +1070,14 @@ } } }, - "delete": { - "summary": "Delete Multiple Folders", - "description": "Delete multiple existing folders.", - "tags": [ - "Folders" - ], - "operationId": "deleteFolders", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/folders/{id}": { - "get": { - "summary": "Retrieve a Folder", - "description": "Retrieve a single folder by unique identifier.", - "operationId": "getFolder", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Folders" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Folders" - ] - }, "patch": { - "summary": "Update a Folder", - "description": "Update an existing folder", - "operationId": "updateFolder", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the folder. Can't be null or empty." - }, - "parent": { - "type": "integer", - "example": 3, - "description": "Unique identifier of the parent folder. This allows for nested folders." - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Folders" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, + "summary": "Update Multiple Items", + "description": "Update multiple contactInfos items at the same time.", "tags": [ - "Folders" - ] - }, - "delete": { - "summary": "Delete a Folder", - "description": "Delete an existing folder", - "operationId": "deleteFolder", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Folders" + "Items", + "ItemsContactInfos" ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/relations": { - "get": { - "summary": "List Relations", - "description": "List the relations.", - "operationId": "getRelations", + "operationId": "updateItemsContactInfos", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -1323,10 +1086,10 @@ "$ref": "#/components/parameters/Limit" }, { - "$ref": "#/components/parameters/Offset" + "$ref": "#/components/parameters/Meta" }, { - "$ref": "#/components/parameters/Meta" + "$ref": "#/components/parameters/Offset" }, { "$ref": "#/components/parameters/Sort" @@ -1336,130 +1099,104 @@ }, { "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Page" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Relations" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Relations" - ] - }, - "post": { - "summary": "Create a Relation", - "description": "Create a new relation.", - "operationId": "createRelation", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" } ], "requestBody": { "content": { "application/json": { "schema": { - "properties": { - "collection_many": { - "description": "Collection that has the field that holds the foreign key.", - "type": "string", - "example": "articles" + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsContactInfos" + } }, - "collection_one": { - "description": "Collection on the _one_ side of the relationship.", - "type": "string", - "example": "authors" - }, - "field_many": { - "description": "Foreign key. Field that holds the primary key of the related collection.", - "type": "string", - "example": "author" - }, - "field_one": { - "description": "Alias column that serves as the _one_ side of the relationship.", - "type": "string", - "example": "books" - }, - "junction_field": { - "description": "Field on the junction table that holds the primary key of the related collection.", - "type": "string" + { + "$ref": "#/components/schemas/ItemsContactInfos" } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsContactInfos" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing contactInfos items.", + "tags": [ + "Items", + "ItemsContactInfos" + ], + "operationId": "deleteItemsContactInfos", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/contactInfos/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single contactInfos item by unique identifier.", + "tags": [ + "Items", + "ItemsContactInfos" + ], + "operationId": "readSingleItemsContactInfos", + "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": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Relations" - } - } + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" } - } + ] } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Relations" - ] - } - }, - "/relations/{id}": { - "get": { - "summary": "Retrieve a Relation", - "description": "Retrieve a single relation by unique identifier.", - "operationId": "getRelation", - "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" } ], "responses": { @@ -1471,7 +1208,8 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Relations" + "type": "object", + "$ref": "#/components/schemas/ItemsContactInfos" } } } @@ -1484,54 +1222,50 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Relations" - ] + } }, "patch": { - "summary": "Update a Relation", - "description": "Update an existing relation", - "operationId": "updateRelation", + "summary": "Update an Item", + "description": "Update an existing contactInfos item.", + "tags": [ + "Items", + "ItemsContactInfos" + ], + "operationId": "updateSingleItemsContactInfos", "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, { "$ref": "#/components/parameters/Fields" }, { "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "collection_many": { - "description": "Collection that has the field that holds the foreign key.", - "type": "string" - }, - "collection_one": { - "description": "Collection on the _one_ side of the relationship.", - "type": "string" - }, - "field_many": { - "description": "Foreign key. Field that holds the primary key of the related collection.", - "type": "string" - }, - "field_one": { - "description": "Alias column that serves as the _one_ side of the relationship.", - "type": "string", - "example": "books" - }, - "junction_field": { - "description": "Field on the junction table that holds the primary key of the related collection.", - "type": "string" - } + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 }, - "type": "object" + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/ItemsContactInfos" } } } @@ -1545,7 +1279,8 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Relations" + "type": "object", + "$ref": "#/components/schemas/ItemsContactInfos" } } } @@ -1558,15 +1293,16 @@ "404": { "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Relations" - ] + } }, "delete": { - "summary": "Delete a Relation", - "description": "Delete an existing relation.", - "operationId": "deleteRelation", + "summary": "Delete an Item", + "description": "Delete an existing contactInfos item.", + "tags": [ + "Items", + "ItemsContactInfos" + ], + "operationId": "deleteSingleItemsContactInfos", "responses": { "200": { "description": "Successful request" @@ -1578,91 +1314,59 @@ "$ref": "#/components/responses/NotFoundError" } }, - "tags": [ - "Relations" - ], "parameters": [ { - "$ref": "#/components/parameters/Id" + "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" + } + ] + } } ] } }, - "/files": { - "get": { - "summary": "List Files", - "description": "List the files.", - "tags": [ - "Files" - ], - "operationId": "getFiles", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Files" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, + "/items/crowdfundings": { "post": { - "summary": "Create a File", - "description": "Create a new file", + "summary": "Create an Item", + "description": "Create a new crowdfundings item.", "tags": [ - "Files" + "Items", + "ItemsCrowdfundings" + ], + "operationId": "createItemsCrowdfundings", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } ], - "operationId": "createFile", "requestBody": { "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "data": { - "type": "string" + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsCrowdfundings" + } + }, + { + "$ref": "#/components/schemas/ItemsCrowdfundings" } - } + ] } } } @@ -1676,7 +1380,74 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Files" + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsCrowdfundings" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the crowdfundings items.", + "tags": [ + "Items", + "ItemsCrowdfundings" + ], + "operationId": "readItemsCrowdfundings", + "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/ItemsCrowdfundings" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -1689,12 +1460,13 @@ } }, "patch": { - "summary": "Update Multiple Files", - "description": "Update multiple files at the same time.", + "summary": "Update Multiple Items", + "description": "Update multiple crowdfundings items at the same time.", "tags": [ - "Files" + "Items", + "ItemsCrowdfundings" ], - "operationId": "updateFiles", + "operationId": "updateItemsCrowdfundings", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -1722,26 +1494,271 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "data": { - "type": "string" - } - } - }, - "keys": { + "oneOf": [ + { "type": "array", "items": { - "type": "string" + "$ref": "#/components/schemas/ItemsCrowdfundings" + } + }, + { + "$ref": "#/components/schemas/ItemsCrowdfundings" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsCrowdfundings" + } } } } } } } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing crowdfundings items.", + "tags": [ + "Items", + "ItemsCrowdfundings" + ], + "operationId": "deleteItemsCrowdfundings", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/crowdfundings/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single crowdfundings item by unique identifier.", + "tags": [ + "Items", + "ItemsCrowdfundings" + ], + "operationId": "readSingleItemsCrowdfundings", + "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/ItemsCrowdfundings" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing crowdfundings item.", + "tags": [ + "Items", + "ItemsCrowdfundings" + ], + "operationId": "updateSingleItemsCrowdfundings", + "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/ItemsCrowdfundings" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsCrowdfundings" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing crowdfundings item.", + "tags": [ + "Items", + "ItemsCrowdfundings" + ], + "operationId": "deleteSingleItemsCrowdfundings", + "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/Themes": { + "post": { + "summary": "Create an Item", + "description": "Create a new Themes item.", + "tags": [ + "Items", + "ItemsThemes" + ], + "operationId": "createItemsThemes", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsThemes" + } + }, + { + "$ref": "#/components/schemas/ItemsThemes" + } + ] + } + } + } }, "responses": { "200": { @@ -1754,7 +1771,68 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Files" + "$ref": "#/components/schemas/ItemsThemes" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the Themes items.", + "tags": [ + "Items", + "ItemsThemes" + ], + "operationId": "readItemsThemes", + "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/ItemsThemes" } }, "meta": { @@ -1770,13 +1848,84 @@ } } }, - "delete": { - "summary": "Delete Multiple Files", - "description": "Delete multiple existing files.", + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple Themes items at the same time.", "tags": [ - "Files" + "Items", + "ItemsThemes" ], - "operationId": "deleteFiles", + "operationId": "updateItemsThemes", + "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/ItemsThemes" + } + }, + { + "$ref": "#/components/schemas/ItemsThemes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsThemes" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing Themes items.", + "tags": [ + "Items", + "ItemsThemes" + ], + "operationId": "deleteItemsThemes", "responses": { "200": { "description": "Successful request" @@ -1784,26 +1933,48 @@ "401": { "$ref": "#/components/responses/UnauthorizedError" } - } + }, + "parameters": [] } }, - "/files/{id}": { + "/items/Themes/{id}": { "get": { - "summary": "Retrieve a Files", - "description": "Retrieve a single file by unique identifier.", + "summary": "Retrieve an Item", + "description": "Retrieve a single Themes item by unique identifier.", "tags": [ - "Files" + "Items", + "ItemsThemes" ], - "operationId": "getFile", + "operationId": "readSingleItemsThemes", "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, { "$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": { @@ -1815,7 +1986,246 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Files" + "type": "object", + "$ref": "#/components/schemas/ItemsThemes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing Themes item.", + "tags": [ + "Items", + "ItemsThemes" + ], + "operationId": "updateSingleItemsThemes", + "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/ItemsThemes" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsThemes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing Themes item.", + "tags": [ + "Items", + "ItemsThemes" + ], + "operationId": "deleteSingleItemsThemes", + "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", + "description": "Create a new attestations item.", + "tags": [ + "Items", + "ItemsAttestations" + ], + "operationId": "createItemsAttestations", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsAttestations" + } + }, + { + "$ref": "#/components/schemas/ItemsAttestations" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsAttestations" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the attestations items.", + "tags": [ + "Items", + "ItemsAttestations" + ], + "operationId": "readItemsAttestations", + "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/ItemsAttestations" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -1828,114 +2238,201 @@ } }, "patch": { - "summary": "Update a File", - "description": "Update an existing file, and/or replace it's file contents.", + "summary": "Update Multiple Items", + "description": "Update multiple attestations items at the same time.", "tags": [ - "Files" + "Items", + "ItemsAttestations" ], - "operationId": "updateFile", + "operationId": "updateItemsAttestations", "parameters": [ { - "$ref": "#/components/parameters/UUId" + "$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/ItemsAttestations" + } + }, + { + "$ref": "#/components/schemas/ItemsAttestations" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsAttestations" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing attestations items.", + "tags": [ + "Items", + "ItemsAttestations" + ], + "operationId": "deleteItemsAttestations", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/attestations/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single attestations item by unique identifier.", + "tags": [ + "Items", + "ItemsAttestations" + ], + "operationId": "readSingleItemsAttestations", + "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/ItemsAttestations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing attestations item.", + "tags": [ + "Items", + "ItemsAttestations" + ], + "operationId": "updateSingleItemsAttestations", + "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": { - "multipart/data": { - "schema": { - "type": "object", - "required": [ - "file" - ], - "properties": { - "title": { - "description": "Title for the file. Is extracted from the filename on upload, but can be edited by the user.", - "example": "User Avatar", - "type": "string" - }, - "filename_download": { - "description": "Preferred filename when file is downloaded.", - "type": "string" - }, - "description": { - "description": "Description for the file.", - "type": "string", - "nullable": true - }, - "folder": { - "description": "Virtual folder where this file resides in.", - "example": null, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Folders" - } - ], - "nullable": true - }, - "tags": { - "description": "Tags for the file. Is automatically populated based on Exif data for images.", - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - }, - "file": { - "description": "File contents.", - "format": "binary" - } - } - } - }, "application/json": { "schema": { "type": "object", - "properties": { - "title": { - "description": "Title for the file. Is extracted from the filename on upload, but can be edited by the user.", - "example": "User Avatar", - "type": "string" - }, - "filename_download": { - "description": "Preferred filename when file is downloaded.", - "type": "string" - }, - "description": { - "description": "Description for the file.", - "type": "string", - "nullable": true - }, - "folder": { - "description": "Virtual folder where this file resides in.", - "example": null, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Folders" - } - ], - "nullable": true - }, - "tags": { - "description": "Tags for the file. Is automatically populated based on Exif data for images.", - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - } + "$ref": "#/components/schemas/ItemsAttestations" } } } @@ -1949,7 +2446,8 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Files" + "type": "object", + "$ref": "#/components/schemas/ItemsAttestations" } } } @@ -1958,27 +2456,51 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } } }, "delete": { - "summary": "Delete a File", - "description": "Delete an existing file.", + "summary": "Delete an Item", + "description": "Delete an existing attestations item.", "tags": [ - "Files" + "Items", + "ItemsAttestations" ], - "operationId": "deleteFile", + "operationId": "deleteSingleItemsAttestations", "responses": { "200": { "description": "Successful request" }, "401": { "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" } }, "parameters": [ { - "$ref": "#/components/parameters/UUId" + "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" + } + ] + } } ] } @@ -2680,6 +3202,1216 @@ ] } }, + "/comments": { + "get": { + "tags": [ + "Comments" + ], + "operationId": "getComments", + "summary": "List Comments", + "description": "List the comments.", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Page" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Comments" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "post": { + "tags": [ + "Comments" + ], + "operationId": "createComment", + "summary": "Create a Comment", + "description": "Create a new comment.", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "collection", + "item", + "comment" + ], + "properties": { + "collection": { + "type": "string", + "description": "Which collection this collection comment is for.", + "example": "projects" + }, + "item": { + "type": "string", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" + }, + "comment": { + "type": "string", + "example": "A new comment" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Comments" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Comments", + "description": "Update multiple comments at the same time.", + "tags": [ + "Comments" + ], + "operationId": "updateComments", + "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": { + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "data": { + "type": "object", + "required": [ + "collection" + ], + "properties": { + "collection": { + "type": "string", + "description": "Which collection this collection comment is for.", + "example": "projects" + }, + "item": { + "type": "string", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" + }, + "comment": { + "type": "string", + "example": "A new comment" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Comments" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Comments", + "description": "Delete multiple existing comments.", + "tags": [ + "Comments" + ], + "operationId": "deleteComments", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/comments/{id}": { + "get": { + "tags": [ + "Comments" + ], + "operationId": "getComment", + "summary": "Retrieve a Comment", + "description": "Retrieve a single comment by unique identifier.", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Comments" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "tags": [ + "Comments" + ], + "operationId": "updateComment", + "summary": "Update a Comment", + "description": "Update an existing comment.", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "collection" + ], + "properties": { + "collection": { + "type": "string", + "description": "Which collection this comment is for.", + "example": "projects" + }, + "item": { + "type": "string", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" + }, + "comment": { + "type": "string", + "example": "An updated comment" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Comments" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "tags": [ + "Comments" + ], + "operationId": "deleteComment", + "summary": "Delete a Comment", + "description": "Delete an existing comment.", + "security": [ + { + "Auth": [] + } + ], + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/folders": { + "get": { + "summary": "List Folders", + "description": "List the folders.", + "operationId": "getFolders", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Folders" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Folders" + ] + }, + "post": { + "summary": "Create a Folder", + "description": "Create a new folder.", + "operationId": "createFolder", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "Amsterdam", + "description": "Name of the folder." + }, + "parent": { + "description": "Unique identifier of the parent folder. This allows for nested folders.", + "type": "integer" + } + }, + "required": [ + "name" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Folders" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Folders" + ] + }, + "patch": { + "summary": "Update Multiple Folders", + "description": "Update multiple folders at the same time.", + "tags": [ + "Folders" + ], + "operationId": "updateFolders", + "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": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "Amsterdam", + "description": "Name of the folder." + }, + "parent": { + "description": "Unique identifier of the parent folder. This allows for nested folders.", + "type": "integer" + } + }, + "required": [ + "name" + ] + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Folders" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Folders", + "description": "Delete multiple existing folders.", + "tags": [ + "Folders" + ], + "operationId": "deleteFolders", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/folders/{id}": { + "get": { + "summary": "Retrieve a Folder", + "description": "Retrieve a single folder by unique identifier.", + "operationId": "getFolder", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Folders" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Folders" + ] + }, + "patch": { + "summary": "Update a Folder", + "description": "Update an existing folder", + "operationId": "updateFolder", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the folder. Can't be null or empty." + }, + "parent": { + "type": "integer", + "example": 3, + "description": "Unique identifier of the parent folder. This allows for nested folders." + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Folders" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Folders" + ] + }, + "delete": { + "summary": "Delete a Folder", + "description": "Delete an existing folder", + "operationId": "deleteFolder", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Folders" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/extensions": { + "get": { + "summary": "List Extensions", + "description": "List the installed extensions and their configuration in the project.", + "operationId": "listExtensions", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Extensions" + } + } + } + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "tags": [ + "Extensions" + ] + } + }, + "/extensions/{name}": { + "patch": { + "summary": "Update an Extension", + "description": "Update an existing extension.", + "operationId": "updateExtensions", + "parameters": [ + { + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "meta": { + "type": "object", + "description": "Directus metadata for the extension. Where the configuration for the extension in the current project is stored.", + "properties": { + "enabled": { + "description": "Whether or not the extension is enabled.", + "example": true, + "type": "boolean" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Extensions" + } + } + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Extensions" + ] + } + }, + "/extensions/{bundle}/{name}": { + "patch": { + "summary": "Update an Extension", + "description": "Update an existing extension.", + "operationId": "updateExtensionBundle", + "parameters": [ + { + "in": "path", + "name": "bundle", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "meta": { + "type": "object", + "description": "Directus metadata for the extension. Where the configuration for the extension in the current project is stored.", + "properties": { + "enabled": { + "description": "Whether or not the extension is enabled.", + "example": true, + "type": "boolean" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Extensions" + } + } + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Extensions" + ] + } + }, + "/flows": { + "get": { + "summary": "List Flows", + "description": "Get all flows.", + "operationId": "getFlows", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Flows" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Flows" + ] + }, + "post": { + "summary": "Create a Flow", + "description": "Create a new flow.", + "operationId": "createFlow", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Flows" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Flows" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Flows" + ] + }, + "patch": { + "summary": "Update Multiple Flows", + "description": "Update multiple flows at the same time.", + "tags": [ + "Flows" + ], + "operationId": "updateFlows", + "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": { + "type": "object", + "properties": { + "data": { + "anyOf": [ + { + "$ref": "#/components/schemas/Flows" + } + ] + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Flows" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Flows", + "description": "Delete multiple existing flows.", + "tags": [ + "Flows" + ], + "operationId": "deleteFlows", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/flows/{id}": { + "get": { + "summary": "Retrieve a Flow", + "description": "Retrieve a single flow by unique identifier.", + "operationId": "getFlow", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Flows" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Flows" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + }, + "patch": { + "summary": "Update a Flow", + "description": "Update an existing flow", + "operationId": "updateFlow", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Flows" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Flows" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Flows" + ] + }, + "delete": { + "summary": "Delete a Flow", + "description": "Delete an existing flow", + "operationId": "deleteFlow", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Flows" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, "/operations": { "get": { "summary": "List Operations", @@ -2985,1806 +4717,6 @@ ] } }, - "/versions": { - "get": { - "summary": "List Content Versions", - "description": "Get all Content Versions.", - "operationId": "getContentVersions", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$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": { - "$ref": "#/components/schemas/Versions" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - }, - "post": { - "summary": "Create Multiple Content Versions", - "description": "Create multiple new Content Versions.", - "operationId": "createContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Versions" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Versions" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - }, - "patch": { - "summary": "Update Multiple Content Versions", - "description": "Update multiple Content Versions at the same time.", - "operationId": "updateContentVersions", - "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": { - "type": "object", - "properties": { - "data": { - "anyOf": [ - { - "$ref": "#/components/schemas/Versions" - } - ] - }, - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Versions" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "tags": [ - "Versions" - ] - }, - "delete": { - "summary": "Delete Multiple Content Versions", - "description": "Delete multiple existing Content Versions.", - "operationId": "deleteContentVersions", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "tags": [ - "Versions" - ] - } - }, - "/versions/{id}": { - "get": { - "summary": "Retrieve a Content Version", - "description": "Retrieve a single Content Version by unique identifier.", - "operationId": "getContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Versions" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - }, - "patch": { - "summary": "Update a Content Version", - "description": "Update an existing Content Version.", - "operationId": "updateContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Versions" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Versions" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - }, - "delete": { - "summary": "Delete a Content Version", - "description": "Delete an existing Content Version.", - "operationId": "deleteContentVersion", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/versions/{id}/save": { - "post": { - "summary": "Save to a Content Version", - "description": "Save item changes to an existing Content Version.", - "operationId": "saveContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {} - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - } - }, - "/versions/{id}/compare": { - "get": { - "summary": "Compare a Content Version", - "description": "Compare an existing Content Version with the main version of the item.", - "operationId": "compareContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "object" - } - }, - "type": "object" - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - } - }, - "/versions/{id}/promote": { - "post": { - "summary": "Promote a Content Version", - "description": "Pass the current hash of the main version of the item (obtained from the `compare` endpoint) along with an optional array of field names of which the values are to be promoted (by default, all fields are selected).", - "operationId": "promoteContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "mainHash": { - "description": "Hash of the main version of the item to be promoted.", - "type": "string" - }, - "fields": { - "description": "Optional array of field names of which the values are to be promoted.", - "type": "string" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {} - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - } - }, - "/revisions": { - "get": { - "summary": "List Revisions", - "description": "List the revisions.", - "operationId": "getRevisions", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Page" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Revisions" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Revisions" - ] - } - }, - "/revisions/{id}": { - "get": { - "summary": "Retrieve a Revision", - "description": "Retrieve a single revision by unique identifier.", - "operationId": "getRevision", - "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Revisions" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Revisions" - ] - } - }, - "/users": { - "get": { - "summary": "List Users", - "description": "List the users.", - "operationId": "getUsers", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$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": { - "$ref": "#/components/schemas/Users" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - }, - "post": { - "summary": "Create a User", - "description": "Create a new user.", - "operationId": "createUser", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Users" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - }, - "patch": { - "summary": "Update Multiple Users", - "description": "Update multiple users at the same time.", - "tags": [ - "Users" - ], - "operationId": "updateUsers", - "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": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - }, - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Users" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Users", - "description": "Delete multiple existing users.", - "tags": [ - "Users" - ], - "operationId": "deleteUsers", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/users/{id}": { - "get": { - "summary": "Retrieve a User", - "description": "Retrieve a single user by unique identifier.", - "operationId": "getUser", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - }, - "patch": { - "summary": "Update a User", - "description": "Update an existing user", - "operationId": "updateUser", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Users" - } - } - } - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "object" - } - }, - "type": "object" - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - }, - "delete": { - "summary": "Delete a User", - "description": "Delete an existing user", - "operationId": "deleteUser", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/users/invite": { - "post": { - "summary": "Invite User(s)", - "description": "Invites one or more users to this project. It creates a user with an invited status, and then sends an email to the user with instructions on how to activate their account.", - "operationId": "invite", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "email": { - "description": "Email address or array of email addresses of the to-be-invited user(s).", - "type": "string" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - } - }, - "/users/invite/accept": { - "post": { - "summary": "Accept User Invite", - "description": "Accepts and enables an invited user using a JWT invitation token.", - "operationId": "acceptInvite", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "token": { - "type": "string", - "example": "eyJh...KmUk", - "description": "Accept invite token." - }, - "password": { - "type": "string", - "description": "Password of the user.", - "format": "password", - "example": "d1r3ctu5" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - } - }, - "/users/me": { - "get": { - "summary": "Retrieve Current User", - "description": "Retrieve the currently authenticated user.", - "operationId": "getMe", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - }, - "patch": { - "summary": "Update Current User", - "description": "Update the currently authenticated user.", - "operationId": "updateMe", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - } - }, - "/users/me/track/page": { - "patch": { - "summary": "Update Last Page", - "description": "Updates the last used page field of the currently authenticated user. This is used internally to be able to open the Directus admin app from the last page you used.", - "operationId": "updateLastUsedPageMe", - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "last_page": { - "description": "Path of the page you used last.", - "type": "string" - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - } - }, - "/users/me/tfa/enable": { - "post": { - "summary": "Enable 2FA", - "description": "Enables two-factor authentication for the currently authenticated user.", - "operationId": "meTfaEnable", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - } - }, - "/users/me/tfa/disable": { - "post": { - "summary": "Disable 2FA", - "description": "Disables two-factor authentication for the currently authenticated user.", - "operationId": "meTfaDisable", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - } - }, - "/extensions": { - "get": { - "summary": "List Extensions", - "description": "List the installed extensions and their configuration in the project.", - "operationId": "listExtensions", - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Extensions" - } - } - } - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "tags": [ - "Extensions" - ] - } - }, - "/extensions/{name}": { - "patch": { - "summary": "Update an Extension", - "description": "Update an existing extension.", - "operationId": "updateExtensions", - "parameters": [ - { - "in": "path", - "name": "name", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "meta": { - "type": "object", - "description": "Directus metadata for the extension. Where the configuration for the extension in the current project is stored.", - "properties": { - "enabled": { - "description": "Whether or not the extension is enabled.", - "example": true, - "type": "boolean" - } - } - } - } - } - } - } - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Extensions" - } - } - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Extensions" - ] - } - }, - "/extensions/{bundle}/{name}": { - "patch": { - "summary": "Update an Extension", - "description": "Update an existing extension.", - "operationId": "updateExtensionBundle", - "parameters": [ - { - "in": "path", - "name": "bundle", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "name", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "meta": { - "type": "object", - "description": "Directus metadata for the extension. Where the configuration for the extension in the current project is stored.", - "properties": { - "enabled": { - "description": "Whether or not the extension is enabled.", - "example": true, - "type": "boolean" - } - } - } - } - } - } - } - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Extensions" - } - } - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Extensions" - ] - } - }, - "/webhooks": { - "get": { - "summary": "List Webhooks", - "description": "Get all webhooks.", - "operationId": "getWebhooks", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Webhooks" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Webhooks" - ] - }, - "post": { - "summary": "Create a Webhook", - "description": "Create a new webhook.", - "operationId": "createWebhook", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "The name of the webhook.", - "type": "string", - "example": "create articles" - }, - "method": { - "description": "Method used in the webhook.", - "type": "string", - "example": "POST" - }, - "url": { - "description": "The url of the webhook.", - "type": "string", - "example": null - }, - "status": { - "description": "The status of the webhook.", - "type": "string", - "example": "active" - }, - "data": { - "description": "If yes, send the content of what was done", - "type": "boolean", - "example": true - }, - "actions": { - "description": "The actions that triggers this webhook.", - "example": null - }, - "system-collections": { - "description": "The collections that triggers this webhook.", - "example": null - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Roles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Webhooks" - ] - }, - "patch": { - "summary": "Update Multiple Webhooks", - "description": "Update multiple webhooks at the same time.", - "tags": [ - "Webhooks" - ], - "operationId": "updateWebhooks", - "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": { - "properties": { - "data": { - "properties": { - "name": { - "description": "The name of the webhook.", - "type": "string", - "example": "create articles" - }, - "method": { - "description": "Method used in the webhook.", - "type": "string", - "example": "POST" - }, - "url": { - "description": "The url of the webhook.", - "type": "string", - "example": null - }, - "status": { - "description": "The status of the webhook.", - "type": "string", - "example": "active" - }, - "data": { - "description": "If yes, send the content of what was done", - "type": "boolean", - "example": true - }, - "actions": { - "description": "The actions that triggers this webhook.", - "example": null - }, - "system-collections": { - "description": "The collections that triggers this webhook.", - "example": null - } - }, - "type": "object" - }, - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Webhooks" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Webhooks", - "description": "Delete multiple existing webhooks.", - "tags": [ - "Webhooks" - ], - "operationId": "deleteWebhooks", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/webhooks/{id}": { - "get": { - "summary": "Retrieve a Webhook", - "description": "Retrieve a single webhook by unique identifier.", - "operationId": "getWebhook", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Webhooks" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Webhooks" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - }, - "patch": { - "summary": "Update a Webhook", - "description": "Update an existing webhook", - "operationId": "updateWebhook", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "The name of the webhook.", - "type": "string", - "example": "create articles" - }, - "method": { - "description": "Method used in the webhook.", - "type": "string", - "example": "POST" - }, - "url": { - "description": "The url of the webhook.", - "type": "string", - "example": null - }, - "status": { - "description": "The status of the webhook.", - "type": "string", - "example": "active" - }, - "data": { - "description": "If yes, send the content of what was done", - "type": "boolean", - "example": true - }, - "actions": { - "description": "The actions that triggers this webhook.", - "example": null - }, - "system-collections": { - "description": "The collections that triggers this webhook.", - "example": null - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Roles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Webhooks" - ] - }, - "delete": { - "summary": "Delete a Webhook", - "description": "Delete an existing webhook", - "operationId": "deleteWebhook", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Webhooks" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/settings": { - "get": { - "summary": "Retrieve Settings", - "description": "List the settings.", - "operationId": "getSettings", - "parameters": [ - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Page" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Settings" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Settings" - ] - }, - "patch": { - "summary": "Update Settings", - "description": "Update the settings", - "operationId": "updateSetting", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Settings" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Settings" - ] - } - }, "/permissions": { "get": { "summary": "List Permissions", @@ -5419,6 +5351,112 @@ ] } }, + "/activity": { + "get": { + "operationId": "getActivities", + "summary": "List Activity Actions", + "description": "Returns a list of activity actions.", + "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": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Activity" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Activity" + ] + } + }, + "/activity/{id}": { + "get": { + "summary": "Retrieve an Activity Action", + "description": "Retrieves the details of an existing activity action. Provide the primary key of the activity action and Directus will return the corresponding information.", + "operationId": "getActivity", + "parameters": [ + { + "$ref": "#/components/parameters/Id" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Activity" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Activity" + ] + } + }, "/collections": { "get": { "summary": "List Collections", @@ -5809,11 +5847,37 @@ ] } }, - "/flows": { + "/files": { "get": { - "summary": "List Flows", - "description": "Get all flows.", - "operationId": "getFlows", + "summary": "List Files", + "description": "List the files.", + "tags": [ + "Files" + ], + "operationId": "getFiles", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], "responses": { "200": { "description": "Successful request", @@ -5825,7 +5889,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Flows" + "$ref": "#/components/schemas/Files" } }, "meta": { @@ -5838,36 +5902,26 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Flows" - ] + } }, "post": { - "summary": "Create a Flow", - "description": "Create a new flow.", - "operationId": "createFlow", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } + "summary": "Create a File", + "description": "Create a new file", + "tags": [ + "Files" ], + "operationId": "createFile", "requestBody": { "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Flows" + "type": "object", + "properties": { + "data": { + "type": "string" } - ] + } } } } @@ -5881,7 +5935,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Flows" + "$ref": "#/components/schemas/Files" } } } @@ -5890,22 +5944,16 @@ }, "401": { "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" } - }, - "tags": [ - "Flows" - ] + } }, "patch": { - "summary": "Update Multiple Flows", - "description": "Update multiple flows at the same time.", + "summary": "Update Multiple Files", + "description": "Update multiple files at the same time.", "tags": [ - "Flows" + "Files" ], - "operationId": "updateFlows", + "operationId": "updateFiles", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -5936,11 +5984,12 @@ "type": "object", "properties": { "data": { - "anyOf": [ - { - "$ref": "#/components/schemas/Flows" + "type": "object", + "properties": { + "data": { + "type": "string" } - ] + } }, "keys": { "type": "array", @@ -5964,7 +6013,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Flows" + "$ref": "#/components/schemas/Files" } }, "meta": { @@ -5981,12 +6030,12 @@ } }, "delete": { - "summary": "Delete Multiple Flows", - "description": "Delete multiple existing flows.", + "summary": "Delete Multiple Files", + "description": "Delete multiple existing files.", "tags": [ - "Flows" + "Files" ], - "operationId": "deleteFlows", + "operationId": "deleteFiles", "responses": { "200": { "description": "Successful request" @@ -5997,11 +6046,25 @@ } } }, - "/flows/{id}": { + "/files/{id}": { "get": { - "summary": "Retrieve a Flow", - "description": "Retrieve a single flow by unique identifier.", - "operationId": "getFlow", + "summary": "Retrieve a Files", + "description": "Retrieve a single file by unique identifier.", + "tags": [ + "Files" + ], + "operationId": "getFile", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], "responses": { "200": { "description": "Successful request", @@ -6011,7 +6074,221 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Flows" + "$ref": "#/components/schemas/Files" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update a File", + "description": "Update an existing file, and/or replace it's file contents.", + "tags": [ + "Files" + ], + "operationId": "updateFile", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "multipart/data": { + "schema": { + "type": "object", + "required": [ + "file" + ], + "properties": { + "title": { + "description": "Title for the file. Is extracted from the filename on upload, but can be edited by the user.", + "example": "User Avatar", + "type": "string" + }, + "filename_download": { + "description": "Preferred filename when file is downloaded.", + "type": "string" + }, + "description": { + "description": "Description for the file.", + "type": "string", + "nullable": true + }, + "folder": { + "description": "Virtual folder where this file resides in.", + "example": null, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Folders" + } + ], + "nullable": true + }, + "tags": { + "description": "Tags for the file. Is automatically populated based on Exif data for images.", + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + }, + "file": { + "description": "File contents.", + "format": "binary" + } + } + } + }, + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "description": "Title for the file. Is extracted from the filename on upload, but can be edited by the user.", + "example": "User Avatar", + "type": "string" + }, + "filename_download": { + "description": "Preferred filename when file is downloaded.", + "type": "string" + }, + "description": { + "description": "Description for the file.", + "type": "string", + "nullable": true + }, + "folder": { + "description": "Virtual folder where this file resides in.", + "example": null, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Folders" + } + ], + "nullable": true + }, + "tags": { + "description": "Tags for the file. Is automatically populated based on Exif data for images.", + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Files" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete a File", + "description": "Delete an existing file.", + "tags": [ + "Files" + ], + "operationId": "deleteFile", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/roles": { + "get": { + "summary": "List Roles", + "description": "List the roles.", + "operationId": "getRoles", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Page" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Roles" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" } } } @@ -6026,18 +6303,258 @@ } }, "tags": [ - "Flows" - ], + "Roles" + ] + }, + "post": { + "summary": "Create a Role", + "description": "Create a new role.", + "operationId": "createRole", "parameters": [ { - "$ref": "#/components/parameters/UUId" + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "description": { + "description": "Description of the role.", + "type": "string" + }, + "enforce_tfa": { + "description": "Whether or not this role enforces the use of 2FA.", + "type": "boolean" + }, + "external_id": { + "description": "ID used with external services in SCIM.", + "type": "string" + }, + "ip_access": { + "description": "Array of IP addresses that are allowed to connect to the API as a user of this role.", + "type": "array", + "items": { + "type": "string" + } + }, + "module_listing": { + "description": "Custom override for the admin app module bar navigation.", + "type": "string" + }, + "name": { + "description": "Name of the role.", + "type": "string", + "example": "Interns" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Roles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Roles" ] }, "patch": { - "summary": "Update a Flow", - "description": "Update an existing flow", - "operationId": "updateFlow", + "summary": "Update Multiple Roles", + "description": "Update multiple roles at the same time.", + "tags": [ + "Roles" + ], + "operationId": "updateRoles", + "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": { + "properties": { + "keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "data": { + "type": "object", + "properties": { + "description": { + "description": "Description of the role.", + "type": "string" + }, + "enforce_tfa": { + "description": "Whether or not this role enforces the use of 2FA.", + "type": "boolean" + }, + "external_id": { + "description": "ID used with external services in SCIM.", + "type": "string" + }, + "ip_access": { + "description": "Array of IP addresses that are allowed to connect to the API as a user of this role.", + "type": "array", + "items": { + "type": "string" + } + }, + "module_listing": { + "description": "Custom override for the admin app module bar navigation.", + "type": "string" + }, + "name": { + "description": "Name of the role.", + "type": "string", + "example": "Interns" + } + } + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Roles" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Roles", + "description": "Delete multiple existing roles.", + "tags": [ + "Roles" + ], + "operationId": "deleteRoles", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/roles/{id}": { + "get": { + "summary": "Retrieve a Role", + "description": "Retrieve a single role by unique identifier.", + "operationId": "getRole", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Roles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Roles" + ] + }, + "patch": { + "summary": "Update a Role", + "description": "Update an existing role", + "operationId": "updateRole", "parameters": [ { "$ref": "#/components/parameters/UUId" @@ -6053,11 +6570,36 @@ "content": { "application/json": { "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Flows" + "properties": { + "description": { + "description": "Description of the role.", + "type": "string" + }, + "enforce_tfa": { + "description": "Whether or not this role enforces the use of 2FA.", + "type": "boolean" + }, + "external_id": { + "description": "ID used with external services in SCIM.", + "type": "string" + }, + "ip_access": { + "description": "Array of IP addresses that are allowed to connect to the API as a user of this role.", + "type": "array", + "items": { + "type": "string" + } + }, + "module_listing": { + "description": "Custom override for the admin app module bar navigation.", + "type": "string" + }, + "name": { + "description": "Name of the role.", + "type": "string" } - ] + }, + "type": "object" } } } @@ -6071,7 +6613,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Flows" + "$ref": "#/components/schemas/Roles" } } } @@ -6086,13 +6628,13 @@ } }, "tags": [ - "Flows" + "Roles" ] }, "delete": { - "summary": "Delete a Flow", - "description": "Delete an existing flow", - "operationId": "deleteFlow", + "summary": "Delete a Role", + "description": "Delete an existing role", + "operationId": "deleteRole", "responses": { "200": { "description": "Successful request" @@ -6105,7 +6647,7 @@ } }, "tags": [ - "Flows" + "Roles" ], "parameters": [ { @@ -6618,11 +7160,11 @@ ] } }, - "/roles": { + "/revisions": { "get": { - "summary": "List Roles", - "description": "List the roles.", - "operationId": "getRoles", + "summary": "List Revisions", + "description": "List the revisions.", + "operationId": "getRevisions", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -6660,7 +7202,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/Roles" + "$ref": "#/components/schemas/Revisions" } }, "meta": { @@ -6679,799 +7221,15 @@ } }, "tags": [ - "Roles" - ] - }, - "post": { - "summary": "Create a Role", - "description": "Create a new role.", - "operationId": "createRole", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "description": { - "description": "Description of the role.", - "type": "string" - }, - "enforce_tfa": { - "description": "Whether or not this role enforces the use of 2FA.", - "type": "boolean" - }, - "external_id": { - "description": "ID used with external services in SCIM.", - "type": "string" - }, - "ip_access": { - "description": "Array of IP addresses that are allowed to connect to the API as a user of this role.", - "type": "array", - "items": { - "type": "string" - } - }, - "module_listing": { - "description": "Custom override for the admin app module bar navigation.", - "type": "string" - }, - "name": { - "description": "Name of the role.", - "type": "string", - "example": "Interns" - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Roles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Roles" - ] - }, - "patch": { - "summary": "Update Multiple Roles", - "description": "Update multiple roles at the same time.", - "tags": [ - "Roles" - ], - "operationId": "updateRoles", - "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": { - "properties": { - "keys": { - "type": "array", - "items": { - "type": "string" - } - }, - "data": { - "type": "object", - "properties": { - "description": { - "description": "Description of the role.", - "type": "string" - }, - "enforce_tfa": { - "description": "Whether or not this role enforces the use of 2FA.", - "type": "boolean" - }, - "external_id": { - "description": "ID used with external services in SCIM.", - "type": "string" - }, - "ip_access": { - "description": "Array of IP addresses that are allowed to connect to the API as a user of this role.", - "type": "array", - "items": { - "type": "string" - } - }, - "module_listing": { - "description": "Custom override for the admin app module bar navigation.", - "type": "string" - }, - "name": { - "description": "Name of the role.", - "type": "string", - "example": "Interns" - } - } - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Roles" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Roles", - "description": "Delete multiple existing roles.", - "tags": [ - "Roles" - ], - "operationId": "deleteRoles", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/roles/{id}": { - "get": { - "summary": "Retrieve a Role", - "description": "Retrieve a single role by unique identifier.", - "operationId": "getRole", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Roles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Roles" - ] - }, - "patch": { - "summary": "Update a Role", - "description": "Update an existing role", - "operationId": "updateRole", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "description": { - "description": "Description of the role.", - "type": "string" - }, - "enforce_tfa": { - "description": "Whether or not this role enforces the use of 2FA.", - "type": "boolean" - }, - "external_id": { - "description": "ID used with external services in SCIM.", - "type": "string" - }, - "ip_access": { - "description": "Array of IP addresses that are allowed to connect to the API as a user of this role.", - "type": "array", - "items": { - "type": "string" - } - }, - "module_listing": { - "description": "Custom override for the admin app module bar navigation.", - "type": "string" - }, - "name": { - "description": "Name of the role.", - "type": "string" - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Roles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Roles" - ] - }, - "delete": { - "summary": "Delete a Role", - "description": "Delete an existing role", - "operationId": "deleteRole", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Roles" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } + "Revisions" ] } }, - "/comments": { + "/revisions/{id}": { "get": { - "tags": [ - "Comments" - ], - "operationId": "getComments", - "summary": "List Comments", - "description": "List the comments.", - "security": [ - { - "Auth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Page" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Comments" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "post": { - "tags": [ - "Comments" - ], - "operationId": "createComment", - "summary": "Create a Comment", - "description": "Create a new comment.", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "collection", - "item", - "comment" - ], - "properties": { - "collection": { - "type": "string", - "description": "Which collection this collection comment is for.", - "example": "projects" - }, - "item": { - "type": "string", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" - }, - "comment": { - "type": "string", - "example": "A new comment" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Comments" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Comments", - "description": "Update multiple comments at the same time.", - "tags": [ - "Comments" - ], - "operationId": "updateComments", - "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": { - "type": "object", - "properties": { - "keys": { - "type": "array", - "items": { - "type": "string" - } - }, - "data": { - "type": "object", - "required": [ - "collection" - ], - "properties": { - "collection": { - "type": "string", - "description": "Which collection this collection comment is for.", - "example": "projects" - }, - "item": { - "type": "string", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" - }, - "comment": { - "type": "string", - "example": "A new comment" - } - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Comments" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Comments", - "description": "Delete multiple existing comments.", - "tags": [ - "Comments" - ], - "operationId": "deleteComments", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/comments/{id}": { - "get": { - "tags": [ - "Comments" - ], - "operationId": "getComment", - "summary": "Retrieve a Comment", - "description": "Retrieve a single comment by unique identifier.", - "security": [ - { - "Auth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Comments" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "tags": [ - "Comments" - ], - "operationId": "updateComment", - "summary": "Update a Comment", - "description": "Update an existing comment.", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "collection" - ], - "properties": { - "collection": { - "type": "string", - "description": "Which collection this comment is for.", - "example": "projects" - }, - "item": { - "type": "string", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" - }, - "comment": { - "type": "string", - "example": "An updated comment" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Comments" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "tags": [ - "Comments" - ], - "operationId": "deleteComment", - "summary": "Delete a Comment", - "description": "Delete an existing comment.", - "security": [ - { - "Auth": [] - } - ], - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/activity": { - "get": { - "operationId": "getActivities", - "summary": "List Activity Actions", - "description": "Returns a list of activity actions.", - "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": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Activity" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Activity" - ] - } - }, - "/activity/{id}": { - "get": { - "summary": "Retrieve an Activity Action", - "description": "Retrieves the details of an existing activity action. Provide the primary key of the activity action and Directus will return the corresponding information.", - "operationId": "getActivity", + "summary": "Retrieve a Revision", + "description": "Retrieve a single revision by unique identifier.", + "operationId": "getRevision", "parameters": [ { "$ref": "#/components/parameters/Id" @@ -7492,7 +7250,7 @@ "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/Activity" + "$ref": "#/components/schemas/Revisions" } } } @@ -7507,7 +7265,13475 @@ } }, "tags": [ - "Activity" + "Revisions" + ] + } + }, + "/relations": { + "get": { + "summary": "List Relations", + "description": "List the relations.", + "operationId": "getRelations", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Page" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Relations" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Relations" + ] + }, + "post": { + "summary": "Create a Relation", + "description": "Create a new relation.", + "operationId": "createRelation", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "collection_many": { + "description": "Collection that has the field that holds the foreign key.", + "type": "string", + "example": "articles" + }, + "collection_one": { + "description": "Collection on the _one_ side of the relationship.", + "type": "string", + "example": "authors" + }, + "field_many": { + "description": "Foreign key. Field that holds the primary key of the related collection.", + "type": "string", + "example": "author" + }, + "field_one": { + "description": "Alias column that serves as the _one_ side of the relationship.", + "type": "string", + "example": "books" + }, + "junction_field": { + "description": "Field on the junction table that holds the primary key of the related collection.", + "type": "string" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Relations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Relations" + ] + } + }, + "/relations/{id}": { + "get": { + "summary": "Retrieve a Relation", + "description": "Retrieve a single relation by unique identifier.", + "operationId": "getRelation", + "parameters": [ + { + "$ref": "#/components/parameters/Id" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Relations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Relations" + ] + }, + "patch": { + "summary": "Update a Relation", + "description": "Update an existing relation", + "operationId": "updateRelation", + "parameters": [ + { + "$ref": "#/components/parameters/Id" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "collection_many": { + "description": "Collection that has the field that holds the foreign key.", + "type": "string" + }, + "collection_one": { + "description": "Collection on the _one_ side of the relationship.", + "type": "string" + }, + "field_many": { + "description": "Foreign key. Field that holds the primary key of the related collection.", + "type": "string" + }, + "field_one": { + "description": "Alias column that serves as the _one_ side of the relationship.", + "type": "string", + "example": "books" + }, + "junction_field": { + "description": "Field on the junction table that holds the primary key of the related collection.", + "type": "string" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Relations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Relations" + ] + }, + "delete": { + "summary": "Delete a Relation", + "description": "Delete an existing relation.", + "operationId": "deleteRelation", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Relations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/Id" + } + ] + } + }, + "/versions": { + "get": { + "summary": "List Content Versions", + "description": "Get all Content Versions.", + "operationId": "getContentVersions", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$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": { + "$ref": "#/components/schemas/Versions" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + }, + "post": { + "summary": "Create Multiple Content Versions", + "description": "Create multiple new Content Versions.", + "operationId": "createContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Versions" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Versions" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + }, + "patch": { + "summary": "Update Multiple Content Versions", + "description": "Update multiple Content Versions at the same time.", + "operationId": "updateContentVersions", + "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": { + "type": "object", + "properties": { + "data": { + "anyOf": [ + { + "$ref": "#/components/schemas/Versions" + } + ] + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Versions" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "tags": [ + "Versions" + ] + }, + "delete": { + "summary": "Delete Multiple Content Versions", + "description": "Delete multiple existing Content Versions.", + "operationId": "deleteContentVersions", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "tags": [ + "Versions" + ] + } + }, + "/versions/{id}": { + "get": { + "summary": "Retrieve a Content Version", + "description": "Retrieve a single Content Version by unique identifier.", + "operationId": "getContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Versions" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + }, + "patch": { + "summary": "Update a Content Version", + "description": "Update an existing Content Version.", + "operationId": "updateContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Versions" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Versions" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + }, + "delete": { + "summary": "Delete a Content Version", + "description": "Delete an existing Content Version.", + "operationId": "deleteContentVersion", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/versions/{id}/save": { + "post": { + "summary": "Save to a Content Version", + "description": "Save item changes to an existing Content Version.", + "operationId": "saveContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + } + }, + "/versions/{id}/compare": { + "get": { + "summary": "Compare a Content Version", + "description": "Compare an existing Content Version with the main version of the item.", + "operationId": "compareContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "object" + } + }, + "type": "object" + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + } + }, + "/versions/{id}/promote": { + "post": { + "summary": "Promote a Content Version", + "description": "Pass the current hash of the main version of the item (obtained from the `compare` endpoint) along with an optional array of field names of which the values are to be promoted (by default, all fields are selected).", + "operationId": "promoteContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "mainHash": { + "description": "Hash of the main version of the item to be promoted.", + "type": "string" + }, + "fields": { + "description": "Optional array of field names of which the values are to be promoted.", + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + } + }, + "/settings": { + "get": { + "summary": "Retrieve Settings", + "description": "List the settings.", + "operationId": "getSettings", + "parameters": [ + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Page" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Settings" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Settings" + ] + }, + "patch": { + "summary": "Update Settings", + "description": "Update the settings", + "operationId": "updateSetting", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Settings" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Settings" + ] + } + }, + "/webhooks": { + "get": { + "summary": "List Webhooks", + "description": "Get all webhooks.", + "operationId": "getWebhooks", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Webhooks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Webhooks" + ] + }, + "post": { + "summary": "Create a Webhook", + "description": "Create a new webhook.", + "operationId": "createWebhook", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "name": { + "description": "The name of the webhook.", + "type": "string", + "example": "create articles" + }, + "method": { + "description": "Method used in the webhook.", + "type": "string", + "example": "POST" + }, + "url": { + "description": "The url of the webhook.", + "type": "string", + "example": null + }, + "status": { + "description": "The status of the webhook.", + "type": "string", + "example": "active" + }, + "data": { + "description": "If yes, send the content of what was done", + "type": "boolean", + "example": true + }, + "actions": { + "description": "The actions that triggers this webhook.", + "example": null + }, + "system-collections": { + "description": "The collections that triggers this webhook.", + "example": null + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Roles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Webhooks" + ] + }, + "patch": { + "summary": "Update Multiple Webhooks", + "description": "Update multiple webhooks at the same time.", + "tags": [ + "Webhooks" + ], + "operationId": "updateWebhooks", + "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": { + "properties": { + "data": { + "properties": { + "name": { + "description": "The name of the webhook.", + "type": "string", + "example": "create articles" + }, + "method": { + "description": "Method used in the webhook.", + "type": "string", + "example": "POST" + }, + "url": { + "description": "The url of the webhook.", + "type": "string", + "example": null + }, + "status": { + "description": "The status of the webhook.", + "type": "string", + "example": "active" + }, + "data": { + "description": "If yes, send the content of what was done", + "type": "boolean", + "example": true + }, + "actions": { + "description": "The actions that triggers this webhook.", + "example": null + }, + "system-collections": { + "description": "The collections that triggers this webhook.", + "example": null + } + }, + "type": "object" + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Webhooks" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Webhooks", + "description": "Delete multiple existing webhooks.", + "tags": [ + "Webhooks" + ], + "operationId": "deleteWebhooks", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/webhooks/{id}": { + "get": { + "summary": "Retrieve a Webhook", + "description": "Retrieve a single webhook by unique identifier.", + "operationId": "getWebhook", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Webhooks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Webhooks" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + }, + "patch": { + "summary": "Update a Webhook", + "description": "Update an existing webhook", + "operationId": "updateWebhook", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "name": { + "description": "The name of the webhook.", + "type": "string", + "example": "create articles" + }, + "method": { + "description": "Method used in the webhook.", + "type": "string", + "example": "POST" + }, + "url": { + "description": "The url of the webhook.", + "type": "string", + "example": null + }, + "status": { + "description": "The status of the webhook.", + "type": "string", + "example": "active" + }, + "data": { + "description": "If yes, send the content of what was done", + "type": "boolean", + "example": true + }, + "actions": { + "description": "The actions that triggers this webhook.", + "example": null + }, + "system-collections": { + "description": "The collections that triggers this webhook.", + "example": null + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Roles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Webhooks" + ] + }, + "delete": { + "summary": "Delete a Webhook", + "description": "Delete an existing webhook", + "operationId": "deleteWebhook", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Webhooks" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/users": { + "get": { + "summary": "List Users", + "description": "List the users.", + "operationId": "getUsers", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$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": { + "$ref": "#/components/schemas/Users" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + }, + "post": { + "summary": "Create a User", + "description": "Create a new user.", + "operationId": "createUser", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Users" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + }, + "patch": { + "summary": "Update Multiple Users", + "description": "Update multiple users at the same time.", + "tags": [ + "Users" + ], + "operationId": "updateUsers", + "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": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Users" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Users", + "description": "Delete multiple existing users.", + "tags": [ + "Users" + ], + "operationId": "deleteUsers", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/users/{id}": { + "get": { + "summary": "Retrieve a User", + "description": "Retrieve a single user by unique identifier.", + "operationId": "getUser", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + }, + "patch": { + "summary": "Update a User", + "description": "Update an existing user", + "operationId": "updateUser", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Users" + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "object" + } + }, + "type": "object" + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + }, + "delete": { + "summary": "Delete a User", + "description": "Delete an existing user", + "operationId": "deleteUser", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/users/invite": { + "post": { + "summary": "Invite User(s)", + "description": "Invites one or more users to this project. It creates a user with an invited status, and then sends an email to the user with instructions on how to activate their account.", + "operationId": "invite", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "description": "Email address or array of email addresses of the to-be-invited user(s).", + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + } + }, + "/users/invite/accept": { + "post": { + "summary": "Accept User Invite", + "description": "Accepts and enables an invited user using a JWT invitation token.", + "operationId": "acceptInvite", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "token": { + "type": "string", + "example": "eyJh...KmUk", + "description": "Accept invite token." + }, + "password": { + "type": "string", + "description": "Password of the user.", + "format": "password", + "example": "d1r3ctu5" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + } + }, + "/users/me": { + "get": { + "summary": "Retrieve Current User", + "description": "Retrieve the currently authenticated user.", + "operationId": "getMe", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + }, + "patch": { + "summary": "Update Current User", + "description": "Update the currently authenticated user.", + "operationId": "updateMe", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + } + }, + "/users/me/track/page": { + "patch": { + "summary": "Update Last Page", + "description": "Updates the last used page field of the currently authenticated user. This is used internally to be able to open the Directus admin app from the last page you used.", + "operationId": "updateLastUsedPageMe", + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "last_page": { + "description": "Path of the page you used last.", + "type": "string" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + } + }, + "/users/me/tfa/enable": { + "post": { + "summary": "Enable 2FA", + "description": "Enables two-factor authentication for the currently authenticated user.", + "operationId": "meTfaEnable", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + } + }, + "/users/me/tfa/disable": { + "post": { + "summary": "Disable 2FA", + "description": "Disables two-factor authentication for the currently authenticated user.", + "operationId": "meTfaDisable", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + } + }, + "/items/items_items": { + "post": { + "summary": "Create an Item", + "description": "Create a new items_items item.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "createItemsItemsItems", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsItems" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsItems" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsItems" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the items_items items.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "readItemsItemsItems", + "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/ItemsItemsItems" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple items_items items at the same time.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "updateItemsItemsItems", + "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/ItemsItemsItems" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsItems" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsItems" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing items_items items.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "deleteItemsItemsItems", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/items_items/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single items_items item by unique identifier.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "readSingleItemsItemsItems", + "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/ItemsItemsItems" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing items_items item.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "updateSingleItemsItemsItems", + "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/ItemsItemsItems" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsItemsItems" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing items_items item.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "deleteSingleItemsItemsItems", + "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/gallery": { + "post": { + "summary": "Create an Item", + "description": "Create a new gallery item.", + "tags": [ + "Items", + "ItemsGallery" + ], + "operationId": "createItemsGallery", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGallery" + } + }, + { + "$ref": "#/components/schemas/ItemsGallery" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGallery" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the gallery items.", + "tags": [ + "Items", + "ItemsGallery" + ], + "operationId": "readItemsGallery", + "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/ItemsGallery" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple gallery items at the same time.", + "tags": [ + "Items", + "ItemsGallery" + ], + "operationId": "updateItemsGallery", + "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/ItemsGallery" + } + }, + { + "$ref": "#/components/schemas/ItemsGallery" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGallery" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing gallery items.", + "tags": [ + "Items", + "ItemsGallery" + ], + "operationId": "deleteItemsGallery", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/gallery/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single gallery item by unique identifier.", + "tags": [ + "Items", + "ItemsGallery" + ], + "operationId": "readSingleItemsGallery", + "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/ItemsGallery" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing gallery item.", + "tags": [ + "Items", + "ItemsGallery" + ], + "operationId": "updateSingleItemsGallery", + "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/ItemsGallery" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsGallery" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing gallery item.", + "tags": [ + "Items", + "ItemsGallery" + ], + "operationId": "deleteSingleItemsGallery", + "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/groupSubheaders": { + "post": { + "summary": "Create an Item", + "description": "Create a new groupSubheaders item.", + "tags": [ + "Items", + "ItemsGroupSubheaders" + ], + "operationId": "createItemsGroupSubheaders", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGroupSubheaders" + } + }, + { + "$ref": "#/components/schemas/ItemsGroupSubheaders" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGroupSubheaders" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the groupSubheaders items.", + "tags": [ + "Items", + "ItemsGroupSubheaders" + ], + "operationId": "readItemsGroupSubheaders", + "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/ItemsGroupSubheaders" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple groupSubheaders items at the same time.", + "tags": [ + "Items", + "ItemsGroupSubheaders" + ], + "operationId": "updateItemsGroupSubheaders", + "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/ItemsGroupSubheaders" + } + }, + { + "$ref": "#/components/schemas/ItemsGroupSubheaders" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGroupSubheaders" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing groupSubheaders items.", + "tags": [ + "Items", + "ItemsGroupSubheaders" + ], + "operationId": "deleteItemsGroupSubheaders", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/groupSubheaders/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single groupSubheaders item by unique identifier.", + "tags": [ + "Items", + "ItemsGroupSubheaders" + ], + "operationId": "readSingleItemsGroupSubheaders", + "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/ItemsGroupSubheaders" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing groupSubheaders item.", + "tags": [ + "Items", + "ItemsGroupSubheaders" + ], + "operationId": "updateSingleItemsGroupSubheaders", + "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/ItemsGroupSubheaders" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsGroupSubheaders" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing groupSubheaders item.", + "tags": [ + "Items", + "ItemsGroupSubheaders" + ], + "operationId": "deleteSingleItemsGroupSubheaders", + "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/groupTypes": { + "post": { + "summary": "Create an Item", + "description": "Create a new groupTypes item.", + "tags": [ + "Items", + "ItemsGroupTypes" + ], + "operationId": "createItemsGroupTypes", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGroupTypes" + } + }, + { + "$ref": "#/components/schemas/ItemsGroupTypes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGroupTypes" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the groupTypes items.", + "tags": [ + "Items", + "ItemsGroupTypes" + ], + "operationId": "readItemsGroupTypes", + "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/ItemsGroupTypes" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple groupTypes items at the same time.", + "tags": [ + "Items", + "ItemsGroupTypes" + ], + "operationId": "updateItemsGroupTypes", + "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/ItemsGroupTypes" + } + }, + { + "$ref": "#/components/schemas/ItemsGroupTypes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGroupTypes" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing groupTypes items.", + "tags": [ + "Items", + "ItemsGroupTypes" + ], + "operationId": "deleteItemsGroupTypes", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/groupTypes/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single groupTypes item by unique identifier.", + "tags": [ + "Items", + "ItemsGroupTypes" + ], + "operationId": "readSingleItemsGroupTypes", + "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/ItemsGroupTypes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing groupTypes item.", + "tags": [ + "Items", + "ItemsGroupTypes" + ], + "operationId": "updateSingleItemsGroupTypes", + "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/ItemsGroupTypes" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsGroupTypes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing groupTypes item.", + "tags": [ + "Items", + "ItemsGroupTypes" + ], + "operationId": "deleteSingleItemsGroupTypes", + "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", + "description": "Create a new inviteLinks item.", + "tags": [ + "Items", + "ItemsInviteLinks" + ], + "operationId": "createItemsInviteLinks", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsInviteLinks" + } + }, + { + "$ref": "#/components/schemas/ItemsInviteLinks" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsInviteLinks" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the inviteLinks items.", + "tags": [ + "Items", + "ItemsInviteLinks" + ], + "operationId": "readItemsInviteLinks", + "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/ItemsInviteLinks" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple inviteLinks items at the same time.", + "tags": [ + "Items", + "ItemsInviteLinks" + ], + "operationId": "updateItemsInviteLinks", + "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/ItemsInviteLinks" + } + }, + { + "$ref": "#/components/schemas/ItemsInviteLinks" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsInviteLinks" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing inviteLinks items.", + "tags": [ + "Items", + "ItemsInviteLinks" + ], + "operationId": "deleteItemsInviteLinks", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/inviteLinks/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single inviteLinks item by unique identifier.", + "tags": [ + "Items", + "ItemsInviteLinks" + ], + "operationId": "readSingleItemsInviteLinks", + "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/ItemsInviteLinks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing inviteLinks item.", + "tags": [ + "Items", + "ItemsInviteLinks" + ], + "operationId": "updateSingleItemsInviteLinks", + "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/ItemsInviteLinks" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsInviteLinks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing inviteLinks item.", + "tags": [ + "Items", + "ItemsInviteLinks" + ], + "operationId": "deleteSingleItemsInviteLinks", + "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/items_files": { + "post": { + "summary": "Create an Item", + "description": "Create a new items_files item.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "createItemsItemsFiles", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsFiles" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsFiles" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsFiles" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the items_files items.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "readItemsItemsFiles", + "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/ItemsItemsFiles" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple items_files items at the same time.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "updateItemsItemsFiles", + "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/ItemsItemsFiles" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsFiles" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsFiles" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing items_files items.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "deleteItemsItemsFiles", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/items_files/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single items_files item by unique identifier.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "readSingleItemsItemsFiles", + "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/ItemsItemsFiles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing items_files item.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "updateSingleItemsItemsFiles", + "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/ItemsItemsFiles" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsItemsFiles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing items_files item.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "deleteSingleItemsItemsFiles", + "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/items": { + "post": { + "summary": "Create an Item", + "description": "Create a new items item.", + "tags": [ + "Items", + "ItemsItems" + ], + "operationId": "createItemsItems", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItems" + } + }, + { + "$ref": "#/components/schemas/ItemsItems" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItems" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the items items.", + "tags": [ + "Items", + "ItemsItems" + ], + "operationId": "readItemsItems", + "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/ItemsItems" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple items items at the same time.", + "tags": [ + "Items", + "ItemsItems" + ], + "operationId": "updateItemsItems", + "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/ItemsItems" + } + }, + { + "$ref": "#/components/schemas/ItemsItems" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItems" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing items items.", + "tags": [ + "Items", + "ItemsItems" + ], + "operationId": "deleteItemsItems", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/items/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single items item by unique identifier.", + "tags": [ + "Items", + "ItemsItems" + ], + "operationId": "readSingleItemsItems", + "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/ItemsItems" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing items item.", + "tags": [ + "Items", + "ItemsItems" + ], + "operationId": "updateSingleItemsItems", + "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/ItemsItems" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsItems" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing items item.", + "tags": [ + "Items", + "ItemsItems" + ], + "operationId": "deleteSingleItemsItems", + "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/junction_directus_users_tags_1": { + "post": { + "summary": "Create an Item", + "description": "Create a new junction_directus_users_tags_1 item.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "createItemsJunctionDirectusUsersTags1", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" + } + }, + { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the junction_directus_users_tags_1 items.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "readItemsJunctionDirectusUsersTags1", + "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/ItemsJunctionDirectusUsersTags1" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple junction_directus_users_tags_1 items at the same time.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "updateItemsJunctionDirectusUsersTags1", + "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/ItemsJunctionDirectusUsersTags1" + } + }, + { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing junction_directus_users_tags_1 items.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "deleteItemsJunctionDirectusUsersTags1", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/junction_directus_users_tags_1/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single junction_directus_users_tags_1 item by unique identifier.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "readSingleItemsJunctionDirectusUsersTags1", + "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/ItemsJunctionDirectusUsersTags1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing junction_directus_users_tags_1 item.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "updateSingleItemsJunctionDirectusUsersTags1", + "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/ItemsJunctionDirectusUsersTags1" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing junction_directus_users_tags_1 item.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "deleteSingleItemsJunctionDirectusUsersTags1", + "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/layers": { + "post": { + "summary": "Create an Item", + "description": "Create a new layers item.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "createItemsLayers", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayers" + } + }, + { + "$ref": "#/components/schemas/ItemsLayers" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayers" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the layers items.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "readItemsLayers", + "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/ItemsLayers" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple layers items at the same time.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "updateItemsLayers", + "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/ItemsLayers" + } + }, + { + "$ref": "#/components/schemas/ItemsLayers" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayers" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing layers items.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "deleteItemsLayers", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/layers/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single layers item by unique identifier.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "readSingleItemsLayers", + "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/ItemsLayers" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing layers item.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "updateSingleItemsLayers", + "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/ItemsLayers" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsLayers" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing layers item.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "deleteSingleItemsLayers", + "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/items_tags_1": { + "post": { + "summary": "Create an Item", + "description": "Create a new items_tags_1 item.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "createItemsItemsTags1", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsTags1" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsTags1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsTags1" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the items_tags_1 items.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "readItemsItemsTags1", + "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/ItemsItemsTags1" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple items_tags_1 items at the same time.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "updateItemsItemsTags1", + "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/ItemsItemsTags1" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsTags1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsTags1" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing items_tags_1 items.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "deleteItemsItemsTags1", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/items_tags_1/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single items_tags_1 item by unique identifier.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "readSingleItemsItemsTags1", + "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/ItemsItemsTags1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing items_tags_1 item.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "updateSingleItemsItemsTags1", + "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/ItemsItemsTags1" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsItemsTags1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing items_tags_1 item.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "deleteSingleItemsItemsTags1", + "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/itemSecrets": { + "post": { + "summary": "Create an Item", + "description": "Create a new itemSecrets item.", + "tags": [ + "Items", + "ItemsItemSecrets" + ], + "operationId": "createItemsItemSecrets", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemSecrets" + } + }, + { + "$ref": "#/components/schemas/ItemsItemSecrets" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemSecrets" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the itemSecrets items.", + "tags": [ + "Items", + "ItemsItemSecrets" + ], + "operationId": "readItemsItemSecrets", + "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/ItemsItemSecrets" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple itemSecrets items at the same time.", + "tags": [ + "Items", + "ItemsItemSecrets" + ], + "operationId": "updateItemsItemSecrets", + "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/ItemsItemSecrets" + } + }, + { + "$ref": "#/components/schemas/ItemsItemSecrets" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemSecrets" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing itemSecrets items.", + "tags": [ + "Items", + "ItemsItemSecrets" + ], + "operationId": "deleteItemsItemSecrets", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/itemSecrets/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single itemSecrets item by unique identifier.", + "tags": [ + "Items", + "ItemsItemSecrets" + ], + "operationId": "readSingleItemsItemSecrets", + "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/ItemsItemSecrets" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing itemSecrets item.", + "tags": [ + "Items", + "ItemsItemSecrets" + ], + "operationId": "updateSingleItemsItemSecrets", + "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/ItemsItemSecrets" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsItemSecrets" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing itemSecrets item.", + "tags": [ + "Items", + "ItemsItemSecrets" + ], + "operationId": "deleteSingleItemsItemSecrets", + "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/items_tags": { + "post": { + "summary": "Create an Item", + "description": "Create a new items_tags item.", + "tags": [ + "Items", + "ItemsItemsTags" + ], + "operationId": "createItemsItemsTags", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsTags" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsTags" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsTags" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the items_tags items.", + "tags": [ + "Items", + "ItemsItemsTags" + ], + "operationId": "readItemsItemsTags", + "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/ItemsItemsTags" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple items_tags items at the same time.", + "tags": [ + "Items", + "ItemsItemsTags" + ], + "operationId": "updateItemsItemsTags", + "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/ItemsItemsTags" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsTags" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsTags" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing items_tags items.", + "tags": [ + "Items", + "ItemsItemsTags" + ], + "operationId": "deleteItemsItemsTags", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/items_tags/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single items_tags item by unique identifier.", + "tags": [ + "Items", + "ItemsItemsTags" + ], + "operationId": "readSingleItemsItemsTags", + "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/ItemsItemsTags" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing items_tags item.", + "tags": [ + "Items", + "ItemsItemsTags" + ], + "operationId": "updateSingleItemsItemsTags", + "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/ItemsItemsTags" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsItemsTags" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing items_tags item.", + "tags": [ + "Items", + "ItemsItemsTags" + ], + "operationId": "deleteSingleItemsItemsTags", + "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/layers_directus_users_1": { + "post": { + "summary": "Create an Item", + "description": "Create a new layers_directus_users_1 item.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "createItemsLayersDirectusUsers1", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + }, + { + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the layers_directus_users_1 items.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "readItemsLayersDirectusUsers1", + "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/ItemsLayersDirectusUsers1" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple layers_directus_users_1 items at the same time.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "updateItemsLayersDirectusUsers1", + "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/ItemsLayersDirectusUsers1" + } + }, + { + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing layers_directus_users_1 items.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "deleteItemsLayersDirectusUsers1", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/layers_directus_users_1/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single layers_directus_users_1 item by unique identifier.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "readSingleItemsLayersDirectusUsers1", + "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/ItemsLayersDirectusUsers1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing layers_directus_users_1 item.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "updateSingleItemsLayersDirectusUsers1", + "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/ItemsLayersDirectusUsers1" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing layers_directus_users_1 item.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "deleteSingleItemsLayersDirectusUsers1", + "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/junction_directus_users_tags": { + "post": { + "summary": "Create an Item", + "description": "Create a new junction_directus_users_tags item.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags" + ], + "operationId": "createItemsJunctionDirectusUsersTags", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags" + } + }, + { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the junction_directus_users_tags items.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags" + ], + "operationId": "readItemsJunctionDirectusUsersTags", + "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/ItemsJunctionDirectusUsersTags" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple junction_directus_users_tags items at the same time.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags" + ], + "operationId": "updateItemsJunctionDirectusUsersTags", + "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/ItemsJunctionDirectusUsersTags" + } + }, + { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing junction_directus_users_tags items.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags" + ], + "operationId": "deleteItemsJunctionDirectusUsersTags", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/junction_directus_users_tags/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single junction_directus_users_tags item by unique identifier.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags" + ], + "operationId": "readSingleItemsJunctionDirectusUsersTags", + "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/ItemsJunctionDirectusUsersTags" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing junction_directus_users_tags item.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags" + ], + "operationId": "updateSingleItemsJunctionDirectusUsersTags", + "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/ItemsJunctionDirectusUsersTags" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing junction_directus_users_tags item.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags" + ], + "operationId": "deleteSingleItemsJunctionDirectusUsersTags", + "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/layers_files": { + "post": { + "summary": "Create an Item", + "description": "Create a new layers_files item.", + "tags": [ + "Items", + "ItemsLayersFiles" + ], + "operationId": "createItemsLayersFiles", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayersFiles" + } + }, + { + "$ref": "#/components/schemas/ItemsLayersFiles" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayersFiles" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the layers_files items.", + "tags": [ + "Items", + "ItemsLayersFiles" + ], + "operationId": "readItemsLayersFiles", + "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/ItemsLayersFiles" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple layers_files items at the same time.", + "tags": [ + "Items", + "ItemsLayersFiles" + ], + "operationId": "updateItemsLayersFiles", + "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/ItemsLayersFiles" + } + }, + { + "$ref": "#/components/schemas/ItemsLayersFiles" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayersFiles" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing layers_files items.", + "tags": [ + "Items", + "ItemsLayersFiles" + ], + "operationId": "deleteItemsLayersFiles", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/layers_files/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single layers_files item by unique identifier.", + "tags": [ + "Items", + "ItemsLayersFiles" + ], + "operationId": "readSingleItemsLayersFiles", + "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/ItemsLayersFiles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing layers_files item.", + "tags": [ + "Items", + "ItemsLayersFiles" + ], + "operationId": "updateSingleItemsLayersFiles", + "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/ItemsLayersFiles" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsLayersFiles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing layers_files item.", + "tags": [ + "Items", + "ItemsLayersFiles" + ], + "operationId": "deleteSingleItemsLayersFiles", + "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/layers_maps": { + "post": { + "summary": "Create an Item", + "description": "Create a new layers_maps item.", + "tags": [ + "Items", + "ItemsLayersMaps" + ], + "operationId": "createItemsLayersMaps", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayersMaps" + } + }, + { + "$ref": "#/components/schemas/ItemsLayersMaps" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayersMaps" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the layers_maps items.", + "tags": [ + "Items", + "ItemsLayersMaps" + ], + "operationId": "readItemsLayersMaps", + "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/ItemsLayersMaps" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple layers_maps items at the same time.", + "tags": [ + "Items", + "ItemsLayersMaps" + ], + "operationId": "updateItemsLayersMaps", + "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/ItemsLayersMaps" + } + }, + { + "$ref": "#/components/schemas/ItemsLayersMaps" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayersMaps" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing layers_maps items.", + "tags": [ + "Items", + "ItemsLayersMaps" + ], + "operationId": "deleteItemsLayersMaps", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/layers_maps/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single layers_maps item by unique identifier.", + "tags": [ + "Items", + "ItemsLayersMaps" + ], + "operationId": "readSingleItemsLayersMaps", + "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/ItemsLayersMaps" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing layers_maps item.", + "tags": [ + "Items", + "ItemsLayersMaps" + ], + "operationId": "updateSingleItemsLayersMaps", + "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/ItemsLayersMaps" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsLayersMaps" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing layers_maps item.", + "tags": [ + "Items", + "ItemsLayersMaps" + ], + "operationId": "deleteSingleItemsLayersMaps", + "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/features": { + "post": { + "summary": "Create an Item", + "description": "Create a new features item.", + "tags": [ + "Items", + "ItemsFeatures" + ], + "operationId": "createItemsFeatures", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsFeatures" + } + }, + { + "$ref": "#/components/schemas/ItemsFeatures" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsFeatures" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the features items.", + "tags": [ + "Items", + "ItemsFeatures" + ], + "operationId": "readItemsFeatures", + "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/ItemsFeatures" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple features items at the same time.", + "tags": [ + "Items", + "ItemsFeatures" + ], + "operationId": "updateItemsFeatures", + "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/ItemsFeatures" + } + }, + { + "$ref": "#/components/schemas/ItemsFeatures" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsFeatures" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing features items.", + "tags": [ + "Items", + "ItemsFeatures" + ], + "operationId": "deleteItemsFeatures", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/features/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single features item by unique identifier.", + "tags": [ + "Items", + "ItemsFeatures" + ], + "operationId": "readSingleItemsFeatures", + "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/ItemsFeatures" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing features item.", + "tags": [ + "Items", + "ItemsFeatures" + ], + "operationId": "updateSingleItemsFeatures", + "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/ItemsFeatures" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsFeatures" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing features item.", + "tags": [ + "Items", + "ItemsFeatures" + ], + "operationId": "deleteSingleItemsFeatures", + "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/startEnd": { + "post": { + "summary": "Create an Item", + "description": "Create a new startEnd item.", + "tags": [ + "Items", + "ItemsStartEnd" + ], + "operationId": "createItemsStartEnd", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsStartEnd" + } + }, + { + "$ref": "#/components/schemas/ItemsStartEnd" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsStartEnd" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the startEnd items.", + "tags": [ + "Items", + "ItemsStartEnd" + ], + "operationId": "readItemsStartEnd", + "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/ItemsStartEnd" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple startEnd items at the same time.", + "tags": [ + "Items", + "ItemsStartEnd" + ], + "operationId": "updateItemsStartEnd", + "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/ItemsStartEnd" + } + }, + { + "$ref": "#/components/schemas/ItemsStartEnd" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsStartEnd" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing startEnd items.", + "tags": [ + "Items", + "ItemsStartEnd" + ], + "operationId": "deleteItemsStartEnd", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/startEnd/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single startEnd item by unique identifier.", + "tags": [ + "Items", + "ItemsStartEnd" + ], + "operationId": "readSingleItemsStartEnd", + "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/ItemsStartEnd" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing startEnd item.", + "tags": [ + "Items", + "ItemsStartEnd" + ], + "operationId": "updateSingleItemsStartEnd", + "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/ItemsStartEnd" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsStartEnd" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing startEnd item.", + "tags": [ + "Items", + "ItemsStartEnd" + ], + "operationId": "deleteSingleItemsStartEnd", + "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/tags": { + "post": { + "summary": "Create an Item", + "description": "Create a new tags item.", + "tags": [ + "Items", + "ItemsTags" + ], + "operationId": "createItemsTags", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTags" + } + }, + { + "$ref": "#/components/schemas/ItemsTags" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTags" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the tags items.", + "tags": [ + "Items", + "ItemsTags" + ], + "operationId": "readItemsTags", + "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/ItemsTags" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple tags items at the same time.", + "tags": [ + "Items", + "ItemsTags" + ], + "operationId": "updateItemsTags", + "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/ItemsTags" + } + }, + { + "$ref": "#/components/schemas/ItemsTags" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTags" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing tags items.", + "tags": [ + "Items", + "ItemsTags" + ], + "operationId": "deleteItemsTags", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/tags/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single tags item by unique identifier.", + "tags": [ + "Items", + "ItemsTags" + ], + "operationId": "readSingleItemsTags", + "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/ItemsTags" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing tags item.", + "tags": [ + "Items", + "ItemsTags" + ], + "operationId": "updateSingleItemsTags", + "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/ItemsTags" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsTags" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing tags item.", + "tags": [ + "Items", + "ItemsTags" + ], + "operationId": "deleteSingleItemsTags", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "parameters": [ + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ] + } + }, + "/items/oceannomads_profiles": { + "post": { + "summary": "Create an Item", + "description": "Create a new oceannomads_profiles item.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "createItemsOceannomadsProfiles", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + }, + { + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the oceannomads_profiles items.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "readItemsOceannomadsProfiles", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple oceannomads_profiles items at the same time.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "updateItemsOceannomadsProfiles", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + }, + { + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing oceannomads_profiles items.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "deleteItemsOceannomadsProfiles", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/oceannomads_profiles/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single oceannomads_profiles item by unique identifier.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "readSingleItemsOceannomadsProfiles", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing oceannomads_profiles item.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "updateSingleItemsOceannomadsProfiles", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing oceannomads_profiles item.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "deleteSingleItemsOceannomadsProfiles", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "parameters": [ + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ] + } + }, + "/items/relations": { + "post": { + "summary": "Create an Item", + "description": "Create a new relations item.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "createItemsRelations", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsRelations" + } + }, + { + "$ref": "#/components/schemas/ItemsRelations" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsRelations" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the relations items.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "readItemsRelations", + "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/ItemsRelations" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple relations items at the same time.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "updateItemsRelations", + "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/ItemsRelations" + } + }, + { + "$ref": "#/components/schemas/ItemsRelations" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsRelations" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing relations items.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "deleteItemsRelations", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/relations/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single relations item by unique identifier.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "readSingleItemsRelations", + "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/ItemsRelations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing relations item.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "updateSingleItemsRelations", + "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/ItemsRelations" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsRelations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing relations item.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "deleteSingleItemsRelations", + "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/team": { + "post": { + "summary": "Create an Item", + "description": "Create a new team item.", + "tags": [ + "Items", + "ItemsTeam" + ], + "operationId": "createItemsTeam", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTeam" + } + }, + { + "$ref": "#/components/schemas/ItemsTeam" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTeam" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the team items.", + "tags": [ + "Items", + "ItemsTeam" + ], + "operationId": "readItemsTeam", + "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/ItemsTeam" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple team items at the same time.", + "tags": [ + "Items", + "ItemsTeam" + ], + "operationId": "updateItemsTeam", + "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/ItemsTeam" + } + }, + { + "$ref": "#/components/schemas/ItemsTeam" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTeam" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing team items.", + "tags": [ + "Items", + "ItemsTeam" + ], + "operationId": "deleteItemsTeam", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/team/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single team item by unique identifier.", + "tags": [ + "Items", + "ItemsTeam" + ], + "operationId": "readSingleItemsTeam", + "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/ItemsTeam" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing team item.", + "tags": [ + "Items", + "ItemsTeam" + ], + "operationId": "updateSingleItemsTeam", + "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/ItemsTeam" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsTeam" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing team item.", + "tags": [ + "Items", + "ItemsTeam" + ], + "operationId": "deleteSingleItemsTeam", + "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/types": { + "post": { + "summary": "Create an Item", + "description": "Create a new types item.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "createItemsTypes", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTypes" + } + }, + { + "$ref": "#/components/schemas/ItemsTypes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTypes" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the types items.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "readItemsTypes", + "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/ItemsTypes" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple types items at the same time.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "updateItemsTypes", + "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/ItemsTypes" + } + }, + { + "$ref": "#/components/schemas/ItemsTypes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTypes" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing types items.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "deleteItemsTypes", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/types/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single types item by unique identifier.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "readSingleItemsTypes", + "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/ItemsTypes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing types item.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "updateSingleItemsTypes", + "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/ItemsTypes" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsTypes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing types item.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "deleteSingleItemsTypes", + "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/texts": { + "post": { + "summary": "Create an Item", + "description": "Create a new texts item.", + "tags": [ + "Items", + "ItemsTexts" + ], + "operationId": "createItemsTexts", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTexts" + } + }, + { + "$ref": "#/components/schemas/ItemsTexts" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTexts" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the texts items.", + "tags": [ + "Items", + "ItemsTexts" + ], + "operationId": "readItemsTexts", + "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/ItemsTexts" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple texts items at the same time.", + "tags": [ + "Items", + "ItemsTexts" + ], + "operationId": "updateItemsTexts", + "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/ItemsTexts" + } + }, + { + "$ref": "#/components/schemas/ItemsTexts" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTexts" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing texts items.", + "tags": [ + "Items", + "ItemsTexts" + ], + "operationId": "deleteItemsTexts", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/texts/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single texts item by unique identifier.", + "tags": [ + "Items", + "ItemsTexts" + ], + "operationId": "readSingleItemsTexts", + "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/ItemsTexts" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing texts item.", + "tags": [ + "Items", + "ItemsTexts" + ], + "operationId": "updateSingleItemsTexts", + "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/ItemsTexts" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsTexts" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing texts item.", + "tags": [ + "Items", + "ItemsTexts" + ], + "operationId": "deleteSingleItemsTexts", + "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/maps": { + "post": { + "summary": "Create an Item", + "description": "Create a new maps item.", + "tags": [ + "Items", + "ItemsMaps" + ], + "operationId": "createItemsMaps", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsMaps" + } + }, + { + "$ref": "#/components/schemas/ItemsMaps" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsMaps" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the maps items.", + "tags": [ + "Items", + "ItemsMaps" + ], + "operationId": "readItemsMaps", + "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/ItemsMaps" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple maps items at the same time.", + "tags": [ + "Items", + "ItemsMaps" + ], + "operationId": "updateItemsMaps", + "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/ItemsMaps" + } + }, + { + "$ref": "#/components/schemas/ItemsMaps" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsMaps" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing maps items.", + "tags": [ + "Items", + "ItemsMaps" + ], + "operationId": "deleteItemsMaps", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/maps/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single maps item by unique identifier.", + "tags": [ + "Items", + "ItemsMaps" + ], + "operationId": "readSingleItemsMaps", + "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/ItemsMaps" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing maps item.", + "tags": [ + "Items", + "ItemsMaps" + ], + "operationId": "updateSingleItemsMaps", + "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/ItemsMaps" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsMaps" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing maps item.", + "tags": [ + "Items", + "ItemsMaps" + ], + "operationId": "deleteSingleItemsMaps", + "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/types_profileTemplate": { + "post": { + "summary": "Create an Item", + "description": "Create a new types_profileTemplate item.", + "tags": [ + "Items", + "ItemsTypesProfileTemplate" + ], + "operationId": "createItemsTypesProfileTemplate", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTypesProfileTemplate" + } + }, + { + "$ref": "#/components/schemas/ItemsTypesProfileTemplate" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTypesProfileTemplate" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the types_profileTemplate items.", + "tags": [ + "Items", + "ItemsTypesProfileTemplate" + ], + "operationId": "readItemsTypesProfileTemplate", + "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/ItemsTypesProfileTemplate" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple types_profileTemplate items at the same time.", + "tags": [ + "Items", + "ItemsTypesProfileTemplate" + ], + "operationId": "updateItemsTypesProfileTemplate", + "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/ItemsTypesProfileTemplate" + } + }, + { + "$ref": "#/components/schemas/ItemsTypesProfileTemplate" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTypesProfileTemplate" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing types_profileTemplate items.", + "tags": [ + "Items", + "ItemsTypesProfileTemplate" + ], + "operationId": "deleteItemsTypesProfileTemplate", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/types_profileTemplate/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single types_profileTemplate item by unique identifier.", + "tags": [ + "Items", + "ItemsTypesProfileTemplate" + ], + "operationId": "readSingleItemsTypesProfileTemplate", + "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/ItemsTypesProfileTemplate" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing types_profileTemplate item.", + "tags": [ + "Items", + "ItemsTypesProfileTemplate" + ], + "operationId": "updateSingleItemsTypesProfileTemplate", + "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/ItemsTypesProfileTemplate" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsTypesProfileTemplate" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing types_profileTemplate item.", + "tags": [ + "Items", + "ItemsTypesProfileTemplate" + ], + "operationId": "deleteSingleItemsTypesProfileTemplate", + "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_directus_users": { + "post": { + "summary": "Create an Item", + "description": "Create a new attestations_directus_users item.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "createItemsAttestationsDirectusUsers", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + }, + { + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the attestations_directus_users items.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "readItemsAttestationsDirectusUsers", + "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/ItemsAttestationsDirectusUsers" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple attestations_directus_users items at the same time.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "updateItemsAttestationsDirectusUsers", + "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/ItemsAttestationsDirectusUsers" + } + }, + { + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing attestations_directus_users items.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "deleteItemsAttestationsDirectusUsers", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/attestations_directus_users/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single attestations_directus_users item by unique identifier.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "readSingleItemsAttestationsDirectusUsers", + "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/ItemsAttestationsDirectusUsers" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing attestations_directus_users item.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "updateSingleItemsAttestationsDirectusUsers", + "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/ItemsAttestationsDirectusUsers" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing attestations_directus_users item.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "deleteSingleItemsAttestationsDirectusUsers", + "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/groupSubheaders_groupTypes": { + "post": { + "summary": "Create an Item", + "description": "Create a new groupSubheaders_groupTypes item.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "createItemsGroupSubheadersGroupTypes", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + }, + { + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the groupSubheaders_groupTypes items.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "readItemsGroupSubheadersGroupTypes", + "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/ItemsGroupSubheadersGroupTypes" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple groupSubheaders_groupTypes items at the same time.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "updateItemsGroupSubheadersGroupTypes", + "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/ItemsGroupSubheadersGroupTypes" + } + }, + { + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing groupSubheaders_groupTypes items.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "deleteItemsGroupSubheadersGroupTypes", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/groupSubheaders_groupTypes/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single groupSubheaders_groupTypes item by unique identifier.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "readSingleItemsGroupSubheadersGroupTypes", + "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/ItemsGroupSubheadersGroupTypes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing groupSubheaders_groupTypes item.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "updateSingleItemsGroupSubheadersGroupTypes", + "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/ItemsGroupSubheadersGroupTypes" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing groupSubheaders_groupTypes item.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "deleteSingleItemsGroupSubheadersGroupTypes", + "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/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/directus_sync_id_map": { + "post": { + "summary": "Create an Item", + "description": "Create a new directus_sync_id_map item.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "createItemsDirectusSyncIDMap", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + } + }, + { + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the directus_sync_id_map items.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "readItemsDirectusSyncIDMap", + "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/ItemsDirectusSyncIDMap" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple directus_sync_id_map items at the same time.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "updateItemsDirectusSyncIDMap", + "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/ItemsDirectusSyncIDMap" + } + }, + { + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing directus_sync_id_map items.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "deleteItemsDirectusSyncIDMap", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/directus_sync_id_map/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single directus_sync_id_map item by unique identifier.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "readSingleItemsDirectusSyncIDMap", + "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/ItemsDirectusSyncIDMap" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing directus_sync_id_map item.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "updateSingleItemsDirectusSyncIDMap", + "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/ItemsDirectusSyncIDMap" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing directus_sync_id_map item.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "deleteSingleItemsDirectusSyncIDMap", + "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" + } + ] + } + } ] } } @@ -7546,19 +20772,20 @@ ] }, { - "name": "Folders", - "description": "Group files by virtual folders.", - "x-collection": "directus_folders" + "name": "ItemsContactInfos", + "x-collection": "contactInfos" }, { - "name": "Relations", - "description": "What data is linked to what other data. Allows you to assign authors to articles, products to sales, and whatever other structures you can think of.", - "x-collection": "directus_relations" + "name": "ItemsCrowdfundings", + "x-collection": "crowdfundings" }, { - "name": "Files", - "description": "Files can be saved in any given location. Directus has a powerful assets endpoint that can be used to generate thumbnails for images on the fly.", - "x-collection": "directus_files" + "name": "ItemsThemes", + "x-collection": "Themes" + }, + { + "name": "ItemsAttestations", + "x-collection": "attestations" }, { "name": "Fields", @@ -7566,24 +20793,14 @@ "x-collection": "directus_fields" }, { - "name": "Operations", - "description": "Operations are the building blocks within Data Flows.", - "x-collection": "directus_operations" + "name": "Comments", + "description": "Comments can be added to items.", + "x-collection": "directus_comments" }, { - "name": "Versions", - "description": "Enables users to create unpublished copies of an item, modify them independently from the main version, and promote them to become the new main version when ready.", - "x-collection": "directus_versions" - }, - { - "name": "Revisions", - "description": "Revisions are individual changes to items made. Directus keeps track of changes made, so you're able to revert to a previous state at will.", - "x-collection": "directus_revisions" - }, - { - "name": "Users", - "description": "Users are what gives you access to the data.", - "x-collection": "directus_users" + "name": "Folders", + "description": "Group files by virtual folders.", + "x-collection": "directus_folders" }, { "name": "Extensions", @@ -7591,34 +20808,34 @@ "x-collection": "directus_extensions" }, { - "name": "Webhooks", - "description": "Webhooks.", - "x-collection": "directus_webhooks" + "name": "Flows", + "description": "Flows enable custom, event-driven data processing and task automation.", + "x-collection": "directus_flows" }, { - "name": "Settings", - "description": "Settings control the way the platform works and acts.", - "x-collection": "directus_settings" + "name": "Operations", + "description": "Operations are the building blocks within Data Flows.", + "x-collection": "directus_operations" }, { "name": "Permissions", "description": "Permissions control who has access to what and when.", "x-collection": "directus_permissions" }, + { + "name": "Activity", + "description": "All events that happen within Directus are tracked and stored in the activities collection. This gives you full accountability over everything that happens.", + "x-collection": "directus_activity" + }, { "name": "Collections", "description": "Collections are the individual collections of items, similar to tables in a database. Changes to collections will alter the schema of the database.", "x-collection": "directus_collections" }, { - "name": "Flows", - "description": "Flows enable custom, event-driven data processing and task automation.", - "x-collection": "directus_flows" - }, - { - "name": "Presets", - "description": "Presets hold the preferences of individual users of the platform. This allows Directus to show and maintain custom item listings for users of the app.", - "x-collection": "directus_presets" + "name": "Files", + "description": "Files can be saved in any given location. Directus has a powerful assets endpoint that can be used to generate thumbnails for images on the fly.", + "x-collection": "directus_files" }, { "name": "Roles", @@ -7626,14 +20843,159 @@ "x-collection": "directus_roles" }, { - "name": "Comments", - "description": "Comments can be added to items.", - "x-collection": "directus_comments" + "name": "Presets", + "description": "Presets hold the preferences of individual users of the platform. This allows Directus to show and maintain custom item listings for users of the app.", + "x-collection": "directus_presets" }, { - "name": "Activity", - "description": "All events that happen within Directus are tracked and stored in the activities collection. This gives you full accountability over everything that happens.", - "x-collection": "directus_activity" + "name": "Revisions", + "description": "Revisions are individual changes to items made. Directus keeps track of changes made, so you're able to revert to a previous state at will.", + "x-collection": "directus_revisions" + }, + { + "name": "Relations", + "description": "What data is linked to what other data. Allows you to assign authors to articles, products to sales, and whatever other structures you can think of.", + "x-collection": "directus_relations" + }, + { + "name": "Versions", + "description": "Enables users to create unpublished copies of an item, modify them independently from the main version, and promote them to become the new main version when ready.", + "x-collection": "directus_versions" + }, + { + "name": "Settings", + "description": "Settings control the way the platform works and acts.", + "x-collection": "directus_settings" + }, + { + "name": "Webhooks", + "description": "Webhooks.", + "x-collection": "directus_webhooks" + }, + { + "name": "Users", + "description": "Users are what gives you access to the data.", + "x-collection": "directus_users" + }, + { + "name": "ItemsItemsItems", + "x-collection": "items_items" + }, + { + "name": "ItemsGallery", + "x-collection": "gallery" + }, + { + "name": "ItemsGroupSubheaders", + "x-collection": "groupSubheaders" + }, + { + "name": "ItemsGroupTypes", + "x-collection": "groupTypes" + }, + { + "name": "ItemsInviteLinks", + "x-collection": "inviteLinks" + }, + { + "name": "ItemsItemsFiles", + "x-collection": "items_files" + }, + { + "name": "ItemsItems", + "x-collection": "items" + }, + { + "name": "ItemsJunctionDirectusUsersTags1", + "x-collection": "junction_directus_users_tags_1" + }, + { + "name": "ItemsLayers", + "x-collection": "layers" + }, + { + "name": "ItemsItemsTags1", + "x-collection": "items_tags_1" + }, + { + "name": "ItemsItemSecrets", + "x-collection": "itemSecrets" + }, + { + "name": "ItemsItemsTags", + "x-collection": "items_tags" + }, + { + "name": "ItemsLayersDirectusUsers1", + "x-collection": "layers_directus_users_1" + }, + { + "name": "ItemsJunctionDirectusUsersTags", + "x-collection": "junction_directus_users_tags" + }, + { + "name": "ItemsLayersFiles", + "x-collection": "layers_files" + }, + { + "name": "ItemsLayersMaps", + "x-collection": "layers_maps" + }, + { + "name": "ItemsFeatures", + "x-collection": "features" + }, + { + "name": "ItemsStartEnd", + "x-collection": "startEnd" + }, + { + "name": "ItemsTags", + "x-collection": "tags" + }, + { + "name": "ItemsOceannomadsProfiles", + "x-collection": "oceannomads_profiles" + }, + { + "name": "ItemsRelations", + "x-collection": "relations" + }, + { + "name": "ItemsTeam", + "x-collection": "team" + }, + { + "name": "ItemsTypes", + "x-collection": "types" + }, + { + "name": "ItemsTexts", + "x-collection": "texts" + }, + { + "name": "ItemsMaps", + "x-collection": "maps" + }, + { + "name": "ItemsTypesProfileTemplate", + "x-collection": "types_profileTemplate" + }, + { + "name": "ItemsAttestationsDirectusUsers", + "x-collection": "attestations_directus_users" + }, + { + "name": "ItemsGroupSubheadersGroupTypes", + "x-collection": "groupSubheaders_groupTypes" + }, + { + "name": "ItemsMarkerIcons", + "x-collection": "marker_icons" + }, + { + "name": "ItemsDirectusSyncIDMap", + "x-collection": "directus_sync_id_map" } ], "components": { @@ -7790,7 +21152,7 @@ "modified_on": { "nullable": false, "type": "string", - "format": "date-time" + "format": "timestamp" }, "charset": { "description": "Character set of the file.", @@ -8164,6 +21526,28 @@ "theme_dark_overrides": { "nullable": true }, + "imported": { + "nullable": true, + "type": "boolean" + }, + "wc_user": { + "nullable": true, + "type": "boolean" + }, + "notifications": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + ] + } + }, "policies": { "nullable": true } @@ -8242,62 +21626,179 @@ } } }, - "Relations": { + "ItemsContactInfos": { "type": "object", "properties": { "id": { - "description": "Unique identifier for the relation.", - "example": 1, - "type": "integer" - }, - "many_collection": { - "description": "Collection that has the field that holds the foreign key.", - "example": "directus_activity", - "type": "string" - }, - "many_field": { - "description": "Foreign key. Field that holds the primary key of the related collection.", - "example": "user", - "type": "string" - }, - "one_collection": { - "description": "Collection on the _one_ side of the relationship.", - "example": "directus_users", - "type": "string" - }, - "one_field": { - "description": "Alias column that serves as the _one_ side of the relationship.", - "example": null, + "nullable": false, "type": "string", - "nullable": true + "format": "uuid" }, - "one_collection_field": { + "user_created": { "nullable": true, - "type": "string" + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] }, - "one_allowed_collections": { + "date_created": { "nullable": true, - "type": "array", - "items": { - "type": "string" - } - }, - "junction_field": { - "description": "Field on the junction table that holds the many field of the related relation.", - "example": null, "type": "string", - "nullable": true + "format": "timestamp" }, - "sort_field": { + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "heading": { "nullable": true, "type": "string" + } + }, + "x-collection": "contactInfos", + "required": [ + "id" + ] + }, + "ItemsCrowdfundings": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" }, - "one_deselect_action": { + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + } + }, + "x-collection": "crowdfundings", + "required": [ + "id" + ] + }, + "ItemsThemes": { + "type": "object", + "properties": { + "theme": { "nullable": false, "type": "string" } }, - "x-collection": "directus_relations" + "x-collection": "Themes", + "required": [ + "theme" + ] + }, + "ItemsAttestations": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "text": { + "nullable": true, + "type": "string" + }, + "color": { + "nullable": true, + "type": "string" + }, + "emoji": { + "nullable": true, + "type": "string" + }, + "shape": { + "nullable": true, + "type": "string" + }, + "to": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + ] + } + } + }, + "x-collection": "attestations", + "required": [ + "id" + ] }, "Fields": { "type": "object", @@ -8388,6 +21889,209 @@ }, "x-collection": "directus_fields" }, + "Comments": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for this single collection preset.", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", + "type": "string" + }, + "collection": { + "description": "The collection of the item the Comment is created for.", + "example": "articles", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] + }, + "item": { + "description": "The item the Comment is created for.", + "example": "123", + "type": "string" + }, + "comment": { + "description": "User comment. This will store the comments that show up in the right sidebar of the item edit page in the admin app.", + "example": "This is a comment", + "type": "string" + }, + "date_created": { + "description": "When the Comment was created.", + "type": "string", + "example": "2024-01-23T12:34:56Z", + "format": "date-time", + "nullable": true + }, + "date_updated": { + "description": "When the Comment was updated.", + "type": "string", + "example": "2024-01-23T12:34:56Z", + "format": "date-time", + "nullable": true + }, + "user_created": { + "description": "User that created the Comment.", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "user_updated": { + "description": "User that updated the Comment.", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + } + }, + "x-collection": "directus_comments" + }, + "Extensions": { + "type": "object", + "properties": { + "enabled": { + "nullable": false, + "type": "boolean" + }, + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "folder": { + "nullable": false, + "type": "string" + }, + "source": { + "nullable": false, + "type": "string" + }, + "bundle": { + "description": "Name of the bundle the extension is in.", + "example": "directus-extension-my-bundle", + "type": "string", + "nullable": true + } + }, + "x-collection": "directus_extensions" + }, + "Flows": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the flow.", + "type": "string", + "example": "2f24211d-d928-469a-aea3-3c8f53d4e426" + }, + "name": { + "description": "The name of the flow.", + "type": "string", + "example": "Update Articles Flow" + }, + "icon": { + "description": "Icon displayed in the Admin App for the flow.", + "type": "string", + "example": "bolt" + }, + "color": { + "description": "Color of the icon displayed in the Admin App for the flow.", + "type": "string", + "example": "#112233", + "nullable": true + }, + "description": { + "nullable": true, + "type": "string" + }, + "status": { + "description": "Current status of the flow.", + "type": "string", + "example": "active", + "default": "active", + "enum": [ + "active", + "inactive" + ] + }, + "trigger": { + "description": "Type of trigger for the flow. One of `hook`, `webhook`, `operation`, `schedule`, `manual`.", + "type": "string", + "example": "manual" + }, + "accountability": { + "description": "The permission used during the flow. One of `$public`, `$trigger`, `$full`, or UUID of a role.", + "type": "string", + "example": "$trigger" + }, + "options": { + "description": "Options of the selected trigger for the flow.", + "type": "object", + "example": null, + "nullable": true + }, + "operation": { + "description": "UUID of the operation connected to the trigger in the flow.", + "example": "92e82998-e421-412f-a513-13701e83e4ce", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Operations" + } + ] + }, + "date_created": { + "description": "Timestamp in ISO8601 when the flow was created.", + "type": "string", + "example": "2022-05-11T13:14:52Z", + "format": "date-time", + "nullable": true + }, + "user_created": { + "description": "The user who created the flow.", + "example": "63716273-0f29-4648-8a2a-2af2948f6f78", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "operations": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Operations" + } + ] + } + } + }, + "x-collection": "directus_flows" + }, "Operations": { "type": "object", "properties": { @@ -8485,6 +22189,475 @@ }, "x-collection": "directus_operations" }, + "Permissions": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the permission.", + "example": 1, + "type": "integer" + }, + "collection": { + "description": "What collection this permission applies to.", + "example": "customers", + "type": "string" + }, + "action": { + "description": "What action this permission applies to.", + "example": "create", + "type": "string", + "enum": [ + "create", + "read", + "update", + "delete" + ] + }, + "permissions": { + "description": "JSON structure containing the permissions checks for this permission.", + "type": "object", + "nullable": true + }, + "validation": { + "description": "JSON structure containing the validation checks for this permission.", + "type": "object", + "nullable": true + }, + "presets": { + "description": "JSON structure containing the preset value for created/updated items.", + "type": "object", + "nullable": true + }, + "fields": { + "description": "CSV of fields that the user is allowed to interact with.", + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "policy": { + "nullable": false + } + }, + "x-collection": "directus_permissions" + }, + "Activity": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the object.", + "example": 2, + "type": "integer" + }, + "action": { + "description": "Action that was performed.", + "example": "update", + "type": "string", + "enum": [ + "create", + "update", + "delete", + "login" + ] + }, + "user": { + "description": "The user who performed this action.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" + } + ], + "nullable": true + }, + "timestamp": { + "description": "When the action happened.", + "example": "2019-12-05T22:52:09Z", + "type": "string", + "format": "date-time" + }, + "ip": { + "description": "The IP address of the user at the time the action took place.", + "example": "127.0.0.1", + "oneOf": [ + { + "type": "string", + "format": "ipv4" + } + ] + }, + "user_agent": { + "description": "User agent string of the browser the user used when the action took place.", + "example": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/78.0.3904.108 Safari/537.36", + "type": "string" + }, + "collection": { + "description": "Collection identifier in which the item resides.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] + }, + "item": { + "description": "Unique identifier for the item the action applied to. This is always a string, even for integer primary keys.", + "example": "328", + "type": "string" + }, + "origin": { + "description": "Origin of the request when the action took place.", + "example": "https://directus.io", + "type": "string" + }, + "revisions": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/Revisions" + } + ] + } + } + }, + "x-collection": "directus_activity" + }, + "Collections": { + "type": "object", + "properties": { + "collection": { + "description": "The collection key.", + "example": "customers", + "type": "string" + }, + "icon": { + "nullable": true, + "type": "string" + }, + "note": { + "nullable": true, + "type": "string" + }, + "display_template": { + "nullable": true, + "type": "string" + }, + "hidden": { + "nullable": false, + "type": "boolean" + }, + "singleton": { + "nullable": false, + "type": "boolean" + }, + "translations": { + "nullable": true + }, + "archive_field": { + "nullable": true, + "type": "string" + }, + "archive_app_filter": { + "nullable": false, + "type": "boolean" + }, + "archive_value": { + "nullable": true, + "type": "string" + }, + "unarchive_value": { + "nullable": true, + "type": "string" + }, + "sort_field": { + "nullable": true, + "type": "string" + }, + "accountability": { + "nullable": true, + "type": "string" + }, + "color": { + "nullable": true, + "type": "string" + }, + "item_duplication_fields": { + "nullable": true + }, + "sort": { + "nullable": true, + "type": "integer" + }, + "group": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] + }, + "collapse": { + "nullable": false, + "type": "string" + }, + "preview_url": { + "nullable": true, + "type": "string" + }, + "versioning": { + "nullable": false, + "type": "boolean" + } + }, + "x-collection": "directus_collections" + }, + "Presets": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for this single collection preset.", + "example": 155, + "type": "integer" + }, + "bookmark": { + "description": "Name for the bookmark. If this is set, the preset will be considered a bookmark.", + "nullable": true, + "type": "string" + }, + "user": { + "description": "The unique identifier of the user to whom this collection preset applies.", + "example": "63716273-0f29-4648-8a2a-2af2948f6f78", + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "role": { + "description": "The unique identifier of a role in the platform. If `user` is null, this will be used to apply the collection preset or bookmark for all users in the role.", + "example": "50419801-0f30-8644-2b3c-9bc2d980d0a0", + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Roles" + } + ] + }, + "collection": { + "description": "What collection this collection preset is used for.", + "example": "articles", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] + }, + "search": { + "description": "Search query.", + "type": "string", + "nullable": true + }, + "layout": { + "description": "Key of the layout that is used.", + "type": "string", + "example": null + }, + "layout_query": { + "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters.", + "example": { + "cards": { + "sort": "-published_on" + } + }, + "nullable": true + }, + "layout_options": { + "description": "Options of the views. The properties in here are controlled by the layout.", + "example": { + "cards": { + "icon": "account_circle", + "title": "{{ first_name }} {{ last_name }}", + "subtitle": "{{ title }}", + "size": 3 + } + }, + "nullable": true + }, + "refresh_interval": { + "nullable": true, + "type": "integer" + }, + "filter": { + "nullable": true + }, + "icon": { + "nullable": true, + "type": "string" + }, + "color": { + "nullable": true, + "type": "string" + } + }, + "x-collection": "directus_presets" + }, + "Revisions": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the revision.", + "example": 1, + "type": "integer" + }, + "activity": { + "description": "Unique identifier for the activity record.", + "example": 2, + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/Activity" + } + ] + }, + "collection": { + "description": "Collection of the updated item.", + "example": "articles", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] + }, + "item": { + "description": "Primary key of updated item.", + "example": "168", + "type": "string" + }, + "data": { + "description": "Copy of item state at time of update.", + "example": { + "author": 1, + "body": "This is my first post", + "featured_image": 15, + "id": "168", + "title": "Hello, World!" + }, + "type": "object", + "nullable": true + }, + "delta": { + "description": "Changes between the previous and the current revision.", + "example": { + "title": "Hello, World!" + }, + "type": "object" + }, + "parent": { + "description": "If the current item was updated relationally, this is the id of the parent revision record", + "example": null, + "type": "integer", + "nullable": true + }, + "version": { + "description": "Associated version of this revision.", + "example": "draft", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Versions" + } + ] + } + }, + "x-collection": "directus_revisions" + }, + "Relations": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the relation.", + "example": 1, + "type": "integer" + }, + "many_collection": { + "description": "Collection that has the field that holds the foreign key.", + "example": "directus_activity", + "type": "string" + }, + "many_field": { + "description": "Foreign key. Field that holds the primary key of the related collection.", + "example": "user", + "type": "string" + }, + "one_collection": { + "description": "Collection on the _one_ side of the relationship.", + "example": "directus_users", + "type": "string" + }, + "one_field": { + "description": "Alias column that serves as the _one_ side of the relationship.", + "example": null, + "type": "string", + "nullable": true + }, + "one_collection_field": { + "nullable": true, + "type": "string" + }, + "one_allowed_collections": { + "nullable": true, + "type": "array", + "items": { + "type": "string" + } + }, + "junction_field": { + "description": "Field on the junction table that holds the many field of the related relation.", + "example": null, + "type": "string", + "nullable": true + }, + "sort_field": { + "nullable": true, + "type": "string" + }, + "one_deselect_action": { + "nullable": false, + "type": "string" + } + }, + "x-collection": "directus_relations" + }, "Versions": { "type": "object", "properties": { @@ -8572,184 +22745,6 @@ }, "x-collection": "directus_versions" }, - "Revisions": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the revision.", - "example": 1, - "type": "integer" - }, - "activity": { - "description": "Unique identifier for the activity record.", - "example": 2, - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/Activity" - } - ] - }, - "collection": { - "description": "Collection of the updated item.", - "example": "articles", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Collections" - } - ] - }, - "item": { - "description": "Primary key of updated item.", - "example": "168", - "type": "string" - }, - "data": { - "description": "Copy of item state at time of update.", - "example": { - "author": 1, - "body": "This is my first post", - "featured_image": 15, - "id": "168", - "title": "Hello, World!" - }, - "type": "object", - "nullable": true - }, - "delta": { - "description": "Changes between the previous and the current revision.", - "example": { - "title": "Hello, World!" - }, - "type": "object" - }, - "parent": { - "description": "If the current item was updated relationally, this is the id of the parent revision record", - "example": null, - "type": "integer", - "nullable": true - }, - "version": { - "description": "Associated version of this revision.", - "example": "draft", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Versions" - } - ] - } - }, - "x-collection": "directus_revisions" - }, - "Extensions": { - "type": "object", - "properties": { - "enabled": { - "nullable": false, - "type": "boolean" - }, - "id": { - "nullable": false, - "type": "string", - "format": "uuid" - }, - "folder": { - "nullable": false, - "type": "string" - }, - "source": { - "nullable": false, - "type": "string" - }, - "bundle": { - "description": "Name of the bundle the extension is in.", - "example": "directus-extension-my-bundle", - "type": "string", - "nullable": true - } - }, - "x-collection": "directus_extensions" - }, - "Webhooks": { - "type": "object", - "properties": { - "id": { - "description": "The index of the webhook.", - "type": "integer", - "example": 1 - }, - "name": { - "description": "The name of the webhook.", - "type": "string", - "example": "create articles" - }, - "method": { - "description": "Method used in the webhook.", - "type": "string", - "example": "POST" - }, - "url": { - "description": "The url of the webhook.", - "type": "string", - "example": null, - "nullable": true - }, - "status": { - "description": "The status of the webhook.", - "type": "string", - "example": "inactive" - }, - "data": { - "description": "If yes, send the content of what was done", - "type": "boolean", - "example": true - }, - "actions": { - "description": "The actions that triggers this webhook.", - "type": "array", - "items": { - "type": "string" - }, - "example": null, - "nullable": true - }, - "collections": { - "nullable": false, - "type": "array", - "items": { - "type": "string" - } - }, - "headers": { - "nullable": true - }, - "was_active_before_deprecation": { - "nullable": false, - "type": "boolean" - }, - "migrated_flow": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Flows" - } - ] - } - }, - "x-collection": "directus_webhooks" - }, "Settings": { "type": "object", "properties": { @@ -9008,241 +23003,620 @@ "public_registration_email_filter": { "nullable": true, "description": "$t:fields.directus_settings.public_registration_email_filter_note" + }, + "visual_editor_urls": { + "nullable": true } }, "x-collection": "directus_settings" }, - "Permissions": { + "Webhooks": { "type": "object", "properties": { "id": { - "description": "Unique identifier for the permission.", - "example": 1, - "type": "integer" + "description": "The index of the webhook.", + "type": "integer", + "example": 1 }, - "collection": { - "description": "What collection this permission applies to.", - "example": "customers", - "type": "string" - }, - "action": { - "description": "What action this permission applies to.", - "example": "create", + "name": { + "description": "The name of the webhook.", "type": "string", - "enum": [ - "create", - "read", - "update", - "delete" - ] + "example": "create articles" }, - "permissions": { - "description": "JSON structure containing the permissions checks for this permission.", - "type": "object", + "method": { + "description": "Method used in the webhook.", + "type": "string", + "example": "POST" + }, + "url": { + "description": "The url of the webhook.", + "type": "string", + "example": null, "nullable": true }, - "validation": { - "description": "JSON structure containing the validation checks for this permission.", - "type": "object", - "nullable": true + "status": { + "description": "The status of the webhook.", + "type": "string", + "example": "inactive" }, - "presets": { - "description": "JSON structure containing the preset value for created/updated items.", - "type": "object", - "nullable": true + "data": { + "description": "If yes, send the content of what was done", + "type": "boolean", + "example": true }, - "fields": { - "description": "CSV of fields that the user is allowed to interact with.", + "actions": { + "description": "The actions that triggers this webhook.", "type": "array", "items": { "type": "string" }, - "nullable": true - }, - "policy": { - "nullable": false - } - }, - "x-collection": "directus_permissions" - }, - "Collections": { - "type": "object", - "properties": { - "collection": { - "description": "The collection key.", - "example": "customers", - "type": "string" - }, - "icon": { - "nullable": true, - "type": "string" - }, - "note": { - "nullable": true, - "type": "string" - }, - "display_template": { - "nullable": true, - "type": "string" - }, - "hidden": { - "nullable": false, - "type": "boolean" - }, - "singleton": { - "nullable": false, - "type": "boolean" - }, - "translations": { - "nullable": true - }, - "archive_field": { - "nullable": true, - "type": "string" - }, - "archive_app_filter": { - "nullable": false, - "type": "boolean" - }, - "archive_value": { - "nullable": true, - "type": "string" - }, - "unarchive_value": { - "nullable": true, - "type": "string" - }, - "sort_field": { - "nullable": true, - "type": "string" - }, - "accountability": { - "nullable": true, - "type": "string" - }, - "color": { - "nullable": true, - "type": "string" - }, - "item_duplication_fields": { - "nullable": true - }, - "sort": { - "nullable": true, - "type": "integer" - }, - "group": { - "nullable": true, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Collections" - } - ] - }, - "collapse": { - "nullable": false, - "type": "string" - }, - "preview_url": { - "nullable": true, - "type": "string" - }, - "versioning": { - "nullable": false, - "type": "boolean" - } - }, - "x-collection": "directus_collections" - }, - "Flows": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the flow.", - "type": "string", - "example": "2f24211d-d928-469a-aea3-3c8f53d4e426" - }, - "name": { - "description": "The name of the flow.", - "type": "string", - "example": "Update Articles Flow" - }, - "icon": { - "description": "Icon displayed in the Admin App for the flow.", - "type": "string", - "example": "bolt" - }, - "color": { - "description": "Color of the icon displayed in the Admin App for the flow.", - "type": "string", - "example": "#112233", - "nullable": true - }, - "description": { - "nullable": true, - "type": "string" - }, - "status": { - "description": "Current status of the flow.", - "type": "string", - "example": "active", - "default": "active", - "enum": [ - "active", - "inactive" - ] - }, - "trigger": { - "description": "Type of trigger for the flow. One of `hook`, `webhook`, `operation`, `schedule`, `manual`.", - "type": "string", - "example": "manual" - }, - "accountability": { - "description": "The permission used during the flow. One of `$public`, `$trigger`, `$full`, or UUID of a role.", - "type": "string", - "example": "$trigger" - }, - "options": { - "description": "Options of the selected trigger for the flow.", - "type": "object", "example": null, "nullable": true }, - "operation": { - "description": "UUID of the operation connected to the trigger in the flow.", - "example": "92e82998-e421-412f-a513-13701e83e4ce", + "collections": { + "nullable": false, + "type": "array", + "items": { + "type": "string" + } + }, + "headers": { + "nullable": true + }, + "was_active_before_deprecation": { + "nullable": false, + "type": "boolean" + }, + "migrated_flow": { + "nullable": true, "oneOf": [ { - "type": "string" + "type": "string", + "format": "uuid" }, { - "$ref": "#/components/schemas/Operations" + "$ref": "#/components/schemas/Flows" + } + ] + } + }, + "x-collection": "directus_webhooks" + }, + "ItemsItemsItems": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "items_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsItems" } ] }, - "date_created": { - "description": "Timestamp in ISO8601 when the flow was created.", - "type": "string", - "example": "2022-05-11T13:14:52Z", - "format": "date-time", - "nullable": true - }, - "user_created": { - "description": "The user who created the flow.", - "example": "63716273-0f29-4648-8a2a-2af2948f6f78", + "related_items_id": { + "nullable": true, "oneOf": [ { - "type": "string" + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsItems" + } + ] + }, + "type": { + "nullable": true, + "type": "string" + } + }, + "x-collection": "items_items" + }, + "ItemsGallery": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" }, { "$ref": "#/components/schemas/Users" } ] }, - "operations": { + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "hideInputLabel": { + "nullable": true, + "type": "boolean" + } + }, + "x-collection": "gallery", + "required": [ + "id" + ] + }, + "ItemsGroupSubheaders": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "shareBaseUrl": { + "nullable": true, + "type": "string" + }, + "groupStates": { + "nullable": true + }, + "platforms": { + "nullable": true + }, + "groupTypes": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + ] + } + } + }, + "x-collection": "groupSubheaders", + "required": [ + "id" + ] + }, + "ItemsGroupTypes": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "name": { + "nullable": true, + "type": "string" + }, + "color": { + "nullable": true, + "type": "string" + }, + "image": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + }, + "markerIcon": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/ItemsMarkerIcons" + } + ] + } + }, + "x-collection": "groupTypes", + "required": [ + "id" + ] + }, + "ItemsInviteLinks": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + } + }, + "x-collection": "inviteLinks", + "required": [ + "id" + ] + }, + "ItemsItemsFiles": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "items_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsItems" + } + ] + }, + "directus_files_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + } + }, + "x-collection": "items_files" + }, + "ItemsItems": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "name": { + "nullable": true, + "type": "string" + }, + "text": { + "nullable": true, + "type": "string" + }, + "position": { + "nullable": true, + "type": "object" + }, + "image": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + }, + "layer": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsLayers" + } + ] + }, + "start": { + "nullable": true, + "type": "string", + "format": "date-time" + }, + "end": { + "nullable": true, + "type": "string", + "format": "date-time" + }, + "color": { + "nullable": true, + "type": "string" + }, + "parent": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsItems" + } + ] + }, + "subname": { + "nullable": true, + "type": "string" + }, + "public_edit": { + "nullable": true, + "type": "boolean" + }, + "slug": { + "nullable": true, + "type": "string" + }, + "status": { + "nullable": true, + "type": "string" + }, + "markerIcon": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/ItemsMarkerIcons" + } + ] + }, + "telephone": { + "nullable": true, + "type": "string" + }, + "group_type": { + "nullable": true, + "type": "string" + }, + "next_appointment": { + "nullable": true, + "type": "string" + }, + "contact": { + "nullable": true, + "type": "string" + }, + "openCollectiveSlug": { + "nullable": true, + "type": "string" + }, + "draft": { + "nullable": true, + "type": "boolean" + }, + "gallery": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsItemsFiles" + } + ] + } + }, + "offers": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsItemsTags" + } + ] + } + }, + "needs": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsItemsTags1" + } + ] + } + }, + "relations": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsItemsItems" + } + ] + } + }, + "secrets": { "nullable": true, "type": "array", "items": { @@ -9252,259 +23626,150 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/Operations" + "$ref": "#/components/schemas/ItemsItemSecrets" } ] } } }, - "x-collection": "directus_flows" + "x-collection": "items", + "required": [ + "id" + ] }, - "Presets": { + "ItemsJunctionDirectusUsersTags1": { "type": "object", "properties": { "id": { - "description": "Unique identifier for this single collection preset.", - "example": 155, + "nullable": false, "type": "integer" }, - "bookmark": { - "description": "Name for the bookmark. If this is set, the preset will be considered a bookmark.", + "directus_users_id": { "nullable": true, - "type": "string" - }, - "user": { - "description": "The unique identifier of the user to whom this collection preset applies.", - "example": "63716273-0f29-4648-8a2a-2af2948f6f78", - "nullable": true, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "role": { - "description": "The unique identifier of a role in the platform. If `user` is null, this will be used to apply the collection preset or bookmark for all users in the role.", - "example": "50419801-0f30-8644-2b3c-9bc2d980d0a0", - "nullable": true, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Roles" - } - ] - }, - "collection": { - "description": "What collection this collection preset is used for.", - "example": "articles", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Collections" - } - ] - }, - "search": { - "description": "Search query.", - "type": "string", - "nullable": true - }, - "layout": { - "description": "Key of the layout that is used.", - "type": "string", - "example": null - }, - "layout_query": { - "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters.", - "example": { - "cards": { - "sort": "-published_on" - } - }, - "nullable": true - }, - "layout_options": { - "description": "Options of the views. The properties in here are controlled by the layout.", - "example": { - "cards": { - "icon": "account_circle", - "title": "{{ first_name }} {{ last_name }}", - "subtitle": "{{ title }}", - "size": 3 - } - }, - "nullable": true - }, - "refresh_interval": { - "nullable": true, - "type": "integer" - }, - "filter": { - "nullable": true - }, - "icon": { - "nullable": true, - "type": "string" - }, - "color": { - "nullable": true, - "type": "string" - } - }, - "x-collection": "directus_presets" - }, - "Comments": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for this single collection preset.", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", - "type": "string" - }, - "collection": { - "description": "The collection of the item the Comment is created for.", - "example": "articles", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Collections" - } - ] - }, - "item": { - "description": "The item the Comment is created for.", - "example": "123", - "type": "string" - }, - "comment": { - "description": "User comment. This will store the comments that show up in the right sidebar of the item edit page in the admin app.", - "example": "This is a comment", - "type": "string" - }, - "date_created": { - "description": "When the Comment was created.", - "type": "string", - "example": "2024-01-23T12:34:56Z", - "format": "date-time", - "nullable": true - }, - "date_updated": { - "description": "When the Comment was updated.", - "type": "string", - "example": "2024-01-23T12:34:56Z", - "format": "date-time", - "nullable": true - }, - "user_created": { - "description": "User that created the Comment.", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "user_updated": { - "description": "User that updated the Comment.", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - } - }, - "x-collection": "directus_comments" - }, - "Activity": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the object.", - "example": 2, - "type": "integer" - }, - "action": { - "description": "Action that was performed.", - "example": "update", - "type": "string", - "enum": [ - "create", - "update", - "delete", - "login" - ] - }, - "user": { - "description": "The user who performed this action.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Users" - } - ], - "nullable": true - }, - "timestamp": { - "description": "When the action happened.", - "example": "2019-12-05T22:52:09Z", - "type": "string", - "format": "date-time" - }, - "ip": { - "description": "The IP address of the user at the time the action took place.", - "example": "127.0.0.1", "oneOf": [ { "type": "string", - "format": "ipv4" + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" } ] }, - "user_agent": { - "description": "User agent string of the browser the user used when the action took place.", - "example": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/78.0.3904.108 Safari/537.36", + "tags_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsTags" + } + ] + } + }, + "x-collection": "junction_directus_users_tags_1" + }, + "ItemsLayers": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "name": { + "nullable": true, "type": "string" }, - "collection": { - "description": "Collection identifier in which the item resides.", + "markerShape": { + "nullable": true, + "type": "string" + }, + "menuText": { + "nullable": true, + "type": "string" + }, + "menuColor": { + "nullable": true, + "type": "string" + }, + "indexIcon": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + }, + "menuIcon": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + }, + "onlyOnePerOwner": { + "nullable": true, + "type": "boolean" + }, + "itemType": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsTypes" + } + ] + }, + "index_plus_button": { + "nullable": true, + "type": "boolean" + }, + "public_edit_items": { + "nullable": true, + "type": "boolean" + }, + "markerIcon": { + "nullable": true, "oneOf": [ { "type": "string" }, { - "$ref": "#/components/schemas/Collections" + "$ref": "#/components/schemas/ItemsMarkerIcons" } ] }, - "item": { - "description": "Unique identifier for the item the action applied to. This is always a string, even for integer primary keys.", - "example": "328", + "markerDefaultColor2": { + "nullable": true, "type": "string" }, - "origin": { - "description": "Origin of the request when the action took place.", - "example": "https://directus.io", - "type": "string" + "listed": { + "nullable": true, + "type": "boolean" }, - "revisions": { + "item_presets": { + "nullable": true + }, + "userProfileLayer": { + "nullable": true, + "type": "boolean" + }, + "maps": { "nullable": true, "type": "array", "items": { @@ -9513,13 +23778,1083 @@ "type": "integer" }, { - "$ref": "#/components/schemas/Revisions" + "$ref": "#/components/schemas/ItemsLayersMaps" + } + ] + } + }, + "notifications": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" } ] } } }, - "x-collection": "directus_activity" + "x-collection": "layers", + "required": [ + "id" + ] + }, + "ItemsItemsTags1": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "items_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsItems" + } + ] + }, + "tags_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsTags" + } + ] + } + }, + "x-collection": "items_tags_1" + }, + "ItemsItemSecrets": { + "type": "object", + "properties": { + "secret": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "item": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsItems" + } + ] + } + }, + "x-collection": "itemSecrets", + "required": [ + "secret" + ] + }, + "ItemsItemsTags": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "items_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsItems" + } + ] + }, + "tags_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsTags" + } + ] + } + }, + "x-collection": "items_tags" + }, + "ItemsLayersDirectusUsers1": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "layers_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsLayers" + } + ] + }, + "directus_users_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + } + }, + "x-collection": "layers_directus_users_1" + }, + "ItemsJunctionDirectusUsersTags": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "directus_users_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "tags_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsTags" + } + ] + } + }, + "x-collection": "junction_directus_users_tags" + }, + "ItemsLayersFiles": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "layers_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsLayers" + } + ] + }, + "directus_files_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + } + }, + "x-collection": "layers_files" + }, + "ItemsLayersMaps": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "layers_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsLayers" + } + ] + }, + "maps_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsMaps" + } + ] + } + }, + "x-collection": "layers_maps" + }, + "ItemsFeatures": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "status": { + "nullable": false, + "type": "string" + }, + "sort": { + "nullable": true, + "type": "integer" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "heading": { + "nullable": true, + "type": "string" + }, + "symbol": { + "nullable": true, + "type": "string" + }, + "text": { + "nullable": true, + "type": "string" + } + }, + "x-collection": "features" + }, + "ItemsStartEnd": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + } + }, + "x-collection": "startEnd", + "required": [ + "id" + ] + }, + "ItemsTags": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "name": { + "nullable": true, + "type": "string" + }, + "color": { + "nullable": true, + "type": "string" + }, + "map": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsMaps" + } + ] + }, + "offer_or_need": { + "nullable": true, + "type": "boolean" + }, + "user_created": { + "nullable": true, + "type": "string", + "format": "uuid" + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "date-time" + } + }, + "x-collection": "tags", + "required": [ + "id" + ] + }, + "ItemsOceannomadsProfiles": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string" + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "email": { + "nullable": true, + "type": "string" + }, + "first_name": { + "nullable": true, + "type": "string" + }, + "last_name": { + "nullable": true, + "type": "string" + }, + "location": { + "nullable": true, + "type": "string" + }, + "avatar_url": { + "nullable": true, + "type": "string" + } + }, + "x-collection": "oceannomads_profiles", + "required": [ + "id" + ] + }, + "ItemsRelations": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "relation": { + "nullable": true, + "type": "string" + } + }, + "x-collection": "relations" + }, + "ItemsTeam": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "status": { + "nullable": false, + "type": "string" + }, + "sort": { + "nullable": true, + "type": "integer" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "name": { + "nullable": true, + "type": "string" + }, + "role": { + "nullable": true, + "type": "string" + }, + "text": { + "nullable": true, + "type": "string" + }, + "image": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + } + }, + "x-collection": "team", + "required": [ + "id" + ] + }, + "ItemsTypes": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "name": { + "nullable": true, + "type": "string" + }, + "show_text_input": { + "nullable": true, + "type": "boolean" + }, + "show_name_input": { + "nullable": true, + "type": "boolean" + }, + "show_profile_button": { + "nullable": true, + "type": "boolean" + }, + "show_text": { + "nullable": true, + "type": "boolean" + }, + "show_name": { + "nullable": true, + "type": "boolean" + }, + "custom_text": { + "nullable": true, + "type": "string" + }, + "show_start_end_input": { + "nullable": true, + "type": "boolean" + }, + "show_start_end": { + "nullable": true, + "type": "boolean" + }, + "offers_and_needs": { + "nullable": true, + "type": "boolean" + }, + "relations": { + "nullable": true, + "type": "boolean" + }, + "onepager": { + "nullable": true, + "type": "boolean" + }, + "text_area": { + "nullable": true, + "type": "boolean" + }, + "text": { + "nullable": true, + "type": "boolean" + }, + "questlog": { + "nullable": true, + "type": "boolean" + }, + "icon_as_labels": { + "nullable": true, + "type": "boolean" + }, + "template": { + "nullable": true, + "type": "string" + }, + "profileTemplate": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsTypesProfileTemplate" + } + ] + } + } + }, + "x-collection": "types", + "required": [ + "id" + ] + }, + "ItemsTexts": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "heading": { + "nullable": true, + "type": "string" + }, + "hideWhenEmpty": { + "nullable": true, + "type": "boolean" + }, + "dataField": { + "nullable": true, + "type": "string" + }, + "size": { + "nullable": true, + "type": "string" + }, + "showMarkdownHint": { + "nullable": true, + "type": "boolean" + } + }, + "x-collection": "texts", + "required": [ + "id" + ] + }, + "ItemsMaps": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "name": { + "nullable": true, + "type": "string" + }, + "url": { + "nullable": true, + "type": "string" + }, + "logo": { + "nullable": true, + "description": "Used as FavIcon", + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + }, + "zoom": { + "nullable": true, + "type": "integer" + }, + "center": { + "nullable": true, + "type": "object" + }, + "own_tag_space": { + "nullable": true, + "type": "boolean" + }, + "geo": { + "nullable": true, + "description": "You can include GeoJSON" + }, + "show_layer_control": { + "nullable": true, + "type": "boolean" + }, + "show_filter_control": { + "nullable": true, + "type": "boolean" + }, + "user_type": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsTypes" + } + ] + }, + "custom_text": { + "nullable": true, + "description": "Replace the info text in the info popup", + "type": "string" + }, + "show_gratitude_control": { + "nullable": true, + "type": "boolean" + }, + "donation_widget": { + "nullable": true, + "description": "Shows a donation widget after 10 minutes", + "type": "boolean" + }, + "show_theme_control": { + "nullable": true, + "type": "boolean" + }, + "default_theme": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/ItemsThemes" + } + ] + }, + "show_zoom_control": { + "nullable": false, + "type": "boolean" + }, + "expand_layer_control": { + "nullable": true, + "type": "boolean" + }, + "info_open": { + "nullable": true, + "type": "boolean" + }, + "tile_server_url": { + "nullable": true, + "type": "string" + }, + "tile_server_attribution": { + "nullable": true, + "type": "string" + }, + "layers": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsLayersMaps" + } + ] + } + } + }, + "x-collection": "maps", + "required": [ + "id" + ] + }, + "ItemsTypesProfileTemplate": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "types_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsTypes" + } + ] + }, + "item": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/ItemsContactInfos" + }, + { + "$ref": "#/components/schemas/ItemsCrowdfundings" + }, + { + "$ref": "#/components/schemas/ItemsGallery" + }, + { + "$ref": "#/components/schemas/ItemsGroupSubheaders" + }, + { + "$ref": "#/components/schemas/ItemsInviteLinks" + }, + { + "$ref": "#/components/schemas/ItemsStartEnd" + }, + { + "$ref": "#/components/schemas/ItemsRelations" + }, + { + "$ref": "#/components/schemas/ItemsTexts" + } + ] + } + }, + "collection": { + "nullable": true, + "type": "string" + }, + "sort": { + "nullable": true, + "type": "integer" + } + }, + "x-collection": "types_profileTemplate" + }, + "ItemsAttestationsDirectusUsers": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "attestations_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsAttestations" + } + ] + }, + "directus_users_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + } + }, + "x-collection": "attestations_directus_users" + }, + "ItemsGroupSubheadersGroupTypes": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "groupSubheaders_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsGroupSubheaders" + } + ] + }, + "groupTypes_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsGroupTypes" + } + ] + } + }, + "x-collection": "groupSubheaders_groupTypes" + }, + "ItemsMarkerIcons": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "string" + }, + "size": { + "nullable": true, + "type": "number" + }, + "image": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + } + }, + "x-collection": "marker_icons", + "required": [ + "id" + ] + }, + "ItemsDirectusSyncIDMap": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "table": { + "nullable": false, + "type": "string" + }, + "sync_id": { + "nullable": false, + "type": "string" + }, + "local_id": { + "nullable": false, + "type": "string" + }, + "created_at": { + "nullable": true, + "type": "string", + "format": "timestamp" + } + }, + "x-collection": "directus_sync_id_map", + "required": [ + "table", + "sync_id", + "local_id" + ] } }, "parameters": { diff --git a/backend/directus-config/specs/system.graphql b/backend/directus-config/specs/system.graphql index a9620a48..1dd45c33 100644 --- a/backend/directus-config/specs/system.graphql +++ b/backend/directus-config/specs/system.graphql @@ -17,67 +17,67 @@ type Query { permissions_me: permissions_me_type roles_me: [directus_roles] policies_me_globals: policy_me_globals_type + access(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_access!]! + access_by_id(id: ID!, version: String): directus_access + access_aggregated(groupBy: [String], filter: directus_access_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_access_aggregated!]! + comments(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_comments!]! + comments_by_id(id: ID!, version: String): directus_comments + comments_aggregated(groupBy: [String], filter: directus_comments_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_comments_aggregated!]! + dashboards(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_dashboards!]! + dashboards_by_id(id: ID!, version: String): directus_dashboards + dashboards_aggregated(groupBy: [String], filter: directus_dashboards_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_dashboards_aggregated!]! folders(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_folders!]! folders_by_id(id: ID!, version: String): directus_folders folders_aggregated(groupBy: [String], filter: directus_folders_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_folders_aggregated!]! - files(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_files!]! - files_by_id(id: ID!, version: String): directus_files - files_aggregated(groupBy: [String], filter: directus_files_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_files_aggregated!]! - operations(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_operations!]! - operations_by_id(id: ID!, version: String): directus_operations - operations_aggregated(groupBy: [String], filter: directus_operations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_operations_aggregated!]! + flows(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_flows!]! + flows_by_id(id: ID!, version: String): directus_flows + flows_aggregated(groupBy: [String], filter: directus_flows_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_flows_aggregated!]! notifications(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_notifications!]! notifications_by_id(id: ID!, version: String): directus_notifications notifications_aggregated(groupBy: [String], filter: directus_notifications_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_notifications_aggregated!]! + operations(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_operations!]! + operations_by_id(id: ID!, version: String): directus_operations + operations_aggregated(groupBy: [String], filter: directus_operations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_operations_aggregated!]! + panels(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_panels!]! + panels_by_id(id: ID!, version: String): directus_panels + panels_aggregated(groupBy: [String], filter: directus_panels_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_panels_aggregated!]! + permissions(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_permissions!]! + permissions_by_id(id: ID!, version: String): directus_permissions + permissions_aggregated(groupBy: [String], filter: directus_permissions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_permissions_aggregated!]! + activity(filter: directus_activity_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_activity!]! + activity_by_id(id: ID!, version: String): directus_activity + activity_aggregated(groupBy: [String], filter: directus_activity_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_activity_aggregated!]! + files(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_files!]! + files_by_id(id: ID!, version: String): directus_files + files_aggregated(groupBy: [String], filter: directus_files_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_files_aggregated!]! + roles(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_roles!]! + roles_by_id(id: ID!, version: String): directus_roles + roles_aggregated(groupBy: [String], filter: directus_roles_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_roles_aggregated!]! + presets(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_presets!]! + presets_by_id(id: ID!, version: String): directus_presets + presets_aggregated(groupBy: [String], filter: directus_presets_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_presets_aggregated!]! + revisions(filter: directus_revisions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_revisions!]! + revisions_by_id(id: ID!, version: String): directus_revisions + revisions_aggregated(groupBy: [String], filter: directus_revisions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_revisions_aggregated!]! + versions(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_versions!]! + versions_by_id(id: ID!, version: String): directus_versions + versions_aggregated(groupBy: [String], filter: directus_versions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_versions_aggregated!]! + settings(version: String): directus_settings + webhooks(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_webhooks!]! + webhooks_by_id(id: ID!, version: String): directus_webhooks + webhooks_aggregated(groupBy: [String], filter: directus_webhooks_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_webhooks_aggregated!]! + policies(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_policies!]! + policies_by_id(id: ID!, version: String): directus_policies + policies_aggregated(groupBy: [String], filter: directus_policies_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_policies_aggregated!]! translations(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_translations!]! translations_by_id(id: ID!, version: String): directus_translations translations_aggregated(groupBy: [String], filter: directus_translations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_translations_aggregated!]! shares(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_shares!]! shares_by_id(id: ID!, version: String): directus_shares shares_aggregated(groupBy: [String], filter: directus_shares_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_shares_aggregated!]! - versions(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_versions!]! - versions_by_id(id: ID!, version: String): directus_versions - versions_aggregated(groupBy: [String], filter: directus_versions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_versions_aggregated!]! - revisions(filter: directus_revisions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_revisions!]! - revisions_by_id(id: ID!, version: String): directus_revisions - revisions_aggregated(groupBy: [String], filter: directus_revisions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_revisions_aggregated!]! users(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_users!]! users_by_id(id: ID!, version: String): directus_users users_aggregated(groupBy: [String], filter: directus_users_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_users_aggregated!]! - webhooks(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_webhooks!]! - webhooks_by_id(id: ID!, version: String): directus_webhooks - webhooks_aggregated(groupBy: [String], filter: directus_webhooks_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_webhooks_aggregated!]! - settings(version: String): directus_settings - policies(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_policies!]! - policies_by_id(id: ID!, version: String): directus_policies - policies_aggregated(groupBy: [String], filter: directus_policies_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_policies_aggregated!]! - permissions(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_permissions!]! - permissions_by_id(id: ID!, version: String): directus_permissions - permissions_aggregated(groupBy: [String], filter: directus_permissions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_permissions_aggregated!]! - access(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_access!]! - access_by_id(id: ID!, version: String): directus_access - access_aggregated(groupBy: [String], filter: directus_access_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_access_aggregated!]! - dashboards(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_dashboards!]! - dashboards_by_id(id: ID!, version: String): directus_dashboards - dashboards_aggregated(groupBy: [String], filter: directus_dashboards_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_dashboards_aggregated!]! - flows(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_flows!]! - flows_by_id(id: ID!, version: String): directus_flows - flows_aggregated(groupBy: [String], filter: directus_flows_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_flows_aggregated!]! - panels(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_panels!]! - panels_by_id(id: ID!, version: String): directus_panels - panels_aggregated(groupBy: [String], filter: directus_panels_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_panels_aggregated!]! - presets(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_presets!]! - presets_by_id(id: ID!, version: String): directus_presets - presets_aggregated(groupBy: [String], filter: directus_presets_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_presets_aggregated!]! - roles(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_roles!]! - roles_by_id(id: ID!, version: String): directus_roles - roles_aggregated(groupBy: [String], filter: directus_roles_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_roles_aggregated!]! - comments(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_comments!]! - comments_by_id(id: ID!, version: String): directus_comments - comments_aggregated(groupBy: [String], filter: directus_comments_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_comments_aggregated!]! - activity(filter: directus_activity_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_activity!]! - activity_by_id(id: ID!, version: String): directus_activity - activity_aggregated(groupBy: [String], filter: directus_activity_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_activity_aggregated!]! } type Mutation { @@ -98,170 +98,204 @@ type Mutation { users_invite_accept(token: String!, password: String!): Boolean users_register(email: String!, password: String!, verification_url: String, first_name: String, last_name: String): Boolean users_register_verify(token: String!): Boolean - create_collections_item(data: create_directus_collections_input!): directus_collections - update_collections_item(collection: String!, data: update_directus_collections_input!): directus_collections + create_collections_item(data: write_directus_collections_input!): write_directus_collections + update_collections_item(collection: String!, data: write_directus_collections_input!): write_directus_collections delete_collections_item(collection: String!): delete_collection - create_fields_item(collection: String!, data: create_directus_fields_input!): directus_fields - update_fields_item(collection: String!, field: String!, data: update_directus_fields_input!): directus_fields + create_fields_item(collection: String!, data: write_directus_fields_input!): write_directus_fields + update_fields_item(collection: String!, field: String!, data: write_directus_fields_input!): write_directus_fields delete_fields_item(collection: String!, field: String!): delete_field - create_relations_item(data: create_directus_relations_input!): directus_relations - update_relations_item(collection: String!, field: String!, data: update_directus_relations_input!): directus_relations + create_relations_item(data: write_directus_relations_input!): write_directus_relations + update_relations_item(collection: String!, field: String!, data: write_directus_relations_input!): write_directus_relations delete_relations_item(collection: String!, field: String!): delete_relation update_extensions_item(id: ID, data: update_directus_extensions_inputInput): directus_extensions update_users_me(data: update_directus_users_input): directus_users import_file(url: String!, data: create_directus_files_input): directus_files users_invite(email: String!, role: String!, invite_url: String): Boolean + create_access_items(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_access_input!]): [directus_access!]! + create_access_item(data: create_directus_access_input!): directus_access + create_comments_items(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_comments_input!]): [directus_comments!]! + create_comments_item(data: create_directus_comments_input!): directus_comments + create_dashboards_items(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_dashboards_input!]): [directus_dashboards!]! + create_dashboards_item(data: create_directus_dashboards_input!): directus_dashboards create_folders_items(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_folders_input!]): [directus_folders!]! create_folders_item(data: create_directus_folders_input!): directus_folders - create_files_items(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_files_input!]): [directus_files!]! - create_files_item(data: create_directus_files_input!): directus_files - create_operations_items(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_operations_input!]): [directus_operations!]! - create_operations_item(data: create_directus_operations_input!): directus_operations + create_flows_items(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_flows_input!]): [directus_flows!]! + create_flows_item(data: create_directus_flows_input!): directus_flows create_notifications_items(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_notifications_input!]): [directus_notifications!]! create_notifications_item(data: create_directus_notifications_input!): directus_notifications - create_translations_items(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_translations_input!]): [directus_translations!]! - create_translations_item(data: create_directus_translations_input!): directus_translations - create_shares_items(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_shares_input!]): [directus_shares!]! - create_shares_item(data: create_directus_shares_input!): directus_shares + create_operations_items(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_operations_input!]): [directus_operations!]! + create_operations_item(data: create_directus_operations_input!): directus_operations + create_panels_items(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_panels_input!]): [directus_panels!]! + create_panels_item(data: create_directus_panels_input!): directus_panels + create_permissions_items(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_permissions_input!]): [directus_permissions!]! + create_permissions_item(data: create_directus_permissions_input!): directus_permissions + create_files_items(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_files_input!]): [directus_files!]! + create_files_item(data: create_directus_files_input!): directus_files + create_roles_items(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_roles_input!]): [directus_roles!]! + create_roles_item(data: create_directus_roles_input!): directus_roles + create_presets_items(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_presets_input!]): [directus_presets!]! + create_presets_item(data: create_directus_presets_input!): directus_presets create_versions_items(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_versions_input!]): [directus_versions!]! create_versions_item(data: create_directus_versions_input!): directus_versions - create_users_items(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_users_input!]): [directus_users!]! - create_users_item(data: create_directus_users_input!): directus_users create_webhooks_items(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_webhooks_input!]): [directus_webhooks!]! create_webhooks_item(data: create_directus_webhooks_input!): directus_webhooks create_policies_items(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_policies_input!]): [directus_policies!]! create_policies_item(data: create_directus_policies_input!): directus_policies - create_permissions_items(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_permissions_input!]): [directus_permissions!]! - create_permissions_item(data: create_directus_permissions_input!): directus_permissions - create_access_items(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_access_input!]): [directus_access!]! - create_access_item(data: create_directus_access_input!): directus_access - create_dashboards_items(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_dashboards_input!]): [directus_dashboards!]! - create_dashboards_item(data: create_directus_dashboards_input!): directus_dashboards - create_flows_items(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_flows_input!]): [directus_flows!]! - create_flows_item(data: create_directus_flows_input!): directus_flows - create_panels_items(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_panels_input!]): [directus_panels!]! - create_panels_item(data: create_directus_panels_input!): directus_panels - create_presets_items(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_presets_input!]): [directus_presets!]! - create_presets_item(data: create_directus_presets_input!): directus_presets - create_roles_items(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_roles_input!]): [directus_roles!]! - create_roles_item(data: create_directus_roles_input!): directus_roles - create_comments_items(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_comments_input!]): [directus_comments!]! - create_comments_item(data: create_directus_comments_input!): directus_comments + create_translations_items(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_translations_input!]): [directus_translations!]! + create_translations_item(data: create_directus_translations_input!): directus_translations + create_shares_items(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_shares_input!]): [directus_shares!]! + create_shares_item(data: create_directus_shares_input!): directus_shares + create_users_items(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_users_input!]): [directus_users!]! + create_users_item(data: create_directus_users_input!): directus_users + update_access_items(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_access_input!): [directus_access!]! + update_access_batch(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_access_input!]): [directus_access!]! + update_access_item(id: ID!, data: update_directus_access_input!): directus_access + update_comments_items(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_comments_input!): [directus_comments!]! + update_comments_batch(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_comments_input!]): [directus_comments!]! + update_comments_item(id: ID!, data: update_directus_comments_input!): directus_comments + update_dashboards_items(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_dashboards_input!): [directus_dashboards!]! + update_dashboards_batch(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_dashboards_input!]): [directus_dashboards!]! + update_dashboards_item(id: ID!, data: update_directus_dashboards_input!): directus_dashboards update_folders_items(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_folders_input!): [directus_folders!]! update_folders_batch(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_folders_input!]): [directus_folders!]! update_folders_item(id: ID!, data: update_directus_folders_input!): directus_folders - update_files_items(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_files_input!): [directus_files!]! - update_files_batch(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_files_input!]): [directus_files!]! - update_files_item(id: ID!, data: update_directus_files_input!): directus_files - update_operations_items(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_operations_input!): [directus_operations!]! - update_operations_batch(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_operations_input!]): [directus_operations!]! - update_operations_item(id: ID!, data: update_directus_operations_input!): directus_operations + update_flows_items(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_flows_input!): [directus_flows!]! + update_flows_batch(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_flows_input!]): [directus_flows!]! + update_flows_item(id: ID!, data: update_directus_flows_input!): directus_flows update_notifications_items(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_notifications_input!): [directus_notifications!]! update_notifications_batch(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_notifications_input!]): [directus_notifications!]! update_notifications_item(id: ID!, data: update_directus_notifications_input!): directus_notifications + update_operations_items(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_operations_input!): [directus_operations!]! + update_operations_batch(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_operations_input!]): [directus_operations!]! + update_operations_item(id: ID!, data: update_directus_operations_input!): directus_operations + update_panels_items(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_panels_input!): [directus_panels!]! + update_panels_batch(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_panels_input!]): [directus_panels!]! + update_panels_item(id: ID!, data: update_directus_panels_input!): directus_panels + update_permissions_items(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_permissions_input!): [directus_permissions!]! + update_permissions_batch(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_permissions_input!]): [directus_permissions!]! + update_permissions_item(id: ID!, data: update_directus_permissions_input!): directus_permissions + update_files_items(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_files_input!): [directus_files!]! + update_files_batch(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_files_input!]): [directus_files!]! + update_files_item(id: ID!, data: update_directus_files_input!): directus_files + update_roles_items(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_roles_input!): [directus_roles!]! + update_roles_batch(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_roles_input!]): [directus_roles!]! + update_roles_item(id: ID!, data: update_directus_roles_input!): directus_roles + update_presets_items(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_presets_input!): [directus_presets!]! + update_presets_batch(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_presets_input!]): [directus_presets!]! + update_presets_item(id: ID!, data: update_directus_presets_input!): directus_presets + update_versions_items(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_versions_input!): [directus_versions!]! + update_versions_batch(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_versions_input!]): [directus_versions!]! + update_versions_item(id: ID!, data: update_directus_versions_input!): directus_versions + update_settings(data: update_directus_settings_input!): directus_settings + update_webhooks_items(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_webhooks_input!): [directus_webhooks!]! + update_webhooks_batch(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_webhooks_input!]): [directus_webhooks!]! + update_webhooks_item(id: ID!, data: update_directus_webhooks_input!): directus_webhooks + update_policies_items(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_policies_input!): [directus_policies!]! + update_policies_batch(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_policies_input!]): [directus_policies!]! + update_policies_item(id: ID!, data: update_directus_policies_input!): directus_policies update_translations_items(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_translations_input!): [directus_translations!]! update_translations_batch(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_translations_input!]): [directus_translations!]! update_translations_item(id: ID!, data: update_directus_translations_input!): directus_translations update_shares_items(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_shares_input!): [directus_shares!]! update_shares_batch(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_shares_input!]): [directus_shares!]! update_shares_item(id: ID!, data: update_directus_shares_input!): directus_shares - update_versions_items(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_versions_input!): [directus_versions!]! - update_versions_batch(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_versions_input!]): [directus_versions!]! - update_versions_item(id: ID!, data: update_directus_versions_input!): directus_versions update_users_items(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_users_input!): [directus_users!]! update_users_batch(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_users_input!]): [directus_users!]! update_users_item(id: ID!, data: update_directus_users_input!): directus_users - update_webhooks_items(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_webhooks_input!): [directus_webhooks!]! - update_webhooks_batch(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_webhooks_input!]): [directus_webhooks!]! - update_webhooks_item(id: ID!, data: update_directus_webhooks_input!): directus_webhooks - update_settings(data: update_directus_settings_input!): directus_settings - update_policies_items(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_policies_input!): [directus_policies!]! - update_policies_batch(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_policies_input!]): [directus_policies!]! - update_policies_item(id: ID!, data: update_directus_policies_input!): directus_policies - update_permissions_items(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_permissions_input!): [directus_permissions!]! - update_permissions_batch(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_permissions_input!]): [directus_permissions!]! - update_permissions_item(id: ID!, data: update_directus_permissions_input!): directus_permissions - update_access_items(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_access_input!): [directus_access!]! - update_access_batch(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_access_input!]): [directus_access!]! - update_access_item(id: ID!, data: update_directus_access_input!): directus_access - update_dashboards_items(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_dashboards_input!): [directus_dashboards!]! - update_dashboards_batch(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_dashboards_input!]): [directus_dashboards!]! - update_dashboards_item(id: ID!, data: update_directus_dashboards_input!): directus_dashboards - update_flows_items(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_flows_input!): [directus_flows!]! - update_flows_batch(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_flows_input!]): [directus_flows!]! - update_flows_item(id: ID!, data: update_directus_flows_input!): directus_flows - update_panels_items(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_panels_input!): [directus_panels!]! - update_panels_batch(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_panels_input!]): [directus_panels!]! - update_panels_item(id: ID!, data: update_directus_panels_input!): directus_panels - update_presets_items(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_presets_input!): [directus_presets!]! - update_presets_batch(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_presets_input!]): [directus_presets!]! - update_presets_item(id: ID!, data: update_directus_presets_input!): directus_presets - update_roles_items(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_roles_input!): [directus_roles!]! - update_roles_batch(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_roles_input!]): [directus_roles!]! - update_roles_item(id: ID!, data: update_directus_roles_input!): directus_roles - update_comments_items(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_comments_input!): [directus_comments!]! - update_comments_batch(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_comments_input!]): [directus_comments!]! - update_comments_item(id: ID!, data: update_directus_comments_input!): directus_comments + delete_access_items(ids: [ID]!): delete_many + delete_access_item(id: ID!): delete_one + delete_comments_items(ids: [ID]!): delete_many + delete_comments_item(id: ID!): delete_one + delete_dashboards_items(ids: [ID]!): delete_many + delete_dashboards_item(id: ID!): delete_one delete_folders_items(ids: [ID]!): delete_many delete_folders_item(id: ID!): delete_one - delete_files_items(ids: [ID]!): delete_many - delete_files_item(id: ID!): delete_one - delete_operations_items(ids: [ID]!): delete_many - delete_operations_item(id: ID!): delete_one + delete_flows_items(ids: [ID]!): delete_many + delete_flows_item(id: ID!): delete_one delete_notifications_items(ids: [ID]!): delete_many delete_notifications_item(id: ID!): delete_one - delete_translations_items(ids: [ID]!): delete_many - delete_translations_item(id: ID!): delete_one - delete_shares_items(ids: [ID]!): delete_many - delete_shares_item(id: ID!): delete_one + delete_operations_items(ids: [ID]!): delete_many + delete_operations_item(id: ID!): delete_one + delete_panels_items(ids: [ID]!): delete_many + delete_panels_item(id: ID!): delete_one + delete_permissions_items(ids: [ID]!): delete_many + delete_permissions_item(id: ID!): delete_one + delete_files_items(ids: [ID]!): delete_many + delete_files_item(id: ID!): delete_one + delete_roles_items(ids: [ID]!): delete_many + delete_roles_item(id: ID!): delete_one + delete_presets_items(ids: [ID]!): delete_many + delete_presets_item(id: ID!): delete_one delete_versions_items(ids: [ID]!): delete_many delete_versions_item(id: ID!): delete_one - delete_users_items(ids: [ID]!): delete_many - delete_users_item(id: ID!): delete_one delete_webhooks_items(ids: [ID]!): delete_many delete_webhooks_item(id: ID!): delete_one delete_policies_items(ids: [ID]!): delete_many delete_policies_item(id: ID!): delete_one - delete_permissions_items(ids: [ID]!): delete_many - delete_permissions_item(id: ID!): delete_one - delete_access_items(ids: [ID]!): delete_many - delete_access_item(id: ID!): delete_one - delete_dashboards_items(ids: [ID]!): delete_many - delete_dashboards_item(id: ID!): delete_one - delete_flows_items(ids: [ID]!): delete_many - delete_flows_item(id: ID!): delete_one - delete_panels_items(ids: [ID]!): delete_many - delete_panels_item(id: ID!): delete_one - delete_presets_items(ids: [ID]!): delete_many - delete_presets_item(id: ID!): delete_one - delete_roles_items(ids: [ID]!): delete_many - delete_roles_item(id: ID!): delete_one - delete_comments_items(ids: [ID]!): delete_many - delete_comments_item(id: ID!): delete_one + delete_translations_items(ids: [ID]!): delete_many + delete_translations_item(id: ID!): delete_one + delete_shares_items(ids: [ID]!): delete_many + delete_shares_item(id: ID!): delete_one + delete_users_items(ids: [ID]!): delete_many + delete_users_item(id: ID!): delete_one } type Subscription { + contactInfos_mutated(event: EventEnum): contactInfos_mutated + crowdfundings_mutated(event: EventEnum): crowdfundings_mutated + directus_access_mutated(event: EventEnum): directus_access_mutated + Themes_mutated(event: EventEnum): Themes_mutated + attestations_mutated(event: EventEnum): attestations_mutated + directus_comments_mutated(event: EventEnum): directus_comments_mutated + directus_dashboards_mutated(event: EventEnum): directus_dashboards_mutated directus_folders_mutated(event: EventEnum): directus_folders_mutated - directus_files_mutated(event: EventEnum): directus_files_mutated - directus_operations_mutated(event: EventEnum): directus_operations_mutated + directus_flows_mutated(event: EventEnum): directus_flows_mutated directus_notifications_mutated(event: EventEnum): directus_notifications_mutated + directus_operations_mutated(event: EventEnum): directus_operations_mutated + directus_panels_mutated(event: EventEnum): directus_panels_mutated + directus_permissions_mutated(event: EventEnum): directus_permissions_mutated + directus_activity_mutated(event: EventEnum): directus_activity_mutated + directus_files_mutated(event: EventEnum): directus_files_mutated + directus_roles_mutated(event: EventEnum): directus_roles_mutated + directus_presets_mutated(event: EventEnum): directus_presets_mutated + directus_revisions_mutated(event: EventEnum): directus_revisions_mutated + directus_versions_mutated(event: EventEnum): directus_versions_mutated + directus_settings_mutated(event: EventEnum): directus_settings_mutated + directus_webhooks_mutated(event: EventEnum): directus_webhooks_mutated + directus_policies_mutated(event: EventEnum): directus_policies_mutated directus_translations_mutated(event: EventEnum): directus_translations_mutated directus_shares_mutated(event: EventEnum): directus_shares_mutated - directus_versions_mutated(event: EventEnum): directus_versions_mutated - directus_revisions_mutated(event: EventEnum): directus_revisions_mutated directus_users_mutated(event: EventEnum): directus_users_mutated - directus_webhooks_mutated(event: EventEnum): directus_webhooks_mutated - directus_settings_mutated(event: EventEnum): directus_settings_mutated - directus_policies_mutated(event: EventEnum): directus_policies_mutated - directus_permissions_mutated(event: EventEnum): directus_permissions_mutated - directus_access_mutated(event: EventEnum): directus_access_mutated - directus_dashboards_mutated(event: EventEnum): directus_dashboards_mutated - directus_flows_mutated(event: EventEnum): directus_flows_mutated - directus_panels_mutated(event: EventEnum): directus_panels_mutated - directus_presets_mutated(event: EventEnum): directus_presets_mutated - directus_roles_mutated(event: EventEnum): directus_roles_mutated - directus_comments_mutated(event: EventEnum): directus_comments_mutated - directus_activity_mutated(event: EventEnum): directus_activity_mutated + items_items_mutated(event: EventEnum): items_items_mutated + gallery_mutated(event: EventEnum): gallery_mutated + groupSubheaders_mutated(event: EventEnum): groupSubheaders_mutated + groupTypes_mutated(event: EventEnum): groupTypes_mutated + inviteLinks_mutated(event: EventEnum): inviteLinks_mutated + items_files_mutated(event: EventEnum): items_files_mutated + items_mutated(event: EventEnum): items_mutated + junction_directus_users_tags_1_mutated(event: EventEnum): junction_directus_users_tags_1_mutated + layers_mutated(event: EventEnum): layers_mutated + items_tags_1_mutated(event: EventEnum): items_tags_1_mutated + itemSecrets_mutated(event: EventEnum): itemSecrets_mutated + items_tags_mutated(event: EventEnum): items_tags_mutated + layers_directus_users_1_mutated(event: EventEnum): layers_directus_users_1_mutated + junction_directus_users_tags_mutated(event: EventEnum): junction_directus_users_tags_mutated + layers_files_mutated(event: EventEnum): layers_files_mutated + layers_maps_mutated(event: EventEnum): layers_maps_mutated + features_mutated(event: EventEnum): features_mutated + startEnd_mutated(event: EventEnum): startEnd_mutated + tags_mutated(event: EventEnum): tags_mutated + oceannomads_profiles_mutated(event: EventEnum): oceannomads_profiles_mutated + relations_mutated(event: EventEnum): relations_mutated + team_mutated(event: EventEnum): team_mutated + types_mutated(event: EventEnum): types_mutated + texts_mutated(event: EventEnum): texts_mutated + maps_mutated(event: EventEnum): maps_mutated + types_profileTemplate_mutated(event: EventEnum): types_profileTemplate_mutated + attestations_directus_users_mutated(event: EventEnum): attestations_directus_users_mutated + groupSubheaders_groupTypes_mutated(event: EventEnum): groupSubheaders_groupTypes_mutated + marker_icons_mutated(event: EventEnum): marker_icons_mutated + directus_sync_id_map_mutated(event: EventEnum): directus_sync_id_map_mutated } """The `Boolean` scalar type represents `true` or `false`.""" @@ -278,6 +312,9 @@ scalar Float """BigInt value""" scalar GraphQLBigInt +"""GeoJSON value""" +scalar GraphQLGeoJSON + """A Float or a String""" scalar GraphQLStringOrFloat @@ -326,16 +363,82 @@ enum graphql_sdl_scope { system } +union types_profileTemplate_item_union = groupSubheaders | contactInfos | texts | startEnd | gallery | crowdfundings | inviteLinks | relations + +type attestations { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + text: String + color: String + emoji: String + shape: String + to(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [attestations_directus_users] + to_func: count_functions +} + +type attestations_directus_users { + id: ID! + attestations_id(filter: attestations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): attestations + directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users +} + +type attestations_directus_users_mutated { + key: ID! + event: EventEnum + data: attestations_directus_users +} + +type attestations_mutated { + key: ID! + event: EventEnum + data: attestations +} + type auth_tokens { access_token: String expires: GraphQLBigInt refresh_token: String } +type contactInfos { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + heading: String +} + +type contactInfos_mutated { + key: ID! + event: EventEnum + data: contactInfos +} + type count_functions { count: Int } +type crowdfundings { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions +} + +type crowdfundings_mutated { + key: ID! + event: EventEnum + data: crowdfundings +} + type datetime_functions { year: Int month: Int @@ -1292,6 +1395,8 @@ type directus_settings { """$t:fields.directus_settings.public_registration_email_filter_note""" public_registration_email_filter: JSON public_registration_email_filter_func: count_functions + visual_editor_urls: JSON + visual_editor_urls_func: count_functions } type directus_settings_mutated { @@ -1375,6 +1480,21 @@ type directus_shares_mutated { data: directus_shares } +type directus_sync_id_map { + id: ID! + table: String! + sync_id: String! + local_id: String! + created_at: Date + created_at_func: datetime_functions +} + +type directus_sync_id_map_mutated { + key: ID! + event: EventEnum + data: directus_sync_id_map +} + type directus_translations { id: ID! language: String! @@ -1434,6 +1554,10 @@ type directus_users { theme_light_overrides_func: count_functions theme_dark_overrides: JSON theme_dark_overrides_func: count_functions + imported: Boolean + wc_user: Boolean + 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 policies(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_access] policies_func: count_functions } @@ -1472,6 +1596,9 @@ type directus_users_aggregated_count { theme_light: Int theme_light_overrides: Int theme_dark_overrides: Int + imported: Int + wc_user: Int + notifications: Int policies: Int } @@ -1577,12 +1704,400 @@ type directus_webhooks_mutated { data: directus_webhooks } +type features { + id: ID! + status: String + sort: Int + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + heading: String + symbol: String + text: String +} + +type features_mutated { + key: ID! + event: EventEnum + data: features +} + +type gallery { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + hideInputLabel: Boolean +} + +type gallery_mutated { + key: ID! + event: EventEnum + data: gallery +} + +type groupSubheaders { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + shareBaseUrl: String + groupStates: JSON + groupStates_func: count_functions + platforms: JSON + platforms_func: count_functions + groupTypes(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [groupSubheaders_groupTypes] + groupTypes_func: count_functions +} + +type groupSubheaders_groupTypes { + id: ID! + groupSubheaders_id(filter: groupSubheaders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): groupSubheaders + groupTypes_id(filter: groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): groupTypes +} + +type groupSubheaders_groupTypes_mutated { + key: ID! + event: EventEnum + data: groupSubheaders_groupTypes +} + +type groupSubheaders_mutated { + key: ID! + event: EventEnum + data: groupSubheaders +} + +type groupTypes { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + name: String + color: String + image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons +} + +type groupTypes_mutated { + key: ID! + event: EventEnum + data: groupTypes +} + +type inviteLinks { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions +} + +type inviteLinks_mutated { + key: ID! + event: EventEnum + data: inviteLinks +} + +type items { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + name: String + text: String + position: GraphQLGeoJSON + image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + layer(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers + start: Date + start_func: datetime_functions + end: Date + end_func: datetime_functions + color: String + parent(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + subname: String + public_edit: Boolean + slug: String + status: String + markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons + telephone: String + group_type: String + next_appointment: String + contact: String + openCollectiveSlug: String + draft: Boolean + gallery(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_files] + gallery_func: count_functions + offers(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags] + offers_func: count_functions + needs(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags_1] + needs_func: count_functions + relations(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_items] + relations_func: count_functions + secrets(filter: itemSecrets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [itemSecrets] + secrets_func: count_functions +} + +type items_files { + id: ID! + items_id(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + directus_files_id(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files +} + +type items_files_mutated { + key: ID! + event: EventEnum + data: items_files +} + +type items_items { + id: ID! + items_id(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + related_items_id(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + type: String +} + +type items_items_mutated { + key: ID! + event: EventEnum + data: items_items +} + +type items_mutated { + key: ID! + event: EventEnum + data: items +} + +type items_tags { + id: ID! + items_id(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + tags_id(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): tags +} + +type items_tags_1 { + id: ID! + items_id(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + tags_id(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): tags +} + +type items_tags_1_mutated { + key: ID! + event: EventEnum + data: items_tags_1 +} + +type items_tags_mutated { + key: ID! + event: EventEnum + data: items_tags +} + +type itemSecrets { + secret: ID! + item(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items +} + +type itemSecrets_mutated { + key: ID! + event: EventEnum + data: itemSecrets +} + +type junction_directus_users_tags { + id: ID! + directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + tags_id(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): tags +} + +type junction_directus_users_tags_1 { + id: ID! + directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + tags_id(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): tags +} + +type junction_directus_users_tags_1_mutated { + key: ID! + event: EventEnum + data: junction_directus_users_tags_1 +} + +type junction_directus_users_tags_mutated { + key: ID! + event: EventEnum + data: junction_directus_users_tags +} + +type layers { + id: ID! + name: String + markerShape: String + menuText: String + menuColor: String + indexIcon(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + menuIcon(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + onlyOnePerOwner: Boolean + itemType(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types + index_plus_button: Boolean + public_edit_items: Boolean + markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons + markerDefaultColor2: String + listed: Boolean + item_presets: JSON + item_presets_func: count_functions + 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 +} + +type layers_directus_users_1 { + id: ID! + layers_id(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers + directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users +} + +type layers_directus_users_1_mutated { + key: ID! + event: EventEnum + data: layers_directus_users_1 +} + +type layers_files { + id: ID! + layers_id(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers + directus_files_id(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files +} + +type layers_files_mutated { + key: ID! + event: EventEnum + data: layers_files +} + +type layers_maps { + id: ID! + layers_id(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers + maps_id(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): maps +} + +type layers_maps_mutated { + key: ID! + event: EventEnum + data: layers_maps +} + +type layers_mutated { + key: ID! + event: EventEnum + data: layers +} + +type maps { + id: ID! + name: String + url: String + logo(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + zoom: Int + center: GraphQLGeoJSON + own_tag_space: Boolean + + """You can include GeoJSON""" + geo: JSON + geo_func: count_functions + show_layer_control: Boolean + show_filter_control: Boolean + user_type(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types + + """Replace the info text in the info popup""" + custom_text: String + show_gratitude_control: Boolean + + """Shows a donation widget after 10 minutes""" + donation_widget: Boolean + show_theme_control: Boolean + default_theme(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): Themes + show_zoom_control: Boolean! + expand_layer_control: Boolean + info_open: Boolean + tile_server_url: String + tile_server_attribution: String + layers(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_maps] + layers_func: count_functions +} + +type maps_mutated { + key: ID! + event: EventEnum + data: maps +} + +type marker_icons { + id: ID! + size: Float + image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files +} + +type marker_icons_mutated { + key: ID! + event: EventEnum + data: marker_icons +} + +type oceannomads_profiles { + id: ID! + date_created: Date + date_created_func: datetime_functions + date_updated: Date + date_updated_func: datetime_functions + email: String + first_name: String + last_name: String + location: String + avatar_url: String +} + +type oceannomads_profiles_mutated { + key: ID! + event: EventEnum + data: oceannomads_profiles +} + type policy_me_globals_type { enforce_tfa: Boolean app_access: Boolean admin_access: Boolean } +type relations { + id: ID! + relation: String +} + +type relations_mutated { + key: ID! + event: EventEnum + data: relations +} + type server_info { project: server_info_project rateLimit: Boolean @@ -1610,11 +2125,295 @@ type server_info_query_limit { max: Int } +type startEnd { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions +} + +type startEnd_mutated { + key: ID! + event: EventEnum + data: startEnd +} + +type tags { + id: ID! + name: String + color: String + map(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): maps + offer_or_need: Boolean + user_created: ID + date_created: Date + date_created_func: datetime_functions +} + +type tags_mutated { + key: ID! + event: EventEnum + data: tags +} + +type team { + id: ID! + status: String + sort: Int + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + name: String + role: String + text: String + image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files +} + +type team_mutated { + key: ID! + event: EventEnum + data: team +} + +type texts { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + heading: String + hideWhenEmpty: Boolean + dataField: String + size: String + showMarkdownHint: Boolean +} + +type texts_mutated { + key: ID! + event: EventEnum + data: texts +} + +type Themes { + theme: ID! +} + +type Themes_mutated { + key: ID! + event: EventEnum + data: Themes +} + +type types { + id: ID! + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_created: Date + date_created_func: datetime_functions + user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + date_updated: Date + date_updated_func: datetime_functions + name: String + show_text_input: Boolean + show_name_input: Boolean + show_profile_button: Boolean + show_text: Boolean + show_name: Boolean + custom_text: String + show_start_end_input: Boolean + show_start_end: Boolean + offers_and_needs: Boolean + relations: Boolean + onepager: Boolean + text_area: Boolean + text: Boolean + questlog: Boolean + icon_as_labels: Boolean + template: String + profileTemplate(filter: types_profileTemplate_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [types_profileTemplate] + profileTemplate_func: count_functions +} + +type types_mutated { + key: ID! + event: EventEnum + data: types +} + +type types_profileTemplate { + id: ID! + types_id(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types + item: types_profileTemplate_item_union + collection: String + sort: Int +} + +type types_profileTemplate_mutated { + key: ID! + event: EventEnum + data: types_profileTemplate +} + type users_me_tfa_generate_data { secret: String otpauth_url: String } +type write_directus_collections { + collection: String + meta: write_directus_collections_meta + schema: write_directus_collections_schema +} + +type write_directus_collections_meta { + collection: String + icon: String + note: String + display_template: String + hidden: Boolean + singleton: Boolean + translations: JSON + archive_field: String + archive_app_filter: Boolean + archive_value: String + unarchive_value: String + sort_field: String + accountability: String + color: String + item_duplication_fields: JSON + sort: Int + group: String + collapse: String + preview_url: String + versioning: Boolean +} + +type write_directus_collections_schema { + name: String + comment: String +} + +type write_directus_fields { + collection: String + field: String + type: String + meta: write_directus_fields_meta + schema: write_directus_fields_schema +} + +type write_directus_fields_meta { + id: Int + collection: String + field: String + special: [String] + interface: String + options: JSON + display: String + display_options: JSON + readonly: Boolean + hidden: Boolean + sort: Int + width: String + translations: JSON + note: String + conditions: JSON + required: Boolean + group: String + validation: JSON + validation_message: String +} + +type write_directus_fields_schema { + name: String + table: String + data_type: String + default_value: String + max_length: Int + numeric_precision: Int + numeric_scale: Int + is_generated: Boolean + generation_expression: String + is_indexed: Boolean + is_nullable: Boolean + is_unique: Boolean + is_primary_key: Boolean + has_auto_increment: Boolean + foreign_key_column: String + foreign_key_table: String + comment: String +} + +type write_directus_relations { + collection: String + field: String + related_collection: String + schema: write_directus_relations_schema + meta: write_directus_relations_meta +} + +type write_directus_relations_meta { + id: Int + many_collection: String + many_field: String + one_collection: String + one_field: String + one_collection_field: String + one_allowed_collections: [String] + junction_field: String + sort_field: String + one_deselect_action: String +} + +type write_directus_relations_schema { + table: String! + column: String! + foreign_key_table: String! + foreign_key_column: String! + constraint_name: String + on_update: String! + on_delete: String! +} + +input attestations_directus_users_filter { + id: number_filter_operators + attestations_id: attestations_filter + directus_users_id: directus_users_filter + _and: [attestations_directus_users_filter] + _or: [attestations_directus_users_filter] +} + +"""""" +input attestations_directus_users_quantifier_filter { + id: number_filter_operators + attestations_id: attestations_filter + directus_users_id: directus_users_filter + _and: [attestations_directus_users_filter] + _or: [attestations_directus_users_filter] + _some: attestations_directus_users_filter + _none: attestations_directus_users_filter +} + +input attestations_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + text: string_filter_operators + color: string_filter_operators + emoji: string_filter_operators + shape: string_filter_operators + to: attestations_directus_users_quantifier_filter + to_func: count_function_filter_operators + _and: [attestations_filter] + _or: [attestations_filter] +} + input big_int_filter_operators { _eq: GraphQLBigInt _neq: GraphQLBigInt @@ -1637,6 +2436,19 @@ input boolean_filter_operators { _nnull: Boolean } +input contactInfos_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + heading: string_filter_operators + _and: [contactInfos_filter] + _or: [contactInfos_filter] +} + input count_function_filter_operators { count: number_filter_operators } @@ -1649,21 +2461,6 @@ input create_directus_access_input { sort: Int } -input create_directus_collections_fields_input { - collection: String - field: String - type: String - meta: directus_fields_meta_input - schema: directus_fields_schema_input -} - -input create_directus_collections_input { - collection: String - meta: directus_collections_meta_input - schema: directus_collections_schema_input - fields: [create_directus_collections_fields_input!] -} - input create_directus_comments_input { id: ID collection: String! @@ -1686,14 +2483,6 @@ input create_directus_dashboards_input { panels: [create_directus_panels_input] } -input create_directus_fields_input { - collection: String - field: String - type: String - meta: directus_fields_meta_input - schema: directus_fields_schema_input -} - input create_directus_files_input { id: ID storage: String! @@ -1833,14 +2622,6 @@ input create_directus_presets_input { color: String } -input create_directus_relations_input { - collection: String - field: String - related_collection: String - schema: directus_relations_schema_input - meta: directus_relations_meta_input -} - input create_directus_roles_input { id: ID name: String! @@ -1909,6 +2690,9 @@ input create_directus_users_input { theme_light: String theme_light_overrides: JSON theme_dark_overrides: JSON + imported: Boolean + wc_user: Boolean + notifications: [create_layers_directus_users_1_input] policies: [create_directus_access_input] } @@ -1940,6 +2724,126 @@ input create_directus_webhooks_input { migrated_flow: create_directus_flows_input } +input create_layers_directus_users_1_input { + id: ID + layers_id: create_layers_input + directus_users_id: create_directus_users_input +} + +input create_layers_input { + id: ID + name: String + markerShape: String + menuText: String + menuColor: String + indexIcon: create_directus_files_input + menuIcon: create_directus_files_input + onlyOnePerOwner: Boolean + itemType: create_types_input + index_plus_button: Boolean + public_edit_items: Boolean + markerIcon: create_marker_icons_input + markerDefaultColor2: String + listed: Boolean + item_presets: JSON + userProfileLayer: Boolean + maps: [create_layers_maps_input] + notifications: [create_layers_directus_users_1_input] +} + +input create_layers_maps_input { + id: ID + layers_id: create_layers_input + maps_id: create_maps_input +} + +input create_maps_input { + id: ID + name: String + url: String + logo: create_directus_files_input + zoom: Int + center: GraphQLGeoJSON + own_tag_space: Boolean + + """You can include GeoJSON""" + geo: JSON + show_layer_control: Boolean + show_filter_control: Boolean + user_type: create_types_input + + """Replace the info text in the info popup""" + custom_text: String + show_gratitude_control: Boolean + + """Shows a donation widget after 10 minutes""" + donation_widget: Boolean + show_theme_control: Boolean + default_theme: create_Themes_input + show_zoom_control: Boolean! + expand_layer_control: Boolean + info_open: Boolean + tile_server_url: String + tile_server_attribution: String + layers: [create_layers_maps_input] +} + +input create_marker_icons_input { + id: ID! + size: Float + image: create_directus_files_input +} + +input create_Themes_input { + theme: ID! +} + +input create_types_input { + id: ID + user_created: create_directus_users_input + date_created: Date + user_updated: create_directus_users_input + date_updated: Date + name: String + show_text_input: Boolean + show_name_input: Boolean + show_profile_button: Boolean + show_text: Boolean + show_name: Boolean + custom_text: String + show_start_end_input: Boolean + show_start_end: Boolean + offers_and_needs: Boolean + relations: Boolean + onepager: Boolean + text_area: Boolean + text: Boolean + questlog: Boolean + icon_as_labels: Boolean + template: String + profileTemplate: [create_types_profileTemplate_input] +} + +input create_types_profileTemplate_input { + id: ID + types_id: create_types_input + item: String + collection: String + sort: Int +} + +input crowdfundings_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + _and: [crowdfundings_filter] + _or: [crowdfundings_filter] +} + input date_filter_operators { _eq: String _neq: String @@ -1967,7 +2871,7 @@ input datetime_function_filter_operators { } input directus_access_filter { - id: string_filter_operators + id: id_filter_operators role: directus_roles_filter user: directus_users_filter policy: directus_policies_filter @@ -1976,6 +2880,19 @@ input directus_access_filter { _or: [directus_access_filter] } +"""""" +input directus_access_quantifier_filter { + id: id_filter_operators + role: directus_roles_filter + user: directus_users_filter + policy: directus_policies_filter + sort: number_filter_operators + _and: [directus_access_filter] + _or: [directus_access_filter] + _some: directus_access_filter + _none: directus_access_filter +} + input directus_activity_filter { id: number_filter_operators action: string_filter_operators @@ -1987,42 +2904,14 @@ input directus_activity_filter { collection: string_filter_operators item: string_filter_operators origin: string_filter_operators - revisions: directus_revisions_filter + revisions: directus_revisions_quantifier_filter revisions_func: count_function_filter_operators _and: [directus_activity_filter] _or: [directus_activity_filter] } -input directus_collections_meta_input { - collection: String! - icon: String - note: String - display_template: String - hidden: Boolean! - singleton: Boolean! - translations: JSON - archive_field: String - archive_app_filter: Boolean! - archive_value: String - unarchive_value: String - sort_field: String - accountability: String - color: String - item_duplication_fields: JSON - sort: Int - group: String - collapse: String! - preview_url: String - versioning: Boolean! -} - -input directus_collections_schema_input { - name: String - comment: String -} - input directus_comments_filter { - id: string_filter_operators + id: id_filter_operators collection: string_filter_operators item: string_filter_operators comment: string_filter_operators @@ -2037,7 +2926,7 @@ input directus_comments_filter { } input directus_dashboards_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators icon: string_filter_operators note: string_filter_operators @@ -2045,56 +2934,14 @@ input directus_dashboards_filter { date_created_func: datetime_function_filter_operators user_created: directus_users_filter color: string_filter_operators - panels: directus_panels_filter + panels: directus_panels_quantifier_filter panels_func: count_function_filter_operators _and: [directus_dashboards_filter] _or: [directus_dashboards_filter] } -input directus_fields_meta_input { - id: Int! - collection: String! - field: String! - special: [String] - interface: String - options: JSON - display: String - display_options: JSON - readonly: Boolean! - hidden: Boolean! - sort: Int - width: String - translations: JSON - note: String - conditions: JSON - required: Boolean - group: String - validation: JSON - validation_message: String -} - -input directus_fields_schema_input { - name: String - table: String - data_type: String - default_value: String - max_length: Int - numeric_precision: Int - numeric_scale: Int - is_generated: Boolean - generation_expression: String - is_indexed: Boolean - is_nullable: Boolean - is_unique: Boolean - is_primary_key: Boolean - has_auto_increment: Boolean - foreign_key_column: String - foreign_key_table: String - comment: String -} - input directus_files_filter { - id: string_filter_operators + id: id_filter_operators storage: string_filter_operators filename_disk: string_filter_operators filename_download: string_filter_operators @@ -2131,7 +2978,7 @@ input directus_files_filter { } input directus_flows_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators icon: string_filter_operators color: string_filter_operators @@ -2145,14 +2992,14 @@ input directus_flows_filter { date_created: date_filter_operators date_created_func: datetime_function_filter_operators user_created: directus_users_filter - operations: directus_operations_filter + operations: directus_operations_quantifier_filter operations_func: count_function_filter_operators _and: [directus_flows_filter] _or: [directus_flows_filter] } input directus_folders_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators parent: directus_folders_filter _and: [directus_folders_filter] @@ -2175,7 +3022,7 @@ input directus_notifications_filter { } input directus_operations_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators key: string_filter_operators type: string_filter_operators @@ -2193,8 +3040,30 @@ input directus_operations_filter { _or: [directus_operations_filter] } +"""""" +input directus_operations_quantifier_filter { + id: id_filter_operators + name: string_filter_operators + key: string_filter_operators + type: string_filter_operators + position_x: number_filter_operators + position_y: number_filter_operators + options: string_filter_operators + options_func: count_function_filter_operators + resolve: directus_operations_filter + reject: directus_operations_filter + flow: directus_flows_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_created: directus_users_filter + _and: [directus_operations_filter] + _or: [directus_operations_filter] + _some: directus_operations_filter + _none: directus_operations_filter +} + input directus_panels_filter { - id: string_filter_operators + id: id_filter_operators dashboard: directus_dashboards_filter name: string_filter_operators icon: string_filter_operators @@ -2215,6 +3084,31 @@ input directus_panels_filter { _or: [directus_panels_filter] } +"""""" +input directus_panels_quantifier_filter { + id: id_filter_operators + dashboard: directus_dashboards_filter + name: string_filter_operators + icon: string_filter_operators + color: string_filter_operators + show_header: boolean_filter_operators + note: string_filter_operators + type: string_filter_operators + position_x: number_filter_operators + position_y: number_filter_operators + width: number_filter_operators + height: number_filter_operators + options: string_filter_operators + options_func: count_function_filter_operators + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_created: directus_users_filter + _and: [directus_panels_filter] + _or: [directus_panels_filter] + _some: directus_panels_filter + _none: directus_panels_filter +} + input directus_permissions_filter { id: number_filter_operators collection: string_filter_operators @@ -2231,8 +3125,27 @@ input directus_permissions_filter { _or: [directus_permissions_filter] } +"""""" +input directus_permissions_quantifier_filter { + id: number_filter_operators + collection: string_filter_operators + action: string_filter_operators + permissions: string_filter_operators + permissions_func: count_function_filter_operators + validation: string_filter_operators + validation_func: count_function_filter_operators + presets: string_filter_operators + presets_func: count_function_filter_operators + fields: string_filter_operators + policy: directus_policies_filter + _and: [directus_permissions_filter] + _or: [directus_permissions_filter] + _some: directus_permissions_filter + _none: directus_permissions_filter +} + input directus_policies_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators icon: string_filter_operators description: string_filter_operators @@ -2240,11 +3153,11 @@ input directus_policies_filter { enforce_tfa: boolean_filter_operators admin_access: boolean_filter_operators app_access: boolean_filter_operators - permissions: directus_permissions_filter + permissions: directus_permissions_quantifier_filter permissions_func: count_function_filter_operators - users: directus_access_filter + users: directus_access_quantifier_filter users_func: count_function_filter_operators - roles: directus_access_filter + roles: directus_access_quantifier_filter roles_func: count_function_filter_operators _and: [directus_policies_filter] _or: [directus_policies_filter] @@ -2271,29 +3184,6 @@ input directus_presets_filter { _or: [directus_presets_filter] } -input directus_relations_meta_input { - id: Int - many_collection: String - many_field: String - one_collection: String - one_field: String - one_collection_field: String - one_allowed_collections: [String] - junction_field: String - sort_field: String - one_deselect_action: String -} - -input directus_relations_schema_input { - table: String! - column: String! - foreign_key_table: String! - foreign_key_column: String! - constraint_name: String - on_update: String! - on_delete: String! -} - input directus_revisions_filter { id: number_filter_operators activity: directus_activity_filter @@ -2309,24 +3199,61 @@ input directus_revisions_filter { _or: [directus_revisions_filter] } +"""""" +input directus_revisions_quantifier_filter { + id: number_filter_operators + activity: directus_activity_filter + collection: string_filter_operators + item: string_filter_operators + data: string_filter_operators + data_func: count_function_filter_operators + delta: string_filter_operators + delta_func: count_function_filter_operators + parent: directus_revisions_filter + version: directus_versions_filter + _and: [directus_revisions_filter] + _or: [directus_revisions_filter] + _some: directus_revisions_filter + _none: directus_revisions_filter +} + input directus_roles_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators icon: string_filter_operators description: string_filter_operators parent: directus_roles_filter - children: directus_roles_filter + children: directus_roles_quantifier_filter children_func: count_function_filter_operators - policies: directus_access_filter + policies: directus_access_quantifier_filter policies_func: count_function_filter_operators - users: directus_users_filter + users: directus_users_quantifier_filter users_func: count_function_filter_operators _and: [directus_roles_filter] _or: [directus_roles_filter] } +"""""" +input directus_roles_quantifier_filter { + id: id_filter_operators + name: string_filter_operators + icon: string_filter_operators + description: string_filter_operators + parent: directus_roles_filter + children: directus_roles_quantifier_filter + children_func: count_function_filter_operators + policies: directus_access_quantifier_filter + policies_func: count_function_filter_operators + users: directus_users_quantifier_filter + users_func: count_function_filter_operators + _and: [directus_roles_filter] + _or: [directus_roles_filter] + _some: directus_roles_filter + _none: directus_roles_filter +} + input directus_shares_filter { - id: string_filter_operators + id: id_filter_operators name: string_filter_operators collection: string_filter_operators item: string_filter_operators @@ -2346,7 +3273,7 @@ input directus_shares_filter { } input directus_translations_filter { - id: string_filter_operators + id: id_filter_operators language: string_filter_operators key: string_filter_operators value: string_filter_operators @@ -2355,7 +3282,7 @@ input directus_translations_filter { } input directus_users_filter { - id: string_filter_operators + id: id_filter_operators first_name: string_filter_operators last_name: string_filter_operators email: string_filter_operators @@ -2386,14 +3313,63 @@ input directus_users_filter { theme_light_overrides_func: count_function_filter_operators theme_dark_overrides: string_filter_operators theme_dark_overrides_func: count_function_filter_operators - policies: directus_access_filter + imported: boolean_filter_operators + wc_user: boolean_filter_operators + notifications: layers_directus_users_1_quantifier_filter + notifications_func: count_function_filter_operators + policies: directus_access_quantifier_filter policies_func: count_function_filter_operators _and: [directus_users_filter] _or: [directus_users_filter] } +"""""" +input directus_users_quantifier_filter { + id: id_filter_operators + first_name: string_filter_operators + last_name: string_filter_operators + email: string_filter_operators + password: hash_filter_operators + location: string_filter_operators + title: string_filter_operators + description: string_filter_operators + tags: string_filter_operators + tags_func: count_function_filter_operators + avatar: directus_files_filter + language: string_filter_operators + tfa_secret: hash_filter_operators + status: string_filter_operators + role: directus_roles_filter + token: hash_filter_operators + last_access: date_filter_operators + last_access_func: datetime_function_filter_operators + last_page: string_filter_operators + provider: string_filter_operators + external_identifier: string_filter_operators + auth_data: string_filter_operators + auth_data_func: count_function_filter_operators + email_notifications: boolean_filter_operators + appearance: string_filter_operators + theme_dark: string_filter_operators + theme_light: string_filter_operators + theme_light_overrides: string_filter_operators + theme_light_overrides_func: count_function_filter_operators + theme_dark_overrides: string_filter_operators + theme_dark_overrides_func: count_function_filter_operators + imported: boolean_filter_operators + wc_user: boolean_filter_operators + notifications: layers_directus_users_1_quantifier_filter + notifications_func: count_function_filter_operators + policies: directus_access_quantifier_filter + policies_func: count_function_filter_operators + _and: [directus_users_filter] + _or: [directus_users_filter] + _some: directus_users_filter + _none: directus_users_filter +} + input directus_versions_filter { - id: string_filter_operators + id: id_filter_operators key: string_filter_operators name: string_filter_operators collection: string_filter_operators @@ -2428,6 +3404,84 @@ input directus_webhooks_filter { _or: [directus_webhooks_filter] } +input gallery_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + hideInputLabel: boolean_filter_operators + _and: [gallery_filter] + _or: [gallery_filter] +} + +input geometry_filter_operators { + _eq: GraphQLGeoJSON + _neq: GraphQLGeoJSON + _intersects: GraphQLGeoJSON + _nintersects: GraphQLGeoJSON + _intersects_bbox: GraphQLGeoJSON + _nintersects_bbox: GraphQLGeoJSON + _null: Boolean + _nnull: Boolean +} + +input groupSubheaders_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + shareBaseUrl: string_filter_operators + groupStates: string_filter_operators + groupStates_func: count_function_filter_operators + platforms: string_filter_operators + platforms_func: count_function_filter_operators + groupTypes: groupSubheaders_groupTypes_quantifier_filter + groupTypes_func: count_function_filter_operators + _and: [groupSubheaders_filter] + _or: [groupSubheaders_filter] +} + +input groupSubheaders_groupTypes_filter { + id: number_filter_operators + groupSubheaders_id: groupSubheaders_filter + groupTypes_id: groupTypes_filter + _and: [groupSubheaders_groupTypes_filter] + _or: [groupSubheaders_groupTypes_filter] +} + +"""""" +input groupSubheaders_groupTypes_quantifier_filter { + id: number_filter_operators + groupSubheaders_id: groupSubheaders_filter + groupTypes_id: groupTypes_filter + _and: [groupSubheaders_groupTypes_filter] + _or: [groupSubheaders_groupTypes_filter] + _some: groupSubheaders_groupTypes_filter + _none: groupSubheaders_groupTypes_filter +} + +input groupTypes_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + name: string_filter_operators + color: string_filter_operators + image: directus_files_filter + markerIcon: marker_icons_filter + _and: [groupTypes_filter] + _or: [groupTypes_filter] +} + input hash_filter_operators { _null: Boolean _nnull: Boolean @@ -2435,6 +3489,280 @@ input hash_filter_operators { _nempty: Boolean } +input id_filter_operators { + _eq: ID + _neq: ID + _contains: ID + _icontains: ID + _ncontains: ID + _starts_with: ID + _nstarts_with: ID + _istarts_with: ID + _nistarts_with: ID + _ends_with: ID + _nends_with: ID + _iends_with: ID + _niends_with: ID + _in: [ID] + _nin: [ID] + _null: Boolean + _nnull: Boolean + _empty: Boolean + _nempty: Boolean +} + +input inviteLinks_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + _and: [inviteLinks_filter] + _or: [inviteLinks_filter] +} + +input items_files_filter { + id: number_filter_operators + items_id: items_filter + directus_files_id: directus_files_filter + _and: [items_files_filter] + _or: [items_files_filter] +} + +"""""" +input items_files_quantifier_filter { + id: number_filter_operators + items_id: items_filter + directus_files_id: directus_files_filter + _and: [items_files_filter] + _or: [items_files_filter] + _some: items_files_filter + _none: items_files_filter +} + +input items_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + name: string_filter_operators + text: string_filter_operators + position: geometry_filter_operators + image: directus_files_filter + layer: layers_filter + start: date_filter_operators + start_func: datetime_function_filter_operators + end: date_filter_operators + end_func: datetime_function_filter_operators + color: string_filter_operators + parent: items_filter + subname: string_filter_operators + public_edit: boolean_filter_operators + slug: string_filter_operators + status: string_filter_operators + markerIcon: marker_icons_filter + telephone: string_filter_operators + group_type: string_filter_operators + next_appointment: string_filter_operators + contact: string_filter_operators + openCollectiveSlug: string_filter_operators + draft: boolean_filter_operators + gallery: items_files_quantifier_filter + gallery_func: count_function_filter_operators + offers: items_tags_quantifier_filter + offers_func: count_function_filter_operators + needs: items_tags_1_quantifier_filter + needs_func: count_function_filter_operators + relations: items_items_quantifier_filter + relations_func: count_function_filter_operators + secrets: itemSecrets_quantifier_filter + secrets_func: count_function_filter_operators + _and: [items_filter] + _or: [items_filter] +} + +input items_items_filter { + id: number_filter_operators + items_id: items_filter + related_items_id: items_filter + type: string_filter_operators + _and: [items_items_filter] + _or: [items_items_filter] +} + +"""""" +input items_items_quantifier_filter { + id: number_filter_operators + items_id: items_filter + related_items_id: items_filter + type: string_filter_operators + _and: [items_items_filter] + _or: [items_items_filter] + _some: items_items_filter + _none: items_items_filter +} + +input items_tags_1_filter { + id: number_filter_operators + items_id: items_filter + tags_id: tags_filter + _and: [items_tags_1_filter] + _or: [items_tags_1_filter] +} + +"""""" +input items_tags_1_quantifier_filter { + id: number_filter_operators + items_id: items_filter + tags_id: tags_filter + _and: [items_tags_1_filter] + _or: [items_tags_1_filter] + _some: items_tags_1_filter + _none: items_tags_1_filter +} + +input items_tags_filter { + id: number_filter_operators + items_id: items_filter + tags_id: tags_filter + _and: [items_tags_filter] + _or: [items_tags_filter] +} + +"""""" +input items_tags_quantifier_filter { + id: number_filter_operators + items_id: items_filter + tags_id: tags_filter + _and: [items_tags_filter] + _or: [items_tags_filter] + _some: items_tags_filter + _none: items_tags_filter +} + +input itemSecrets_filter { + secret: id_filter_operators + item: items_filter + _and: [itemSecrets_filter] + _or: [itemSecrets_filter] +} + +"""""" +input itemSecrets_quantifier_filter { + secret: id_filter_operators + item: items_filter + _and: [itemSecrets_filter] + _or: [itemSecrets_filter] + _some: itemSecrets_filter + _none: itemSecrets_filter +} + +input layers_directus_users_1_filter { + id: number_filter_operators + layers_id: layers_filter + directus_users_id: directus_users_filter + _and: [layers_directus_users_1_filter] + _or: [layers_directus_users_1_filter] +} + +"""""" +input layers_directus_users_1_quantifier_filter { + id: number_filter_operators + layers_id: layers_filter + directus_users_id: directus_users_filter + _and: [layers_directus_users_1_filter] + _or: [layers_directus_users_1_filter] + _some: layers_directus_users_1_filter + _none: layers_directus_users_1_filter +} + +input layers_filter { + id: id_filter_operators + name: string_filter_operators + markerShape: string_filter_operators + menuText: string_filter_operators + menuColor: string_filter_operators + indexIcon: directus_files_filter + menuIcon: directus_files_filter + onlyOnePerOwner: boolean_filter_operators + itemType: types_filter + index_plus_button: boolean_filter_operators + public_edit_items: boolean_filter_operators + markerIcon: marker_icons_filter + markerDefaultColor2: string_filter_operators + listed: boolean_filter_operators + item_presets: string_filter_operators + item_presets_func: count_function_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 + _and: [layers_filter] + _or: [layers_filter] +} + +input layers_maps_filter { + id: number_filter_operators + layers_id: layers_filter + maps_id: maps_filter + _and: [layers_maps_filter] + _or: [layers_maps_filter] +} + +"""""" +input layers_maps_quantifier_filter { + id: number_filter_operators + layers_id: layers_filter + maps_id: maps_filter + _and: [layers_maps_filter] + _or: [layers_maps_filter] + _some: layers_maps_filter + _none: layers_maps_filter +} + +input maps_filter { + id: id_filter_operators + name: string_filter_operators + url: string_filter_operators + logo: directus_files_filter + zoom: number_filter_operators + center: geometry_filter_operators + own_tag_space: boolean_filter_operators + geo: string_filter_operators + geo_func: count_function_filter_operators + show_layer_control: boolean_filter_operators + show_filter_control: boolean_filter_operators + user_type: types_filter + custom_text: string_filter_operators + show_gratitude_control: boolean_filter_operators + donation_widget: boolean_filter_operators + show_theme_control: boolean_filter_operators + default_theme: Themes_filter + show_zoom_control: boolean_filter_operators + expand_layer_control: boolean_filter_operators + info_open: boolean_filter_operators + tile_server_url: string_filter_operators + tile_server_attribution: string_filter_operators + layers: layers_maps_quantifier_filter + layers_func: count_function_filter_operators + _and: [maps_filter] + _or: [maps_filter] +} + +input marker_icons_filter { + id: string_filter_operators + size: number_filter_operators + image: directus_files_filter + _and: [marker_icons_filter] + _or: [marker_icons_filter] +} + input number_filter_operators { _eq: GraphQLStringOrFloat _neq: GraphQLStringOrFloat @@ -2450,6 +3778,25 @@ input number_filter_operators { _nbetween: [GraphQLStringOrFloat] } +input relations_filter { + id: number_filter_operators + relation: string_filter_operators + _and: [relations_filter] + _or: [relations_filter] +} + +input startEnd_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + _and: [startEnd_filter] + _or: [startEnd_filter] +} + input string_filter_operators { _eq: String _neq: String @@ -2472,6 +3819,110 @@ input string_filter_operators { _nempty: Boolean } +input tags_filter { + id: id_filter_operators + name: string_filter_operators + color: string_filter_operators + map: maps_filter + offer_or_need: boolean_filter_operators + user_created: id_filter_operators + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + _and: [tags_filter] + _or: [tags_filter] +} + +input texts_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + heading: string_filter_operators + hideWhenEmpty: boolean_filter_operators + dataField: string_filter_operators + size: string_filter_operators + showMarkdownHint: boolean_filter_operators + _and: [texts_filter] + _or: [texts_filter] +} + +input Themes_filter { + theme: string_filter_operators + _and: [Themes_filter] + _or: [Themes_filter] +} + +input types_filter { + id: id_filter_operators + user_created: directus_users_filter + date_created: date_filter_operators + date_created_func: datetime_function_filter_operators + user_updated: directus_users_filter + date_updated: date_filter_operators + date_updated_func: datetime_function_filter_operators + name: string_filter_operators + show_text_input: boolean_filter_operators + show_name_input: boolean_filter_operators + show_profile_button: boolean_filter_operators + show_text: boolean_filter_operators + show_name: boolean_filter_operators + custom_text: string_filter_operators + show_start_end_input: boolean_filter_operators + show_start_end: boolean_filter_operators + offers_and_needs: boolean_filter_operators + relations: boolean_filter_operators + onepager: boolean_filter_operators + text_area: boolean_filter_operators + text: boolean_filter_operators + questlog: boolean_filter_operators + icon_as_labels: boolean_filter_operators + template: string_filter_operators + profileTemplate: types_profileTemplate_quantifier_filter + profileTemplate_func: count_function_filter_operators + _and: [types_filter] + _or: [types_filter] +} + +input types_profileTemplate_filter { + id: number_filter_operators + types_id: types_filter + collection: string_filter_operators + sort: number_filter_operators + _and: [types_profileTemplate_filter] + _or: [types_profileTemplate_filter] + item__groupSubheaders: groupSubheaders_filter + item__contactInfos: contactInfos_filter + item__texts: texts_filter + item__startEnd: startEnd_filter + item__gallery: gallery_filter + item__crowdfundings: crowdfundings_filter + item__inviteLinks: inviteLinks_filter + item__relations: relations_filter +} + +"""""" +input types_profileTemplate_quantifier_filter { + id: number_filter_operators + types_id: types_filter + collection: string_filter_operators + sort: number_filter_operators + _and: [types_profileTemplate_filter] + _or: [types_profileTemplate_filter] + _some: types_profileTemplate_filter + _none: types_profileTemplate_filter + item__groupSubheaders: groupSubheaders_filter + item__contactInfos: contactInfos_filter + item__texts: texts_filter + item__startEnd: startEnd_filter + item__gallery: gallery_filter + item__crowdfundings: crowdfundings_filter + item__inviteLinks: inviteLinks_filter + item__relations: relations_filter +} + input update_directus_access_input { id: ID role: update_directus_roles_input @@ -2480,10 +3931,6 @@ input update_directus_access_input { sort: Int } -input update_directus_collections_input { - meta: directus_collections_meta_input -} - input update_directus_comments_input { id: ID collection: String @@ -2514,14 +3961,6 @@ input update_directus_extensions_inputInput { meta: update_directus_extensions_input_metaInput } -input update_directus_fields_input { - collection: String - field: String - type: String - meta: directus_fields_meta_input - schema: directus_fields_schema_input -} - input update_directus_files_input { id: ID storage: String @@ -2661,14 +4100,6 @@ input update_directus_presets_input { color: String } -input update_directus_relations_input { - collection: String - field: String - related_collection: String - schema: directus_relations_schema_input - meta: directus_relations_meta_input -} - input update_directus_roles_input { id: ID name: String @@ -2722,6 +4153,7 @@ input update_directus_settings_input { """$t:fields.directus_settings.public_registration_email_filter_note""" public_registration_email_filter: JSON + visual_editor_urls: JSON } input update_directus_shares_input { @@ -2781,6 +4213,9 @@ input update_directus_users_input { theme_light: String theme_light_overrides: JSON theme_dark_overrides: JSON + imported: Boolean + wc_user: Boolean + notifications: [update_layers_directus_users_1_input] policies: [update_directus_access_input] } @@ -2810,4 +4245,221 @@ input update_directus_webhooks_input { headers: JSON was_active_before_deprecation: Boolean migrated_flow: update_directus_flows_input +} + +input update_layers_directus_users_1_input { + id: ID + layers_id: update_layers_input + directus_users_id: update_directus_users_input +} + +input update_layers_input { + id: ID + name: String + markerShape: String + menuText: String + menuColor: String + indexIcon: update_directus_files_input + menuIcon: update_directus_files_input + onlyOnePerOwner: Boolean + itemType: update_types_input + index_plus_button: Boolean + public_edit_items: Boolean + markerIcon: update_marker_icons_input + markerDefaultColor2: String + listed: Boolean + item_presets: JSON + userProfileLayer: Boolean + maps: [update_layers_maps_input] + notifications: [update_layers_directus_users_1_input] +} + +input update_layers_maps_input { + id: ID + layers_id: update_layers_input + maps_id: update_maps_input +} + +input update_maps_input { + id: ID + name: String + url: String + logo: update_directus_files_input + zoom: Int + center: GraphQLGeoJSON + own_tag_space: Boolean + + """You can include GeoJSON""" + geo: JSON + show_layer_control: Boolean + show_filter_control: Boolean + user_type: update_types_input + + """Replace the info text in the info popup""" + custom_text: String + show_gratitude_control: Boolean + + """Shows a donation widget after 10 minutes""" + donation_widget: Boolean + show_theme_control: Boolean + default_theme: update_Themes_input + show_zoom_control: Boolean + expand_layer_control: Boolean + info_open: Boolean + tile_server_url: String + tile_server_attribution: String + layers: [update_layers_maps_input] +} + +input update_marker_icons_input { + id: ID + size: Float + image: update_directus_files_input +} + +input update_Themes_input { + theme: ID +} + +input update_types_input { + id: ID + user_created: update_directus_users_input + date_created: Date + user_updated: update_directus_users_input + date_updated: Date + name: String + show_text_input: Boolean + show_name_input: Boolean + show_profile_button: Boolean + show_text: Boolean + show_name: Boolean + custom_text: String + show_start_end_input: Boolean + show_start_end: Boolean + offers_and_needs: Boolean + relations: Boolean + onepager: Boolean + text_area: Boolean + text: Boolean + questlog: Boolean + icon_as_labels: Boolean + template: String + profileTemplate: [update_types_profileTemplate_input] +} + +input update_types_profileTemplate_input { + id: ID + types_id: update_types_input + item: String + collection: String + sort: Int +} + +input write_directus_collections_input { + meta: write_directus_collections_meta_input + fields: [write_directus_fields_input!] +} + +input write_directus_collections_meta_input { + collection: String + icon: String + note: String + display_template: String + hidden: Boolean + singleton: Boolean + translations: JSON + archive_field: String + archive_app_filter: Boolean + archive_value: String + unarchive_value: String + sort_field: String + accountability: String + color: String + item_duplication_fields: JSON + sort: Int + group: String + collapse: String + preview_url: String + versioning: Boolean +} + +input write_directus_fields_input { + collection: String + field: String + type: String + meta: write_directus_fields_meta_input + schema: write_directus_fields_schema_input +} + +input write_directus_fields_meta_input { + id: Int + collection: String + field: String + special: [String] + interface: String + options: JSON + display: String + display_options: JSON + readonly: Boolean + hidden: Boolean + sort: Int + width: String + translations: JSON + note: String + conditions: JSON + required: Boolean + group: String + validation: JSON + validation_message: String +} + +input write_directus_fields_schema_input { + name: String + table: String + data_type: String + default_value: String + max_length: Int + numeric_precision: Int + numeric_scale: Int + is_generated: Boolean + generation_expression: String + is_indexed: Boolean + is_nullable: Boolean + is_unique: Boolean + is_primary_key: Boolean + has_auto_increment: Boolean + foreign_key_column: String + foreign_key_table: String + comment: String +} + +input write_directus_relations_input { + collection: String + field: String + related_collection: String + schema: write_directus_relations_schema_input + meta: write_directus_relations_meta_input +} + +input write_directus_relations_meta_input { + id: Int + many_collection: String + many_field: String + one_collection: String + one_field: String + one_collection_field: String + one_allowed_collections: [String] + junction_field: String + sort_field: String + one_deselect_action: String +} + +input write_directus_relations_schema_input { + table: String! + column: String! + foreign_key_table: String! + foreign_key_column: String! + constraint_name: String + on_update: String! + on_delete: String! } \ No newline at end of file From 188f8ad284738160a3f4e5f97f230caa54864b70 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 13 Aug 2025 21:31:14 +0100 Subject: [PATCH 08/29] describe how to backup the database (#314) --- backend/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backend/README.md b/backend/README.md index 94039570..0c917ee9 100644 --- a/backend/README.md +++ b/backend/README.md @@ -15,6 +15,13 @@ npx directus-sync push \ --directus-password admin123 ``` +## Backup Database +Either keep a copy of the `/data/database` folder or run the following command to get an sql dump + +``` +docker exec -t utopia-map-database-1 pg_dumpall -c -U directus > dump.sql +``` + ## Access Data on local drive In order to access the postgress data mounted to the local drive at `/data/database` you need to make it accessible (assuming you are not root): From f4c1fe7e25d27fb26a1026b76ed2927625d86619 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 13 Aug 2025 21:34:01 +0100 Subject: [PATCH 09/29] fix workflows to always execute all matrix jobs and check for requiredness later (#310) revert change partially --- .github/workflows/test.build.lib.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/test.build.lib.yml b/.github/workflows/test.build.lib.yml index f47d03b2..99b3cd50 100644 --- a/.github/workflows/test.build.lib.yml +++ b/.github/workflows/test.build.lib.yml @@ -1,12 +1,6 @@ name: build:lib -on: - push: - branches: - - main - pull_request: - branches: - - main +on: push jobs: files-changed: From f7fafc6db9618ad43e45b5cd5c17719232f3500a Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 13 Aug 2025 21:52:03 +0100 Subject: [PATCH 10/29] fix the workflow matrix with a aggregating result (#317) --- .github/workflows/test.build.lib.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test.build.lib.yml b/.github/workflows/test.build.lib.yml index 99b3cd50..76aa19cc 100644 --- a/.github/workflows/test.build.lib.yml +++ b/.github/workflows/test.build.lib.yml @@ -56,3 +56,17 @@ jobs: npm install npm run build working-directory: lib/ + + results: + if: ${{ always() }} + runs-on: ubuntu-latest + name: Test Example Apps - results + needs: [build-examples] + steps: + - run: | + result="${{ needs.build-examples.result }}" + if [[ $result == "success" || $result == "skipped" ]]; then + exit 0 + else + exit 1 + fi From 6f5ee59cc42ad5bf5d6c8ac86e40bbb9369b06b3 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 13 Aug 2025 21:54:57 +0100 Subject: [PATCH 11/29] workflow: build docker (#311) fix change detection variable --- .github/workflows/test.build.docker.yml | 49 +++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/test.build.docker.yml diff --git a/.github/workflows/test.build.docker.yml b/.github/workflows/test.build.docker.yml new file mode 100644 index 00000000..cdc0f2fe --- /dev/null +++ b/.github/workflows/test.build.docker.yml @@ -0,0 +1,49 @@ +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.build-docker }} + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7 + - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 + id: filter + with: + filters: | + build-docker: + - '.github/workflows/*' + - '**/*' + + build-production: + if: needs.files-changed.outputs.changes == 'true' + name: Build Docker Production + 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: docker compose -f docker-compose.yml build + 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 From 5a2d1ea856140495ac3285e28626b2c7c8e60e45 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 13 Aug 2025 21:58:11 +0100 Subject: [PATCH 12/29] changes on package-lock.json when running npm install (#301) --- lib/package-lock.json | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/package-lock.json b/lib/package-lock.json index 4753feef..67b32352 100644 --- a/lib/package-lock.json +++ b/lib/package-lock.json @@ -7961,18 +7961,6 @@ "@pkgjs/parseargs": "^0.11.0" } }, - "node_modules/jiti": { - "version": "1.21.7", - "resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.7.tgz", - "integrity": "sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==", - "dev": true, - "license": "MIT", - "optional": true, - "peer": true, - "bin": { - "jiti": "bin/jiti.js" - } - }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", From fb78619fa91a03bdaf5ac3ebef8019ea431b037d Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 13 Aug 2025 23:25:40 +0100 Subject: [PATCH 13/29] define cors also for development (#302) --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0caabd00..58170d80 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -50,7 +50,7 @@ services: SECRET: 'SECRET' CORS_ENABLED: 'true' - CORS_ORIGIN: 'http://localhost:8080' + CORS_ORIGIN: 'array:http://localhost:8080,http://localhost:5174' DB_CLIENT: 'pg' DB_HOST: 'database' From a778fcf97180c065adfe1fecbffc82aab653dde6 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 14 Aug 2025 00:10:30 +0100 Subject: [PATCH 14/29] backend readme: import dump instructions (#296) --- backend/README.md | 70 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/backend/README.md b/backend/README.md index 0c917ee9..4b17e2d8 100644 --- a/backend/README.md +++ b/backend/README.md @@ -1,5 +1,12 @@ +# Utopia Backend + +To run the backend you can simply execute +`docker-compose up` + +## Pull Data from Docker to Harddrive In order to pull data from your locally running backend (see [docker-compose](../app/docker-compose.yml)) to your local harddrive, you can run the following command + ``` npx directus-sync pull \ --directus-url http://localhost:8055 \ @@ -7,6 +14,7 @@ npx directus-sync pull \ --directus-password admin123 ``` +## Push Data from Harddrive to Docker To push local changes or to seed directus use the following command ``` npx directus-sync push \ @@ -22,6 +30,66 @@ Either keep a copy of the `/data/database` folder or run the following command t docker exec -t utopia-map-database-1 pg_dumpall -c -U directus > dump.sql ``` +## How to apply a database dump to the docker + +Assuming you run docker-compose with the default postgress credentials and have the dump in cwd as ./dump.sql, execute: + +Find current schema name: +``` +echo "SELECT CURRENT_SCHEMA, CURRENT_SCHEMA();" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus" +``` +> current_schema | current_schema +> ----------------+---------------- +> public | public +> (1 row) + +Drop schemata (loses all data): +``` +echo "DROP SCHEMA public CASCADE;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus" + +echo "DROP SCHEMA tiger CASCADE;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus" + +echo "DROP SCHEMA tiger_data CASCADE;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus" + +echo "DROP SCHEMA topology CASCADE;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus" +``` +> drop cascades to table ... +> ... +> DROP SCHEMA + +Create the public schema again: +``` +echo "CREATE SCHEMA public;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus" +``` + +Verify schemata: +``` +echo "select schema_name from information_schema.schemata;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus" +``` + +Verify database is empty: +``` +echo "\dt" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus directus" +``` +> Did not find any relations. + +Create admin role & grant it: +``` +echo "CREATE ROLE admin;" | docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql --username directus directus" +``` + +Apply dump: +``` +docker exec -i utopia-map-database-1 /bin/bash -c "PGPASSWORD=directus psql -v ON_ERROR_STOP=1 --username directus directus" < ./dump.sql +``` +> Bring time depending on the dump size. + +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 +``` +> REASSIGN OWNED + ## Access Data on local drive In order to access the postgress data mounted to the local drive at `/data/database` you need to make it accessible (assuming you are not root): @@ -29,4 +97,4 @@ In order to access the postgress data mounted to the local drive at `/data/datab sudo chmod 777 -R ./data/ ``` -This process is to be repeated whenever you restart the database docker container \ No newline at end of file +This process is to be repeated whenever you restart the database docker container From cfd7ca1a26d64366b9987f17286b89c5e783a661 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 14 Aug 2025 00:12:39 +0100 Subject: [PATCH 15/29] refactor(app): default backend: localhost (#303) * use api config everywhere, default to localhost, ignore .env file, provide .env.dist * fix lint --- app/{.env => .env.dist} | 3 ++- app/.gitignore | 1 + app/src/App.tsx | 6 +++--- app/src/ModalContent.tsx | 4 +++- app/src/api/directus.ts | 5 ++++- app/src/config/index.ts | 2 +- app/src/pages/Landingpage.tsx | 3 ++- app/src/pages/MapContainer.tsx | 3 ++- 8 files changed, 18 insertions(+), 9 deletions(-) rename app/{.env => .env.dist} (68%) diff --git a/app/.env b/app/.env.dist similarity index 68% rename from app/.env rename to app/.env.dist index 4d364d32..9d9b38ca 100644 --- a/app/.env +++ b/app/.env.dist @@ -1,4 +1,5 @@ VITE_OPEN_COLLECTIVE_API_KEY=your_key -VITE_API_URL=https://api.utopia-lab.org +VITE_API_URL=http://localhost:8055/ +#VITE_API_URL=https://api.utopia-lab.org VITE_VALIDATE_INVITE_FLOW_ID=01d61db0-25aa-4bfa-bc24-c6a8f208a455 VITE_REDEEM_INVITE_FLOW_ID=cc80ec73-ecf5-4789-bee5-1127fb1a6ed4 diff --git a/app/.gitignore b/app/.gitignore index 3bdd52eb..3a773879 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1,3 +1,4 @@ node_modules/ dist/ .DS_Store +.env \ No newline at end of file diff --git a/app/src/App.tsx b/app/src/App.tsx index 39b07772..56b95f24 100644 --- a/app/src/App.tsx +++ b/app/src/App.tsx @@ -113,7 +113,7 @@ function App() { path: '/' + l.name, // url icon: ( code.replace(/stroke=".*?"/g, 'stroke="currentColor"') @@ -134,7 +134,7 @@ function App() { link.rel = 'icon' document.getElementsByTagName('head')[0].appendChild(link) } - link.href = map?.logo && 'https://api.utopia-lab.org/assets/' + map.logo // Specify the path to your favicon + link.href = map?.logo && config.apiUrl + 'assets/' + map.logo // Specify the path to your favicon } setLoading(false) @@ -148,7 +148,7 @@ function App() {
void map?: any @@ -31,7 +33,7 @@ export function Welcome1({ clickAction1, map }: ChapterProps) {

Welcome to {map?.name || 'Utopia Map'}

It is a tool for collaborative mapping to connect local initiatives, people and events. diff --git a/app/src/api/directus.ts b/app/src/api/directus.ts index 7b32f8b4..140ca4ba 100644 --- a/app/src/api/directus.ts +++ b/app/src/api/directus.ts @@ -4,6 +4,9 @@ /* eslint-disable @typescript-eslint/no-unsafe-return */ import { createDirectus, rest, authentication } from '@directus/sdk' +// eslint-disable-next-line import/no-relative-parent-imports +import { config } from '../config' + import type { AuthenticationData, AuthenticationStorage } from '@directus/sdk' import type { Point } from 'geojson' import type { Item } from 'utopia-ui' @@ -94,7 +97,7 @@ export async function getRefreshToken() { return auth!.refresh_token } -export const directusClient = createDirectus('https://api.utopia-lab.org/') +export const directusClient = createDirectus(config.apiUrl) .with(rest()) .with( authentication('json', { diff --git a/app/src/config/index.ts b/app/src/config/index.ts index 28ab494c..e82ac975 100644 --- a/app/src/config/index.ts +++ b/app/src/config/index.ts @@ -1,5 +1,5 @@ export const config = { - apiUrl: String(import.meta.env.VITE_API_URL ?? 'https://api.utopia-lab.org'), + apiUrl: String(import.meta.env.VITE_API_URL ?? 'http://localhost:8055/'), validateInviteFlowId: String( import.meta.env.VITE_VALIDATE_INVITE_FLOW_ID ?? '01d61db0-25aa-4bfa-bc24-c6a8f208a455', ), diff --git a/app/src/pages/Landingpage.tsx b/app/src/pages/Landingpage.tsx index ce11c382..9387411c 100644 --- a/app/src/pages/Landingpage.tsx +++ b/app/src/pages/Landingpage.tsx @@ -12,6 +12,7 @@ import { useNavigate } from 'react-router-dom' import { MapOverlayPage } from 'utopia-ui' import { itemsApi } from '../api/itemsApi' +import { config } from '../config' export const Landingpage = () => { const [isLandingpageVisible, setIsLandingpageVisible] = useState(true) @@ -137,7 +138,7 @@ export const Landingpage = () => {

  • diff --git a/app/src/pages/MapContainer.tsx b/app/src/pages/MapContainer.tsx index fe3140a1..9818286e 100644 --- a/app/src/pages/MapContainer.tsx +++ b/app/src/pages/MapContainer.tsx @@ -23,6 +23,7 @@ import { } from 'utopia-ui' import { itemsApi } from '../api/itemsApi' +import { config } from '../config' import type { Place } from '../api/directus' import type { LayerProps } from 'utopia-ui' @@ -94,7 +95,7 @@ function MapContainer({ layers, map }: { layers: LayerProps[]; map: any }) { id={layer.id} key={layer.id} name={layer.name} - menuIcon={'https://api.utopia-lab.org/assets/' + layer.menuIcon} + menuIcon={config.apiUrl + 'assets/' + layer.menuIcon} menuText={layer.menuText} menuColor={layer.menuColor} markerIcon={layer.markerIcon} From 9b2ac9f74f58552bc0e87af2df2ce06632ae446b Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 14 Aug 2025 00:14:29 +0100 Subject: [PATCH 16/29] directus minimal seed & seed instructions (#305) --- backend/README.md | 18 ++++++++++++++++++ backend/directus-config/seed/maps.json | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 backend/directus-config/seed/maps.json diff --git a/backend/README.md b/backend/README.md index 4b17e2d8..c0bbcfc9 100644 --- a/backend/README.md +++ b/backend/README.md @@ -23,6 +23,24 @@ npx directus-sync push \ --directus-password admin123 ``` +## 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 +``` + ## Backup Database Either keep a copy of the `/data/database` folder or run the following command to get an sql dump diff --git a/backend/directus-config/seed/maps.json b/backend/directus-config/seed/maps.json new file mode 100644 index 00000000..59a8443b --- /dev/null +++ b/backend/directus-config/seed/maps.json @@ -0,0 +1,18 @@ +{ + "collection": "maps", + "meta": { + "insert_order": 1, + "create": true, + "update": true, + "delete": true, + "preserve_ids": false, + "ignore_on_update": [] + }, + "data": [ + { + "_sync_id": "local-development", + "name": "Local Development", + "url": "http://local.development" + } + ] +} \ No newline at end of file From cf80f35b5c0e442167178368b43bd3dedc234ead Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 14 Aug 2025 07:40:25 +0100 Subject: [PATCH 17/29] feat(backend): bind uploads folder to local harddrive (#312) * bind uploads folder to local harddrive * updated backend README.md regarding permissions --- backend/README.md | 2 ++ docker-compose.yml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/backend/README.md b/backend/README.md index c0bbcfc9..74669a41 100644 --- a/backend/README.md +++ b/backend/README.md @@ -116,3 +116,5 @@ sudo chmod 777 -R ./data/ ``` This process is to be repeated whenever you restart the database docker container + +The same applies for the uploads and extension folder - ensure that the folder is writeable or file uploads will fail. diff --git a/docker-compose.yml b/docker-compose.yml index 58170d80..b81a5a3c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -44,6 +44,11 @@ services: condition: service_healthy ports: - 8055:8055 + volumes: + - ./data/uploads:/directus/uploads + # This is not compatible with the current setup with directus-sync as this + # extension is installed before the volume bind onto the docker container + # - ./data/extensions:/directus/extensions environment: PUBLIC_URL: 'http://localhost' From aa13c44cbabed55d620755bdb67161d1db5be0ab Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 14 Aug 2025 08:08:14 +0100 Subject: [PATCH 18/29] delete map user_type as it is no longer required (#309) --- app/src/api/mapApi.ts | 2 +- .../snapshot/fields/maps/user_type.json | 47 - .../snapshot/relations/maps/user_type.json | 25 - backend/directus-config/specs/item.graphql | 1990 +- backend/directus-config/specs/openapi.json | 28596 ++++++++-------- backend/directus-config/specs/system.graphql | 1048 +- 6 files changed, 15807 insertions(+), 15901 deletions(-) delete mode 100644 backend/directus-config/snapshot/fields/maps/user_type.json delete mode 100644 backend/directus-config/snapshot/relations/maps/user_type.json diff --git a/app/src/api/mapApi.ts b/app/src/api/mapApi.ts index 8e8efdfc..2a5f0523 100644 --- a/app/src/api/mapApi.ts +++ b/app/src/api/mapApi.ts @@ -17,7 +17,7 @@ export class mapApi { try { const map = await directusClient.request( readItems('maps' as any, { - fields: ['*', { user_type: ['name'] }], + fields: ['*'], filter: { url: { _eq: this.url } } as any, limit: 500, }), diff --git a/backend/directus-config/snapshot/fields/maps/user_type.json b/backend/directus-config/snapshot/fields/maps/user_type.json deleted file mode 100644 index 80966058..00000000 --- a/backend/directus-config/snapshot/fields/maps/user_type.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "collection": "maps", - "field": "user_type", - "type": "uuid", - "meta": { - "collection": "maps", - "conditions": null, - "display": null, - "display_options": null, - "field": "user_type", - "group": null, - "hidden": true, - "interface": "select-dropdown-m2o", - "note": null, - "options": { - "template": "{{name}}" - }, - "readonly": false, - "required": false, - "sort": 9, - "special": [ - "m2o" - ], - "translations": null, - "validation": null, - "validation_message": null, - "width": "full" - }, - "schema": { - "name": "user_type", - "table": "maps", - "data_type": "uuid", - "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": "types", - "foreign_key_column": "id" - } -} diff --git a/backend/directus-config/snapshot/relations/maps/user_type.json b/backend/directus-config/snapshot/relations/maps/user_type.json deleted file mode 100644 index c28588fc..00000000 --- a/backend/directus-config/snapshot/relations/maps/user_type.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "collection": "maps", - "field": "user_type", - "related_collection": "types", - "meta": { - "junction_field": null, - "many_collection": "maps", - "many_field": "user_type", - "one_allowed_collections": null, - "one_collection": "types", - "one_collection_field": null, - "one_deselect_action": "nullify", - "one_field": null, - "sort_field": null - }, - "schema": { - "table": "maps", - "column": "user_type", - "foreign_key_table": "types", - "foreign_key_column": "id", - "constraint_name": "maps_user_type_foreign", - "on_update": "NO ACTION", - "on_delete": "SET NULL" - } -} diff --git a/backend/directus-config/specs/item.graphql b/backend/directus-config/specs/item.graphql index bf63f0ed..ef80a45f 100644 --- a/backend/directus-config/specs/item.graphql +++ b/backend/directus-config/specs/item.graphql @@ -1,4 +1,24 @@ type Query { + directus_sync_id_map(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_sync_id_map!]! + directus_sync_id_map_by_id(id: ID!, version: String): directus_sync_id_map + directus_sync_id_map_aggregated(groupBy: [String], filter: directus_sync_id_map_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_sync_id_map_aggregated!]! + directus_sync_id_map_by_version(version: String!, id: ID!): version_directus_sync_id_map + relations(filter: relations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [relations!]! + 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_profiles(filter: oceannomads_profiles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [oceannomads_profiles!]! + oceannomads_profiles_by_id(id: ID!, version: String): oceannomads_profiles + oceannomads_profiles_aggregated(groupBy: [String], filter: oceannomads_profiles_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [oceannomads_profiles_aggregated!]! + oceannomads_profiles_by_version(version: String!, id: ID!): version_oceannomads_profiles + attestations(filter: attestations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [attestations!]! + attestations_by_id(id: ID!, version: String): attestations + attestations_aggregated(groupBy: [String], filter: attestations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [attestations_aggregated!]! + attestations_by_version(version: String!, id: ID!): version_attestations + attestations_directus_users(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [attestations_directus_users!]! + attestations_directus_users_by_id(id: ID!, version: String): attestations_directus_users + attestations_directus_users_aggregated(groupBy: [String], filter: attestations_directus_users_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [attestations_directus_users_aggregated!]! + attestations_directus_users_by_version(version: String!, id: ID!): version_attestations_directus_users contactInfos(filter: contactInfos_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [contactInfos!]! contactInfos_by_id(id: ID!, version: String): contactInfos contactInfos_aggregated(groupBy: [String], filter: contactInfos_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [contactInfos_aggregated!]! @@ -7,18 +27,10 @@ type Query { crowdfundings_by_id(id: ID!, version: String): crowdfundings crowdfundings_aggregated(groupBy: [String], filter: crowdfundings_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [crowdfundings_aggregated!]! crowdfundings_by_version(version: String!, id: ID!): version_crowdfundings - Themes(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [Themes!]! - Themes_by_id(id: ID!, version: String): Themes - Themes_aggregated(groupBy: [String], filter: Themes_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [Themes_aggregated!]! - Themes_by_version(version: String!, id: ID!): version_Themes - 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!]! - attestations_by_version(version: String!, id: ID!): version_attestations - items_items(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_items!]! - items_items_by_id(id: ID!, version: String): items_items - items_items_aggregated(groupBy: [String], filter: items_items_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_items_aggregated!]! - items_items_by_version(version: String!, id: ID!): version_items_items + features(filter: features_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [features!]! + features_by_id(id: ID!, version: String): features + features_aggregated(groupBy: [String], filter: features_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [features_aggregated!]! + features_by_version(version: String!, id: ID!): version_features gallery(filter: gallery_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [gallery!]! gallery_by_id(id: ID!, version: String): gallery gallery_aggregated(groupBy: [String], filter: gallery_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [gallery_aggregated!]! @@ -27,50 +39,70 @@ type Query { groupSubheaders_by_id(id: ID!, version: String): groupSubheaders groupSubheaders_aggregated(groupBy: [String], filter: groupSubheaders_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [groupSubheaders_aggregated!]! groupSubheaders_by_version(version: String!, id: ID!): version_groupSubheaders + groupSubheaders_groupTypes(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [groupSubheaders_groupTypes!]! + groupSubheaders_groupTypes_by_id(id: ID!, version: String): groupSubheaders_groupTypes + groupSubheaders_groupTypes_aggregated(groupBy: [String], filter: groupSubheaders_groupTypes_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [groupSubheaders_groupTypes_aggregated!]! + groupSubheaders_groupTypes_by_version(version: String!, id: ID!): version_groupSubheaders_groupTypes groupTypes(filter: groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [groupTypes!]! 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!]! inviteLinks_by_version(version: String!, id: ID!): version_inviteLinks - items_files(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_files!]! - items_files_by_id(id: ID!, version: String): items_files - items_files_aggregated(groupBy: [String], filter: items_files_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_files_aggregated!]! - items_files_by_version(version: String!, id: ID!): version_items_files items(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items!]! items_by_id(id: ID!, version: String): items items_aggregated(groupBy: [String], filter: items_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_aggregated!]! items_by_version(version: String!, id: ID!): version_items - junction_directus_users_tags_1(filter: junction_directus_users_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [junction_directus_users_tags_1!]! - junction_directus_users_tags_1_by_id(id: ID!, version: String): junction_directus_users_tags_1 - junction_directus_users_tags_1_aggregated(groupBy: [String], filter: junction_directus_users_tags_1_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [junction_directus_users_tags_1_aggregated!]! - junction_directus_users_tags_1_by_version(version: String!, id: ID!): version_junction_directus_users_tags_1 - layers(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers!]! - layers_by_id(id: ID!, version: String): layers - layers_aggregated(groupBy: [String], filter: layers_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [layers_aggregated!]! - layers_by_version(version: String!, id: ID!): version_layers - items_tags_1(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags_1!]! - items_tags_1_by_id(id: ID!, version: String): items_tags_1 - items_tags_1_aggregated(groupBy: [String], filter: items_tags_1_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_tags_1_aggregated!]! - items_tags_1_by_version(version: String!, id: ID!): version_items_tags_1 itemSecrets(filter: itemSecrets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [itemSecrets!]! itemSecrets_by_id(id: ID!, version: String): itemSecrets itemSecrets_aggregated(groupBy: [String], filter: itemSecrets_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [itemSecrets_aggregated!]! itemSecrets_by_version(version: String!, id: ID!): version_itemSecrets + layers(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers!]! + layers_by_id(id: ID!, version: String): layers + layers_aggregated(groupBy: [String], filter: layers_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [layers_aggregated!]! + layers_by_version(version: String!, id: ID!): version_layers + items_files(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_files!]! + items_files_by_id(id: ID!, version: String): items_files + items_files_aggregated(groupBy: [String], filter: items_files_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_files_aggregated!]! + items_files_by_version(version: String!, id: ID!): version_items_files + items_items(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_items!]! + items_items_by_id(id: ID!, version: String): items_items + items_items_aggregated(groupBy: [String], filter: items_items_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_items_aggregated!]! + items_items_by_version(version: String!, id: ID!): version_items_items items_tags(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags!]! items_tags_by_id(id: ID!, version: String): items_tags items_tags_aggregated(groupBy: [String], filter: items_tags_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_tags_aggregated!]! items_tags_by_version(version: String!, id: ID!): version_items_tags - layers_directus_users_1(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_directus_users_1!]! - layers_directus_users_1_by_id(id: ID!, version: String): layers_directus_users_1 - layers_directus_users_1_aggregated(groupBy: [String], filter: layers_directus_users_1_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [layers_directus_users_1_aggregated!]! - layers_directus_users_1_by_version(version: String!, id: ID!): version_layers_directus_users_1 + tags(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [tags!]! + tags_by_id(id: ID!, version: String): tags + tags_aggregated(groupBy: [String], filter: tags_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [tags_aggregated!]! + tags_by_version(version: String!, id: ID!): version_tags + items_tags_1(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags_1!]! + items_tags_1_by_id(id: ID!, version: String): items_tags_1 + items_tags_1_aggregated(groupBy: [String], filter: items_tags_1_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [items_tags_1_aggregated!]! + items_tags_1_by_version(version: String!, id: ID!): version_items_tags_1 junction_directus_users_tags(filter: junction_directus_users_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [junction_directus_users_tags!]! junction_directus_users_tags_by_id(id: ID!, version: String): junction_directus_users_tags junction_directus_users_tags_aggregated(groupBy: [String], filter: junction_directus_users_tags_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [junction_directus_users_tags_aggregated!]! junction_directus_users_tags_by_version(version: String!, id: ID!): version_junction_directus_users_tags + junction_directus_users_tags_1(filter: junction_directus_users_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [junction_directus_users_tags_1!]! + junction_directus_users_tags_1_by_id(id: ID!, version: String): junction_directus_users_tags_1 + junction_directus_users_tags_1_aggregated(groupBy: [String], filter: junction_directus_users_tags_1_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [junction_directus_users_tags_1_aggregated!]! + junction_directus_users_tags_1_by_version(version: String!, id: ID!): version_junction_directus_users_tags_1 + types(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [types!]! + types_by_id(id: ID!, version: String): types + types_aggregated(groupBy: [String], filter: types_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [types_aggregated!]! + types_by_version(version: String!, id: ID!): version_types + layers_directus_users_1(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_directus_users_1!]! + layers_directus_users_1_by_id(id: ID!, version: String): layers_directus_users_1 + layers_directus_users_1_aggregated(groupBy: [String], filter: layers_directus_users_1_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [layers_directus_users_1_aggregated!]! + layers_directus_users_1_by_version(version: String!, id: ID!): version_layers_directus_users_1 layers_files(filter: layers_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_files!]! layers_files_by_id(id: ID!, version: String): layers_files layers_files_aggregated(groupBy: [String], filter: layers_files_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [layers_files_aggregated!]! @@ -79,361 +111,329 @@ type Query { layers_maps_by_id(id: ID!, version: String): layers_maps layers_maps_aggregated(groupBy: [String], filter: layers_maps_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [layers_maps_aggregated!]! layers_maps_by_version(version: String!, id: ID!): version_layers_maps - features(filter: features_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [features!]! - features_by_id(id: ID!, version: String): features - features_aggregated(groupBy: [String], filter: features_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [features_aggregated!]! - features_by_version(version: String!, id: ID!): version_features - startEnd(filter: startEnd_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [startEnd!]! - startEnd_by_id(id: ID!, version: String): startEnd - startEnd_aggregated(groupBy: [String], filter: startEnd_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [startEnd_aggregated!]! - startEnd_by_version(version: String!, id: ID!): version_startEnd - tags(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [tags!]! - tags_by_id(id: ID!, version: String): tags - tags_aggregated(groupBy: [String], filter: tags_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [tags_aggregated!]! - tags_by_version(version: String!, id: ID!): version_tags - 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 - relations(filter: relations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [relations!]! - 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 - team(filter: team_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [team!]! - team_by_id(id: ID!, version: String): team - team_aggregated(groupBy: [String], filter: team_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [team_aggregated!]! - team_by_version(version: String!, id: ID!): version_team - types(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [types!]! - types_by_id(id: ID!, version: String): types - types_aggregated(groupBy: [String], filter: types_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [types_aggregated!]! - types_by_version(version: String!, id: ID!): version_types - texts(filter: texts_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [texts!]! - texts_by_id(id: ID!, version: String): texts - texts_aggregated(groupBy: [String], filter: texts_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [texts_aggregated!]! - texts_by_version(version: String!, id: ID!): version_texts maps(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [maps!]! maps_by_id(id: ID!, version: String): maps maps_aggregated(groupBy: [String], filter: maps_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [maps_aggregated!]! maps_by_version(version: String!, id: ID!): version_maps + Themes(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [Themes!]! + Themes_by_id(id: ID!, version: String): Themes + Themes_aggregated(groupBy: [String], filter: Themes_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [Themes_aggregated!]! + Themes_by_version(version: String!, id: ID!): version_Themes + startEnd(filter: startEnd_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [startEnd!]! + startEnd_by_id(id: ID!, version: String): startEnd + startEnd_aggregated(groupBy: [String], filter: startEnd_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [startEnd_aggregated!]! + startEnd_by_version(version: String!, id: ID!): version_startEnd + team(filter: team_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [team!]! + team_by_id(id: ID!, version: String): team + team_aggregated(groupBy: [String], filter: team_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [team_aggregated!]! + team_by_version(version: String!, id: ID!): version_team + texts(filter: texts_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [texts!]! + texts_by_id(id: ID!, version: String): texts + texts_aggregated(groupBy: [String], filter: texts_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [texts_aggregated!]! + texts_by_version(version: String!, id: ID!): version_texts types_profileTemplate(filter: types_profileTemplate_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [types_profileTemplate!]! types_profileTemplate_by_id(id: ID!, version: String): types_profileTemplate types_profileTemplate_aggregated(groupBy: [String], filter: types_profileTemplate_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [types_profileTemplate_aggregated!]! types_profileTemplate_by_version(version: String!, id: ID!): version_types_profileTemplate - attestations_directus_users(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [attestations_directus_users!]! - attestations_directus_users_by_id(id: ID!, version: String): attestations_directus_users - attestations_directus_users_aggregated(groupBy: [String], filter: attestations_directus_users_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [attestations_directus_users_aggregated!]! - attestations_directus_users_by_version(version: String!, id: ID!): version_attestations_directus_users - groupSubheaders_groupTypes(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [groupSubheaders_groupTypes!]! - groupSubheaders_groupTypes_by_id(id: ID!, version: String): groupSubheaders_groupTypes - groupSubheaders_groupTypes_aggregated(groupBy: [String], filter: groupSubheaders_groupTypes_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [groupSubheaders_groupTypes_aggregated!]! - groupSubheaders_groupTypes_by_version(version: String!, id: ID!): version_groupSubheaders_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 - directus_sync_id_map(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_sync_id_map!]! - directus_sync_id_map_by_id(id: ID!, version: String): directus_sync_id_map - directus_sync_id_map_aggregated(groupBy: [String], filter: directus_sync_id_map_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_sync_id_map_aggregated!]! - directus_sync_id_map_by_version(version: String!, id: ID!): version_directus_sync_id_map } type Mutation { + create_directus_sync_id_map_items(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_sync_id_map_input!]): [directus_sync_id_map!]! + 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_profiles_items(filter: oceannomads_profiles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_oceannomads_profiles_input!]): [oceannomads_profiles!]! + create_oceannomads_profiles_item(data: create_oceannomads_profiles_input!): oceannomads_profiles + create_attestations_items(filter: attestations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_attestations_input!]): [attestations!]! + create_attestations_item(data: create_attestations_input!): attestations + create_attestations_directus_users_items(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_attestations_directus_users_input!]): [attestations_directus_users!]! + create_attestations_directus_users_item(data: create_attestations_directus_users_input!): attestations_directus_users create_contactInfos_items(filter: contactInfos_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_contactInfos_input!]): [contactInfos!]! create_contactInfos_item(data: create_contactInfos_input!): contactInfos create_crowdfundings_items(filter: crowdfundings_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_crowdfundings_input!]): [crowdfundings!]! create_crowdfundings_item(data: create_crowdfundings_input!): crowdfundings - create_Themes_items(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_Themes_input!]): [Themes!]! - create_Themes_item(data: create_Themes_input!): Themes - 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_items_items_items(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_items_input!]): [items_items!]! - create_items_items_item(data: create_items_items_input!): items_items + create_features_items(filter: features_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_features_input!]): [features!]! + create_features_item(data: create_features_input!): features create_gallery_items(filter: gallery_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_gallery_input!]): [gallery!]! create_gallery_item(data: create_gallery_input!): gallery create_groupSubheaders_items(filter: groupSubheaders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_groupSubheaders_input!]): [groupSubheaders!]! create_groupSubheaders_item(data: create_groupSubheaders_input!): groupSubheaders + create_groupSubheaders_groupTypes_items(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_groupSubheaders_groupTypes_input!]): [groupSubheaders_groupTypes!]! + 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_files_items(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_files_input!]): [items_files!]! - create_items_files_item(data: create_items_files_input!): items_files create_items_items(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_input!]): [items!]! create_items_item(data: create_items_input!): items - create_junction_directus_users_tags_1_items(filter: junction_directus_users_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_junction_directus_users_tags_1_input!]): [junction_directus_users_tags_1!]! - create_junction_directus_users_tags_1_item(data: create_junction_directus_users_tags_1_input!): junction_directus_users_tags_1 - create_layers_items(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_layers_input!]): [layers!]! - create_layers_item(data: create_layers_input!): layers - create_items_tags_1_items(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_tags_1_input!]): [items_tags_1!]! - create_items_tags_1_item(data: create_items_tags_1_input!): items_tags_1 create_itemSecrets_items(filter: itemSecrets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_itemSecrets_input!]): [itemSecrets!]! create_itemSecrets_item(data: create_itemSecrets_input!): itemSecrets + create_layers_items(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_layers_input!]): [layers!]! + create_layers_item(data: create_layers_input!): layers + create_items_files_items(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_files_input!]): [items_files!]! + create_items_files_item(data: create_items_files_input!): items_files + create_items_items_items(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_items_input!]): [items_items!]! + create_items_items_item(data: create_items_items_input!): items_items create_items_tags_items(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_tags_input!]): [items_tags!]! create_items_tags_item(data: create_items_tags_input!): items_tags - create_layers_directus_users_1_items(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_layers_directus_users_1_input!]): [layers_directus_users_1!]! - create_layers_directus_users_1_item(data: create_layers_directus_users_1_input!): layers_directus_users_1 + create_tags_items(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_tags_input!]): [tags!]! + create_tags_item(data: create_tags_input!): tags + create_items_tags_1_items(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_items_tags_1_input!]): [items_tags_1!]! + create_items_tags_1_item(data: create_items_tags_1_input!): items_tags_1 create_junction_directus_users_tags_items(filter: junction_directus_users_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_junction_directus_users_tags_input!]): [junction_directus_users_tags!]! create_junction_directus_users_tags_item(data: create_junction_directus_users_tags_input!): junction_directus_users_tags + create_junction_directus_users_tags_1_items(filter: junction_directus_users_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_junction_directus_users_tags_1_input!]): [junction_directus_users_tags_1!]! + create_junction_directus_users_tags_1_item(data: create_junction_directus_users_tags_1_input!): junction_directus_users_tags_1 + create_types_items(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_types_input!]): [types!]! + create_types_item(data: create_types_input!): types + create_layers_directus_users_1_items(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_layers_directus_users_1_input!]): [layers_directus_users_1!]! + create_layers_directus_users_1_item(data: create_layers_directus_users_1_input!): layers_directus_users_1 create_layers_files_items(filter: layers_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_layers_files_input!]): [layers_files!]! create_layers_files_item(data: create_layers_files_input!): layers_files create_layers_maps_items(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_layers_maps_input!]): [layers_maps!]! create_layers_maps_item(data: create_layers_maps_input!): layers_maps - create_features_items(filter: features_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_features_input!]): [features!]! - create_features_item(data: create_features_input!): features - create_startEnd_items(filter: startEnd_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_startEnd_input!]): [startEnd!]! - create_startEnd_item(data: create_startEnd_input!): startEnd - create_tags_items(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_tags_input!]): [tags!]! - create_tags_item(data: create_tags_input!): tags - 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_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_team_items(filter: team_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_team_input!]): [team!]! - create_team_item(data: create_team_input!): team - create_types_items(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_types_input!]): [types!]! - create_types_item(data: create_types_input!): types - create_texts_items(filter: texts_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_texts_input!]): [texts!]! - create_texts_item(data: create_texts_input!): texts create_maps_items(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_maps_input!]): [maps!]! create_maps_item(data: create_maps_input!): maps + create_Themes_items(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_Themes_input!]): [Themes!]! + create_Themes_item(data: create_Themes_input!): Themes + create_startEnd_items(filter: startEnd_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_startEnd_input!]): [startEnd!]! + create_startEnd_item(data: create_startEnd_input!): startEnd + create_team_items(filter: team_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_team_input!]): [team!]! + create_team_item(data: create_team_input!): team + create_texts_items(filter: texts_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_texts_input!]): [texts!]! + create_texts_item(data: create_texts_input!): texts create_types_profileTemplate_items(filter: types_profileTemplate_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_types_profileTemplate_input!]): [types_profileTemplate!]! create_types_profileTemplate_item(data: create_types_profileTemplate_input!): types_profileTemplate - 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!]! - create_attestations_directus_users_item(data: create_attestations_directus_users_input!): attestations_directus_users - create_groupSubheaders_groupTypes_items(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_groupSubheaders_groupTypes_input!]): [groupSubheaders_groupTypes!]! - create_groupSubheaders_groupTypes_item(data: create_groupSubheaders_groupTypes_input!): groupSubheaders_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_directus_sync_id_map_items(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_sync_id_map_input!]): [directus_sync_id_map!]! - create_directus_sync_id_map_item(data: create_directus_sync_id_map_input!): directus_sync_id_map + update_directus_sync_id_map_items(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_sync_id_map_input!): [directus_sync_id_map!]! + update_directus_sync_id_map_batch(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_sync_id_map_input!]): [directus_sync_id_map!]! + update_directus_sync_id_map_item(id: ID!, data: update_directus_sync_id_map_input!): directus_sync_id_map + 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_profiles_items(filter: oceannomads_profiles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_oceannomads_profiles_input!): [oceannomads_profiles!]! + update_oceannomads_profiles_batch(filter: oceannomads_profiles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_oceannomads_profiles_input!]): [oceannomads_profiles!]! + update_oceannomads_profiles_item(id: ID!, data: update_oceannomads_profiles_input!): oceannomads_profiles + update_attestations_items(filter: attestations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_attestations_input!): [attestations!]! + update_attestations_batch(filter: attestations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_attestations_input!]): [attestations!]! + update_attestations_item(id: ID!, data: update_attestations_input!): attestations + update_attestations_directus_users_items(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_attestations_directus_users_input!): [attestations_directus_users!]! + update_attestations_directus_users_batch(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_attestations_directus_users_input!]): [attestations_directus_users!]! + update_attestations_directus_users_item(id: ID!, data: update_attestations_directus_users_input!): attestations_directus_users update_contactInfos_items(filter: contactInfos_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_contactInfos_input!): [contactInfos!]! update_contactInfos_batch(filter: contactInfos_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_contactInfos_input!]): [contactInfos!]! update_contactInfos_item(id: ID!, data: update_contactInfos_input!): contactInfos update_crowdfundings_items(filter: crowdfundings_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_crowdfundings_input!): [crowdfundings!]! update_crowdfundings_batch(filter: crowdfundings_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_crowdfundings_input!]): [crowdfundings!]! update_crowdfundings_item(id: ID!, data: update_crowdfundings_input!): crowdfundings - update_Themes_items(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_Themes_input!): [Themes!]! - update_Themes_batch(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_Themes_input!]): [Themes!]! - update_Themes_item(id: ID!, data: update_Themes_input!): Themes - 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 - update_items_items_items(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_items_input!): [items_items!]! - update_items_items_batch(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_items_input!]): [items_items!]! - update_items_items_item(id: ID!, data: update_items_items_input!): items_items + update_features_items(filter: features_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_features_input!): [features!]! + update_features_batch(filter: features_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_features_input!]): [features!]! + update_features_item(id: ID!, data: update_features_input!): features update_gallery_items(filter: gallery_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_gallery_input!): [gallery!]! update_gallery_batch(filter: gallery_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_gallery_input!]): [gallery!]! update_gallery_item(id: ID!, data: update_gallery_input!): gallery update_groupSubheaders_items(filter: groupSubheaders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_groupSubheaders_input!): [groupSubheaders!]! update_groupSubheaders_batch(filter: groupSubheaders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_groupSubheaders_input!]): [groupSubheaders!]! update_groupSubheaders_item(id: ID!, data: update_groupSubheaders_input!): groupSubheaders + update_groupSubheaders_groupTypes_items(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_groupSubheaders_groupTypes_input!): [groupSubheaders_groupTypes!]! + update_groupSubheaders_groupTypes_batch(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_groupSubheaders_groupTypes_input!]): [groupSubheaders_groupTypes!]! + update_groupSubheaders_groupTypes_item(id: ID!, data: update_groupSubheaders_groupTypes_input!): groupSubheaders_groupTypes 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 - update_items_files_items(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_files_input!): [items_files!]! - update_items_files_batch(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_files_input!]): [items_files!]! - update_items_files_item(id: ID!, data: update_items_files_input!): items_files update_items_items(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_input!): [items!]! update_items_batch(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_input!]): [items!]! update_items_item(id: ID!, data: update_items_input!): items - update_junction_directus_users_tags_1_items(filter: junction_directus_users_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_junction_directus_users_tags_1_input!): [junction_directus_users_tags_1!]! - update_junction_directus_users_tags_1_batch(filter: junction_directus_users_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_junction_directus_users_tags_1_input!]): [junction_directus_users_tags_1!]! - update_junction_directus_users_tags_1_item(id: ID!, data: update_junction_directus_users_tags_1_input!): junction_directus_users_tags_1 - update_layers_items(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_layers_input!): [layers!]! - update_layers_batch(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_layers_input!]): [layers!]! - update_layers_item(id: ID!, data: update_layers_input!): layers - update_items_tags_1_items(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_tags_1_input!): [items_tags_1!]! - update_items_tags_1_batch(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_tags_1_input!]): [items_tags_1!]! - update_items_tags_1_item(id: ID!, data: update_items_tags_1_input!): items_tags_1 update_itemSecrets_items(filter: itemSecrets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_itemSecrets_input!): [itemSecrets!]! update_itemSecrets_batch(filter: itemSecrets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_itemSecrets_input!]): [itemSecrets!]! update_itemSecrets_item(id: ID!, data: update_itemSecrets_input!): itemSecrets + update_layers_items(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_layers_input!): [layers!]! + update_layers_batch(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_layers_input!]): [layers!]! + update_layers_item(id: ID!, data: update_layers_input!): layers + update_items_files_items(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_files_input!): [items_files!]! + update_items_files_batch(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_files_input!]): [items_files!]! + update_items_files_item(id: ID!, data: update_items_files_input!): items_files + update_items_items_items(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_items_input!): [items_items!]! + update_items_items_batch(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_items_input!]): [items_items!]! + update_items_items_item(id: ID!, data: update_items_items_input!): items_items update_items_tags_items(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_tags_input!): [items_tags!]! update_items_tags_batch(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_tags_input!]): [items_tags!]! update_items_tags_item(id: ID!, data: update_items_tags_input!): items_tags - update_layers_directus_users_1_items(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_layers_directus_users_1_input!): [layers_directus_users_1!]! - update_layers_directus_users_1_batch(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_layers_directus_users_1_input!]): [layers_directus_users_1!]! - update_layers_directus_users_1_item(id: ID!, data: update_layers_directus_users_1_input!): layers_directus_users_1 + update_tags_items(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_tags_input!): [tags!]! + update_tags_batch(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_tags_input!]): [tags!]! + update_tags_item(id: ID!, data: update_tags_input!): tags + update_items_tags_1_items(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_items_tags_1_input!): [items_tags_1!]! + update_items_tags_1_batch(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_items_tags_1_input!]): [items_tags_1!]! + update_items_tags_1_item(id: ID!, data: update_items_tags_1_input!): items_tags_1 update_junction_directus_users_tags_items(filter: junction_directus_users_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_junction_directus_users_tags_input!): [junction_directus_users_tags!]! update_junction_directus_users_tags_batch(filter: junction_directus_users_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_junction_directus_users_tags_input!]): [junction_directus_users_tags!]! update_junction_directus_users_tags_item(id: ID!, data: update_junction_directus_users_tags_input!): junction_directus_users_tags + update_junction_directus_users_tags_1_items(filter: junction_directus_users_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_junction_directus_users_tags_1_input!): [junction_directus_users_tags_1!]! + update_junction_directus_users_tags_1_batch(filter: junction_directus_users_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_junction_directus_users_tags_1_input!]): [junction_directus_users_tags_1!]! + update_junction_directus_users_tags_1_item(id: ID!, data: update_junction_directus_users_tags_1_input!): junction_directus_users_tags_1 + update_types_items(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_types_input!): [types!]! + update_types_batch(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_types_input!]): [types!]! + update_types_item(id: ID!, data: update_types_input!): types + update_layers_directus_users_1_items(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_layers_directus_users_1_input!): [layers_directus_users_1!]! + update_layers_directus_users_1_batch(filter: layers_directus_users_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_layers_directus_users_1_input!]): [layers_directus_users_1!]! + update_layers_directus_users_1_item(id: ID!, data: update_layers_directus_users_1_input!): layers_directus_users_1 update_layers_files_items(filter: layers_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_layers_files_input!): [layers_files!]! update_layers_files_batch(filter: layers_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_layers_files_input!]): [layers_files!]! update_layers_files_item(id: ID!, data: update_layers_files_input!): layers_files update_layers_maps_items(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_layers_maps_input!): [layers_maps!]! update_layers_maps_batch(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_layers_maps_input!]): [layers_maps!]! update_layers_maps_item(id: ID!, data: update_layers_maps_input!): layers_maps - update_features_items(filter: features_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_features_input!): [features!]! - update_features_batch(filter: features_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_features_input!]): [features!]! - update_features_item(id: ID!, data: update_features_input!): features - update_startEnd_items(filter: startEnd_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_startEnd_input!): [startEnd!]! - update_startEnd_batch(filter: startEnd_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_startEnd_input!]): [startEnd!]! - update_startEnd_item(id: ID!, data: update_startEnd_input!): startEnd - update_tags_items(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_tags_input!): [tags!]! - update_tags_batch(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_tags_input!]): [tags!]! - update_tags_item(id: ID!, data: update_tags_input!): tags - 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_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_team_items(filter: team_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_team_input!): [team!]! - update_team_batch(filter: team_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_team_input!]): [team!]! - update_team_item(id: ID!, data: update_team_input!): team - update_types_items(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_types_input!): [types!]! - update_types_batch(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_types_input!]): [types!]! - update_types_item(id: ID!, data: update_types_input!): types - update_texts_items(filter: texts_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_texts_input!): [texts!]! - update_texts_batch(filter: texts_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_texts_input!]): [texts!]! - update_texts_item(id: ID!, data: update_texts_input!): texts update_maps_items(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_maps_input!): [maps!]! update_maps_batch(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_maps_input!]): [maps!]! update_maps_item(id: ID!, data: update_maps_input!): maps + update_Themes_items(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_Themes_input!): [Themes!]! + update_Themes_batch(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_Themes_input!]): [Themes!]! + update_Themes_item(id: ID!, data: update_Themes_input!): Themes + update_startEnd_items(filter: startEnd_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_startEnd_input!): [startEnd!]! + update_startEnd_batch(filter: startEnd_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_startEnd_input!]): [startEnd!]! + update_startEnd_item(id: ID!, data: update_startEnd_input!): startEnd + update_team_items(filter: team_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_team_input!): [team!]! + update_team_batch(filter: team_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_team_input!]): [team!]! + update_team_item(id: ID!, data: update_team_input!): team + update_texts_items(filter: texts_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_texts_input!): [texts!]! + update_texts_batch(filter: texts_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_texts_input!]): [texts!]! + update_texts_item(id: ID!, data: update_texts_input!): texts update_types_profileTemplate_items(filter: types_profileTemplate_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_types_profileTemplate_input!): [types_profileTemplate!]! update_types_profileTemplate_batch(filter: types_profileTemplate_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_types_profileTemplate_input!]): [types_profileTemplate!]! update_types_profileTemplate_item(id: ID!, data: update_types_profileTemplate_input!): types_profileTemplate - update_attestations_directus_users_items(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_attestations_directus_users_input!): [attestations_directus_users!]! - update_attestations_directus_users_batch(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_attestations_directus_users_input!]): [attestations_directus_users!]! - update_attestations_directus_users_item(id: ID!, data: update_attestations_directus_users_input!): attestations_directus_users - update_groupSubheaders_groupTypes_items(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_groupSubheaders_groupTypes_input!): [groupSubheaders_groupTypes!]! - update_groupSubheaders_groupTypes_batch(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_groupSubheaders_groupTypes_input!]): [groupSubheaders_groupTypes!]! - update_groupSubheaders_groupTypes_item(id: ID!, data: update_groupSubheaders_groupTypes_input!): groupSubheaders_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_directus_sync_id_map_items(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_sync_id_map_input!): [directus_sync_id_map!]! - update_directus_sync_id_map_batch(filter: directus_sync_id_map_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_sync_id_map_input!]): [directus_sync_id_map!]! - update_directus_sync_id_map_item(id: ID!, data: update_directus_sync_id_map_input!): directus_sync_id_map + delete_directus_sync_id_map_items(ids: [ID]!): delete_many + 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_profiles_items(ids: [ID]!): delete_many + delete_oceannomads_profiles_item(id: ID!): delete_one + delete_attestations_items(ids: [ID]!): delete_many + delete_attestations_item(id: ID!): delete_one + delete_attestations_directus_users_items(ids: [ID]!): delete_many + delete_attestations_directus_users_item(id: ID!): delete_one delete_contactInfos_items(ids: [ID]!): delete_many delete_contactInfos_item(id: ID!): delete_one delete_crowdfundings_items(ids: [ID]!): delete_many delete_crowdfundings_item(id: ID!): delete_one - delete_Themes_items(ids: [ID]!): delete_many - delete_Themes_item(id: ID!): delete_one - delete_attestations_items(ids: [ID]!): delete_many - delete_attestations_item(id: ID!): delete_one - delete_items_items_items(ids: [ID]!): delete_many - delete_items_items_item(id: ID!): delete_one + delete_features_items(ids: [ID]!): delete_many + delete_features_item(id: ID!): delete_one delete_gallery_items(ids: [ID]!): delete_many delete_gallery_item(id: ID!): delete_one delete_groupSubheaders_items(ids: [ID]!): delete_many delete_groupSubheaders_item(id: ID!): delete_one + delete_groupSubheaders_groupTypes_items(ids: [ID]!): delete_many + 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_files_items(ids: [ID]!): delete_many - delete_items_files_item(id: ID!): delete_one delete_items_items(ids: [ID]!): delete_many delete_items_item(id: ID!): delete_one - delete_junction_directus_users_tags_1_items(ids: [ID]!): delete_many - delete_junction_directus_users_tags_1_item(id: ID!): delete_one - delete_layers_items(ids: [ID]!): delete_many - delete_layers_item(id: ID!): delete_one - delete_items_tags_1_items(ids: [ID]!): delete_many - delete_items_tags_1_item(id: ID!): delete_one delete_itemSecrets_items(ids: [ID]!): delete_many delete_itemSecrets_item(id: ID!): delete_one + delete_layers_items(ids: [ID]!): delete_many + delete_layers_item(id: ID!): delete_one + delete_items_files_items(ids: [ID]!): delete_many + delete_items_files_item(id: ID!): delete_one + delete_items_items_items(ids: [ID]!): delete_many + delete_items_items_item(id: ID!): delete_one delete_items_tags_items(ids: [ID]!): delete_many delete_items_tags_item(id: ID!): delete_one - delete_layers_directus_users_1_items(ids: [ID]!): delete_many - delete_layers_directus_users_1_item(id: ID!): delete_one + delete_tags_items(ids: [ID]!): delete_many + delete_tags_item(id: ID!): delete_one + delete_items_tags_1_items(ids: [ID]!): delete_many + delete_items_tags_1_item(id: ID!): delete_one delete_junction_directus_users_tags_items(ids: [ID]!): delete_many delete_junction_directus_users_tags_item(id: ID!): delete_one + delete_junction_directus_users_tags_1_items(ids: [ID]!): delete_many + delete_junction_directus_users_tags_1_item(id: ID!): delete_one + delete_types_items(ids: [ID]!): delete_many + delete_types_item(id: ID!): delete_one + delete_layers_directus_users_1_items(ids: [ID]!): delete_many + delete_layers_directus_users_1_item(id: ID!): delete_one delete_layers_files_items(ids: [ID]!): delete_many delete_layers_files_item(id: ID!): delete_one delete_layers_maps_items(ids: [ID]!): delete_many delete_layers_maps_item(id: ID!): delete_one - delete_features_items(ids: [ID]!): delete_many - delete_features_item(id: ID!): delete_one - delete_startEnd_items(ids: [ID]!): delete_many - delete_startEnd_item(id: ID!): delete_one - delete_tags_items(ids: [ID]!): delete_many - delete_tags_item(id: ID!): delete_one - delete_oceannomads_profiles_items(ids: [ID]!): delete_many - delete_oceannomads_profiles_item(id: ID!): delete_one - delete_relations_items(ids: [ID]!): delete_many - delete_relations_item(id: ID!): delete_one - delete_team_items(ids: [ID]!): delete_many - delete_team_item(id: ID!): delete_one - delete_types_items(ids: [ID]!): delete_many - delete_types_item(id: ID!): delete_one - delete_texts_items(ids: [ID]!): delete_many - delete_texts_item(id: ID!): delete_one delete_maps_items(ids: [ID]!): delete_many delete_maps_item(id: ID!): delete_one + delete_Themes_items(ids: [ID]!): delete_many + delete_Themes_item(id: ID!): delete_one + delete_startEnd_items(ids: [ID]!): delete_many + delete_startEnd_item(id: ID!): delete_one + delete_team_items(ids: [ID]!): delete_many + delete_team_item(id: ID!): delete_one + delete_texts_items(ids: [ID]!): delete_many + delete_texts_item(id: ID!): delete_one delete_types_profileTemplate_items(ids: [ID]!): delete_many delete_types_profileTemplate_item(id: ID!): delete_one - delete_attestations_directus_users_items(ids: [ID]!): delete_many - delete_attestations_directus_users_item(id: ID!): delete_one - delete_groupSubheaders_groupTypes_items(ids: [ID]!): delete_many - delete_groupSubheaders_groupTypes_item(id: ID!): delete_one - delete_marker_icons_items(ids: [ID]!): delete_many - delete_marker_icons_item(id: ID!): delete_one - delete_directus_sync_id_map_items(ids: [ID]!): delete_many - delete_directus_sync_id_map_item(id: ID!): delete_one } type Subscription { - contactInfos_mutated(event: EventEnum): contactInfos_mutated - crowdfundings_mutated(event: EventEnum): crowdfundings_mutated - directus_access_mutated(event: EventEnum): directus_access_mutated - Themes_mutated(event: EventEnum): Themes_mutated - attestations_mutated(event: EventEnum): attestations_mutated - directus_comments_mutated(event: EventEnum): directus_comments_mutated - directus_dashboards_mutated(event: EventEnum): directus_dashboards_mutated - directus_folders_mutated(event: EventEnum): directus_folders_mutated - directus_flows_mutated(event: EventEnum): directus_flows_mutated - directus_notifications_mutated(event: EventEnum): directus_notifications_mutated - directus_operations_mutated(event: EventEnum): directus_operations_mutated - directus_panels_mutated(event: EventEnum): directus_panels_mutated - directus_permissions_mutated(event: EventEnum): directus_permissions_mutated - directus_activity_mutated(event: EventEnum): directus_activity_mutated - directus_files_mutated(event: EventEnum): directus_files_mutated directus_roles_mutated(event: EventEnum): directus_roles_mutated - directus_presets_mutated(event: EventEnum): directus_presets_mutated + directus_files_mutated(event: EventEnum): directus_files_mutated + directus_folders_mutated(event: EventEnum): directus_folders_mutated + directus_activity_mutated(event: EventEnum): directus_activity_mutated directus_revisions_mutated(event: EventEnum): directus_revisions_mutated + directus_permissions_mutated(event: EventEnum): directus_permissions_mutated + directus_users_mutated(event: EventEnum): directus_users_mutated + directus_presets_mutated(event: EventEnum): directus_presets_mutated + directus_webhooks_mutated(event: EventEnum): directus_webhooks_mutated + directus_panels_mutated(event: EventEnum): directus_panels_mutated + directus_notifications_mutated(event: EventEnum): directus_notifications_mutated + directus_shares_mutated(event: EventEnum): directus_shares_mutated + directus_flows_mutated(event: EventEnum): directus_flows_mutated + directus_operations_mutated(event: EventEnum): directus_operations_mutated + directus_dashboards_mutated(event: EventEnum): directus_dashboards_mutated + directus_translations_mutated(event: EventEnum): directus_translations_mutated + directus_access_mutated(event: EventEnum): directus_access_mutated + directus_comments_mutated(event: EventEnum): directus_comments_mutated directus_versions_mutated(event: EventEnum): directus_versions_mutated directus_settings_mutated(event: EventEnum): directus_settings_mutated - directus_webhooks_mutated(event: EventEnum): directus_webhooks_mutated + directus_sync_id_map_mutated(event: EventEnum): directus_sync_id_map_mutated directus_policies_mutated(event: EventEnum): directus_policies_mutated - directus_translations_mutated(event: EventEnum): directus_translations_mutated - directus_shares_mutated(event: EventEnum): directus_shares_mutated - directus_users_mutated(event: EventEnum): directus_users_mutated - items_items_mutated(event: EventEnum): items_items_mutated + relations_mutated(event: EventEnum): relations_mutated + oceannomads_profiles_mutated(event: EventEnum): oceannomads_profiles_mutated + attestations_mutated(event: EventEnum): attestations_mutated + attestations_directus_users_mutated(event: EventEnum): attestations_directus_users_mutated + contactInfos_mutated(event: EventEnum): contactInfos_mutated + crowdfundings_mutated(event: EventEnum): crowdfundings_mutated + features_mutated(event: EventEnum): features_mutated gallery_mutated(event: EventEnum): gallery_mutated 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_files_mutated(event: EventEnum): items_files_mutated items_mutated(event: EventEnum): items_mutated - junction_directus_users_tags_1_mutated(event: EventEnum): junction_directus_users_tags_1_mutated - layers_mutated(event: EventEnum): layers_mutated - items_tags_1_mutated(event: EventEnum): items_tags_1_mutated itemSecrets_mutated(event: EventEnum): itemSecrets_mutated + layers_mutated(event: EventEnum): layers_mutated + items_files_mutated(event: EventEnum): items_files_mutated + items_items_mutated(event: EventEnum): items_items_mutated items_tags_mutated(event: EventEnum): items_tags_mutated - layers_directus_users_1_mutated(event: EventEnum): layers_directus_users_1_mutated + tags_mutated(event: EventEnum): tags_mutated + items_tags_1_mutated(event: EventEnum): items_tags_1_mutated junction_directus_users_tags_mutated(event: EventEnum): junction_directus_users_tags_mutated + junction_directus_users_tags_1_mutated(event: EventEnum): junction_directus_users_tags_1_mutated + types_mutated(event: EventEnum): types_mutated + layers_directus_users_1_mutated(event: EventEnum): layers_directus_users_1_mutated layers_files_mutated(event: EventEnum): layers_files_mutated layers_maps_mutated(event: EventEnum): layers_maps_mutated - features_mutated(event: EventEnum): features_mutated - startEnd_mutated(event: EventEnum): startEnd_mutated - tags_mutated(event: EventEnum): tags_mutated - oceannomads_profiles_mutated(event: EventEnum): oceannomads_profiles_mutated - relations_mutated(event: EventEnum): relations_mutated - team_mutated(event: EventEnum): team_mutated - types_mutated(event: EventEnum): types_mutated - texts_mutated(event: EventEnum): texts_mutated maps_mutated(event: EventEnum): maps_mutated + Themes_mutated(event: EventEnum): Themes_mutated + startEnd_mutated(event: EventEnum): startEnd_mutated + team_mutated(event: EventEnum): team_mutated + texts_mutated(event: EventEnum): texts_mutated types_profileTemplate_mutated(event: EventEnum): types_profileTemplate_mutated - attestations_directus_users_mutated(event: EventEnum): attestations_directus_users_mutated - groupSubheaders_groupTypes_mutated(event: EventEnum): groupSubheaders_groupTypes_mutated - marker_icons_mutated(event: EventEnum): marker_icons_mutated - directus_sync_id_map_mutated(event: EventEnum): directus_sync_id_map_mutated } """The `Boolean` scalar type represents `true` or `false`.""" @@ -488,14 +488,14 @@ enum EventEnum { union types_profileTemplate_item_union = groupSubheaders | contactInfos | texts | startEnd | gallery | crowdfundings | inviteLinks | relations type attestations { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + color: String date_created: Date date_created_func: datetime_functions - text: String - color: String emoji: String + id: ID! shape: String + text: String + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users to(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [attestations_directus_users] to_func: count_functions } @@ -508,20 +508,20 @@ type attestations_aggregated { } type attestations_aggregated_count { - id: Int - user_created: Int - date_created: Int - text: Int color: Int + date_created: Int emoji: Int + id: Int shape: Int + text: Int + user_created: Int to: Int } type attestations_directus_users { - id: ID! attestations_id(filter: attestations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): attestations directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + id: ID! } type attestations_directus_users_aggregated { @@ -538,9 +538,9 @@ type attestations_directus_users_aggregated { } type attestations_directus_users_aggregated_count { - id: Int attestations_id: Int directus_users_id: Int + id: Int } type attestations_directus_users_aggregated_fields { @@ -560,14 +560,14 @@ type attestations_mutated { } type contactInfos { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions heading: String + id: ID! + 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 } type contactInfos_aggregated { @@ -578,12 +578,12 @@ type contactInfos_aggregated { } type contactInfos_aggregated_count { - id: Int - user_created: Int date_created: Int - user_updated: Int date_updated: Int heading: Int + id: Int + user_created: Int + user_updated: Int } type contactInfos_mutated { @@ -597,13 +597,13 @@ type count_functions { } type crowdfundings { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions + id: ID! + 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 } type crowdfundings_aggregated { @@ -614,11 +614,11 @@ type crowdfundings_aggregated { } type crowdfundings_aggregated_count { + date_created: Int + date_updated: Int id: Int user_created: Int - date_created: Int user_updated: Int - date_updated: Int } type crowdfundings_mutated { @@ -1209,18 +1209,18 @@ type directus_webhooks_mutated { } type features { - id: ID! - status: String - sort: Int - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions heading: String + id: ID! + sort: Int + status: String symbol: String text: 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 } type features_aggregated { @@ -1237,16 +1237,16 @@ type features_aggregated { } type features_aggregated_count { - id: Int - status: Int - sort: Int - user_created: Int date_created: Int - user_updated: Int date_updated: Int heading: Int + id: Int + sort: Int + status: Int symbol: Int text: Int + user_created: Int + user_updated: Int } type features_aggregated_fields { @@ -1261,14 +1261,14 @@ type features_mutated { } type gallery { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions hideInputLabel: Boolean + id: ID! + 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 } type gallery_aggregated { @@ -1279,12 +1279,12 @@ type gallery_aggregated { } type gallery_aggregated_count { - id: Int - user_created: Int date_created: Int - user_updated: Int date_updated: Int hideInputLabel: Int + id: Int + user_created: Int + user_updated: Int } type gallery_mutated { @@ -1294,18 +1294,18 @@ type gallery_mutated { } type groupSubheaders { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions - shareBaseUrl: String groupStates: JSON groupStates_func: count_functions + id: ID! platforms: JSON platforms_func: count_functions + shareBaseUrl: 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 groupTypes(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [groupSubheaders_groupTypes] groupTypes_func: count_functions } @@ -1318,21 +1318,21 @@ type groupSubheaders_aggregated { } type groupSubheaders_aggregated_count { - id: Int - user_created: Int date_created: Int - user_updated: Int date_updated: Int - shareBaseUrl: Int groupStates: Int + id: Int platforms: Int + shareBaseUrl: Int + user_created: Int + user_updated: Int groupTypes: Int } type groupSubheaders_groupTypes { - id: ID! groupSubheaders_id(filter: groupSubheaders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): groupSubheaders groupTypes_id(filter: groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): groupTypes + id: ID! } type groupSubheaders_groupTypes_aggregated { @@ -1349,9 +1349,9 @@ type groupSubheaders_groupTypes_aggregated { } type groupSubheaders_groupTypes_aggregated_count { - id: Int groupSubheaders_id: Int groupTypes_id: Int + id: Int } type groupSubheaders_groupTypes_aggregated_fields { @@ -1371,17 +1371,17 @@ type groupSubheaders_mutated { } type groupTypes { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + color: String date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions - name: String - color: String + id: ID! image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons + name: 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 } type groupTypes_aggregated { @@ -1392,15 +1392,15 @@ type groupTypes_aggregated { } type groupTypes_aggregated_count { - id: Int - user_created: Int - date_created: Int - user_updated: Int - date_updated: Int - name: Int color: Int + date_created: Int + date_updated: Int + id: Int image: Int markerIcon: Int + name: Int + user_created: Int + user_updated: Int } type groupTypes_mutated { @@ -1410,13 +1410,13 @@ type groupTypes_mutated { } type inviteLinks { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions + id: ID! + 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 } type inviteLinks_aggregated { @@ -1427,11 +1427,11 @@ type inviteLinks_aggregated { } type inviteLinks_aggregated_count { + date_created: Int + date_updated: Int id: Int user_created: Int - date_created: Int user_updated: Int - date_updated: Int } type inviteLinks_mutated { @@ -1441,41 +1441,41 @@ type inviteLinks_mutated { } type items { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + color: String + contact: String date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions - name: String - text: String - position: GraphQLGeoJSON - image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files - layer(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers - start: Date - start_func: datetime_functions + draft: Boolean end: Date end_func: datetime_functions - color: String + group_type: String + id: ID! + image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + 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 + next_appointment: String + openCollectiveSlug: String parent(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items - subname: String + position: GraphQLGeoJSON public_edit: Boolean slug: String + start: Date + start_func: datetime_functions status: String - markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons + subname: String telephone: String - group_type: String - next_appointment: String - contact: String - openCollectiveSlug: String - draft: Boolean + text: 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 gallery(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_files] gallery_func: count_functions - offers(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags] - offers_func: count_functions needs(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags_1] needs_func: count_functions + offers(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags] + offers_func: count_functions relations(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_items] relations_func: count_functions secrets(filter: itemSecrets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [itemSecrets] @@ -1490,42 +1490,42 @@ type items_aggregated { } type items_aggregated_count { - id: Int - user_created: Int + color: Int + contact: Int date_created: Int - user_updated: Int date_updated: Int - name: Int - text: Int - position: Int + draft: Int + end: Int + group_type: Int + id: Int image: Int layer: Int - start: Int - end: Int - color: Int + markerIcon: Int + name: Int + next_appointment: Int + openCollectiveSlug: Int parent: Int - subname: Int + position: Int public_edit: Int slug: Int + start: Int status: Int - markerIcon: Int + subname: Int telephone: Int - group_type: Int - next_appointment: Int - contact: Int - openCollectiveSlug: Int - draft: Int + text: Int + user_created: Int + user_updated: Int gallery: Int - offers: Int needs: Int + offers: Int relations: Int secrets: Int } type items_files { + directus_files_id(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files id: ID! items_id(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items - directus_files_id(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files } type items_files_aggregated { @@ -1542,9 +1542,9 @@ type items_files_aggregated { } type items_files_aggregated_count { + directus_files_id: Int id: Int items_id: Int - directus_files_id: Int } type items_files_aggregated_fields { @@ -1671,8 +1671,8 @@ type items_tags_mutated { } type itemSecrets { - secret: ID! item(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + secret: ID! } type itemSecrets_aggregated { @@ -1683,8 +1683,8 @@ type itemSecrets_aggregated { } type itemSecrets_aggregated_count { - secret: Int item: Int + secret: Int } type itemSecrets_mutated { @@ -1694,14 +1694,14 @@ type itemSecrets_mutated { } type junction_directus_users_tags { - id: ID! directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + id: ID! tags_id(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): tags } type junction_directus_users_tags_1 { - id: ID! directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + id: ID! tags_id(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): tags } @@ -1719,8 +1719,8 @@ type junction_directus_users_tags_1_aggregated { } type junction_directus_users_tags_1_aggregated_count { - id: Int directus_users_id: Int + id: Int tags_id: Int } @@ -1748,8 +1748,8 @@ type junction_directus_users_tags_aggregated { } type junction_directus_users_tags_aggregated_count { - id: Int directus_users_id: Int + id: Int tags_id: Int } @@ -1765,21 +1765,21 @@ type junction_directus_users_tags_mutated { type layers { id: ID! - name: String - markerShape: String - menuText: String - menuColor: String indexIcon(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files - menuIcon(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files - onlyOnePerOwner: Boolean - itemType(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types index_plus_button: Boolean - public_edit_items: Boolean - markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons - markerDefaultColor2: String - listed: Boolean + itemType(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types item_presets: JSON item_presets_func: count_functions + listed: Boolean + markerDefaultColor2: String + 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 userProfileLayer: Boolean maps(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_maps] maps_func: count_functions @@ -1796,29 +1796,29 @@ type layers_aggregated { type layers_aggregated_count { id: Int - name: Int - markerShape: Int - menuText: Int - menuColor: Int indexIcon: Int - menuIcon: Int - onlyOnePerOwner: Int - itemType: Int index_plus_button: Int - public_edit_items: Int - markerIcon: Int - markerDefaultColor2: Int - listed: Int + itemType: Int item_presets: Int + listed: Int + markerDefaultColor2: Int + markerIcon: Int + markerShape: Int + menuColor: Int + menuIcon: Int + menuText: Int + name: Int + onlyOnePerOwner: Int + public_edit_items: Int userProfileLayer: Int maps: Int notifications: Int } type layers_directus_users_1 { + directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users id: ID! layers_id(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers - directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users } type layers_directus_users_1_aggregated { @@ -1835,9 +1835,9 @@ type layers_directus_users_1_aggregated { } type layers_directus_users_1_aggregated_count { + directus_users_id: Int id: Int layers_id: Int - directus_users_id: Int } type layers_directus_users_1_aggregated_fields { @@ -1851,9 +1851,9 @@ type layers_directus_users_1_mutated { } type layers_files { + directus_files_id(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files id: ID! layers_id(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers - directus_files_id(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files } type layers_files_aggregated { @@ -1870,9 +1870,9 @@ type layers_files_aggregated { } type layers_files_aggregated_count { + directus_files_id: Int id: Int layers_id: Int - directus_files_id: Int } type layers_files_aggregated_fields { @@ -1927,34 +1927,33 @@ type layers_mutated { } type maps { - id: ID! - name: String - url: String - logo(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files - zoom: Int center: GraphQLGeoJSON - own_tag_space: Boolean + + """Replace the info text in the info popup""" + custom_text: String + default_theme(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): Themes + + """Shows a donation widget after 10 minutes""" + donation_widget: Boolean + expand_layer_control: Boolean """You can include GeoJSON""" geo: JSON geo_func: count_functions - show_layer_control: Boolean - show_filter_control: Boolean - user_type(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types - - """Replace the info text in the info popup""" - custom_text: String - show_gratitude_control: Boolean - - """Shows a donation widget after 10 minutes""" - donation_widget: Boolean - show_theme_control: Boolean - default_theme(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): Themes - show_zoom_control: Boolean! - expand_layer_control: Boolean + id: ID! info_open: Boolean - tile_server_url: String + logo(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + name: String + own_tag_space: Boolean + show_filter_control: Boolean + show_gratitude_control: Boolean + show_layer_control: Boolean + show_theme_control: Boolean + show_zoom_control: Boolean! tile_server_attribution: String + tile_server_url: String + url: String + zoom: Int layers(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_maps] layers_func: count_functions } @@ -1973,35 +1972,34 @@ type maps_aggregated { } type maps_aggregated_count { - id: Int - name: Int - url: Int - - """Used as FavIcon""" - logo: Int - zoom: Int center: Int - own_tag_space: Int - - """You can include GeoJSON""" - geo: Int - show_layer_control: Int - show_filter_control: Int - user_type: Int """Replace the info text in the info popup""" custom_text: Int - show_gratitude_control: Int + default_theme: Int """Shows a donation widget after 10 minutes""" donation_widget: Int - show_theme_control: Int - default_theme: Int - show_zoom_control: Int expand_layer_control: Int + + """You can include GeoJSON""" + geo: Int + id: Int info_open: Int - tile_server_url: Int + + """Used as FavIcon""" + logo: Int + name: Int + own_tag_space: Int + show_filter_control: Int + show_gratitude_control: Int + show_layer_control: Int + show_theme_control: Int + show_zoom_control: Int tile_server_attribution: Int + tile_server_url: Int + url: Int + zoom: Int layers: Int } @@ -2017,8 +2015,8 @@ type maps_mutated { type marker_icons { id: ID! - size: Float image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + size: Float } type marker_icons_aggregated { @@ -2036,8 +2034,8 @@ type marker_icons_aggregated { type marker_icons_aggregated_count { id: Int - size: Int image: Int + size: Int } type marker_icons_aggregated_fields { @@ -2051,16 +2049,16 @@ type marker_icons_mutated { } type oceannomads_profiles { - id: ID! + avatar_url: String date_created: Date date_created_func: datetime_functions date_updated: Date date_updated_func: datetime_functions email: String first_name: String + id: ID! last_name: String location: String - avatar_url: String } type oceannomads_profiles_aggregated { @@ -2071,14 +2069,14 @@ type oceannomads_profiles_aggregated { } type oceannomads_profiles_aggregated_count { - id: Int + avatar_url: Int date_created: Int date_updated: Int email: Int first_name: Int + id: Int last_name: Int location: Int - avatar_url: Int } type oceannomads_profiles_mutated { @@ -2121,13 +2119,13 @@ type relations_mutated { } type startEnd { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions + id: ID! + 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 } type startEnd_aggregated { @@ -2138,11 +2136,11 @@ type startEnd_aggregated { } type startEnd_aggregated_count { + date_created: Int + date_updated: Int id: Int user_created: Int - date_created: Int user_updated: Int - date_updated: Int } type startEnd_mutated { @@ -2152,14 +2150,14 @@ type startEnd_mutated { } type tags { - id: ID! - name: String color: String - map(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): maps - offer_or_need: Boolean - user_created: ID date_created: Date date_created_func: datetime_functions + id: ID! + map(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): maps + name: String + offer_or_need: Boolean + user_created: ID } type tags_aggregated { @@ -2170,13 +2168,13 @@ type tags_aggregated { } type tags_aggregated_count { - id: Int - name: Int color: Int + date_created: Int + id: Int map: Int + name: Int offer_or_need: Int user_created: Int - date_created: Int } type tags_mutated { @@ -2186,19 +2184,19 @@ type tags_mutated { } type team { - id: ID! - status: String - sort: Int - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions + id: ID! + image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files name: String role: String + sort: Int + status: String text: String - image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + 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 } type team_aggregated { @@ -2215,17 +2213,17 @@ type team_aggregated { } type team_aggregated_count { - id: Int - status: Int - sort: Int - user_created: Int date_created: Int - user_updated: Int date_updated: Int + id: Int + image: Int name: Int role: Int + sort: Int + status: Int text: Int - image: Int + user_created: Int + user_updated: Int } type team_aggregated_fields { @@ -2239,18 +2237,18 @@ type team_mutated { } type texts { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + dataField: String date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions heading: String hideWhenEmpty: Boolean - dataField: String - size: String + id: ID! showMarkdownHint: Boolean + size: 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 } type texts_aggregated { @@ -2261,16 +2259,16 @@ type texts_aggregated { } type texts_aggregated_count { - id: Int - user_created: Int + dataField: Int date_created: Int - user_updated: Int date_updated: Int heading: Int hideWhenEmpty: Int - dataField: Int - size: Int + id: Int showMarkdownHint: Int + size: Int + user_created: Int + user_updated: Int } type texts_mutated { @@ -2301,30 +2299,30 @@ type Themes_mutated { } type types { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + custom_text: String date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions + icon_as_labels: Boolean + id: ID! name: String - show_text_input: Boolean + offers_and_needs: Boolean + onepager: Boolean + questlog: Boolean + relations: Boolean + show_name: Boolean show_name_input: Boolean show_profile_button: Boolean - show_text: Boolean - show_name: Boolean - custom_text: String - show_start_end_input: Boolean show_start_end: Boolean - offers_and_needs: Boolean - relations: Boolean - onepager: Boolean - text_area: Boolean - text: Boolean - questlog: Boolean - icon_as_labels: Boolean + show_start_end_input: Boolean + show_text: Boolean + show_text_input: Boolean template: String + text: Boolean + text_area: Boolean + 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] profileTemplate_func: count_functions } @@ -2337,28 +2335,28 @@ type types_aggregated { } type types_aggregated_count { - id: Int - user_created: Int + custom_text: Int date_created: Int - user_updated: Int date_updated: Int + icon_as_labels: Int + id: Int name: Int - show_text_input: Int + offers_and_needs: Int + onepager: Int + questlog: Int + relations: Int + show_name: Int show_name_input: Int show_profile_button: Int - show_text: Int - show_name: Int - custom_text: Int - show_start_end_input: Int show_start_end: Int - offers_and_needs: Int - relations: Int - onepager: Int - text_area: Int - text: Int - questlog: Int - icon_as_labels: Int + show_start_end_input: Int + show_text: Int + show_text_input: Int template: Int + text: Int + text_area: Int + user_created: Int + user_updated: Int profileTemplate: Int } @@ -2369,11 +2367,11 @@ type types_mutated { } type types_profileTemplate { - id: ID! - types_id(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types - item: types_profileTemplate_item_union collection: String + id: ID! + item: types_profileTemplate_item_union sort: Int + types_id(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types } type types_profileTemplate_aggregated { @@ -2390,11 +2388,11 @@ type types_profileTemplate_aggregated { } type types_profileTemplate_aggregated_count { - id: Int - types_id: Int - item: Int collection: Int + id: Int + item: Int sort: Int + types_id: Int } type types_profileTemplate_aggregated_fields { @@ -2410,40 +2408,40 @@ type types_profileTemplate_mutated { """""" type version_attestations { - id: ID - user_created: JSON - date_created: Date - text: String color: String + date_created: Date emoji: String + id: ID shape: String + text: String + user_created: JSON to: JSON } """""" type version_attestations_directus_users { - id: ID attestations_id: JSON directus_users_id: JSON + id: ID } """""" type version_contactInfos { - id: ID - user_created: JSON date_created: Date - user_updated: JSON date_updated: Date heading: String + id: ID + user_created: JSON + user_updated: JSON } """""" type version_crowdfundings { + date_created: Date + date_updated: Date id: ID user_created: JSON - date_created: Date user_updated: JSON - date_updated: Date } """""" @@ -2457,109 +2455,109 @@ type version_directus_sync_id_map { """""" type version_features { - id: ID - status: String - sort: Int - user_created: JSON date_created: Date - user_updated: JSON date_updated: Date heading: String + id: ID + sort: Int + status: String symbol: String text: String + user_created: JSON + user_updated: JSON } """""" type version_gallery { - id: ID - user_created: JSON date_created: Date - user_updated: JSON date_updated: Date hideInputLabel: Boolean + id: ID + user_created: JSON + user_updated: JSON } """""" type version_groupSubheaders { - id: ID - user_created: JSON date_created: Date - user_updated: JSON date_updated: Date - shareBaseUrl: String groupStates: JSON + id: ID platforms: JSON + shareBaseUrl: String + user_created: JSON + user_updated: JSON groupTypes: JSON } """""" type version_groupSubheaders_groupTypes { - id: ID groupSubheaders_id: JSON groupTypes_id: JSON + id: ID } """""" type version_groupTypes { - id: ID - user_created: JSON - date_created: Date - user_updated: JSON - date_updated: Date - name: String color: String + date_created: Date + date_updated: Date + id: ID image: JSON markerIcon: JSON + name: String + user_created: JSON + user_updated: JSON } """""" type version_inviteLinks { + date_created: Date + date_updated: Date id: ID user_created: JSON - date_created: Date user_updated: JSON - date_updated: Date } """""" type version_items { - id: ID - user_created: JSON + color: String + contact: String date_created: Date - user_updated: JSON date_updated: Date - name: String - text: String - position: GraphQLGeoJSON + draft: Boolean + end: Date + group_type: String + id: ID image: JSON layer: JSON - start: Date - end: Date - color: String + markerIcon: JSON + name: String + next_appointment: String + openCollectiveSlug: String parent: JSON - subname: String + position: GraphQLGeoJSON public_edit: Boolean slug: String + start: Date status: String - markerIcon: JSON + subname: String telephone: String - group_type: String - next_appointment: String - contact: String - openCollectiveSlug: String - draft: Boolean + text: String + user_created: JSON + user_updated: JSON gallery: JSON - offers: JSON needs: JSON + offers: JSON relations: JSON secrets: JSON } """""" type version_items_files { + directus_files_id: JSON id: ID items_id: JSON - directus_files_id: JSON } """""" @@ -2586,41 +2584,41 @@ type version_items_tags_1 { """""" type version_itemSecrets { - secret: ID item: JSON + secret: ID } """""" type version_junction_directus_users_tags { - id: ID directus_users_id: JSON + id: ID tags_id: JSON } """""" type version_junction_directus_users_tags_1 { - id: ID directus_users_id: JSON + id: ID tags_id: JSON } """""" type version_layers { id: ID - name: String - markerShape: String - menuText: String - menuColor: String indexIcon: JSON - menuIcon: JSON - onlyOnePerOwner: Boolean - itemType: JSON index_plus_button: Boolean - public_edit_items: Boolean - markerIcon: JSON - markerDefaultColor2: String - listed: Boolean + itemType: JSON item_presets: JSON + listed: Boolean + markerDefaultColor2: String + markerIcon: JSON + markerShape: String + menuColor: String + menuIcon: JSON + menuText: String + name: String + onlyOnePerOwner: Boolean + public_edit_items: Boolean userProfileLayer: Boolean maps: JSON notifications: JSON @@ -2628,16 +2626,16 @@ type version_layers { """""" type version_layers_directus_users_1 { + directus_users_id: JSON id: ID layers_id: JSON - directus_users_id: JSON } """""" type version_layers_files { + directus_files_id: JSON id: ID layers_id: JSON - directus_files_id: JSON } """""" @@ -2649,53 +2647,52 @@ type version_layers_maps { """""" type version_maps { - id: ID - name: String - url: String - logo: JSON - zoom: Int center: GraphQLGeoJSON - own_tag_space: Boolean - - """You can include GeoJSON""" - geo: JSON - show_layer_control: Boolean - show_filter_control: Boolean - user_type: JSON """Replace the info text in the info popup""" custom_text: String - show_gratitude_control: Boolean + default_theme: JSON """Shows a donation widget after 10 minutes""" donation_widget: Boolean - show_theme_control: Boolean - default_theme: JSON - show_zoom_control: Boolean expand_layer_control: Boolean + + """You can include GeoJSON""" + geo: JSON + id: ID info_open: Boolean - tile_server_url: String + logo: JSON + name: String + own_tag_space: Boolean + show_filter_control: Boolean + show_gratitude_control: Boolean + show_layer_control: Boolean + show_theme_control: Boolean + show_zoom_control: Boolean tile_server_attribution: String + tile_server_url: String + url: String + zoom: Int layers: JSON } """""" type version_marker_icons { id: ID - size: Float image: JSON + size: Float } """""" type version_oceannomads_profiles { - id: ID + avatar_url: String date_created: Date date_updated: Date email: String first_name: String + id: ID last_name: String location: String - avatar_url: String } """""" @@ -2706,51 +2703,51 @@ type version_relations { """""" type version_startEnd { + date_created: Date + date_updated: Date id: ID user_created: JSON - date_created: Date user_updated: JSON - date_updated: Date } """""" type version_tags { - id: ID - name: String color: String + date_created: Date + id: ID map: JSON + name: String offer_or_need: Boolean user_created: ID - date_created: Date } """""" type version_team { - id: ID - status: String - sort: Int - user_created: JSON date_created: Date - user_updated: JSON date_updated: Date + id: ID + image: JSON name: String role: String + sort: Int + status: String text: String - image: JSON + user_created: JSON + user_updated: JSON } """""" type version_texts { - id: ID - user_created: JSON + dataField: String date_created: Date - user_updated: JSON date_updated: Date heading: String hideWhenEmpty: Boolean - dataField: String - size: String + id: ID showMarkdownHint: Boolean + size: String + user_created: JSON + user_updated: JSON } """""" @@ -2760,53 +2757,53 @@ type version_Themes { """""" type version_types { - id: ID - user_created: JSON + custom_text: String date_created: Date - user_updated: JSON date_updated: Date + icon_as_labels: Boolean + id: ID name: String - show_text_input: Boolean + offers_and_needs: Boolean + onepager: Boolean + questlog: Boolean + relations: Boolean + show_name: Boolean show_name_input: Boolean show_profile_button: Boolean - show_text: Boolean - show_name: Boolean - custom_text: String - show_start_end_input: Boolean show_start_end: Boolean - offers_and_needs: Boolean - relations: Boolean - onepager: Boolean - text_area: Boolean - text: Boolean - questlog: Boolean - icon_as_labels: Boolean + show_start_end_input: Boolean + show_text: Boolean + show_text_input: Boolean template: String + text: Boolean + text_area: Boolean + user_created: JSON + user_updated: JSON profileTemplate: JSON } """""" type version_types_profileTemplate { - id: ID - types_id: JSON - item: String collection: String + id: ID + item: String sort: Int + types_id: JSON } input attestations_directus_users_filter { - id: number_filter_operators attestations_id: attestations_filter directus_users_id: directus_users_filter + id: number_filter_operators _and: [attestations_directus_users_filter] _or: [attestations_directus_users_filter] } """""" input attestations_directus_users_quantifier_filter { - id: number_filter_operators attestations_id: attestations_filter directus_users_id: directus_users_filter + id: number_filter_operators _and: [attestations_directus_users_filter] _or: [attestations_directus_users_filter] _some: attestations_directus_users_filter @@ -2814,14 +2811,14 @@ input attestations_directus_users_quantifier_filter { } input attestations_filter { - id: id_filter_operators - user_created: directus_users_filter + color: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators - text: string_filter_operators - color: string_filter_operators emoji: string_filter_operators + id: id_filter_operators shape: string_filter_operators + text: string_filter_operators + user_created: directus_users_filter to: attestations_directus_users_quantifier_filter to_func: count_function_filter_operators _and: [attestations_filter] @@ -2851,14 +2848,14 @@ input boolean_filter_operators { } input contactInfos_filter { - id: id_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators heading: string_filter_operators + id: id_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [contactInfos_filter] _or: [contactInfos_filter] } @@ -2868,37 +2865,37 @@ input count_function_filter_operators { } input create_attestations_directus_users_input { - id: ID attestations_id: create_attestations_input directus_users_id: create_directus_users_input + id: ID } input create_attestations_input { - id: ID - user_created: create_directus_users_input - date_created: Date - text: String color: String + date_created: Date emoji: String + id: ID shape: String + text: String + user_created: create_directus_users_input to: [create_attestations_directus_users_input] } input create_contactInfos_input { - id: ID - user_created: create_directus_users_input date_created: Date - user_updated: create_directus_users_input date_updated: Date heading: String + id: ID + user_created: create_directus_users_input + user_updated: create_directus_users_input } input create_crowdfundings_input { + date_created: Date + date_updated: Date id: ID user_created: create_directus_users_input - date_created: Date user_updated: create_directus_users_input - date_updated: Date } input create_directus_access_input { @@ -3024,100 +3021,100 @@ input create_directus_users_input { } input create_features_input { - id: ID - status: String - sort: Int - user_created: create_directus_users_input date_created: Date - user_updated: create_directus_users_input date_updated: Date heading: String + id: ID + sort: Int + status: String symbol: String text: String + user_created: create_directus_users_input + user_updated: create_directus_users_input } input create_gallery_input { - id: ID - user_created: create_directus_users_input date_created: Date - user_updated: create_directus_users_input date_updated: Date hideInputLabel: Boolean + id: ID + user_created: create_directus_users_input + user_updated: create_directus_users_input } input create_groupSubheaders_groupTypes_input { - id: ID groupSubheaders_id: create_groupSubheaders_input groupTypes_id: create_groupTypes_input + id: ID } input create_groupSubheaders_input { - id: ID - user_created: create_directus_users_input date_created: Date - user_updated: create_directus_users_input date_updated: Date - shareBaseUrl: String groupStates: JSON + id: ID platforms: JSON + shareBaseUrl: String + user_created: create_directus_users_input + user_updated: create_directus_users_input groupTypes: [create_groupSubheaders_groupTypes_input] } input create_groupTypes_input { - id: ID - user_created: create_directus_users_input - date_created: Date - user_updated: create_directus_users_input - date_updated: Date - name: String color: String + date_created: Date + date_updated: Date + id: ID image: create_directus_files_input markerIcon: create_marker_icons_input + name: String + user_created: create_directus_users_input + user_updated: create_directus_users_input } input create_inviteLinks_input { + date_created: Date + date_updated: Date id: ID user_created: create_directus_users_input - date_created: Date user_updated: create_directus_users_input - date_updated: Date } input create_items_files_input { + directus_files_id: create_directus_files_input id: ID items_id: create_items_input - directus_files_id: create_directus_files_input } input create_items_input { - id: ID - user_created: create_directus_users_input + color: String + contact: String date_created: Date - user_updated: create_directus_users_input date_updated: Date - name: String - text: String - position: GraphQLGeoJSON + draft: Boolean + end: Date + group_type: String + id: ID image: create_directus_files_input layer: create_layers_input - start: Date - end: Date - color: String + markerIcon: create_marker_icons_input + name: String + next_appointment: String + openCollectiveSlug: String parent: create_items_input - subname: String + position: GraphQLGeoJSON public_edit: Boolean slug: String + start: Date status: String - markerIcon: create_marker_icons_input + subname: String telephone: String - group_type: String - next_appointment: String - contact: String - openCollectiveSlug: String - draft: Boolean + text: String + user_created: create_directus_users_input + user_updated: create_directus_users_input gallery: [create_items_files_input] - offers: [create_items_tags_input] needs: [create_items_tags_1_input] + offers: [create_items_tags_input] relations: [create_items_items_input] secrets: [create_itemSecrets_input] } @@ -3142,50 +3139,50 @@ input create_items_tags_input { } input create_itemSecrets_input { - secret: ID item: create_items_input + secret: ID } input create_junction_directus_users_tags_1_input { - id: ID directus_users_id: create_directus_users_input + id: ID tags_id: create_tags_input } input create_junction_directus_users_tags_input { - id: ID directus_users_id: create_directus_users_input + id: ID tags_id: create_tags_input } input create_layers_directus_users_1_input { + directus_users_id: create_directus_users_input id: ID layers_id: create_layers_input - directus_users_id: create_directus_users_input } input create_layers_files_input { + directus_files_id: create_directus_files_input id: ID layers_id: create_layers_input - directus_files_id: create_directus_files_input } input create_layers_input { id: ID - name: String - markerShape: String - menuText: String - menuColor: String indexIcon: create_directus_files_input - menuIcon: create_directus_files_input - onlyOnePerOwner: Boolean - itemType: create_types_input index_plus_button: Boolean - public_edit_items: Boolean - markerIcon: create_marker_icons_input - markerDefaultColor2: String - listed: Boolean + itemType: create_types_input item_presets: JSON + listed: Boolean + markerDefaultColor2: String + markerIcon: create_marker_icons_input + markerShape: String + menuColor: String + menuIcon: create_directus_files_input + menuText: String + name: String + onlyOnePerOwner: Boolean + public_edit_items: Boolean userProfileLayer: Boolean maps: [create_layers_maps_input] notifications: [create_layers_directus_users_1_input] @@ -3198,51 +3195,50 @@ input create_layers_maps_input { } input create_maps_input { - id: ID - name: String - url: String - logo: create_directus_files_input - zoom: Int center: GraphQLGeoJSON - own_tag_space: Boolean - - """You can include GeoJSON""" - geo: JSON - show_layer_control: Boolean - show_filter_control: Boolean - user_type: create_types_input """Replace the info text in the info popup""" custom_text: String - show_gratitude_control: Boolean + default_theme: create_Themes_input """Shows a donation widget after 10 minutes""" donation_widget: Boolean - show_theme_control: Boolean - default_theme: create_Themes_input - show_zoom_control: Boolean! expand_layer_control: Boolean + + """You can include GeoJSON""" + geo: JSON + id: ID info_open: Boolean - tile_server_url: String + logo: create_directus_files_input + name: String + own_tag_space: Boolean + show_filter_control: Boolean + show_gratitude_control: Boolean + show_layer_control: Boolean + show_theme_control: Boolean + show_zoom_control: Boolean! tile_server_attribution: String + tile_server_url: String + url: String + zoom: Int layers: [create_layers_maps_input] } input create_marker_icons_input { id: ID! - size: Float image: create_directus_files_input + size: Float } input create_oceannomads_profiles_input { - id: ID! + avatar_url: String date_created: Date date_updated: Date email: String first_name: String + id: ID! last_name: String location: String - avatar_url: String } input create_relations_input { @@ -3251,48 +3247,48 @@ input create_relations_input { } input create_startEnd_input { + date_created: Date + date_updated: Date id: ID user_created: create_directus_users_input - date_created: Date user_updated: create_directus_users_input - date_updated: Date } input create_tags_input { - id: ID - name: String color: String + date_created: Date + id: ID map: create_maps_input + name: String offer_or_need: Boolean user_created: ID - date_created: Date } input create_team_input { - id: ID - status: String - sort: Int - user_created: create_directus_users_input date_created: Date - user_updated: create_directus_users_input date_updated: Date + id: ID + image: create_directus_files_input name: String role: String + sort: Int + status: String text: String - image: create_directus_files_input + user_created: create_directus_users_input + user_updated: create_directus_users_input } input create_texts_input { - id: ID - user_created: create_directus_users_input + dataField: String date_created: Date - user_updated: create_directus_users_input date_updated: Date heading: String hideWhenEmpty: Boolean - dataField: String - size: String + id: ID showMarkdownHint: Boolean + size: String + user_created: create_directus_users_input + user_updated: create_directus_users_input } input create_Themes_input { @@ -3300,47 +3296,47 @@ input create_Themes_input { } input create_types_input { - id: ID - user_created: create_directus_users_input + custom_text: String date_created: Date - user_updated: create_directus_users_input date_updated: Date + icon_as_labels: Boolean + id: ID name: String - show_text_input: Boolean + offers_and_needs: Boolean + onepager: Boolean + questlog: Boolean + relations: Boolean + show_name: Boolean show_name_input: Boolean show_profile_button: Boolean - show_text: Boolean - show_name: Boolean - custom_text: String - show_start_end_input: Boolean show_start_end: Boolean - offers_and_needs: Boolean - relations: Boolean - onepager: Boolean - text_area: Boolean - text: Boolean - questlog: Boolean - icon_as_labels: Boolean + show_start_end_input: Boolean + show_text: Boolean + show_text_input: Boolean template: String + text: Boolean + text_area: Boolean + user_created: create_directus_users_input + user_updated: create_directus_users_input profileTemplate: [create_types_profileTemplate_input] } input create_types_profileTemplate_input { - id: ID - types_id: create_types_input - item: String collection: String + id: ID + item: String sort: Int + types_id: create_types_input } input crowdfundings_filter { - id: id_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators + id: id_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [crowdfundings_filter] _or: [crowdfundings_filter] } @@ -3820,31 +3816,31 @@ input directus_versions_filter { } input features_filter { - id: number_filter_operators - status: string_filter_operators - sort: number_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators heading: string_filter_operators + id: number_filter_operators + sort: number_filter_operators + status: string_filter_operators symbol: string_filter_operators text: string_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [features_filter] _or: [features_filter] } input gallery_filter { - id: id_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators hideInputLabel: boolean_filter_operators + id: id_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [gallery_filter] _or: [gallery_filter] } @@ -3861,18 +3857,18 @@ input geometry_filter_operators { } input groupSubheaders_filter { - id: id_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators - shareBaseUrl: string_filter_operators groupStates: string_filter_operators groupStates_func: count_function_filter_operators + id: id_filter_operators platforms: string_filter_operators platforms_func: count_function_filter_operators + shareBaseUrl: string_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter groupTypes: groupSubheaders_groupTypes_quantifier_filter groupTypes_func: count_function_filter_operators _and: [groupSubheaders_filter] @@ -3880,18 +3876,18 @@ input groupSubheaders_filter { } input groupSubheaders_groupTypes_filter { - id: number_filter_operators groupSubheaders_id: groupSubheaders_filter groupTypes_id: groupTypes_filter + id: number_filter_operators _and: [groupSubheaders_groupTypes_filter] _or: [groupSubheaders_groupTypes_filter] } """""" input groupSubheaders_groupTypes_quantifier_filter { - id: number_filter_operators groupSubheaders_id: groupSubheaders_filter groupTypes_id: groupTypes_filter + id: number_filter_operators _and: [groupSubheaders_groupTypes_filter] _or: [groupSubheaders_groupTypes_filter] _some: groupSubheaders_groupTypes_filter @@ -3899,17 +3895,17 @@ input groupSubheaders_groupTypes_quantifier_filter { } input groupTypes_filter { - id: id_filter_operators - user_created: directus_users_filter + color: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators - name: string_filter_operators - color: string_filter_operators + id: id_filter_operators image: directus_files_filter markerIcon: marker_icons_filter + name: string_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [groupTypes_filter] _or: [groupTypes_filter] } @@ -3944,30 +3940,30 @@ input id_filter_operators { } input inviteLinks_filter { - id: id_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators + id: id_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [inviteLinks_filter] _or: [inviteLinks_filter] } input items_files_filter { + directus_files_id: directus_files_filter id: number_filter_operators items_id: items_filter - directus_files_id: directus_files_filter _and: [items_files_filter] _or: [items_files_filter] } """""" input items_files_quantifier_filter { + directus_files_id: directus_files_filter id: number_filter_operators items_id: items_filter - directus_files_id: directus_files_filter _and: [items_files_filter] _or: [items_files_filter] _some: items_files_filter @@ -3975,41 +3971,41 @@ input items_files_quantifier_filter { } input items_filter { - id: id_filter_operators - user_created: directus_users_filter + color: string_filter_operators + contact: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators - name: string_filter_operators - text: string_filter_operators - position: geometry_filter_operators - image: directus_files_filter - layer: layers_filter - start: date_filter_operators - start_func: datetime_function_filter_operators + draft: boolean_filter_operators end: date_filter_operators end_func: datetime_function_filter_operators - color: string_filter_operators + group_type: string_filter_operators + id: id_filter_operators + image: directus_files_filter + layer: layers_filter + markerIcon: marker_icons_filter + name: string_filter_operators + next_appointment: string_filter_operators + openCollectiveSlug: string_filter_operators parent: items_filter - subname: string_filter_operators + position: geometry_filter_operators public_edit: boolean_filter_operators slug: string_filter_operators + start: date_filter_operators + start_func: datetime_function_filter_operators status: string_filter_operators - markerIcon: marker_icons_filter + subname: string_filter_operators telephone: string_filter_operators - group_type: string_filter_operators - next_appointment: string_filter_operators - contact: string_filter_operators - openCollectiveSlug: string_filter_operators - draft: boolean_filter_operators + text: string_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter gallery: items_files_quantifier_filter gallery_func: count_function_filter_operators - offers: items_tags_quantifier_filter - offers_func: count_function_filter_operators needs: items_tags_1_quantifier_filter needs_func: count_function_filter_operators + offers: items_tags_quantifier_filter + offers_func: count_function_filter_operators relations: items_items_quantifier_filter relations_func: count_function_filter_operators secrets: itemSecrets_quantifier_filter @@ -4078,16 +4074,16 @@ input items_tags_quantifier_filter { } input itemSecrets_filter { - secret: id_filter_operators item: items_filter + secret: id_filter_operators _and: [itemSecrets_filter] _or: [itemSecrets_filter] } """""" input itemSecrets_quantifier_filter { - secret: id_filter_operators item: items_filter + secret: id_filter_operators _and: [itemSecrets_filter] _or: [itemSecrets_filter] _some: itemSecrets_filter @@ -4095,34 +4091,34 @@ input itemSecrets_quantifier_filter { } input junction_directus_users_tags_1_filter { - id: number_filter_operators directus_users_id: directus_users_filter + id: number_filter_operators tags_id: tags_filter _and: [junction_directus_users_tags_1_filter] _or: [junction_directus_users_tags_1_filter] } input junction_directus_users_tags_filter { - id: number_filter_operators directus_users_id: directus_users_filter + id: number_filter_operators tags_id: tags_filter _and: [junction_directus_users_tags_filter] _or: [junction_directus_users_tags_filter] } input layers_directus_users_1_filter { + directus_users_id: directus_users_filter id: number_filter_operators layers_id: layers_filter - directus_users_id: directus_users_filter _and: [layers_directus_users_1_filter] _or: [layers_directus_users_1_filter] } """""" input layers_directus_users_1_quantifier_filter { + directus_users_id: directus_users_filter id: number_filter_operators layers_id: layers_filter - directus_users_id: directus_users_filter _and: [layers_directus_users_1_filter] _or: [layers_directus_users_1_filter] _some: layers_directus_users_1_filter @@ -4130,30 +4126,30 @@ input layers_directus_users_1_quantifier_filter { } input layers_files_filter { + directus_files_id: directus_files_filter id: number_filter_operators layers_id: layers_filter - directus_files_id: directus_files_filter _and: [layers_files_filter] _or: [layers_files_filter] } input layers_filter { id: id_filter_operators - name: string_filter_operators - markerShape: string_filter_operators - menuText: string_filter_operators - menuColor: string_filter_operators indexIcon: directus_files_filter - menuIcon: directus_files_filter - onlyOnePerOwner: boolean_filter_operators - itemType: types_filter index_plus_button: boolean_filter_operators - public_edit_items: boolean_filter_operators - markerIcon: marker_icons_filter - markerDefaultColor2: string_filter_operators - listed: boolean_filter_operators + itemType: types_filter item_presets: string_filter_operators item_presets_func: count_function_filter_operators + listed: boolean_filter_operators + markerDefaultColor2: string_filter_operators + 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 userProfileLayer: boolean_filter_operators maps: layers_maps_quantifier_filter maps_func: count_function_filter_operators @@ -4183,28 +4179,27 @@ input layers_maps_quantifier_filter { } input maps_filter { - id: id_filter_operators - name: string_filter_operators - url: string_filter_operators - logo: directus_files_filter - zoom: number_filter_operators center: geometry_filter_operators - own_tag_space: boolean_filter_operators + custom_text: string_filter_operators + default_theme: Themes_filter + donation_widget: boolean_filter_operators + expand_layer_control: boolean_filter_operators geo: string_filter_operators geo_func: count_function_filter_operators - show_layer_control: boolean_filter_operators - show_filter_control: boolean_filter_operators - user_type: types_filter - custom_text: string_filter_operators - show_gratitude_control: boolean_filter_operators - donation_widget: boolean_filter_operators - show_theme_control: boolean_filter_operators - default_theme: Themes_filter - show_zoom_control: boolean_filter_operators - expand_layer_control: boolean_filter_operators + id: id_filter_operators info_open: boolean_filter_operators - tile_server_url: string_filter_operators + logo: directus_files_filter + name: string_filter_operators + own_tag_space: boolean_filter_operators + show_filter_control: boolean_filter_operators + show_gratitude_control: boolean_filter_operators + show_layer_control: boolean_filter_operators + show_theme_control: boolean_filter_operators + show_zoom_control: boolean_filter_operators tile_server_attribution: string_filter_operators + tile_server_url: string_filter_operators + url: string_filter_operators + zoom: number_filter_operators layers: layers_maps_quantifier_filter layers_func: count_function_filter_operators _and: [maps_filter] @@ -4213,8 +4208,8 @@ input maps_filter { input marker_icons_filter { id: string_filter_operators - size: number_filter_operators image: directus_files_filter + size: number_filter_operators _and: [marker_icons_filter] _or: [marker_icons_filter] } @@ -4235,16 +4230,16 @@ input number_filter_operators { } input oceannomads_profiles_filter { - id: string_filter_operators + avatar_url: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators email: string_filter_operators first_name: string_filter_operators + id: string_filter_operators last_name: string_filter_operators location: string_filter_operators - avatar_url: string_filter_operators _and: [oceannomads_profiles_filter] _or: [oceannomads_profiles_filter] } @@ -4257,13 +4252,13 @@ input relations_filter { } input startEnd_filter { - id: id_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators + id: id_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [startEnd_filter] _or: [startEnd_filter] } @@ -4291,49 +4286,49 @@ input string_filter_operators { } input tags_filter { - id: id_filter_operators - name: string_filter_operators color: string_filter_operators - map: maps_filter - offer_or_need: boolean_filter_operators - user_created: id_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators + id: id_filter_operators + map: maps_filter + name: string_filter_operators + offer_or_need: boolean_filter_operators + user_created: id_filter_operators _and: [tags_filter] _or: [tags_filter] } input team_filter { - id: id_filter_operators - status: string_filter_operators - sort: number_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators + id: id_filter_operators + image: directus_files_filter name: string_filter_operators role: string_filter_operators + sort: number_filter_operators + status: string_filter_operators text: string_filter_operators - image: directus_files_filter + user_created: directus_users_filter + user_updated: directus_users_filter _and: [team_filter] _or: [team_filter] } input texts_filter { - id: id_filter_operators - user_created: directus_users_filter + dataField: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators heading: string_filter_operators hideWhenEmpty: boolean_filter_operators - dataField: string_filter_operators - size: string_filter_operators + id: id_filter_operators showMarkdownHint: boolean_filter_operators + size: string_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [texts_filter] _or: [texts_filter] } @@ -4345,30 +4340,30 @@ input Themes_filter { } input types_filter { - id: id_filter_operators - user_created: directus_users_filter + custom_text: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators + icon_as_labels: boolean_filter_operators + id: id_filter_operators name: string_filter_operators - show_text_input: boolean_filter_operators + offers_and_needs: boolean_filter_operators + onepager: boolean_filter_operators + questlog: boolean_filter_operators + relations: boolean_filter_operators + show_name: boolean_filter_operators show_name_input: boolean_filter_operators show_profile_button: boolean_filter_operators - show_text: boolean_filter_operators - show_name: boolean_filter_operators - custom_text: string_filter_operators - show_start_end_input: boolean_filter_operators show_start_end: boolean_filter_operators - offers_and_needs: boolean_filter_operators - relations: boolean_filter_operators - onepager: boolean_filter_operators - text_area: boolean_filter_operators - text: boolean_filter_operators - questlog: boolean_filter_operators - icon_as_labels: boolean_filter_operators + show_start_end_input: boolean_filter_operators + show_text: boolean_filter_operators + show_text_input: boolean_filter_operators template: string_filter_operators + text: boolean_filter_operators + text_area: boolean_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter profileTemplate: types_profileTemplate_quantifier_filter profileTemplate_func: count_function_filter_operators _and: [types_filter] @@ -4376,10 +4371,10 @@ input types_filter { } input types_profileTemplate_filter { - id: number_filter_operators - types_id: types_filter collection: string_filter_operators + id: number_filter_operators sort: number_filter_operators + types_id: types_filter _and: [types_profileTemplate_filter] _or: [types_profileTemplate_filter] item__groupSubheaders: groupSubheaders_filter @@ -4394,10 +4389,10 @@ input types_profileTemplate_filter { """""" input types_profileTemplate_quantifier_filter { - id: number_filter_operators - types_id: types_filter collection: string_filter_operators + id: number_filter_operators sort: number_filter_operators + types_id: types_filter _and: [types_profileTemplate_filter] _or: [types_profileTemplate_filter] _some: types_profileTemplate_filter @@ -4413,37 +4408,37 @@ input types_profileTemplate_quantifier_filter { } input update_attestations_directus_users_input { - id: ID attestations_id: update_attestations_input directus_users_id: update_directus_users_input + id: ID } input update_attestations_input { - id: ID - user_created: update_directus_users_input - date_created: Date - text: String color: String + date_created: Date emoji: String + id: ID shape: String + text: String + user_created: update_directus_users_input to: [update_attestations_directus_users_input] } input update_contactInfos_input { - id: ID - user_created: update_directus_users_input date_created: Date - user_updated: update_directus_users_input date_updated: Date heading: String + id: ID + user_created: update_directus_users_input + user_updated: update_directus_users_input } input update_crowdfundings_input { + date_created: Date + date_updated: Date id: ID user_created: update_directus_users_input - date_created: Date user_updated: update_directus_users_input - date_updated: Date } input update_directus_access_input { @@ -4569,100 +4564,100 @@ input update_directus_users_input { } input update_features_input { - id: ID - status: String - sort: Int - user_created: update_directus_users_input date_created: Date - user_updated: update_directus_users_input date_updated: Date heading: String + id: ID + sort: Int + status: String symbol: String text: String + user_created: update_directus_users_input + user_updated: update_directus_users_input } input update_gallery_input { - id: ID - user_created: update_directus_users_input date_created: Date - user_updated: update_directus_users_input date_updated: Date hideInputLabel: Boolean + id: ID + user_created: update_directus_users_input + user_updated: update_directus_users_input } input update_groupSubheaders_groupTypes_input { - id: ID groupSubheaders_id: update_groupSubheaders_input groupTypes_id: update_groupTypes_input + id: ID } input update_groupSubheaders_input { - id: ID - user_created: update_directus_users_input date_created: Date - user_updated: update_directus_users_input date_updated: Date - shareBaseUrl: String groupStates: JSON + id: ID platforms: JSON + shareBaseUrl: String + user_created: update_directus_users_input + user_updated: update_directus_users_input groupTypes: [update_groupSubheaders_groupTypes_input] } input update_groupTypes_input { - id: ID - user_created: update_directus_users_input - date_created: Date - user_updated: update_directus_users_input - date_updated: Date - name: String color: String + date_created: Date + date_updated: Date + id: ID image: update_directus_files_input markerIcon: update_marker_icons_input + name: String + user_created: update_directus_users_input + user_updated: update_directus_users_input } input update_inviteLinks_input { + date_created: Date + date_updated: Date id: ID user_created: update_directus_users_input - date_created: Date user_updated: update_directus_users_input - date_updated: Date } input update_items_files_input { + directus_files_id: update_directus_files_input id: ID items_id: update_items_input - directus_files_id: update_directus_files_input } input update_items_input { - id: ID - user_created: update_directus_users_input + color: String + contact: String date_created: Date - user_updated: update_directus_users_input date_updated: Date - name: String - text: String - position: GraphQLGeoJSON + draft: Boolean + end: Date + group_type: String + id: ID image: update_directus_files_input layer: update_layers_input - start: Date - end: Date - color: String + markerIcon: update_marker_icons_input + name: String + next_appointment: String + openCollectiveSlug: String parent: update_items_input - subname: String + position: GraphQLGeoJSON public_edit: Boolean slug: String + start: Date status: String - markerIcon: update_marker_icons_input + subname: String telephone: String - group_type: String - next_appointment: String - contact: String - openCollectiveSlug: String - draft: Boolean + text: String + user_created: update_directus_users_input + user_updated: update_directus_users_input gallery: [update_items_files_input] - offers: [update_items_tags_input] needs: [update_items_tags_1_input] + offers: [update_items_tags_input] relations: [update_items_items_input] secrets: [update_itemSecrets_input] } @@ -4687,50 +4682,50 @@ input update_items_tags_input { } input update_itemSecrets_input { - secret: ID item: update_items_input + secret: ID } input update_junction_directus_users_tags_1_input { - id: ID directus_users_id: update_directus_users_input + id: ID tags_id: update_tags_input } input update_junction_directus_users_tags_input { - id: ID directus_users_id: update_directus_users_input + id: ID tags_id: update_tags_input } input update_layers_directus_users_1_input { + directus_users_id: update_directus_users_input id: ID layers_id: update_layers_input - directus_users_id: update_directus_users_input } input update_layers_files_input { + directus_files_id: update_directus_files_input id: ID layers_id: update_layers_input - directus_files_id: update_directus_files_input } input update_layers_input { id: ID - name: String - markerShape: String - menuText: String - menuColor: String indexIcon: update_directus_files_input - menuIcon: update_directus_files_input - onlyOnePerOwner: Boolean - itemType: update_types_input index_plus_button: Boolean - public_edit_items: Boolean - markerIcon: update_marker_icons_input - markerDefaultColor2: String - listed: Boolean + itemType: update_types_input item_presets: JSON + listed: Boolean + markerDefaultColor2: String + markerIcon: update_marker_icons_input + markerShape: String + menuColor: String + menuIcon: update_directus_files_input + menuText: String + name: String + onlyOnePerOwner: Boolean + public_edit_items: Boolean userProfileLayer: Boolean maps: [update_layers_maps_input] notifications: [update_layers_directus_users_1_input] @@ -4743,51 +4738,50 @@ input update_layers_maps_input { } input update_maps_input { - id: ID - name: String - url: String - logo: update_directus_files_input - zoom: Int center: GraphQLGeoJSON - own_tag_space: Boolean - - """You can include GeoJSON""" - geo: JSON - show_layer_control: Boolean - show_filter_control: Boolean - user_type: update_types_input """Replace the info text in the info popup""" custom_text: String - show_gratitude_control: Boolean + default_theme: update_Themes_input """Shows a donation widget after 10 minutes""" donation_widget: Boolean - show_theme_control: Boolean - default_theme: update_Themes_input - show_zoom_control: Boolean expand_layer_control: Boolean + + """You can include GeoJSON""" + geo: JSON + id: ID info_open: Boolean - tile_server_url: String + logo: update_directus_files_input + name: String + own_tag_space: Boolean + show_filter_control: Boolean + show_gratitude_control: Boolean + show_layer_control: Boolean + show_theme_control: Boolean + show_zoom_control: Boolean tile_server_attribution: String + tile_server_url: String + url: String + zoom: Int layers: [update_layers_maps_input] } input update_marker_icons_input { id: ID - size: Float image: update_directus_files_input + size: Float } input update_oceannomads_profiles_input { - id: ID + avatar_url: String date_created: Date date_updated: Date email: String first_name: String + id: ID last_name: String location: String - avatar_url: String } input update_relations_input { @@ -4796,48 +4790,48 @@ input update_relations_input { } input update_startEnd_input { + date_created: Date + date_updated: Date id: ID user_created: update_directus_users_input - date_created: Date user_updated: update_directus_users_input - date_updated: Date } input update_tags_input { - id: ID - name: String color: String + date_created: Date + id: ID map: update_maps_input + name: String offer_or_need: Boolean user_created: ID - date_created: Date } input update_team_input { - id: ID - status: String - sort: Int - user_created: update_directus_users_input date_created: Date - user_updated: update_directus_users_input date_updated: Date + id: ID + image: update_directus_files_input name: String role: String + sort: Int + status: String text: String - image: update_directus_files_input + user_created: update_directus_users_input + user_updated: update_directus_users_input } input update_texts_input { - id: ID - user_created: update_directus_users_input + dataField: String date_created: Date - user_updated: update_directus_users_input date_updated: Date heading: String hideWhenEmpty: Boolean - dataField: String - size: String + id: ID showMarkdownHint: Boolean + size: String + user_created: update_directus_users_input + user_updated: update_directus_users_input } input update_Themes_input { @@ -4845,35 +4839,35 @@ input update_Themes_input { } input update_types_input { - id: ID - user_created: update_directus_users_input + custom_text: String date_created: Date - user_updated: update_directus_users_input date_updated: Date + icon_as_labels: Boolean + id: ID name: String - show_text_input: Boolean + offers_and_needs: Boolean + onepager: Boolean + questlog: Boolean + relations: Boolean + show_name: Boolean show_name_input: Boolean show_profile_button: Boolean - show_text: Boolean - show_name: Boolean - custom_text: String - show_start_end_input: Boolean show_start_end: Boolean - offers_and_needs: Boolean - relations: Boolean - onepager: Boolean - text_area: Boolean - text: Boolean - questlog: Boolean - icon_as_labels: Boolean + show_start_end_input: Boolean + show_text: Boolean + show_text_input: Boolean template: String + text: Boolean + text_area: Boolean + user_created: update_directus_users_input + user_updated: update_directus_users_input profileTemplate: [update_types_profileTemplate_input] } input update_types_profileTemplate_input { - id: ID - types_id: update_types_input - item: String collection: String + id: ID + item: String sort: Int + types_id: update_types_input } \ No newline at end of file diff --git a/backend/directus-config/specs/openapi.json b/backend/directus-config/specs/openapi.json index 49f05248..963a87d2 100644 --- a/backend/directus-config/specs/openapi.json +++ b/backend/directus-config/specs/openapi.json @@ -949,6 +949,8513 @@ ] } }, + "/roles": { + "get": { + "summary": "List Roles", + "description": "List the roles.", + "operationId": "getRoles", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Page" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Roles" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Roles" + ] + }, + "post": { + "summary": "Create a Role", + "description": "Create a new role.", + "operationId": "createRole", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "description": { + "description": "Description of the role.", + "type": "string" + }, + "enforce_tfa": { + "description": "Whether or not this role enforces the use of 2FA.", + "type": "boolean" + }, + "external_id": { + "description": "ID used with external services in SCIM.", + "type": "string" + }, + "ip_access": { + "description": "Array of IP addresses that are allowed to connect to the API as a user of this role.", + "type": "array", + "items": { + "type": "string" + } + }, + "module_listing": { + "description": "Custom override for the admin app module bar navigation.", + "type": "string" + }, + "name": { + "description": "Name of the role.", + "type": "string", + "example": "Interns" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Roles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Roles" + ] + }, + "patch": { + "summary": "Update Multiple Roles", + "description": "Update multiple roles at the same time.", + "tags": [ + "Roles" + ], + "operationId": "updateRoles", + "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": { + "properties": { + "keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "data": { + "type": "object", + "properties": { + "description": { + "description": "Description of the role.", + "type": "string" + }, + "enforce_tfa": { + "description": "Whether or not this role enforces the use of 2FA.", + "type": "boolean" + }, + "external_id": { + "description": "ID used with external services in SCIM.", + "type": "string" + }, + "ip_access": { + "description": "Array of IP addresses that are allowed to connect to the API as a user of this role.", + "type": "array", + "items": { + "type": "string" + } + }, + "module_listing": { + "description": "Custom override for the admin app module bar navigation.", + "type": "string" + }, + "name": { + "description": "Name of the role.", + "type": "string", + "example": "Interns" + } + } + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Roles" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Roles", + "description": "Delete multiple existing roles.", + "tags": [ + "Roles" + ], + "operationId": "deleteRoles", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/roles/{id}": { + "get": { + "summary": "Retrieve a Role", + "description": "Retrieve a single role by unique identifier.", + "operationId": "getRole", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Roles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Roles" + ] + }, + "patch": { + "summary": "Update a Role", + "description": "Update an existing role", + "operationId": "updateRole", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "description": { + "description": "Description of the role.", + "type": "string" + }, + "enforce_tfa": { + "description": "Whether or not this role enforces the use of 2FA.", + "type": "boolean" + }, + "external_id": { + "description": "ID used with external services in SCIM.", + "type": "string" + }, + "ip_access": { + "description": "Array of IP addresses that are allowed to connect to the API as a user of this role.", + "type": "array", + "items": { + "type": "string" + } + }, + "module_listing": { + "description": "Custom override for the admin app module bar navigation.", + "type": "string" + }, + "name": { + "description": "Name of the role.", + "type": "string" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Roles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Roles" + ] + }, + "delete": { + "summary": "Delete a Role", + "description": "Delete an existing role", + "operationId": "deleteRole", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Roles" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/collections": { + "get": { + "summary": "List Collections", + "description": "Returns a list of the collections available in the project.", + "operationId": "getCollections", + "parameters": [ + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Collections" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Collections" + ] + }, + "post": { + "summary": "Create a Collection", + "description": "Create a new collection in Directus.", + "operationId": "createCollection", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "collection", + "fields" + ], + "properties": { + "collection": { + "type": "string", + "description": "Unique name of the collection.", + "example": "my_collection" + }, + "fields": { + "type": "array", + "description": "The fields contained in this collection. See the fields reference for more information. Each individual field requires field, type, and interface to be provided.", + "items": { + "type": "object" + } + }, + "icon": { + "description": "Name of a Google Material Design Icon that's assigned to this collection.", + "type": "string", + "example": "people", + "nullable": true + }, + "note": { + "description": "A note describing the collection.", + "type": "string", + "example": null, + "nullable": true + }, + "display_template": { + "description": "Text representation of how items from this collection are shown across the system.", + "type": "string", + "example": null, + "nullable": true + }, + "hidden": { + "description": "Whether or not the collection is hidden from the navigation in the admin app.", + "type": "boolean", + "example": false + }, + "singleton": { + "description": "Whether or not the collection is treated as a single object.", + "type": "boolean", + "example": false + }, + "translation": { + "description": "Key value pairs of how to show this collection's name in different languages in the admin app.", + "type": "string", + "example": null, + "nullable": true + }, + "versioning": { + "description": "Whether or not Content Versioning is enabled for this collection.", + "type": "boolean", + "example": false + }, + "archive_field": { + "description": "What field holds the archive value.", + "type": "string", + "example": null, + "nullable": true + }, + "archive_app_filter": { + "description": "What value to use for \"archived\" items.", + "type": "string", + "example": null, + "nullable": true + }, + "archive_value": { + "description": "What value to use to \"unarchive\" items.", + "type": "string", + "example": null, + "nullable": true + }, + "unarchive_value": { + "description": "Whether or not to show the \"archived\" filter.", + "type": "string", + "example": null, + "nullable": true + }, + "sort_field": { + "description": "The sort field in the collection.", + "type": "string", + "example": null, + "nullable": true + } + } + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Collections" + } + } + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Collections" + ] + } + }, + "/collections/{id}": { + "get": { + "summary": "Retrieve a Collection", + "description": "Retrieves the details of a single collection.", + "operationId": "getCollection", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Unique identifier of the collection.", + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Collections" + } + } + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Collections" + ] + }, + "patch": { + "summary": "Update a Collection", + "description": "Update an existing collection.", + "operationId": "updateCollection", + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Unique identifier of the collection.", + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "meta": { + "description": "Metadata of the collection.", + "type": "object", + "properties": { + "icon": { + "description": "Name of a Google Material Design Icon that's assigned to this collection.", + "type": "string", + "example": "people", + "nullable": true + }, + "color": { + "description": "Choose the color for the icon assigned to this collection.", + "type": "string", + "example": "#6644ff", + "nullable": true + }, + "note": { + "description": "A note describing the collection.", + "type": "string", + "example": null, + "nullable": true + }, + "display_template": { + "description": "Text representation of how items from this collection are shown across the system.", + "type": "string", + "example": null, + "nullable": true + }, + "hidden": { + "description": "Whether or not the collection is hidden from the navigation in the admin app.", + "type": "boolean", + "example": false + }, + "singleton": { + "description": "Whether or not the collection is treated as a single object.", + "type": "boolean", + "example": false + }, + "translation": { + "description": "Key value pairs of how to show this collection's name in different languages in the admin app.", + "type": "string", + "example": null, + "nullable": true + }, + "versioning": { + "description": "Whether or not Content Versioning is enabled for this collection.", + "type": "boolean", + "example": false + }, + "archive_field": { + "description": "What field holds the archive value.", + "type": "string", + "example": null, + "nullable": true + }, + "archive_app_filter": { + "description": "What value to use for \"archived\" items.", + "type": "string", + "example": null, + "nullable": true + }, + "archive_value": { + "description": "What value to use to \"unarchive\" items.", + "type": "string", + "example": null, + "nullable": true + }, + "unarchive_value": { + "description": "Whether or not to show the \"archived\" filter.", + "type": "string", + "example": null, + "nullable": true + }, + "sort_field": { + "description": "The sort field in the collection.", + "type": "string", + "example": null, + "nullable": true + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Collections" + } + } + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Collections" + ] + }, + "delete": { + "summary": "Delete a Collection", + "description": "Delete an existing collection. Warning: This will delete the whole collection, including the items within. Proceed with caution.", + "operationId": "deleteCollection", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Collections" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "description": "Unique identifier of the collection.", + "schema": { + "type": "string" + } + } + ] + } + }, + "/fields": { + "get": { + "summary": "List All Fields", + "description": "Returns a list of the fields available in the project.", + "operationId": "getFields", + "parameters": [ + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Sort" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Fields" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Fields" + ] + } + }, + "/fields/{collection}": { + "get": { + "summary": "List Fields in Collection", + "description": "Returns a list of the fields available in the given collection.", + "operationId": "getCollectionFields", + "parameters": [ + { + "description": "Unique identifier of the collection the item resides in.", + "in": "path", + "name": "collection", + "required": true, + "schema": { + "type": "string" + } + }, + { + "$ref": "#/components/parameters/Sort" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Fields" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Fields" + ] + }, + "post": { + "summary": "Create Field in Collection", + "description": "Create a new field in a given collection.", + "operationId": "createField", + "requestBody": { + "content": { + "application/json": { + "schema": { + "required": [ + "field", + "datatype", + "type", + "length" + ], + "type": "object", + "properties": { + "field": { + "description": "Unique name of the field. Field name is unique within the collection.", + "example": "id", + "type": "string" + }, + "type": { + "description": "Directus specific data type. Used to cast values in the API.", + "example": "integer", + "type": "string" + }, + "schema": { + "description": "The schema info.", + "type": "object", + "properties": { + "name": { + "description": "The name of the field.", + "example": "title", + "type": "string" + }, + "table": { + "description": "The collection of the field.", + "example": "posts", + "type": "string" + }, + "type": { + "description": "The type of the field.", + "example": "string", + "type": "string" + }, + "default_value": { + "description": "The default value of the field.", + "example": null, + "type": "string", + "nullable": true + }, + "max_length": { + "description": "The max length of the field.", + "example": null, + "type": "integer", + "nullable": true + }, + "is_nullable": { + "description": "If the field is nullable.", + "example": false, + "type": "boolean" + }, + "is_primary_key": { + "description": "If the field is primary key.", + "example": false, + "type": "boolean" + }, + "has_auto_increment": { + "description": "If the field has auto increment.", + "example": false, + "type": "boolean" + }, + "foreign_key_column": { + "description": "Related column from the foreign key constraint.", + "example": null, + "type": "string", + "nullable": true + }, + "foreign_key_table": { + "description": "Related table from the foreign key constraint.", + "example": null, + "type": "string", + "nullable": true + }, + "comment": { + "description": "Comment as saved in the database.", + "example": null, + "type": "string", + "nullable": true + }, + "schema": { + "description": "Database schema (pg only).", + "example": "public", + "type": "string" + }, + "foreign_key_schema": { + "description": "Related schema from the foreign key constraint (pg only).", + "example": null, + "type": "string", + "nullable": true + } + } + }, + "meta": { + "description": "The meta info.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier for the field in the `directus_fields` collection.", + "example": 3, + "type": "integer" + }, + "collection": { + "description": "Unique name of the collection this field is in.", + "example": "posts", + "type": "string" + }, + "field": { + "description": "Unique name of the field. Field name is unique within the collection.", + "example": "title", + "type": "string" + }, + "special": { + "description": "Transformation flag for field", + "example": null, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "system-interface": { + "description": "What interface is used in the admin app to edit the value for this field.", + "example": "primary-key", + "type": "string", + "nullable": true + }, + "options": { + "description": "Options for the interface that's used. This format is based on the individual interface.", + "example": null, + "type": "object", + "nullable": true + }, + "display": { + "description": "What display is used in the admin app to display the value for this field.", + "example": null, + "type": "string", + "nullable": true + }, + "display_options": { + "description": "Options for the display that's used. This format is based on the individual display.", + "example": null, + "type": "object", + "nullable": true + }, + "locked": { + "description": "If the field can be altered by the end user. Directus system fields have this value set to `true`.", + "example": true, + "type": "boolean" + }, + "readonly": { + "description": "Prevents the user from editing the value in the field.", + "example": false, + "type": "boolean" + }, + "hidden": { + "description": "If this field should be hidden.", + "example": true, + "type": "boolean" + }, + "sort": { + "description": "Sort order of this field on the edit page of the admin app.", + "example": 1, + "type": "integer", + "nullable": true + }, + "width": { + "description": "Width of the field on the edit form.", + "example": null, + "type": "string", + "nullable": true, + "enum": [ + "half", + "half-left", + "half-right", + "full", + "fill", + null + ] + }, + "group": { + "description": "What field group this field is part of.", + "example": null, + "type": "integer", + "nullable": true + }, + "translation": { + "description": "Key value pair of `: ` that allows the user to change the displayed name of the field in the admin app.", + "example": null, + "type": "object", + "nullable": true + }, + "note": { + "description": "A user provided note for the field. Will be rendered alongside the interface on the edit page.", + "example": "", + "type": "string", + "nullable": true + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Fields" + } + } + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Fields" + ], + "parameters": [ + { + "description": "Unique identifier of the collection the item resides in.", + "in": "path", + "name": "collection", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/fields/{collection}/{id}": { + "get": { + "summary": "Retrieve a Field", + "description": "Retrieves the details of a single field in a given collection.", + "operationId": "getCollectionField", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Fields" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Fields" + ], + "parameters": [ + { + "name": "collection", + "in": "path", + "description": "Unique identifier of the collection the item resides in.", + "schema": { + "type": "string" + }, + "required": true + }, + { + "name": "id", + "in": "path", + "description": "Unique identifier of the field.", + "schema": { + "type": "string" + }, + "required": true + } + ] + }, + "patch": { + "summary": "Update a Field", + "description": "Update an existing field.", + "operationId": "updateField", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "field": { + "description": "Unique name of the field. Field name is unique within the collection.", + "example": "id", + "type": "string" + }, + "type": { + "description": "Directus specific data type. Used to cast values in the API.", + "example": "integer", + "type": "string" + }, + "schema": { + "description": "The schema info.", + "type": "object", + "properties": { + "name": { + "description": "The name of the field.", + "example": "title", + "type": "string" + }, + "table": { + "description": "The collection of the field.", + "example": "posts", + "type": "string" + }, + "type": { + "description": "The type of the field.", + "example": "string", + "type": "string" + }, + "default_value": { + "description": "The default value of the field.", + "example": null, + "type": "string", + "nullable": true + }, + "max_length": { + "description": "The max length of the field.", + "example": null, + "type": "integer", + "nullable": true + }, + "is_nullable": { + "description": "If the field is nullable.", + "example": false, + "type": "boolean" + }, + "is_primary_key": { + "description": "If the field is primary key.", + "example": false, + "type": "boolean" + }, + "has_auto_increment": { + "description": "If the field has auto increment.", + "example": false, + "type": "boolean" + }, + "foreign_key_column": { + "description": "Related column from the foreign key constraint.", + "example": null, + "type": "string", + "nullable": true + }, + "foreign_key_table": { + "description": "Related table from the foreign key constraint.", + "example": null, + "type": "string", + "nullable": true + }, + "comment": { + "description": "Comment as saved in the database.", + "example": null, + "type": "string", + "nullable": true + }, + "schema": { + "description": "Database schema (pg only).", + "example": "public", + "type": "string" + }, + "foreign_key_schema": { + "description": "Related schema from the foreign key constraint (pg only).", + "example": null, + "type": "string", + "nullable": true + } + } + }, + "meta": { + "description": "The meta info.", + "type": "object", + "nullable": true, + "properties": { + "id": { + "description": "Unique identifier for the field in the `directus_fields` collection.", + "example": 3, + "type": "integer" + }, + "collection": { + "description": "Unique name of the collection this field is in.", + "example": "posts", + "type": "string" + }, + "field": { + "description": "Unique name of the field. Field name is unique within the collection.", + "example": "title", + "type": "string" + }, + "special": { + "description": "Transformation flag for field", + "example": null, + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "system-interface": { + "description": "What interface is used in the admin app to edit the value for this field.", + "example": "primary-key", + "type": "string", + "nullable": true + }, + "options": { + "description": "Options for the interface that's used. This format is based on the individual interface.", + "example": null, + "type": "object", + "nullable": true + }, + "display": { + "description": "What display is used in the admin app to display the value for this field.", + "example": null, + "type": "string", + "nullable": true + }, + "display_options": { + "description": "Options for the display that's used. This format is based on the individual display.", + "example": null, + "type": "object", + "nullable": true + }, + "locked": { + "description": "If the field can be altered by the end user. Directus system fields have this value set to `true`.", + "example": true, + "type": "boolean" + }, + "readonly": { + "description": "Prevents the user from editing the value in the field.", + "example": false, + "type": "boolean" + }, + "hidden": { + "description": "If this field should be hidden.", + "example": true, + "type": "boolean" + }, + "sort": { + "description": "Sort order of this field on the edit page of the admin app.", + "example": 1, + "type": "integer", + "nullable": true + }, + "width": { + "description": "Width of the field on the edit form.", + "example": null, + "type": "string", + "nullable": true, + "enum": [ + "half", + "half-left", + "half-right", + "full", + "fill", + null + ] + }, + "group": { + "description": "What field group this field is part of.", + "example": null, + "type": "integer", + "nullable": true + }, + "translation": { + "description": "Key value pair of `: ` that allows the user to change the displayed name of the field in the admin app.", + "example": null, + "type": "object", + "nullable": true + }, + "note": { + "description": "A user provided note for the field. Will be rendered alongside the interface on the edit page.", + "example": "", + "type": "string", + "nullable": true + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Fields" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Fields" + ], + "parameters": [ + { + "name": "collection", + "in": "path", + "description": "Unique identifier of the collection the item resides in.", + "schema": { + "type": "string" + }, + "required": true + }, + { + "name": "id", + "in": "path", + "description": "Unique identifier of the field.", + "schema": { + "type": "string" + }, + "required": true + } + ] + }, + "delete": { + "summary": "Delete a Field", + "description": "Delete an existing field.", + "operationId": "deleteField", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Fields" + ], + "parameters": [ + { + "name": "collection", + "in": "path", + "description": "Unique identifier of the collection the item resides in.", + "schema": { + "type": "string" + }, + "required": true + }, + { + "name": "id", + "in": "path", + "description": "Unique identifier of the field.", + "schema": { + "type": "string" + }, + "required": true + } + ] + } + }, + "/files": { + "get": { + "summary": "List Files", + "description": "List the files.", + "tags": [ + "Files" + ], + "operationId": "getFiles", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Files" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "post": { + "summary": "Create a File", + "description": "Create a new file", + "tags": [ + "Files" + ], + "operationId": "createFile", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Files" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Files", + "description": "Update multiple files at the same time.", + "tags": [ + "Files" + ], + "operationId": "updateFiles", + "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": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "data": { + "type": "string" + } + } + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Files" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Files", + "description": "Delete multiple existing files.", + "tags": [ + "Files" + ], + "operationId": "deleteFiles", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/files/{id}": { + "get": { + "summary": "Retrieve a Files", + "description": "Retrieve a single file by unique identifier.", + "tags": [ + "Files" + ], + "operationId": "getFile", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Files" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update a File", + "description": "Update an existing file, and/or replace it's file contents.", + "tags": [ + "Files" + ], + "operationId": "updateFile", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "multipart/data": { + "schema": { + "type": "object", + "required": [ + "file" + ], + "properties": { + "title": { + "description": "Title for the file. Is extracted from the filename on upload, but can be edited by the user.", + "example": "User Avatar", + "type": "string" + }, + "filename_download": { + "description": "Preferred filename when file is downloaded.", + "type": "string" + }, + "description": { + "description": "Description for the file.", + "type": "string", + "nullable": true + }, + "folder": { + "description": "Virtual folder where this file resides in.", + "example": null, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Folders" + } + ], + "nullable": true + }, + "tags": { + "description": "Tags for the file. Is automatically populated based on Exif data for images.", + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + }, + "file": { + "description": "File contents.", + "format": "binary" + } + } + } + }, + "application/json": { + "schema": { + "type": "object", + "properties": { + "title": { + "description": "Title for the file. Is extracted from the filename on upload, but can be edited by the user.", + "example": "User Avatar", + "type": "string" + }, + "filename_download": { + "description": "Preferred filename when file is downloaded.", + "type": "string" + }, + "description": { + "description": "Description for the file.", + "type": "string", + "nullable": true + }, + "folder": { + "description": "Virtual folder where this file resides in.", + "example": null, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Folders" + } + ], + "nullable": true + }, + "tags": { + "description": "Tags for the file. Is automatically populated based on Exif data for images.", + "type": "array", + "nullable": true, + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Files" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete a File", + "description": "Delete an existing file.", + "tags": [ + "Files" + ], + "operationId": "deleteFile", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/folders": { + "get": { + "summary": "List Folders", + "description": "List the folders.", + "operationId": "getFolders", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Folders" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Folders" + ] + }, + "post": { + "summary": "Create a Folder", + "description": "Create a new folder.", + "operationId": "createFolder", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "Amsterdam", + "description": "Name of the folder." + }, + "parent": { + "description": "Unique identifier of the parent folder. This allows for nested folders.", + "type": "integer" + } + }, + "required": [ + "name" + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Folders" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Folders" + ] + }, + "patch": { + "summary": "Update Multiple Folders", + "description": "Update multiple folders at the same time.", + "tags": [ + "Folders" + ], + "operationId": "updateFolders", + "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": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "name": { + "type": "string", + "example": "Amsterdam", + "description": "Name of the folder." + }, + "parent": { + "description": "Unique identifier of the parent folder. This allows for nested folders.", + "type": "integer" + } + }, + "required": [ + "name" + ] + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Folders" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Folders", + "description": "Delete multiple existing folders.", + "tags": [ + "Folders" + ], + "operationId": "deleteFolders", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/folders/{id}": { + "get": { + "summary": "Retrieve a Folder", + "description": "Retrieve a single folder by unique identifier.", + "operationId": "getFolder", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Folders" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Folders" + ] + }, + "patch": { + "summary": "Update a Folder", + "description": "Update an existing folder", + "operationId": "updateFolder", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the folder. Can't be null or empty." + }, + "parent": { + "type": "integer", + "example": 3, + "description": "Unique identifier of the parent folder. This allows for nested folders." + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Folders" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Folders" + ] + }, + "delete": { + "summary": "Delete a Folder", + "description": "Delete an existing folder", + "operationId": "deleteFolder", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Folders" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/activity": { + "get": { + "operationId": "getActivities", + "summary": "List Activity Actions", + "description": "Returns a list of activity actions.", + "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": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Activity" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Activity" + ] + } + }, + "/activity/{id}": { + "get": { + "summary": "Retrieve an Activity Action", + "description": "Retrieves the details of an existing activity action. Provide the primary key of the activity action and Directus will return the corresponding information.", + "operationId": "getActivity", + "parameters": [ + { + "$ref": "#/components/parameters/Id" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Activity" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Activity" + ] + } + }, + "/revisions": { + "get": { + "summary": "List Revisions", + "description": "List the revisions.", + "operationId": "getRevisions", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Page" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Revisions" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Revisions" + ] + } + }, + "/revisions/{id}": { + "get": { + "summary": "Retrieve a Revision", + "description": "Retrieve a single revision by unique identifier.", + "operationId": "getRevision", + "parameters": [ + { + "$ref": "#/components/parameters/Id" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Revisions" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Revisions" + ] + } + }, + "/relations": { + "get": { + "summary": "List Relations", + "description": "List the relations.", + "operationId": "getRelations", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Page" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Relations" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Relations" + ] + }, + "post": { + "summary": "Create a Relation", + "description": "Create a new relation.", + "operationId": "createRelation", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "collection_many": { + "description": "Collection that has the field that holds the foreign key.", + "type": "string", + "example": "articles" + }, + "collection_one": { + "description": "Collection on the _one_ side of the relationship.", + "type": "string", + "example": "authors" + }, + "field_many": { + "description": "Foreign key. Field that holds the primary key of the related collection.", + "type": "string", + "example": "author" + }, + "field_one": { + "description": "Alias column that serves as the _one_ side of the relationship.", + "type": "string", + "example": "books" + }, + "junction_field": { + "description": "Field on the junction table that holds the primary key of the related collection.", + "type": "string" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Relations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Relations" + ] + } + }, + "/relations/{id}": { + "get": { + "summary": "Retrieve a Relation", + "description": "Retrieve a single relation by unique identifier.", + "operationId": "getRelation", + "parameters": [ + { + "$ref": "#/components/parameters/Id" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Relations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Relations" + ] + }, + "patch": { + "summary": "Update a Relation", + "description": "Update an existing relation", + "operationId": "updateRelation", + "parameters": [ + { + "$ref": "#/components/parameters/Id" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "collection_many": { + "description": "Collection that has the field that holds the foreign key.", + "type": "string" + }, + "collection_one": { + "description": "Collection on the _one_ side of the relationship.", + "type": "string" + }, + "field_many": { + "description": "Foreign key. Field that holds the primary key of the related collection.", + "type": "string" + }, + "field_one": { + "description": "Alias column that serves as the _one_ side of the relationship.", + "type": "string", + "example": "books" + }, + "junction_field": { + "description": "Field on the junction table that holds the primary key of the related collection.", + "type": "string" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Relations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Relations" + ] + }, + "delete": { + "summary": "Delete a Relation", + "description": "Delete an existing relation.", + "operationId": "deleteRelation", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Relations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/Id" + } + ] + } + }, + "/permissions": { + "get": { + "summary": "List Permissions", + "description": "List all permissions.", + "operationId": "getPermissions", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Page" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Permissions" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Permissions" + ] + }, + "post": { + "summary": "Create a Permission", + "description": "Create a new permission.", + "operationId": "createPermission", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "collection": { + "description": "What collection this permission applies to.", + "type": "string", + "example": "customers" + }, + "comment": { + "description": "If the user can post comments.", + "type": "string", + "enum": [ + "none", + "create", + "update", + "full" + ] + }, + "create": { + "description": "If the user can create items.", + "type": "string", + "enum": [ + "none", + "full" + ] + }, + "delete": { + "description": "If the user can update items.", + "type": "string", + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "explain": { + "description": "If the user is required to leave a comment explaining what was changed.", + "type": "string", + "enum": [ + "none", + "create", + "update", + "always" + ] + }, + "read": { + "description": "If the user can read items.", + "type": "string", + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "role": { + "description": "Unique identifier of the role this permission applies to.", + "type": "integer", + "example": 3 + }, + "read_field_blacklist": { + "description": "Explicitly denies read access for specific fields.", + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "featured_image" + ] + }, + "status": { + "description": "What status this permission applies to.", + "type": "string" + }, + "status_blacklist": { + "description": "Explicitly denies specific statuses to be used.", + "type": "array", + "items": { + "type": "string" + } + }, + "update": { + "description": "If the user can update items.", + "type": "string", + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "write_field_blacklist": { + "description": "Explicitly denies write access for specific fields.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Permissions" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Permissions" + ] + }, + "patch": { + "summary": "Update Multiple Permissions", + "description": "Update multiple permissions at the same time.", + "tags": [ + "Permissions" + ], + "operationId": "updatePermissions", + "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": { + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "data": { + "properties": { + "collection": { + "description": "What collection this permission applies to.", + "type": "string", + "example": "customers" + }, + "comment": { + "description": "If the user can post comments.", + "type": "string", + "enum": [ + "none", + "create", + "update", + "full" + ] + }, + "create": { + "description": "If the user can create items.", + "type": "string", + "enum": [ + "none", + "full" + ] + }, + "delete": { + "description": "If the user can update items.", + "type": "string", + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "explain": { + "description": "If the user is required to leave a comment explaining what was changed.", + "type": "string", + "enum": [ + "none", + "create", + "update", + "always" + ] + }, + "read": { + "description": "If the user can read items.", + "type": "string", + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "role": { + "description": "Unique identifier of the role this permission applies to.", + "type": "integer", + "example": 3 + }, + "read_field_blacklist": { + "description": "Explicitly denies read access for specific fields.", + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "featured_image" + ] + }, + "status": { + "description": "What status this permission applies to.", + "type": "string" + }, + "status_blacklist": { + "description": "Explicitly denies specific statuses to be used.", + "type": "array", + "items": { + "type": "string" + } + }, + "update": { + "description": "If the user can update items.", + "type": "string", + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "write_field_blacklist": { + "description": "Explicitly denies write access for specific fields.", + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Permissions" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Permissions", + "description": "Delete multiple existing permissions.", + "tags": [ + "Permissions" + ], + "operationId": "deletePermissions", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/permissions/me": { + "get": { + "summary": "List My Permissions", + "description": "List the permissions that apply to the current user.", + "operationId": "getMyPermissions", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Permissions" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Permissions" + ] + } + }, + "/permissions/{id}": { + "get": { + "summary": "Retrieve a Permission", + "description": "Retrieve a single permissions object by unique identifier.", + "operationId": "getPermission", + "parameters": [ + { + "$ref": "#/components/parameters/Id" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Permissions" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Permissions" + ] + }, + "patch": { + "summary": "Update a Permission", + "description": "Update an existing permission", + "operationId": "updatePermission", + "parameters": [ + { + "$ref": "#/components/parameters/Id" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "collection": { + "description": "What collection this permission applies to.", + "type": "object" + }, + "comment": { + "description": "If the user can post comments. `full`.", + "type": "string", + "enum": [ + "none", + "create", + "update" + ] + }, + "create": { + "description": "If the user can create items.", + "type": "string", + "enum": [ + "none", + "full" + ] + }, + "delete": { + "description": "If the user can update items.", + "type": "string", + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "explain": { + "description": "If the user is required to leave a comment explaining what was changed.", + "type": "string", + "enum": [ + "none", + "create", + "update", + "always" + ] + }, + "read": { + "description": "If the user can read items.", + "type": "string", + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "read_field_blacklist": { + "description": "Explicitly denies read access for specific fields.", + "type": "object" + }, + "role": { + "description": "Unique identifier of the role this permission applies to.", + "type": "object" + }, + "status": { + "description": "What status this permission applies to.", + "type": "object" + }, + "status_blacklist": { + "description": "Explicitly denies specific statuses to be used.", + "type": "object" + }, + "update": { + "description": "If the user can update items.", + "type": "string", + "enum": [ + "none", + "mine", + "role", + "full" + ] + }, + "write_field_blacklist": { + "description": "Explicitly denies write access for specific fields.", + "type": "object" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Permissions" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Permissions" + ] + }, + "delete": { + "summary": "Delete a Permission", + "description": "Delete an existing permission", + "operationId": "deletePermission", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Permissions" + ], + "parameters": [ + { + "$ref": "#/components/parameters/Id" + } + ] + } + }, + "/users": { + "get": { + "summary": "List Users", + "description": "List the users.", + "operationId": "getUsers", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$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": { + "$ref": "#/components/schemas/Users" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + }, + "post": { + "summary": "Create a User", + "description": "Create a new user.", + "operationId": "createUser", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Users" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + }, + "patch": { + "summary": "Update Multiple Users", + "description": "Update multiple users at the same time.", + "tags": [ + "Users" + ], + "operationId": "updateUsers", + "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": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Users" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Users", + "description": "Delete multiple existing users.", + "tags": [ + "Users" + ], + "operationId": "deleteUsers", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/users/{id}": { + "get": { + "summary": "Retrieve a User", + "description": "Retrieve a single user by unique identifier.", + "operationId": "getUser", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + }, + "patch": { + "summary": "Update a User", + "description": "Update an existing user", + "operationId": "updateUser", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Users" + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "object" + } + }, + "type": "object" + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + }, + "delete": { + "summary": "Delete a User", + "description": "Delete an existing user", + "operationId": "deleteUser", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/users/invite": { + "post": { + "summary": "Invite User(s)", + "description": "Invites one or more users to this project. It creates a user with an invited status, and then sends an email to the user with instructions on how to activate their account.", + "operationId": "invite", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "email": { + "description": "Email address or array of email addresses of the to-be-invited user(s).", + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + } + }, + "/users/invite/accept": { + "post": { + "summary": "Accept User Invite", + "description": "Accepts and enables an invited user using a JWT invitation token.", + "operationId": "acceptInvite", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "token": { + "type": "string", + "example": "eyJh...KmUk", + "description": "Accept invite token." + }, + "password": { + "type": "string", + "description": "Password of the user.", + "format": "password", + "example": "d1r3ctu5" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + } + }, + "/users/me": { + "get": { + "summary": "Retrieve Current User", + "description": "Retrieve the currently authenticated user.", + "operationId": "getMe", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + }, + "patch": { + "summary": "Update Current User", + "description": "Update the currently authenticated user.", + "operationId": "updateMe", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Users" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + } + }, + "/users/me/track/page": { + "patch": { + "summary": "Update Last Page", + "description": "Updates the last used page field of the currently authenticated user. This is used internally to be able to open the Directus admin app from the last page you used.", + "operationId": "updateLastUsedPageMe", + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "last_page": { + "description": "Path of the page you used last.", + "type": "string" + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + } + }, + "/users/me/tfa/enable": { + "post": { + "summary": "Enable 2FA", + "description": "Enables two-factor authentication for the currently authenticated user.", + "operationId": "meTfaEnable", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + } + }, + "/users/me/tfa/disable": { + "post": { + "summary": "Disable 2FA", + "description": "Disables two-factor authentication for the currently authenticated user.", + "operationId": "meTfaDisable", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Users" + ] + } + }, + "/presets": { + "get": { + "tags": [ + "Presets" + ], + "operationId": "getPresets", + "summary": "List Presets", + "description": "List the presets.", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Page" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Presets" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "post": { + "tags": [ + "Presets" + ], + "operationId": "createPreset", + "summary": "Create a Preset", + "description": "Create a new preset.", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "collection" + ], + "properties": { + "collection": { + "type": "string", + "description": "What collection this collection preset is used for.", + "example": "articles" + }, + "title": { + "type": "string", + "description": "Name for the bookmark. If this is set, the collection preset will be considered to be a bookmark.", + "example": "Highly rated articles" + }, + "role": { + "type": "string", + "description": "The unique identifier of a role in the platform. If user is null, this will be used to apply the collection preset or bookmark for all users in the role.", + "example": null + }, + "search": { + "type": "string", + "description": "What the user searched for in search/filter in the header bar." + }, + "filters": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "aHKLAakdVghzD" + }, + "field": { + "type": "string", + "example": "rating" + }, + "operator": { + "type": "string", + "example": "gte" + }, + "value": { + "type": "integer", + "example": 4.5 + } + } + } + }, + "layout": { + "type": "string", + "description": "Name of the view type that is used." + }, + "layout_query": { + "type": "string", + "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters." + }, + "layout_options": { + "type": "string", + "description": "Options of the views. The properties in here are controlled by the layout." + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Presets" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Presets", + "description": "Update multiple presets at the same time.", + "tags": [ + "Presets" + ], + "operationId": "updatePresets", + "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": { + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "data": { + "type": "object", + "required": [ + "collection" + ], + "properties": { + "collection": { + "type": "string", + "description": "What collection this collection preset is used for.", + "example": "articles" + }, + "title": { + "type": "string", + "description": "Name for the bookmark. If this is set, the collection preset will be considered to be a bookmark.", + "example": "Highly rated articles" + }, + "role": { + "type": "string", + "description": "The unique identifier of a role in the platform. If user is null, this will be used to apply the collection preset or bookmark for all users in the role.", + "example": null + }, + "search": { + "type": "string", + "description": "What the user searched for in search/filter in the header bar." + }, + "filters": { + "type": "array", + "items": { + "type": "object", + "properties": { + "key": { + "type": "string", + "example": "aHKLAakdVghzD" + }, + "field": { + "type": "string", + "example": "rating" + }, + "operator": { + "type": "string", + "example": "gte" + }, + "value": { + "type": "integer", + "example": 4.5 + } + } + } + }, + "layout": { + "type": "string", + "description": "Name of the view type that is used." + }, + "layout_query": { + "type": "string", + "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters." + }, + "layout_options": { + "type": "string", + "description": "Options of the views. The properties in here are controlled by the layout." + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Presets" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Presets", + "description": "Delete multiple existing presets.", + "tags": [ + "Presets" + ], + "operationId": "deletePresets", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/presets/{id}": { + "get": { + "tags": [ + "Presets" + ], + "operationId": "getPreset", + "summary": "Retrieve a Preset", + "description": "Retrieve a single preset by unique identifier.", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Id" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Presets" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "tags": [ + "Presets" + ], + "operationId": "updatePreset", + "summary": "Update a Preset", + "description": "Update an existing preset.", + "parameters": [ + { + "$ref": "#/components/parameters/Id" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "collection" + ], + "properties": { + "collection": { + "type": "string", + "description": "What collection this collection preset is used for.", + "example": "articles" + }, + "title": { + "type": "string", + "description": "Name for the bookmark. If this is set, the collection preset will be considered to be a bookmark.", + "example": "Highly rated articles" + }, + "role": { + "type": "integer", + "description": "The unique identifier of a role in the platform. If user is null, this will be used to apply the collection preset or bookmark for all users in the role." + }, + "search_query": { + "type": "string", + "description": "What the user searched for in search/filter in the header bar." + }, + "filters": { + "type": "array", + "items": { + "type": "object", + "properties": { + "field": { + "type": "string", + "example": "rating" + }, + "operator": { + "type": "string", + "example": "gte" + }, + "value": { + "type": "integer", + "example": 4.5 + } + } + } + }, + "view_type": { + "type": "string", + "description": "Name of the view type that is used. Defaults to tabular." + }, + "view_query": { + "type": "string", + "description": "View query that's saved per view type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters." + }, + "view_options": { + "type": "string", + "description": "Options of the views. The properties in here are controlled by the layout." + }, + "translation": { + "type": "object", + "description": "Key value pair of language-translation. Can be used to translate the bookmark title in multiple languages." + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Presets" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "tags": [ + "Presets" + ], + "operationId": "deletePreset", + "summary": "Delete a Preset", + "description": "Delete an existing preset.", + "security": [ + { + "Auth": [] + } + ], + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [ + { + "$ref": "#/components/parameters/Id" + } + ] + } + }, + "/webhooks": { + "get": { + "summary": "List Webhooks", + "description": "Get all webhooks.", + "operationId": "getWebhooks", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Webhooks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Webhooks" + ] + }, + "post": { + "summary": "Create a Webhook", + "description": "Create a new webhook.", + "operationId": "createWebhook", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "name": { + "description": "The name of the webhook.", + "type": "string", + "example": "create articles" + }, + "method": { + "description": "Method used in the webhook.", + "type": "string", + "example": "POST" + }, + "url": { + "description": "The url of the webhook.", + "type": "string", + "example": null + }, + "status": { + "description": "The status of the webhook.", + "type": "string", + "example": "active" + }, + "data": { + "description": "If yes, send the content of what was done", + "type": "boolean", + "example": true + }, + "actions": { + "description": "The actions that triggers this webhook.", + "example": null + }, + "system-collections": { + "description": "The collections that triggers this webhook.", + "example": null + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Roles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Webhooks" + ] + }, + "patch": { + "summary": "Update Multiple Webhooks", + "description": "Update multiple webhooks at the same time.", + "tags": [ + "Webhooks" + ], + "operationId": "updateWebhooks", + "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": { + "properties": { + "data": { + "properties": { + "name": { + "description": "The name of the webhook.", + "type": "string", + "example": "create articles" + }, + "method": { + "description": "Method used in the webhook.", + "type": "string", + "example": "POST" + }, + "url": { + "description": "The url of the webhook.", + "type": "string", + "example": null + }, + "status": { + "description": "The status of the webhook.", + "type": "string", + "example": "active" + }, + "data": { + "description": "If yes, send the content of what was done", + "type": "boolean", + "example": true + }, + "actions": { + "description": "The actions that triggers this webhook.", + "example": null + }, + "system-collections": { + "description": "The collections that triggers this webhook.", + "example": null + } + }, + "type": "object" + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Webhooks" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Webhooks", + "description": "Delete multiple existing webhooks.", + "tags": [ + "Webhooks" + ], + "operationId": "deleteWebhooks", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/webhooks/{id}": { + "get": { + "summary": "Retrieve a Webhook", + "description": "Retrieve a single webhook by unique identifier.", + "operationId": "getWebhook", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Webhooks" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Webhooks" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + }, + "patch": { + "summary": "Update a Webhook", + "description": "Update an existing webhook", + "operationId": "updateWebhook", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "name": { + "description": "The name of the webhook.", + "type": "string", + "example": "create articles" + }, + "method": { + "description": "Method used in the webhook.", + "type": "string", + "example": "POST" + }, + "url": { + "description": "The url of the webhook.", + "type": "string", + "example": null + }, + "status": { + "description": "The status of the webhook.", + "type": "string", + "example": "active" + }, + "data": { + "description": "If yes, send the content of what was done", + "type": "boolean", + "example": true + }, + "actions": { + "description": "The actions that triggers this webhook.", + "example": null + }, + "system-collections": { + "description": "The collections that triggers this webhook.", + "example": null + } + }, + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Roles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Webhooks" + ] + }, + "delete": { + "summary": "Delete a Webhook", + "description": "Delete an existing webhook", + "operationId": "deleteWebhook", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Webhooks" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/flows": { + "get": { + "summary": "List Flows", + "description": "Get all flows.", + "operationId": "getFlows", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Flows" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Flows" + ] + }, + "post": { + "summary": "Create a Flow", + "description": "Create a new flow.", + "operationId": "createFlow", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Flows" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Flows" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Flows" + ] + }, + "patch": { + "summary": "Update Multiple Flows", + "description": "Update multiple flows at the same time.", + "tags": [ + "Flows" + ], + "operationId": "updateFlows", + "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": { + "type": "object", + "properties": { + "data": { + "anyOf": [ + { + "$ref": "#/components/schemas/Flows" + } + ] + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Flows" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Flows", + "description": "Delete multiple existing flows.", + "tags": [ + "Flows" + ], + "operationId": "deleteFlows", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/flows/{id}": { + "get": { + "summary": "Retrieve a Flow", + "description": "Retrieve a single flow by unique identifier.", + "operationId": "getFlow", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Flows" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Flows" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + }, + "patch": { + "summary": "Update a Flow", + "description": "Update an existing flow", + "operationId": "updateFlow", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Flows" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Flows" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Flows" + ] + }, + "delete": { + "summary": "Delete a Flow", + "description": "Delete an existing flow", + "operationId": "deleteFlow", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Flows" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/operations": { + "get": { + "summary": "List Operations", + "description": "Get all operations.", + "operationId": "getOperations", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Operations" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Operations" + ] + }, + "post": { + "summary": "Create an Operation", + "description": "Create a new operation.", + "operationId": "createOperation", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Operations" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Operations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Operations" + ] + }, + "patch": { + "summary": "Update Multiple Operations", + "description": "Update multiple operations at the same time.", + "tags": [ + "Operations" + ], + "operationId": "updateOperations", + "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": { + "type": "object", + "properties": { + "data": { + "anyOf": [ + { + "$ref": "#/components/schemas/Operations" + } + ] + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Operations" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Operations", + "description": "Delete multiple existing operations.", + "tags": [ + "Operations" + ], + "operationId": "deleteOperations", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/operations/{id}": { + "get": { + "summary": "Retrieve an Operation", + "description": "Retrieve a single operation by unique identifier.", + "operationId": "getOperation", + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Operations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + }, + "patch": { + "summary": "Update an Operation", + "description": "Update an existing operation", + "operationId": "updateOperation", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Operations" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Operations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Operations" + ] + }, + "delete": { + "summary": "Delete an Operation", + "description": "Delete an existing operation", + "operationId": "deleteOperation", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Operations" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/comments": { + "get": { + "tags": [ + "Comments" + ], + "operationId": "getComments", + "summary": "List Comments", + "description": "List the comments.", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Page" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Comments" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "post": { + "tags": [ + "Comments" + ], + "operationId": "createComment", + "summary": "Create a Comment", + "description": "Create a new comment.", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "collection", + "item", + "comment" + ], + "properties": { + "collection": { + "type": "string", + "description": "Which collection this collection comment is for.", + "example": "projects" + }, + "item": { + "type": "string", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" + }, + "comment": { + "type": "string", + "example": "A new comment" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Comments" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Comments", + "description": "Update multiple comments at the same time.", + "tags": [ + "Comments" + ], + "operationId": "updateComments", + "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": { + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "data": { + "type": "object", + "required": [ + "collection" + ], + "properties": { + "collection": { + "type": "string", + "description": "Which collection this collection comment is for.", + "example": "projects" + }, + "item": { + "type": "string", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" + }, + "comment": { + "type": "string", + "example": "A new comment" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Comments" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "delete": { + "summary": "Delete Multiple Comments", + "description": "Delete multiple existing comments.", + "tags": [ + "Comments" + ], + "operationId": "deleteComments", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/comments/{id}": { + "get": { + "tags": [ + "Comments" + ], + "operationId": "getComment", + "summary": "Retrieve a Comment", + "description": "Retrieve a single comment by unique identifier.", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Comments" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "tags": [ + "Comments" + ], + "operationId": "updateComment", + "summary": "Update a Comment", + "description": "Update an existing comment.", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "collection" + ], + "properties": { + "collection": { + "type": "string", + "description": "Which collection this comment is for.", + "example": "projects" + }, + "item": { + "type": "string", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" + }, + "comment": { + "type": "string", + "example": "An updated comment" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Comments" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "tags": [ + "Comments" + ], + "operationId": "deleteComment", + "summary": "Delete a Comment", + "description": "Delete an existing comment.", + "security": [ + { + "Auth": [] + } + ], + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + } + }, + "/versions": { + "get": { + "summary": "List Content Versions", + "description": "Get all Content Versions.", + "operationId": "getContentVersions", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$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": { + "$ref": "#/components/schemas/Versions" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + }, + "post": { + "summary": "Create Multiple Content Versions", + "description": "Create multiple new Content Versions.", + "operationId": "createContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Versions" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Versions" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + }, + "patch": { + "summary": "Update Multiple Content Versions", + "description": "Update multiple Content Versions at the same time.", + "operationId": "updateContentVersions", + "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": { + "type": "object", + "properties": { + "data": { + "anyOf": [ + { + "$ref": "#/components/schemas/Versions" + } + ] + }, + "keys": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Versions" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "tags": [ + "Versions" + ] + }, + "delete": { + "summary": "Delete Multiple Content Versions", + "description": "Delete multiple existing Content Versions.", + "operationId": "deleteContentVersions", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "tags": [ + "Versions" + ] + } + }, + "/versions/{id}": { + "get": { + "summary": "Retrieve a Content Version", + "description": "Retrieve a single Content Version by unique identifier.", + "operationId": "getContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Versions" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + }, + "patch": { + "summary": "Update a Content Version", + "description": "Update an existing Content Version.", + "operationId": "updateContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + }, + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/Versions" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Versions" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + }, + "delete": { + "summary": "Delete a Content Version", + "description": "Delete an existing Content Version.", + "operationId": "deleteContentVersion", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ], + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ] + } + }, + "/versions/{id}/save": { + "post": { + "summary": "Save to a Content Version", + "description": "Save item changes to an existing Content Version.", + "operationId": "saveContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + } + }, + "/versions/{id}/compare": { + "get": { + "summary": "Compare a Content Version", + "description": "Compare an existing Content Version with the main version of the item.", + "operationId": "compareContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ], + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "object" + } + }, + "type": "object" + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + } + }, + "/versions/{id}/promote": { + "post": { + "summary": "Promote a Content Version", + "description": "Pass the current hash of the main version of the item (obtained from the `compare` endpoint) along with an optional array of field names of which the values are to be promoted (by default, all fields are selected).", + "operationId": "promoteContentVersion", + "parameters": [ + { + "$ref": "#/components/parameters/UUId" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "mainHash": { + "description": "Hash of the main version of the item to be promoted.", + "type": "string" + }, + "fields": { + "description": "Optional array of field names of which the values are to be promoted.", + "type": "string" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": {} + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Versions" + ] + } + }, + "/settings": { + "get": { + "summary": "Retrieve Settings", + "description": "List the settings.", + "operationId": "getSettings", + "parameters": [ + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Page" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Settings" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Settings" + ] + }, + "patch": { + "summary": "Update Settings", + "description": "Update the settings", + "operationId": "updateSetting", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Settings" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Settings" + ] + } + }, + "/extensions": { + "get": { + "summary": "List Extensions", + "description": "List the installed extensions and their configuration in the project.", + "operationId": "listExtensions", + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Extensions" + } + } + } + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "tags": [ + "Extensions" + ] + } + }, + "/extensions/{name}": { + "patch": { + "summary": "Update an Extension", + "description": "Update an existing extension.", + "operationId": "updateExtensions", + "parameters": [ + { + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "meta": { + "type": "object", + "description": "Directus metadata for the extension. Where the configuration for the extension in the current project is stored.", + "properties": { + "enabled": { + "description": "Whether or not the extension is enabled.", + "example": true, + "type": "boolean" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Extensions" + } + } + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Extensions" + ] + } + }, + "/extensions/{bundle}/{name}": { + "patch": { + "summary": "Update an Extension", + "description": "Update an existing extension.", + "operationId": "updateExtensionBundle", + "parameters": [ + { + "in": "path", + "name": "bundle", + "required": true, + "schema": { + "type": "string" + } + }, + { + "in": "path", + "name": "name", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "meta": { + "type": "object", + "description": "Directus metadata for the extension. Where the configuration for the extension in the current project is stored.", + "properties": { + "enabled": { + "description": "Whether or not the extension is enabled.", + "example": true, + "type": "boolean" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/Extensions" + } + } + } + } + }, + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "tags": [ + "Extensions" + ] + } + }, + "/items/directus_sync_id_map": { + "post": { + "summary": "Create an Item", + "description": "Create a new directus_sync_id_map item.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "createItemsDirectusSyncIDMap", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + } + }, + { + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the directus_sync_id_map items.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "readItemsDirectusSyncIDMap", + "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/ItemsDirectusSyncIDMap" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple directus_sync_id_map items at the same time.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "updateItemsDirectusSyncIDMap", + "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/ItemsDirectusSyncIDMap" + } + }, + { + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing directus_sync_id_map items.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "deleteItemsDirectusSyncIDMap", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/directus_sync_id_map/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single directus_sync_id_map item by unique identifier.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "readSingleItemsDirectusSyncIDMap", + "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/ItemsDirectusSyncIDMap" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing directus_sync_id_map item.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "updateSingleItemsDirectusSyncIDMap", + "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/ItemsDirectusSyncIDMap" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing directus_sync_id_map item.", + "tags": [ + "Items", + "ItemsDirectusSyncIDMap" + ], + "operationId": "deleteSingleItemsDirectusSyncIDMap", + "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/relations": { + "post": { + "summary": "Create an Item", + "description": "Create a new relations item.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "createItemsRelations", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsRelations" + } + }, + { + "$ref": "#/components/schemas/ItemsRelations" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsRelations" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the relations items.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "readItemsRelations", + "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/ItemsRelations" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple relations items at the same time.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "updateItemsRelations", + "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/ItemsRelations" + } + }, + { + "$ref": "#/components/schemas/ItemsRelations" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsRelations" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing relations items.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "deleteItemsRelations", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/relations/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single relations item by unique identifier.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "readSingleItemsRelations", + "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/ItemsRelations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing relations item.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "updateSingleItemsRelations", + "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/ItemsRelations" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsRelations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing relations item.", + "tags": [ + "Items", + "ItemsRelations" + ], + "operationId": "deleteSingleItemsRelations", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "parameters": [ + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ] + } + }, + "/items/oceannomads_profiles": { + "post": { + "summary": "Create an Item", + "description": "Create a new oceannomads_profiles item.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "createItemsOceannomadsProfiles", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + }, + { + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the oceannomads_profiles items.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "readItemsOceannomadsProfiles", + "security": [ + { + "Auth": [] + } + ], + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple oceannomads_profiles items at the same time.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "updateItemsOceannomadsProfiles", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Limit" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Offset" + }, + { + "$ref": "#/components/parameters/Sort" + }, + { + "$ref": "#/components/parameters/Filter" + }, + { + "$ref": "#/components/parameters/Search" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + }, + { + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing oceannomads_profiles items.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "deleteItemsOceannomadsProfiles", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/oceannomads_profiles/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single oceannomads_profiles item by unique identifier.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "readSingleItemsOceannomadsProfiles", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "$ref": "#/components/parameters/Version" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing oceannomads_profiles item.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "updateSingleItemsOceannomadsProfiles", + "parameters": [ + { + "$ref": "#/components/parameters/Fields" + }, + { + "$ref": "#/components/parameters/Meta" + }, + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsOceannomadsProfiles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing oceannomads_profiles item.", + "tags": [ + "Items", + "ItemsOceannomadsProfiles" + ], + "operationId": "deleteSingleItemsOceannomadsProfiles", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + }, + "parameters": [ + { + "name": "id", + "description": "Index of the item.", + "in": "path", + "required": true, + "schema": { + "oneOf": [ + { + "type": "integer", + "description": "Incremental index of the item.", + "example": 1 + }, + { + "type": "string", + "description": "Unique identifier of the item.", + "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" + } + ] + } + } + ] + } + }, + "/items/attestations": { + "post": { + "summary": "Create an Item", + "description": "Create a new attestations item.", + "tags": [ + "Items", + "ItemsAttestations" + ], + "operationId": "createItemsAttestations", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsAttestations" + } + }, + { + "$ref": "#/components/schemas/ItemsAttestations" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsAttestations" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the attestations items.", + "tags": [ + "Items", + "ItemsAttestations" + ], + "operationId": "readItemsAttestations", + "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/ItemsAttestations" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple attestations items at the same time.", + "tags": [ + "Items", + "ItemsAttestations" + ], + "operationId": "updateItemsAttestations", + "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/ItemsAttestations" + } + }, + { + "$ref": "#/components/schemas/ItemsAttestations" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsAttestations" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing attestations items.", + "tags": [ + "Items", + "ItemsAttestations" + ], + "operationId": "deleteItemsAttestations", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/attestations/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single attestations item by unique identifier.", + "tags": [ + "Items", + "ItemsAttestations" + ], + "operationId": "readSingleItemsAttestations", + "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/ItemsAttestations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing attestations item.", + "tags": [ + "Items", + "ItemsAttestations" + ], + "operationId": "updateSingleItemsAttestations", + "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/ItemsAttestations" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsAttestations" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing attestations item.", + "tags": [ + "Items", + "ItemsAttestations" + ], + "operationId": "deleteSingleItemsAttestations", + "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_directus_users": { + "post": { + "summary": "Create an Item", + "description": "Create a new attestations_directus_users item.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "createItemsAttestationsDirectusUsers", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + }, + { + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the attestations_directus_users items.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "readItemsAttestationsDirectusUsers", + "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/ItemsAttestationsDirectusUsers" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple attestations_directus_users items at the same time.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "updateItemsAttestationsDirectusUsers", + "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/ItemsAttestationsDirectusUsers" + } + }, + { + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing attestations_directus_users items.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "deleteItemsAttestationsDirectusUsers", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/attestations_directus_users/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single attestations_directus_users item by unique identifier.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "readSingleItemsAttestationsDirectusUsers", + "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/ItemsAttestationsDirectusUsers" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing attestations_directus_users item.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "updateSingleItemsAttestationsDirectusUsers", + "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/ItemsAttestationsDirectusUsers" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing attestations_directus_users item.", + "tags": [ + "Items", + "ItemsAttestationsDirectusUsers" + ], + "operationId": "deleteSingleItemsAttestationsDirectusUsers", + "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/contactInfos": { "post": { "summary": "Create an Item", @@ -1727,15 +10234,15 @@ ] } }, - "/items/Themes": { + "/items/features": { "post": { "summary": "Create an Item", - "description": "Create a new Themes item.", + "description": "Create a new features item.", "tags": [ "Items", - "ItemsThemes" + "ItemsFeatures" ], - "operationId": "createItemsThemes", + "operationId": "createItemsFeatures", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -1749,11 +10256,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsThemes" + "$ref": "#/components/schemas/ItemsFeatures" } }, { - "$ref": "#/components/schemas/ItemsThemes" + "$ref": "#/components/schemas/ItemsFeatures" } ] } @@ -1771,7 +10278,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsThemes" + "$ref": "#/components/schemas/ItemsFeatures" } } } @@ -1786,12 +10293,12 @@ }, "get": { "summary": "List Items", - "description": "List the Themes items.", + "description": "List the features items.", "tags": [ "Items", - "ItemsThemes" + "ItemsFeatures" ], - "operationId": "readItemsThemes", + "operationId": "readItemsFeatures", "security": [ { "Auth": [] @@ -1832,7 +10339,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsThemes" + "$ref": "#/components/schemas/ItemsFeatures" } }, "meta": { @@ -1850,12 +10357,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple Themes items at the same time.", + "description": "Update multiple features items at the same time.", "tags": [ "Items", - "ItemsThemes" + "ItemsFeatures" ], - "operationId": "updateItemsThemes", + "operationId": "updateItemsFeatures", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -1887,11 +10394,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsThemes" + "$ref": "#/components/schemas/ItemsFeatures" } }, { - "$ref": "#/components/schemas/ItemsThemes" + "$ref": "#/components/schemas/ItemsFeatures" } ] } @@ -1908,7 +10415,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsThemes" + "$ref": "#/components/schemas/ItemsFeatures" } } } @@ -1920,12 +10427,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing Themes items.", + "description": "Delete multiple existing features items.", "tags": [ "Items", - "ItemsThemes" + "ItemsFeatures" ], - "operationId": "deleteItemsThemes", + "operationId": "deleteItemsFeatures", "responses": { "200": { "description": "Successful request" @@ -1937,15 +10444,15 @@ "parameters": [] } }, - "/items/Themes/{id}": { + "/items/features/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single Themes item by unique identifier.", + "description": "Retrieve a single features item by unique identifier.", "tags": [ "Items", - "ItemsThemes" + "ItemsFeatures" ], - "operationId": "readSingleItemsThemes", + "operationId": "readSingleItemsFeatures", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -1987,7 +10494,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsThemes" + "$ref": "#/components/schemas/ItemsFeatures" } } } @@ -2004,12 +10511,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing Themes item.", + "description": "Update an existing features item.", "tags": [ "Items", - "ItemsThemes" + "ItemsFeatures" ], - "operationId": "updateSingleItemsThemes", + "operationId": "updateSingleItemsFeatures", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -2043,7 +10550,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsThemes" + "$ref": "#/components/schemas/ItemsFeatures" } } } @@ -2058,7 +10565,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsThemes" + "$ref": "#/components/schemas/ItemsFeatures" } } } @@ -2075,7352 +10582,12 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing Themes item.", + "description": "Delete an existing features item.", "tags": [ "Items", - "ItemsThemes" + "ItemsFeatures" ], - "operationId": "deleteSingleItemsThemes", - "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", - "description": "Create a new attestations item.", - "tags": [ - "Items", - "ItemsAttestations" - ], - "operationId": "createItemsAttestations", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsAttestations" - } - }, - { - "$ref": "#/components/schemas/ItemsAttestations" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsAttestations" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the attestations items.", - "tags": [ - "Items", - "ItemsAttestations" - ], - "operationId": "readItemsAttestations", - "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/ItemsAttestations" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple attestations items at the same time.", - "tags": [ - "Items", - "ItemsAttestations" - ], - "operationId": "updateItemsAttestations", - "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/ItemsAttestations" - } - }, - { - "$ref": "#/components/schemas/ItemsAttestations" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsAttestations" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing attestations items.", - "tags": [ - "Items", - "ItemsAttestations" - ], - "operationId": "deleteItemsAttestations", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/attestations/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single attestations item by unique identifier.", - "tags": [ - "Items", - "ItemsAttestations" - ], - "operationId": "readSingleItemsAttestations", - "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/ItemsAttestations" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing attestations item.", - "tags": [ - "Items", - "ItemsAttestations" - ], - "operationId": "updateSingleItemsAttestations", - "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/ItemsAttestations" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsAttestations" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing attestations item.", - "tags": [ - "Items", - "ItemsAttestations" - ], - "operationId": "deleteSingleItemsAttestations", - "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" - } - ] - } - } - ] - } - }, - "/fields": { - "get": { - "summary": "List All Fields", - "description": "Returns a list of the fields available in the project.", - "operationId": "getFields", - "parameters": [ - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Sort" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Fields" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Fields" - ] - } - }, - "/fields/{collection}": { - "get": { - "summary": "List Fields in Collection", - "description": "Returns a list of the fields available in the given collection.", - "operationId": "getCollectionFields", - "parameters": [ - { - "description": "Unique identifier of the collection the item resides in.", - "in": "path", - "name": "collection", - "required": true, - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/Sort" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Fields" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Fields" - ] - }, - "post": { - "summary": "Create Field in Collection", - "description": "Create a new field in a given collection.", - "operationId": "createField", - "requestBody": { - "content": { - "application/json": { - "schema": { - "required": [ - "field", - "datatype", - "type", - "length" - ], - "type": "object", - "properties": { - "field": { - "description": "Unique name of the field. Field name is unique within the collection.", - "example": "id", - "type": "string" - }, - "type": { - "description": "Directus specific data type. Used to cast values in the API.", - "example": "integer", - "type": "string" - }, - "schema": { - "description": "The schema info.", - "type": "object", - "properties": { - "name": { - "description": "The name of the field.", - "example": "title", - "type": "string" - }, - "table": { - "description": "The collection of the field.", - "example": "posts", - "type": "string" - }, - "type": { - "description": "The type of the field.", - "example": "string", - "type": "string" - }, - "default_value": { - "description": "The default value of the field.", - "example": null, - "type": "string", - "nullable": true - }, - "max_length": { - "description": "The max length of the field.", - "example": null, - "type": "integer", - "nullable": true - }, - "is_nullable": { - "description": "If the field is nullable.", - "example": false, - "type": "boolean" - }, - "is_primary_key": { - "description": "If the field is primary key.", - "example": false, - "type": "boolean" - }, - "has_auto_increment": { - "description": "If the field has auto increment.", - "example": false, - "type": "boolean" - }, - "foreign_key_column": { - "description": "Related column from the foreign key constraint.", - "example": null, - "type": "string", - "nullable": true - }, - "foreign_key_table": { - "description": "Related table from the foreign key constraint.", - "example": null, - "type": "string", - "nullable": true - }, - "comment": { - "description": "Comment as saved in the database.", - "example": null, - "type": "string", - "nullable": true - }, - "schema": { - "description": "Database schema (pg only).", - "example": "public", - "type": "string" - }, - "foreign_key_schema": { - "description": "Related schema from the foreign key constraint (pg only).", - "example": null, - "type": "string", - "nullable": true - } - } - }, - "meta": { - "description": "The meta info.", - "type": "object", - "nullable": true, - "properties": { - "id": { - "description": "Unique identifier for the field in the `directus_fields` collection.", - "example": 3, - "type": "integer" - }, - "collection": { - "description": "Unique name of the collection this field is in.", - "example": "posts", - "type": "string" - }, - "field": { - "description": "Unique name of the field. Field name is unique within the collection.", - "example": "title", - "type": "string" - }, - "special": { - "description": "Transformation flag for field", - "example": null, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "system-interface": { - "description": "What interface is used in the admin app to edit the value for this field.", - "example": "primary-key", - "type": "string", - "nullable": true - }, - "options": { - "description": "Options for the interface that's used. This format is based on the individual interface.", - "example": null, - "type": "object", - "nullable": true - }, - "display": { - "description": "What display is used in the admin app to display the value for this field.", - "example": null, - "type": "string", - "nullable": true - }, - "display_options": { - "description": "Options for the display that's used. This format is based on the individual display.", - "example": null, - "type": "object", - "nullable": true - }, - "locked": { - "description": "If the field can be altered by the end user. Directus system fields have this value set to `true`.", - "example": true, - "type": "boolean" - }, - "readonly": { - "description": "Prevents the user from editing the value in the field.", - "example": false, - "type": "boolean" - }, - "hidden": { - "description": "If this field should be hidden.", - "example": true, - "type": "boolean" - }, - "sort": { - "description": "Sort order of this field on the edit page of the admin app.", - "example": 1, - "type": "integer", - "nullable": true - }, - "width": { - "description": "Width of the field on the edit form.", - "example": null, - "type": "string", - "nullable": true, - "enum": [ - "half", - "half-left", - "half-right", - "full", - "fill", - null - ] - }, - "group": { - "description": "What field group this field is part of.", - "example": null, - "type": "integer", - "nullable": true - }, - "translation": { - "description": "Key value pair of `: ` that allows the user to change the displayed name of the field in the admin app.", - "example": null, - "type": "object", - "nullable": true - }, - "note": { - "description": "A user provided note for the field. Will be rendered alongside the interface on the edit page.", - "example": "", - "type": "string", - "nullable": true - } - } - } - } - } - } - } - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Fields" - } - } - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Fields" - ], - "parameters": [ - { - "description": "Unique identifier of the collection the item resides in.", - "in": "path", - "name": "collection", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/fields/{collection}/{id}": { - "get": { - "summary": "Retrieve a Field", - "description": "Retrieves the details of a single field in a given collection.", - "operationId": "getCollectionField", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Fields" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Fields" - ], - "parameters": [ - { - "name": "collection", - "in": "path", - "description": "Unique identifier of the collection the item resides in.", - "schema": { - "type": "string" - }, - "required": true - }, - { - "name": "id", - "in": "path", - "description": "Unique identifier of the field.", - "schema": { - "type": "string" - }, - "required": true - } - ] - }, - "patch": { - "summary": "Update a Field", - "description": "Update an existing field.", - "operationId": "updateField", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "field": { - "description": "Unique name of the field. Field name is unique within the collection.", - "example": "id", - "type": "string" - }, - "type": { - "description": "Directus specific data type. Used to cast values in the API.", - "example": "integer", - "type": "string" - }, - "schema": { - "description": "The schema info.", - "type": "object", - "properties": { - "name": { - "description": "The name of the field.", - "example": "title", - "type": "string" - }, - "table": { - "description": "The collection of the field.", - "example": "posts", - "type": "string" - }, - "type": { - "description": "The type of the field.", - "example": "string", - "type": "string" - }, - "default_value": { - "description": "The default value of the field.", - "example": null, - "type": "string", - "nullable": true - }, - "max_length": { - "description": "The max length of the field.", - "example": null, - "type": "integer", - "nullable": true - }, - "is_nullable": { - "description": "If the field is nullable.", - "example": false, - "type": "boolean" - }, - "is_primary_key": { - "description": "If the field is primary key.", - "example": false, - "type": "boolean" - }, - "has_auto_increment": { - "description": "If the field has auto increment.", - "example": false, - "type": "boolean" - }, - "foreign_key_column": { - "description": "Related column from the foreign key constraint.", - "example": null, - "type": "string", - "nullable": true - }, - "foreign_key_table": { - "description": "Related table from the foreign key constraint.", - "example": null, - "type": "string", - "nullable": true - }, - "comment": { - "description": "Comment as saved in the database.", - "example": null, - "type": "string", - "nullable": true - }, - "schema": { - "description": "Database schema (pg only).", - "example": "public", - "type": "string" - }, - "foreign_key_schema": { - "description": "Related schema from the foreign key constraint (pg only).", - "example": null, - "type": "string", - "nullable": true - } - } - }, - "meta": { - "description": "The meta info.", - "type": "object", - "nullable": true, - "properties": { - "id": { - "description": "Unique identifier for the field in the `directus_fields` collection.", - "example": 3, - "type": "integer" - }, - "collection": { - "description": "Unique name of the collection this field is in.", - "example": "posts", - "type": "string" - }, - "field": { - "description": "Unique name of the field. Field name is unique within the collection.", - "example": "title", - "type": "string" - }, - "special": { - "description": "Transformation flag for field", - "example": null, - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "system-interface": { - "description": "What interface is used in the admin app to edit the value for this field.", - "example": "primary-key", - "type": "string", - "nullable": true - }, - "options": { - "description": "Options for the interface that's used. This format is based on the individual interface.", - "example": null, - "type": "object", - "nullable": true - }, - "display": { - "description": "What display is used in the admin app to display the value for this field.", - "example": null, - "type": "string", - "nullable": true - }, - "display_options": { - "description": "Options for the display that's used. This format is based on the individual display.", - "example": null, - "type": "object", - "nullable": true - }, - "locked": { - "description": "If the field can be altered by the end user. Directus system fields have this value set to `true`.", - "example": true, - "type": "boolean" - }, - "readonly": { - "description": "Prevents the user from editing the value in the field.", - "example": false, - "type": "boolean" - }, - "hidden": { - "description": "If this field should be hidden.", - "example": true, - "type": "boolean" - }, - "sort": { - "description": "Sort order of this field on the edit page of the admin app.", - "example": 1, - "type": "integer", - "nullable": true - }, - "width": { - "description": "Width of the field on the edit form.", - "example": null, - "type": "string", - "nullable": true, - "enum": [ - "half", - "half-left", - "half-right", - "full", - "fill", - null - ] - }, - "group": { - "description": "What field group this field is part of.", - "example": null, - "type": "integer", - "nullable": true - }, - "translation": { - "description": "Key value pair of `: ` that allows the user to change the displayed name of the field in the admin app.", - "example": null, - "type": "object", - "nullable": true - }, - "note": { - "description": "A user provided note for the field. Will be rendered alongside the interface on the edit page.", - "example": "", - "type": "string", - "nullable": true - } - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Fields" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Fields" - ], - "parameters": [ - { - "name": "collection", - "in": "path", - "description": "Unique identifier of the collection the item resides in.", - "schema": { - "type": "string" - }, - "required": true - }, - { - "name": "id", - "in": "path", - "description": "Unique identifier of the field.", - "schema": { - "type": "string" - }, - "required": true - } - ] - }, - "delete": { - "summary": "Delete a Field", - "description": "Delete an existing field.", - "operationId": "deleteField", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Fields" - ], - "parameters": [ - { - "name": "collection", - "in": "path", - "description": "Unique identifier of the collection the item resides in.", - "schema": { - "type": "string" - }, - "required": true - }, - { - "name": "id", - "in": "path", - "description": "Unique identifier of the field.", - "schema": { - "type": "string" - }, - "required": true - } - ] - } - }, - "/comments": { - "get": { - "tags": [ - "Comments" - ], - "operationId": "getComments", - "summary": "List Comments", - "description": "List the comments.", - "security": [ - { - "Auth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Page" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Comments" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "post": { - "tags": [ - "Comments" - ], - "operationId": "createComment", - "summary": "Create a Comment", - "description": "Create a new comment.", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "collection", - "item", - "comment" - ], - "properties": { - "collection": { - "type": "string", - "description": "Which collection this collection comment is for.", - "example": "projects" - }, - "item": { - "type": "string", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" - }, - "comment": { - "type": "string", - "example": "A new comment" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Comments" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Comments", - "description": "Update multiple comments at the same time.", - "tags": [ - "Comments" - ], - "operationId": "updateComments", - "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": { - "type": "object", - "properties": { - "keys": { - "type": "array", - "items": { - "type": "string" - } - }, - "data": { - "type": "object", - "required": [ - "collection" - ], - "properties": { - "collection": { - "type": "string", - "description": "Which collection this collection comment is for.", - "example": "projects" - }, - "item": { - "type": "string", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" - }, - "comment": { - "type": "string", - "example": "A new comment" - } - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Comments" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Comments", - "description": "Delete multiple existing comments.", - "tags": [ - "Comments" - ], - "operationId": "deleteComments", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/comments/{id}": { - "get": { - "tags": [ - "Comments" - ], - "operationId": "getComment", - "summary": "Retrieve a Comment", - "description": "Retrieve a single comment by unique identifier.", - "security": [ - { - "Auth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Comments" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "tags": [ - "Comments" - ], - "operationId": "updateComment", - "summary": "Update a Comment", - "description": "Update an existing comment.", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "collection" - ], - "properties": { - "collection": { - "type": "string", - "description": "Which collection this comment is for.", - "example": "projects" - }, - "item": { - "type": "string", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28" - }, - "comment": { - "type": "string", - "example": "An updated comment" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Comments" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "tags": [ - "Comments" - ], - "operationId": "deleteComment", - "summary": "Delete a Comment", - "description": "Delete an existing comment.", - "security": [ - { - "Auth": [] - } - ], - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/folders": { - "get": { - "summary": "List Folders", - "description": "List the folders.", - "operationId": "getFolders", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Folders" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Folders" - ] - }, - "post": { - "summary": "Create a Folder", - "description": "Create a new folder.", - "operationId": "createFolder", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "Amsterdam", - "description": "Name of the folder." - }, - "parent": { - "description": "Unique identifier of the parent folder. This allows for nested folders.", - "type": "integer" - } - }, - "required": [ - "name" - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Folders" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Folders" - ] - }, - "patch": { - "summary": "Update Multiple Folders", - "description": "Update multiple folders at the same time.", - "tags": [ - "Folders" - ], - "operationId": "updateFolders", - "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": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "name": { - "type": "string", - "example": "Amsterdam", - "description": "Name of the folder." - }, - "parent": { - "description": "Unique identifier of the parent folder. This allows for nested folders.", - "type": "integer" - } - }, - "required": [ - "name" - ] - }, - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Folders" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Folders", - "description": "Delete multiple existing folders.", - "tags": [ - "Folders" - ], - "operationId": "deleteFolders", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/folders/{id}": { - "get": { - "summary": "Retrieve a Folder", - "description": "Retrieve a single folder by unique identifier.", - "operationId": "getFolder", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Folders" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Folders" - ] - }, - "patch": { - "summary": "Update a Folder", - "description": "Update an existing folder", - "operationId": "updateFolder", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the folder. Can't be null or empty." - }, - "parent": { - "type": "integer", - "example": 3, - "description": "Unique identifier of the parent folder. This allows for nested folders." - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Folders" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Folders" - ] - }, - "delete": { - "summary": "Delete a Folder", - "description": "Delete an existing folder", - "operationId": "deleteFolder", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Folders" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/extensions": { - "get": { - "summary": "List Extensions", - "description": "List the installed extensions and their configuration in the project.", - "operationId": "listExtensions", - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Extensions" - } - } - } - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "tags": [ - "Extensions" - ] - } - }, - "/extensions/{name}": { - "patch": { - "summary": "Update an Extension", - "description": "Update an existing extension.", - "operationId": "updateExtensions", - "parameters": [ - { - "in": "path", - "name": "name", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "meta": { - "type": "object", - "description": "Directus metadata for the extension. Where the configuration for the extension in the current project is stored.", - "properties": { - "enabled": { - "description": "Whether or not the extension is enabled.", - "example": true, - "type": "boolean" - } - } - } - } - } - } - } - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Extensions" - } - } - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Extensions" - ] - } - }, - "/extensions/{bundle}/{name}": { - "patch": { - "summary": "Update an Extension", - "description": "Update an existing extension.", - "operationId": "updateExtensionBundle", - "parameters": [ - { - "in": "path", - "name": "bundle", - "required": true, - "schema": { - "type": "string" - } - }, - { - "in": "path", - "name": "name", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "meta": { - "type": "object", - "description": "Directus metadata for the extension. Where the configuration for the extension in the current project is stored.", - "properties": { - "enabled": { - "description": "Whether or not the extension is enabled.", - "example": true, - "type": "boolean" - } - } - } - } - } - } - } - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Extensions" - } - } - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Extensions" - ] - } - }, - "/flows": { - "get": { - "summary": "List Flows", - "description": "Get all flows.", - "operationId": "getFlows", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Flows" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Flows" - ] - }, - "post": { - "summary": "Create a Flow", - "description": "Create a new flow.", - "operationId": "createFlow", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Flows" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Flows" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Flows" - ] - }, - "patch": { - "summary": "Update Multiple Flows", - "description": "Update multiple flows at the same time.", - "tags": [ - "Flows" - ], - "operationId": "updateFlows", - "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": { - "type": "object", - "properties": { - "data": { - "anyOf": [ - { - "$ref": "#/components/schemas/Flows" - } - ] - }, - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Flows" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Flows", - "description": "Delete multiple existing flows.", - "tags": [ - "Flows" - ], - "operationId": "deleteFlows", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/flows/{id}": { - "get": { - "summary": "Retrieve a Flow", - "description": "Retrieve a single flow by unique identifier.", - "operationId": "getFlow", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Flows" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Flows" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - }, - "patch": { - "summary": "Update a Flow", - "description": "Update an existing flow", - "operationId": "updateFlow", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Flows" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Flows" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Flows" - ] - }, - "delete": { - "summary": "Delete a Flow", - "description": "Delete an existing flow", - "operationId": "deleteFlow", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Flows" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/operations": { - "get": { - "summary": "List Operations", - "description": "Get all operations.", - "operationId": "getOperations", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Operations" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Operations" - ] - }, - "post": { - "summary": "Create an Operation", - "description": "Create a new operation.", - "operationId": "createOperation", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Operations" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Operations" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Operations" - ] - }, - "patch": { - "summary": "Update Multiple Operations", - "description": "Update multiple operations at the same time.", - "tags": [ - "Operations" - ], - "operationId": "updateOperations", - "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": { - "type": "object", - "properties": { - "data": { - "anyOf": [ - { - "$ref": "#/components/schemas/Operations" - } - ] - }, - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Operations" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Operations", - "description": "Delete multiple existing operations.", - "tags": [ - "Operations" - ], - "operationId": "deleteOperations", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/operations/{id}": { - "get": { - "summary": "Retrieve an Operation", - "description": "Retrieve a single operation by unique identifier.", - "operationId": "getOperation", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Operations" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - }, - "patch": { - "summary": "Update an Operation", - "description": "Update an existing operation", - "operationId": "updateOperation", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Operations" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Operations" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Operations" - ] - }, - "delete": { - "summary": "Delete an Operation", - "description": "Delete an existing operation", - "operationId": "deleteOperation", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Operations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/permissions": { - "get": { - "summary": "List Permissions", - "description": "List all permissions.", - "operationId": "getPermissions", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Page" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Permissions" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Permissions" - ] - }, - "post": { - "summary": "Create a Permission", - "description": "Create a new permission.", - "operationId": "createPermission", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "collection": { - "description": "What collection this permission applies to.", - "type": "string", - "example": "customers" - }, - "comment": { - "description": "If the user can post comments.", - "type": "string", - "enum": [ - "none", - "create", - "update", - "full" - ] - }, - "create": { - "description": "If the user can create items.", - "type": "string", - "enum": [ - "none", - "full" - ] - }, - "delete": { - "description": "If the user can update items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "explain": { - "description": "If the user is required to leave a comment explaining what was changed.", - "type": "string", - "enum": [ - "none", - "create", - "update", - "always" - ] - }, - "read": { - "description": "If the user can read items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "role": { - "description": "Unique identifier of the role this permission applies to.", - "type": "integer", - "example": 3 - }, - "read_field_blacklist": { - "description": "Explicitly denies read access for specific fields.", - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "featured_image" - ] - }, - "status": { - "description": "What status this permission applies to.", - "type": "string" - }, - "status_blacklist": { - "description": "Explicitly denies specific statuses to be used.", - "type": "array", - "items": { - "type": "string" - } - }, - "update": { - "description": "If the user can update items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "write_field_blacklist": { - "description": "Explicitly denies write access for specific fields.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Permissions" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Permissions" - ] - }, - "patch": { - "summary": "Update Multiple Permissions", - "description": "Update multiple permissions at the same time.", - "tags": [ - "Permissions" - ], - "operationId": "updatePermissions", - "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": { - "type": "object", - "properties": { - "keys": { - "type": "array", - "items": { - "type": "string" - } - }, - "data": { - "properties": { - "collection": { - "description": "What collection this permission applies to.", - "type": "string", - "example": "customers" - }, - "comment": { - "description": "If the user can post comments.", - "type": "string", - "enum": [ - "none", - "create", - "update", - "full" - ] - }, - "create": { - "description": "If the user can create items.", - "type": "string", - "enum": [ - "none", - "full" - ] - }, - "delete": { - "description": "If the user can update items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "explain": { - "description": "If the user is required to leave a comment explaining what was changed.", - "type": "string", - "enum": [ - "none", - "create", - "update", - "always" - ] - }, - "read": { - "description": "If the user can read items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "role": { - "description": "Unique identifier of the role this permission applies to.", - "type": "integer", - "example": 3 - }, - "read_field_blacklist": { - "description": "Explicitly denies read access for specific fields.", - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "featured_image" - ] - }, - "status": { - "description": "What status this permission applies to.", - "type": "string" - }, - "status_blacklist": { - "description": "Explicitly denies specific statuses to be used.", - "type": "array", - "items": { - "type": "string" - } - }, - "update": { - "description": "If the user can update items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "write_field_blacklist": { - "description": "Explicitly denies write access for specific fields.", - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Permissions" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Permissions", - "description": "Delete multiple existing permissions.", - "tags": [ - "Permissions" - ], - "operationId": "deletePermissions", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/permissions/me": { - "get": { - "summary": "List My Permissions", - "description": "List the permissions that apply to the current user.", - "operationId": "getMyPermissions", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Permissions" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Permissions" - ] - } - }, - "/permissions/{id}": { - "get": { - "summary": "Retrieve a Permission", - "description": "Retrieve a single permissions object by unique identifier.", - "operationId": "getPermission", - "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Permissions" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Permissions" - ] - }, - "patch": { - "summary": "Update a Permission", - "description": "Update an existing permission", - "operationId": "updatePermission", - "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "collection": { - "description": "What collection this permission applies to.", - "type": "object" - }, - "comment": { - "description": "If the user can post comments. `full`.", - "type": "string", - "enum": [ - "none", - "create", - "update" - ] - }, - "create": { - "description": "If the user can create items.", - "type": "string", - "enum": [ - "none", - "full" - ] - }, - "delete": { - "description": "If the user can update items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "explain": { - "description": "If the user is required to leave a comment explaining what was changed.", - "type": "string", - "enum": [ - "none", - "create", - "update", - "always" - ] - }, - "read": { - "description": "If the user can read items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "read_field_blacklist": { - "description": "Explicitly denies read access for specific fields.", - "type": "object" - }, - "role": { - "description": "Unique identifier of the role this permission applies to.", - "type": "object" - }, - "status": { - "description": "What status this permission applies to.", - "type": "object" - }, - "status_blacklist": { - "description": "Explicitly denies specific statuses to be used.", - "type": "object" - }, - "update": { - "description": "If the user can update items.", - "type": "string", - "enum": [ - "none", - "mine", - "role", - "full" - ] - }, - "write_field_blacklist": { - "description": "Explicitly denies write access for specific fields.", - "type": "object" - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Permissions" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Permissions" - ] - }, - "delete": { - "summary": "Delete a Permission", - "description": "Delete an existing permission", - "operationId": "deletePermission", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Permissions" - ], - "parameters": [ - { - "$ref": "#/components/parameters/Id" - } - ] - } - }, - "/activity": { - "get": { - "operationId": "getActivities", - "summary": "List Activity Actions", - "description": "Returns a list of activity actions.", - "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": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Activity" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Activity" - ] - } - }, - "/activity/{id}": { - "get": { - "summary": "Retrieve an Activity Action", - "description": "Retrieves the details of an existing activity action. Provide the primary key of the activity action and Directus will return the corresponding information.", - "operationId": "getActivity", - "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Activity" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Activity" - ] - } - }, - "/collections": { - "get": { - "summary": "List Collections", - "description": "Returns a list of the collections available in the project.", - "operationId": "getCollections", - "parameters": [ - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Collections" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Collections" - ] - }, - "post": { - "summary": "Create a Collection", - "description": "Create a new collection in Directus.", - "operationId": "createCollection", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "collection", - "fields" - ], - "properties": { - "collection": { - "type": "string", - "description": "Unique name of the collection.", - "example": "my_collection" - }, - "fields": { - "type": "array", - "description": "The fields contained in this collection. See the fields reference for more information. Each individual field requires field, type, and interface to be provided.", - "items": { - "type": "object" - } - }, - "icon": { - "description": "Name of a Google Material Design Icon that's assigned to this collection.", - "type": "string", - "example": "people", - "nullable": true - }, - "note": { - "description": "A note describing the collection.", - "type": "string", - "example": null, - "nullable": true - }, - "display_template": { - "description": "Text representation of how items from this collection are shown across the system.", - "type": "string", - "example": null, - "nullable": true - }, - "hidden": { - "description": "Whether or not the collection is hidden from the navigation in the admin app.", - "type": "boolean", - "example": false - }, - "singleton": { - "description": "Whether or not the collection is treated as a single object.", - "type": "boolean", - "example": false - }, - "translation": { - "description": "Key value pairs of how to show this collection's name in different languages in the admin app.", - "type": "string", - "example": null, - "nullable": true - }, - "versioning": { - "description": "Whether or not Content Versioning is enabled for this collection.", - "type": "boolean", - "example": false - }, - "archive_field": { - "description": "What field holds the archive value.", - "type": "string", - "example": null, - "nullable": true - }, - "archive_app_filter": { - "description": "What value to use for \"archived\" items.", - "type": "string", - "example": null, - "nullable": true - }, - "archive_value": { - "description": "What value to use to \"unarchive\" items.", - "type": "string", - "example": null, - "nullable": true - }, - "unarchive_value": { - "description": "Whether or not to show the \"archived\" filter.", - "type": "string", - "example": null, - "nullable": true - }, - "sort_field": { - "description": "The sort field in the collection.", - "type": "string", - "example": null, - "nullable": true - } - } - } - } - } - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Collections" - } - } - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Collections" - ] - } - }, - "/collections/{id}": { - "get": { - "summary": "Retrieve a Collection", - "description": "Retrieves the details of a single collection.", - "operationId": "getCollection", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "description": "Unique identifier of the collection.", - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Collections" - } - } - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Collections" - ] - }, - "patch": { - "summary": "Update a Collection", - "description": "Update an existing collection.", - "operationId": "updateCollection", - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "description": "Unique identifier of the collection.", - "schema": { - "type": "string" - } - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "meta": { - "description": "Metadata of the collection.", - "type": "object", - "properties": { - "icon": { - "description": "Name of a Google Material Design Icon that's assigned to this collection.", - "type": "string", - "example": "people", - "nullable": true - }, - "color": { - "description": "Choose the color for the icon assigned to this collection.", - "type": "string", - "example": "#6644ff", - "nullable": true - }, - "note": { - "description": "A note describing the collection.", - "type": "string", - "example": null, - "nullable": true - }, - "display_template": { - "description": "Text representation of how items from this collection are shown across the system.", - "type": "string", - "example": null, - "nullable": true - }, - "hidden": { - "description": "Whether or not the collection is hidden from the navigation in the admin app.", - "type": "boolean", - "example": false - }, - "singleton": { - "description": "Whether or not the collection is treated as a single object.", - "type": "boolean", - "example": false - }, - "translation": { - "description": "Key value pairs of how to show this collection's name in different languages in the admin app.", - "type": "string", - "example": null, - "nullable": true - }, - "versioning": { - "description": "Whether or not Content Versioning is enabled for this collection.", - "type": "boolean", - "example": false - }, - "archive_field": { - "description": "What field holds the archive value.", - "type": "string", - "example": null, - "nullable": true - }, - "archive_app_filter": { - "description": "What value to use for \"archived\" items.", - "type": "string", - "example": null, - "nullable": true - }, - "archive_value": { - "description": "What value to use to \"unarchive\" items.", - "type": "string", - "example": null, - "nullable": true - }, - "unarchive_value": { - "description": "Whether or not to show the \"archived\" filter.", - "type": "string", - "example": null, - "nullable": true - }, - "sort_field": { - "description": "The sort field in the collection.", - "type": "string", - "example": null, - "nullable": true - } - } - } - } - } - } - } - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Collections" - } - } - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Collections" - ] - }, - "delete": { - "summary": "Delete a Collection", - "description": "Delete an existing collection. Warning: This will delete the whole collection, including the items within. Proceed with caution.", - "operationId": "deleteCollection", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Collections" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "required": true, - "description": "Unique identifier of the collection.", - "schema": { - "type": "string" - } - } - ] - } - }, - "/files": { - "get": { - "summary": "List Files", - "description": "List the files.", - "tags": [ - "Files" - ], - "operationId": "getFiles", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Files" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "post": { - "summary": "Create a File", - "description": "Create a new file", - "tags": [ - "Files" - ], - "operationId": "createFile", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "string" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Files" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Files", - "description": "Update multiple files at the same time.", - "tags": [ - "Files" - ], - "operationId": "updateFiles", - "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": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "data": { - "type": "string" - } - } - }, - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Files" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Files", - "description": "Delete multiple existing files.", - "tags": [ - "Files" - ], - "operationId": "deleteFiles", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/files/{id}": { - "get": { - "summary": "Retrieve a Files", - "description": "Retrieve a single file by unique identifier.", - "tags": [ - "Files" - ], - "operationId": "getFile", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Files" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update a File", - "description": "Update an existing file, and/or replace it's file contents.", - "tags": [ - "Files" - ], - "operationId": "updateFile", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "multipart/data": { - "schema": { - "type": "object", - "required": [ - "file" - ], - "properties": { - "title": { - "description": "Title for the file. Is extracted from the filename on upload, but can be edited by the user.", - "example": "User Avatar", - "type": "string" - }, - "filename_download": { - "description": "Preferred filename when file is downloaded.", - "type": "string" - }, - "description": { - "description": "Description for the file.", - "type": "string", - "nullable": true - }, - "folder": { - "description": "Virtual folder where this file resides in.", - "example": null, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Folders" - } - ], - "nullable": true - }, - "tags": { - "description": "Tags for the file. Is automatically populated based on Exif data for images.", - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - }, - "file": { - "description": "File contents.", - "format": "binary" - } - } - } - }, - "application/json": { - "schema": { - "type": "object", - "properties": { - "title": { - "description": "Title for the file. Is extracted from the filename on upload, but can be edited by the user.", - "example": "User Avatar", - "type": "string" - }, - "filename_download": { - "description": "Preferred filename when file is downloaded.", - "type": "string" - }, - "description": { - "description": "Description for the file.", - "type": "string", - "nullable": true - }, - "folder": { - "description": "Virtual folder where this file resides in.", - "example": null, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Folders" - } - ], - "nullable": true - }, - "tags": { - "description": "Tags for the file. Is automatically populated based on Exif data for images.", - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Files" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete a File", - "description": "Delete an existing file.", - "tags": [ - "Files" - ], - "operationId": "deleteFile", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/roles": { - "get": { - "summary": "List Roles", - "description": "List the roles.", - "operationId": "getRoles", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Page" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Roles" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Roles" - ] - }, - "post": { - "summary": "Create a Role", - "description": "Create a new role.", - "operationId": "createRole", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "description": { - "description": "Description of the role.", - "type": "string" - }, - "enforce_tfa": { - "description": "Whether or not this role enforces the use of 2FA.", - "type": "boolean" - }, - "external_id": { - "description": "ID used with external services in SCIM.", - "type": "string" - }, - "ip_access": { - "description": "Array of IP addresses that are allowed to connect to the API as a user of this role.", - "type": "array", - "items": { - "type": "string" - } - }, - "module_listing": { - "description": "Custom override for the admin app module bar navigation.", - "type": "string" - }, - "name": { - "description": "Name of the role.", - "type": "string", - "example": "Interns" - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Roles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Roles" - ] - }, - "patch": { - "summary": "Update Multiple Roles", - "description": "Update multiple roles at the same time.", - "tags": [ - "Roles" - ], - "operationId": "updateRoles", - "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": { - "properties": { - "keys": { - "type": "array", - "items": { - "type": "string" - } - }, - "data": { - "type": "object", - "properties": { - "description": { - "description": "Description of the role.", - "type": "string" - }, - "enforce_tfa": { - "description": "Whether or not this role enforces the use of 2FA.", - "type": "boolean" - }, - "external_id": { - "description": "ID used with external services in SCIM.", - "type": "string" - }, - "ip_access": { - "description": "Array of IP addresses that are allowed to connect to the API as a user of this role.", - "type": "array", - "items": { - "type": "string" - } - }, - "module_listing": { - "description": "Custom override for the admin app module bar navigation.", - "type": "string" - }, - "name": { - "description": "Name of the role.", - "type": "string", - "example": "Interns" - } - } - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Roles" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Roles", - "description": "Delete multiple existing roles.", - "tags": [ - "Roles" - ], - "operationId": "deleteRoles", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/roles/{id}": { - "get": { - "summary": "Retrieve a Role", - "description": "Retrieve a single role by unique identifier.", - "operationId": "getRole", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Roles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Roles" - ] - }, - "patch": { - "summary": "Update a Role", - "description": "Update an existing role", - "operationId": "updateRole", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "description": { - "description": "Description of the role.", - "type": "string" - }, - "enforce_tfa": { - "description": "Whether or not this role enforces the use of 2FA.", - "type": "boolean" - }, - "external_id": { - "description": "ID used with external services in SCIM.", - "type": "string" - }, - "ip_access": { - "description": "Array of IP addresses that are allowed to connect to the API as a user of this role.", - "type": "array", - "items": { - "type": "string" - } - }, - "module_listing": { - "description": "Custom override for the admin app module bar navigation.", - "type": "string" - }, - "name": { - "description": "Name of the role.", - "type": "string" - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Roles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Roles" - ] - }, - "delete": { - "summary": "Delete a Role", - "description": "Delete an existing role", - "operationId": "deleteRole", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Roles" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/presets": { - "get": { - "tags": [ - "Presets" - ], - "operationId": "getPresets", - "summary": "List Presets", - "description": "List the presets.", - "security": [ - { - "Auth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Page" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Presets" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "post": { - "tags": [ - "Presets" - ], - "operationId": "createPreset", - "summary": "Create a Preset", - "description": "Create a new preset.", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "collection" - ], - "properties": { - "collection": { - "type": "string", - "description": "What collection this collection preset is used for.", - "example": "articles" - }, - "title": { - "type": "string", - "description": "Name for the bookmark. If this is set, the collection preset will be considered to be a bookmark.", - "example": "Highly rated articles" - }, - "role": { - "type": "string", - "description": "The unique identifier of a role in the platform. If user is null, this will be used to apply the collection preset or bookmark for all users in the role.", - "example": null - }, - "search": { - "type": "string", - "description": "What the user searched for in search/filter in the header bar." - }, - "filters": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "example": "aHKLAakdVghzD" - }, - "field": { - "type": "string", - "example": "rating" - }, - "operator": { - "type": "string", - "example": "gte" - }, - "value": { - "type": "integer", - "example": 4.5 - } - } - } - }, - "layout": { - "type": "string", - "description": "Name of the view type that is used." - }, - "layout_query": { - "type": "string", - "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters." - }, - "layout_options": { - "type": "string", - "description": "Options of the views. The properties in here are controlled by the layout." - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Presets" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Presets", - "description": "Update multiple presets at the same time.", - "tags": [ - "Presets" - ], - "operationId": "updatePresets", - "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": { - "type": "object", - "properties": { - "keys": { - "type": "array", - "items": { - "type": "string" - } - }, - "data": { - "type": "object", - "required": [ - "collection" - ], - "properties": { - "collection": { - "type": "string", - "description": "What collection this collection preset is used for.", - "example": "articles" - }, - "title": { - "type": "string", - "description": "Name for the bookmark. If this is set, the collection preset will be considered to be a bookmark.", - "example": "Highly rated articles" - }, - "role": { - "type": "string", - "description": "The unique identifier of a role in the platform. If user is null, this will be used to apply the collection preset or bookmark for all users in the role.", - "example": null - }, - "search": { - "type": "string", - "description": "What the user searched for in search/filter in the header bar." - }, - "filters": { - "type": "array", - "items": { - "type": "object", - "properties": { - "key": { - "type": "string", - "example": "aHKLAakdVghzD" - }, - "field": { - "type": "string", - "example": "rating" - }, - "operator": { - "type": "string", - "example": "gte" - }, - "value": { - "type": "integer", - "example": 4.5 - } - } - } - }, - "layout": { - "type": "string", - "description": "Name of the view type that is used." - }, - "layout_query": { - "type": "string", - "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters." - }, - "layout_options": { - "type": "string", - "description": "Options of the views. The properties in here are controlled by the layout." - } - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Presets" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Presets", - "description": "Delete multiple existing presets.", - "tags": [ - "Presets" - ], - "operationId": "deletePresets", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/presets/{id}": { - "get": { - "tags": [ - "Presets" - ], - "operationId": "getPreset", - "summary": "Retrieve a Preset", - "description": "Retrieve a single preset by unique identifier.", - "security": [ - { - "Auth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Presets" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "tags": [ - "Presets" - ], - "operationId": "updatePreset", - "summary": "Update a Preset", - "description": "Update an existing preset.", - "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "collection" - ], - "properties": { - "collection": { - "type": "string", - "description": "What collection this collection preset is used for.", - "example": "articles" - }, - "title": { - "type": "string", - "description": "Name for the bookmark. If this is set, the collection preset will be considered to be a bookmark.", - "example": "Highly rated articles" - }, - "role": { - "type": "integer", - "description": "The unique identifier of a role in the platform. If user is null, this will be used to apply the collection preset or bookmark for all users in the role." - }, - "search_query": { - "type": "string", - "description": "What the user searched for in search/filter in the header bar." - }, - "filters": { - "type": "array", - "items": { - "type": "object", - "properties": { - "field": { - "type": "string", - "example": "rating" - }, - "operator": { - "type": "string", - "example": "gte" - }, - "value": { - "type": "integer", - "example": 4.5 - } - } - } - }, - "view_type": { - "type": "string", - "description": "Name of the view type that is used. Defaults to tabular." - }, - "view_query": { - "type": "string", - "description": "View query that's saved per view type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters." - }, - "view_options": { - "type": "string", - "description": "Options of the views. The properties in here are controlled by the layout." - }, - "translation": { - "type": "object", - "description": "Key value pair of language-translation. Can be used to translate the bookmark title in multiple languages." - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Presets" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "tags": [ - "Presets" - ], - "operationId": "deletePreset", - "summary": "Delete a Preset", - "description": "Delete an existing preset.", - "security": [ - { - "Auth": [] - } - ], - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [ - { - "$ref": "#/components/parameters/Id" - } - ] - } - }, - "/revisions": { - "get": { - "summary": "List Revisions", - "description": "List the revisions.", - "operationId": "getRevisions", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Page" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Revisions" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Revisions" - ] - } - }, - "/revisions/{id}": { - "get": { - "summary": "Retrieve a Revision", - "description": "Retrieve a single revision by unique identifier.", - "operationId": "getRevision", - "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Revisions" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Revisions" - ] - } - }, - "/relations": { - "get": { - "summary": "List Relations", - "description": "List the relations.", - "operationId": "getRelations", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - }, - { - "$ref": "#/components/parameters/Page" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Relations" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Relations" - ] - }, - "post": { - "summary": "Create a Relation", - "description": "Create a new relation.", - "operationId": "createRelation", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "collection_many": { - "description": "Collection that has the field that holds the foreign key.", - "type": "string", - "example": "articles" - }, - "collection_one": { - "description": "Collection on the _one_ side of the relationship.", - "type": "string", - "example": "authors" - }, - "field_many": { - "description": "Foreign key. Field that holds the primary key of the related collection.", - "type": "string", - "example": "author" - }, - "field_one": { - "description": "Alias column that serves as the _one_ side of the relationship.", - "type": "string", - "example": "books" - }, - "junction_field": { - "description": "Field on the junction table that holds the primary key of the related collection.", - "type": "string" - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Relations" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Relations" - ] - } - }, - "/relations/{id}": { - "get": { - "summary": "Retrieve a Relation", - "description": "Retrieve a single relation by unique identifier.", - "operationId": "getRelation", - "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Relations" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Relations" - ] - }, - "patch": { - "summary": "Update a Relation", - "description": "Update an existing relation", - "operationId": "updateRelation", - "parameters": [ - { - "$ref": "#/components/parameters/Id" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "collection_many": { - "description": "Collection that has the field that holds the foreign key.", - "type": "string" - }, - "collection_one": { - "description": "Collection on the _one_ side of the relationship.", - "type": "string" - }, - "field_many": { - "description": "Foreign key. Field that holds the primary key of the related collection.", - "type": "string" - }, - "field_one": { - "description": "Alias column that serves as the _one_ side of the relationship.", - "type": "string", - "example": "books" - }, - "junction_field": { - "description": "Field on the junction table that holds the primary key of the related collection.", - "type": "string" - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Relations" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Relations" - ] - }, - "delete": { - "summary": "Delete a Relation", - "description": "Delete an existing relation.", - "operationId": "deleteRelation", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Relations" - ], - "parameters": [ - { - "$ref": "#/components/parameters/Id" - } - ] - } - }, - "/versions": { - "get": { - "summary": "List Content Versions", - "description": "Get all Content Versions.", - "operationId": "getContentVersions", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$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": { - "$ref": "#/components/schemas/Versions" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - }, - "post": { - "summary": "Create Multiple Content Versions", - "description": "Create multiple new Content Versions.", - "operationId": "createContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Versions" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Versions" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - }, - "patch": { - "summary": "Update Multiple Content Versions", - "description": "Update multiple Content Versions at the same time.", - "operationId": "updateContentVersions", - "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": { - "type": "object", - "properties": { - "data": { - "anyOf": [ - { - "$ref": "#/components/schemas/Versions" - } - ] - }, - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Versions" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "tags": [ - "Versions" - ] - }, - "delete": { - "summary": "Delete Multiple Content Versions", - "description": "Delete multiple existing Content Versions.", - "operationId": "deleteContentVersions", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "tags": [ - "Versions" - ] - } - }, - "/versions/{id}": { - "get": { - "summary": "Retrieve a Content Version", - "description": "Retrieve a single Content Version by unique identifier.", - "operationId": "getContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Versions" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - }, - "patch": { - "summary": "Update a Content Version", - "description": "Update an existing Content Version.", - "operationId": "updateContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/Versions" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Versions" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - }, - "delete": { - "summary": "Delete a Content Version", - "description": "Delete an existing Content Version.", - "operationId": "deleteContentVersion", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/versions/{id}/save": { - "post": { - "summary": "Save to a Content Version", - "description": "Save item changes to an existing Content Version.", - "operationId": "saveContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {} - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - } - }, - "/versions/{id}/compare": { - "get": { - "summary": "Compare a Content Version", - "description": "Compare an existing Content Version with the main version of the item.", - "operationId": "compareContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "object" - } - }, - "type": "object" - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - } - }, - "/versions/{id}/promote": { - "post": { - "summary": "Promote a Content Version", - "description": "Pass the current hash of the main version of the item (obtained from the `compare` endpoint) along with an optional array of field names of which the values are to be promoted (by default, all fields are selected).", - "operationId": "promoteContentVersion", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "mainHash": { - "description": "Hash of the main version of the item to be promoted.", - "type": "string" - }, - "fields": { - "description": "Optional array of field names of which the values are to be promoted.", - "type": "string" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": {} - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Versions" - ] - } - }, - "/settings": { - "get": { - "summary": "Retrieve Settings", - "description": "List the settings.", - "operationId": "getSettings", - "parameters": [ - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Page" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Settings" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Settings" - ] - }, - "patch": { - "summary": "Update Settings", - "description": "Update the settings", - "operationId": "updateSetting", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Settings" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Settings" - ] - } - }, - "/webhooks": { - "get": { - "summary": "List Webhooks", - "description": "Get all webhooks.", - "operationId": "getWebhooks", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Webhooks" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Webhooks" - ] - }, - "post": { - "summary": "Create a Webhook", - "description": "Create a new webhook.", - "operationId": "createWebhook", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "The name of the webhook.", - "type": "string", - "example": "create articles" - }, - "method": { - "description": "Method used in the webhook.", - "type": "string", - "example": "POST" - }, - "url": { - "description": "The url of the webhook.", - "type": "string", - "example": null - }, - "status": { - "description": "The status of the webhook.", - "type": "string", - "example": "active" - }, - "data": { - "description": "If yes, send the content of what was done", - "type": "boolean", - "example": true - }, - "actions": { - "description": "The actions that triggers this webhook.", - "example": null - }, - "system-collections": { - "description": "The collections that triggers this webhook.", - "example": null - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Roles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Webhooks" - ] - }, - "patch": { - "summary": "Update Multiple Webhooks", - "description": "Update multiple webhooks at the same time.", - "tags": [ - "Webhooks" - ], - "operationId": "updateWebhooks", - "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": { - "properties": { - "data": { - "properties": { - "name": { - "description": "The name of the webhook.", - "type": "string", - "example": "create articles" - }, - "method": { - "description": "Method used in the webhook.", - "type": "string", - "example": "POST" - }, - "url": { - "description": "The url of the webhook.", - "type": "string", - "example": null - }, - "status": { - "description": "The status of the webhook.", - "type": "string", - "example": "active" - }, - "data": { - "description": "If yes, send the content of what was done", - "type": "boolean", - "example": true - }, - "actions": { - "description": "The actions that triggers this webhook.", - "example": null - }, - "system-collections": { - "description": "The collections that triggers this webhook.", - "example": null - } - }, - "type": "object" - }, - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Webhooks" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Webhooks", - "description": "Delete multiple existing webhooks.", - "tags": [ - "Webhooks" - ], - "operationId": "deleteWebhooks", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/webhooks/{id}": { - "get": { - "summary": "Retrieve a Webhook", - "description": "Retrieve a single webhook by unique identifier.", - "operationId": "getWebhook", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Webhooks" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Webhooks" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - }, - "patch": { - "summary": "Update a Webhook", - "description": "Update an existing webhook", - "operationId": "updateWebhook", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "name": { - "description": "The name of the webhook.", - "type": "string", - "example": "create articles" - }, - "method": { - "description": "Method used in the webhook.", - "type": "string", - "example": "POST" - }, - "url": { - "description": "The url of the webhook.", - "type": "string", - "example": null - }, - "status": { - "description": "The status of the webhook.", - "type": "string", - "example": "active" - }, - "data": { - "description": "If yes, send the content of what was done", - "type": "boolean", - "example": true - }, - "actions": { - "description": "The actions that triggers this webhook.", - "example": null - }, - "system-collections": { - "description": "The collections that triggers this webhook.", - "example": null - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Roles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Webhooks" - ] - }, - "delete": { - "summary": "Delete a Webhook", - "description": "Delete an existing webhook", - "operationId": "deleteWebhook", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Webhooks" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/users": { - "get": { - "summary": "List Users", - "description": "List the users.", - "operationId": "getUsers", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$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": { - "$ref": "#/components/schemas/Users" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - }, - "post": { - "summary": "Create a User", - "description": "Create a new user.", - "operationId": "createUser", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Users" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - }, - "patch": { - "summary": "Update Multiple Users", - "description": "Update multiple users at the same time.", - "tags": [ - "Users" - ], - "operationId": "updateUsers", - "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": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - }, - "keys": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Users" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "delete": { - "summary": "Delete Multiple Users", - "description": "Delete multiple existing users.", - "tags": [ - "Users" - ], - "operationId": "deleteUsers", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - } - }, - "/users/{id}": { - "get": { - "summary": "Retrieve a User", - "description": "Retrieve a single user by unique identifier.", - "operationId": "getUser", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - }, - "patch": { - "summary": "Update a User", - "description": "Update an existing user", - "operationId": "updateUser", - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - }, - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Users" - } - } - } - }, - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "object" - } - }, - "type": "object" - } - } - }, - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - }, - "delete": { - "summary": "Delete a User", - "description": "Delete an existing user", - "operationId": "deleteUser", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ], - "parameters": [ - { - "$ref": "#/components/parameters/UUId" - } - ] - } - }, - "/users/invite": { - "post": { - "summary": "Invite User(s)", - "description": "Invites one or more users to this project. It creates a user with an invited status, and then sends an email to the user with instructions on how to activate their account.", - "operationId": "invite", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "email": { - "description": "Email address or array of email addresses of the to-be-invited user(s).", - "type": "string" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - } - }, - "/users/invite/accept": { - "post": { - "summary": "Accept User Invite", - "description": "Accepts and enables an invited user using a JWT invitation token.", - "operationId": "acceptInvite", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "token": { - "type": "string", - "example": "eyJh...KmUk", - "description": "Accept invite token." - }, - "password": { - "type": "string", - "description": "Password of the user.", - "format": "password", - "example": "d1r3ctu5" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - } - }, - "/users/me": { - "get": { - "summary": "Retrieve Current User", - "description": "Retrieve the currently authenticated user.", - "operationId": "getMe", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - }, - "patch": { - "summary": "Update Current User", - "description": "Update the currently authenticated user.", - "operationId": "updateMe", - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "$ref": "#/components/schemas/Users" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - } - }, - "/users/me/track/page": { - "patch": { - "summary": "Update Last Page", - "description": "Updates the last used page field of the currently authenticated user. This is used internally to be able to open the Directus admin app from the last page you used.", - "operationId": "updateLastUsedPageMe", - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "last_page": { - "description": "Path of the page you used last.", - "type": "string" - } - }, - "type": "object" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - } - }, - "/users/me/tfa/enable": { - "post": { - "summary": "Enable 2FA", - "description": "Enables two-factor authentication for the currently authenticated user.", - "operationId": "meTfaEnable", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - } - }, - "/users/me/tfa/disable": { - "post": { - "summary": "Disable 2FA", - "description": "Disables two-factor authentication for the currently authenticated user.", - "operationId": "meTfaDisable", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "tags": [ - "Users" - ] - } - }, - "/items/items_items": { - "post": { - "summary": "Create an Item", - "description": "Create a new items_items item.", - "tags": [ - "Items", - "ItemsItemsItems" - ], - "operationId": "createItemsItemsItems", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsItemsItems" - } - }, - { - "$ref": "#/components/schemas/ItemsItemsItems" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsItemsItems" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the items_items items.", - "tags": [ - "Items", - "ItemsItemsItems" - ], - "operationId": "readItemsItemsItems", - "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/ItemsItemsItems" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple items_items items at the same time.", - "tags": [ - "Items", - "ItemsItemsItems" - ], - "operationId": "updateItemsItemsItems", - "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/ItemsItemsItems" - } - }, - { - "$ref": "#/components/schemas/ItemsItemsItems" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsItemsItems" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing items_items items.", - "tags": [ - "Items", - "ItemsItemsItems" - ], - "operationId": "deleteItemsItemsItems", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/items_items/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single items_items item by unique identifier.", - "tags": [ - "Items", - "ItemsItemsItems" - ], - "operationId": "readSingleItemsItemsItems", - "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/ItemsItemsItems" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing items_items item.", - "tags": [ - "Items", - "ItemsItemsItems" - ], - "operationId": "updateSingleItemsItemsItems", - "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/ItemsItemsItems" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsItemsItems" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing items_items item.", - "tags": [ - "Items", - "ItemsItemsItems" - ], - "operationId": "deleteSingleItemsItemsItems", + "operationId": "deleteSingleItemsFeatures", "responses": { "200": { "description": "Successful request" @@ -10234,6 +11401,395 @@ ] } }, + "/items/groupSubheaders_groupTypes": { + "post": { + "summary": "Create an Item", + "description": "Create a new groupSubheaders_groupTypes item.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "createItemsGroupSubheadersGroupTypes", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + }, + { + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the groupSubheaders_groupTypes items.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "readItemsGroupSubheadersGroupTypes", + "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/ItemsGroupSubheadersGroupTypes" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple groupSubheaders_groupTypes items at the same time.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "updateItemsGroupSubheadersGroupTypes", + "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/ItemsGroupSubheadersGroupTypes" + } + }, + { + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing groupSubheaders_groupTypes items.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "deleteItemsGroupSubheadersGroupTypes", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/groupSubheaders_groupTypes/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single groupSubheaders_groupTypes item by unique identifier.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "readSingleItemsGroupSubheadersGroupTypes", + "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/ItemsGroupSubheadersGroupTypes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing groupSubheaders_groupTypes item.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "updateSingleItemsGroupSubheadersGroupTypes", + "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/ItemsGroupSubheadersGroupTypes" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing groupSubheaders_groupTypes item.", + "tags": [ + "Items", + "ItemsGroupSubheadersGroupTypes" + ], + "operationId": "deleteSingleItemsGroupSubheadersGroupTypes", + "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/groupTypes": { "post": { "summary": "Create an Item", @@ -10623,6 +12179,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/inviteLinks": { "post": { "summary": "Create an Item", @@ -11012,395 +12957,6 @@ ] } }, - "/items/items_files": { - "post": { - "summary": "Create an Item", - "description": "Create a new items_files item.", - "tags": [ - "Items", - "ItemsItemsFiles" - ], - "operationId": "createItemsItemsFiles", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsItemsFiles" - } - }, - { - "$ref": "#/components/schemas/ItemsItemsFiles" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsItemsFiles" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the items_files items.", - "tags": [ - "Items", - "ItemsItemsFiles" - ], - "operationId": "readItemsItemsFiles", - "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/ItemsItemsFiles" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple items_files items at the same time.", - "tags": [ - "Items", - "ItemsItemsFiles" - ], - "operationId": "updateItemsItemsFiles", - "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/ItemsItemsFiles" - } - }, - { - "$ref": "#/components/schemas/ItemsItemsFiles" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsItemsFiles" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing items_files items.", - "tags": [ - "Items", - "ItemsItemsFiles" - ], - "operationId": "deleteItemsItemsFiles", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/items_files/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single items_files item by unique identifier.", - "tags": [ - "Items", - "ItemsItemsFiles" - ], - "operationId": "readSingleItemsItemsFiles", - "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/ItemsItemsFiles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing items_files item.", - "tags": [ - "Items", - "ItemsItemsFiles" - ], - "operationId": "updateSingleItemsItemsFiles", - "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/ItemsItemsFiles" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsItemsFiles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing items_files item.", - "tags": [ - "Items", - "ItemsItemsFiles" - ], - "operationId": "deleteSingleItemsItemsFiles", - "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/items": { "post": { "summary": "Create an Item", @@ -11790,1173 +13346,6 @@ ] } }, - "/items/junction_directus_users_tags_1": { - "post": { - "summary": "Create an Item", - "description": "Create a new junction_directus_users_tags_1 item.", - "tags": [ - "Items", - "ItemsJunctionDirectusUsersTags1" - ], - "operationId": "createItemsJunctionDirectusUsersTags1", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" - } - }, - { - "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the junction_directus_users_tags_1 items.", - "tags": [ - "Items", - "ItemsJunctionDirectusUsersTags1" - ], - "operationId": "readItemsJunctionDirectusUsersTags1", - "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/ItemsJunctionDirectusUsersTags1" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple junction_directus_users_tags_1 items at the same time.", - "tags": [ - "Items", - "ItemsJunctionDirectusUsersTags1" - ], - "operationId": "updateItemsJunctionDirectusUsersTags1", - "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/ItemsJunctionDirectusUsersTags1" - } - }, - { - "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing junction_directus_users_tags_1 items.", - "tags": [ - "Items", - "ItemsJunctionDirectusUsersTags1" - ], - "operationId": "deleteItemsJunctionDirectusUsersTags1", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/junction_directus_users_tags_1/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single junction_directus_users_tags_1 item by unique identifier.", - "tags": [ - "Items", - "ItemsJunctionDirectusUsersTags1" - ], - "operationId": "readSingleItemsJunctionDirectusUsersTags1", - "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/ItemsJunctionDirectusUsersTags1" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing junction_directus_users_tags_1 item.", - "tags": [ - "Items", - "ItemsJunctionDirectusUsersTags1" - ], - "operationId": "updateSingleItemsJunctionDirectusUsersTags1", - "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/ItemsJunctionDirectusUsersTags1" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing junction_directus_users_tags_1 item.", - "tags": [ - "Items", - "ItemsJunctionDirectusUsersTags1" - ], - "operationId": "deleteSingleItemsJunctionDirectusUsersTags1", - "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/layers": { - "post": { - "summary": "Create an Item", - "description": "Create a new layers item.", - "tags": [ - "Items", - "ItemsLayers" - ], - "operationId": "createItemsLayers", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsLayers" - } - }, - { - "$ref": "#/components/schemas/ItemsLayers" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsLayers" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the layers items.", - "tags": [ - "Items", - "ItemsLayers" - ], - "operationId": "readItemsLayers", - "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/ItemsLayers" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple layers items at the same time.", - "tags": [ - "Items", - "ItemsLayers" - ], - "operationId": "updateItemsLayers", - "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/ItemsLayers" - } - }, - { - "$ref": "#/components/schemas/ItemsLayers" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsLayers" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing layers items.", - "tags": [ - "Items", - "ItemsLayers" - ], - "operationId": "deleteItemsLayers", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/layers/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single layers item by unique identifier.", - "tags": [ - "Items", - "ItemsLayers" - ], - "operationId": "readSingleItemsLayers", - "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/ItemsLayers" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing layers item.", - "tags": [ - "Items", - "ItemsLayers" - ], - "operationId": "updateSingleItemsLayers", - "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/ItemsLayers" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsLayers" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing layers item.", - "tags": [ - "Items", - "ItemsLayers" - ], - "operationId": "deleteSingleItemsLayers", - "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/items_tags_1": { - "post": { - "summary": "Create an Item", - "description": "Create a new items_tags_1 item.", - "tags": [ - "Items", - "ItemsItemsTags1" - ], - "operationId": "createItemsItemsTags1", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsItemsTags1" - } - }, - { - "$ref": "#/components/schemas/ItemsItemsTags1" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsItemsTags1" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the items_tags_1 items.", - "tags": [ - "Items", - "ItemsItemsTags1" - ], - "operationId": "readItemsItemsTags1", - "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/ItemsItemsTags1" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple items_tags_1 items at the same time.", - "tags": [ - "Items", - "ItemsItemsTags1" - ], - "operationId": "updateItemsItemsTags1", - "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/ItemsItemsTags1" - } - }, - { - "$ref": "#/components/schemas/ItemsItemsTags1" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsItemsTags1" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing items_tags_1 items.", - "tags": [ - "Items", - "ItemsItemsTags1" - ], - "operationId": "deleteItemsItemsTags1", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/items_tags_1/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single items_tags_1 item by unique identifier.", - "tags": [ - "Items", - "ItemsItemsTags1" - ], - "operationId": "readSingleItemsItemsTags1", - "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/ItemsItemsTags1" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing items_tags_1 item.", - "tags": [ - "Items", - "ItemsItemsTags1" - ], - "operationId": "updateSingleItemsItemsTags1", - "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/ItemsItemsTags1" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsItemsTags1" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing items_tags_1 item.", - "tags": [ - "Items", - "ItemsItemsTags1" - ], - "operationId": "deleteSingleItemsItemsTags1", - "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/itemSecrets": { "post": { "summary": "Create an Item", @@ -13346,6 +13735,1173 @@ ] } }, + "/items/layers": { + "post": { + "summary": "Create an Item", + "description": "Create a new layers item.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "createItemsLayers", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayers" + } + }, + { + "$ref": "#/components/schemas/ItemsLayers" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayers" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the layers items.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "readItemsLayers", + "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/ItemsLayers" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple layers items at the same time.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "updateItemsLayers", + "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/ItemsLayers" + } + }, + { + "$ref": "#/components/schemas/ItemsLayers" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayers" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing layers items.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "deleteItemsLayers", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/layers/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single layers item by unique identifier.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "readSingleItemsLayers", + "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/ItemsLayers" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing layers item.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "updateSingleItemsLayers", + "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/ItemsLayers" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsLayers" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing layers item.", + "tags": [ + "Items", + "ItemsLayers" + ], + "operationId": "deleteSingleItemsLayers", + "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/items_files": { + "post": { + "summary": "Create an Item", + "description": "Create a new items_files item.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "createItemsItemsFiles", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsFiles" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsFiles" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsFiles" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the items_files items.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "readItemsItemsFiles", + "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/ItemsItemsFiles" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple items_files items at the same time.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "updateItemsItemsFiles", + "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/ItemsItemsFiles" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsFiles" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsFiles" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing items_files items.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "deleteItemsItemsFiles", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/items_files/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single items_files item by unique identifier.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "readSingleItemsItemsFiles", + "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/ItemsItemsFiles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing items_files item.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "updateSingleItemsItemsFiles", + "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/ItemsItemsFiles" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsItemsFiles" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing items_files item.", + "tags": [ + "Items", + "ItemsItemsFiles" + ], + "operationId": "deleteSingleItemsItemsFiles", + "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/items_items": { + "post": { + "summary": "Create an Item", + "description": "Create a new items_items item.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "createItemsItemsItems", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsItems" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsItems" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsItems" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the items_items items.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "readItemsItemsItems", + "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/ItemsItemsItems" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple items_items items at the same time.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "updateItemsItemsItems", + "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/ItemsItemsItems" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsItems" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsItems" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing items_items items.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "deleteItemsItemsItems", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/items_items/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single items_items item by unique identifier.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "readSingleItemsItemsItems", + "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/ItemsItemsItems" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing items_items item.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "updateSingleItemsItemsItems", + "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/ItemsItemsItems" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsItemsItems" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing items_items item.", + "tags": [ + "Items", + "ItemsItemsItems" + ], + "operationId": "deleteSingleItemsItemsItems", + "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/items_tags": { "post": { "summary": "Create an Item", @@ -13735,15 +15291,15 @@ ] } }, - "/items/layers_directus_users_1": { + "/items/tags": { "post": { "summary": "Create an Item", - "description": "Create a new layers_directus_users_1 item.", + "description": "Create a new tags item.", "tags": [ "Items", - "ItemsLayersDirectusUsers1" + "ItemsTags" ], - "operationId": "createItemsLayersDirectusUsers1", + "operationId": "createItemsTags", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -13757,11 +15313,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + "$ref": "#/components/schemas/ItemsTags" } }, { - "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + "$ref": "#/components/schemas/ItemsTags" } ] } @@ -13779,7 +15335,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + "$ref": "#/components/schemas/ItemsTags" } } } @@ -13794,12 +15350,12 @@ }, "get": { "summary": "List Items", - "description": "List the layers_directus_users_1 items.", + "description": "List the tags items.", "tags": [ "Items", - "ItemsLayersDirectusUsers1" + "ItemsTags" ], - "operationId": "readItemsLayersDirectusUsers1", + "operationId": "readItemsTags", "security": [ { "Auth": [] @@ -13840,7 +15396,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + "$ref": "#/components/schemas/ItemsTags" } }, "meta": { @@ -13858,12 +15414,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple layers_directus_users_1 items at the same time.", + "description": "Update multiple tags items at the same time.", "tags": [ "Items", - "ItemsLayersDirectusUsers1" + "ItemsTags" ], - "operationId": "updateItemsLayersDirectusUsers1", + "operationId": "updateItemsTags", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -13895,11 +15451,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + "$ref": "#/components/schemas/ItemsTags" } }, { - "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + "$ref": "#/components/schemas/ItemsTags" } ] } @@ -13916,7 +15472,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + "$ref": "#/components/schemas/ItemsTags" } } } @@ -13928,12 +15484,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing layers_directus_users_1 items.", + "description": "Delete multiple existing tags items.", "tags": [ "Items", - "ItemsLayersDirectusUsers1" + "ItemsTags" ], - "operationId": "deleteItemsLayersDirectusUsers1", + "operationId": "deleteItemsTags", "responses": { "200": { "description": "Successful request" @@ -13945,15 +15501,15 @@ "parameters": [] } }, - "/items/layers_directus_users_1/{id}": { + "/items/tags/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single layers_directus_users_1 item by unique identifier.", + "description": "Retrieve a single tags item by unique identifier.", "tags": [ "Items", - "ItemsLayersDirectusUsers1" + "ItemsTags" ], - "operationId": "readSingleItemsLayersDirectusUsers1", + "operationId": "readSingleItemsTags", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -13995,7 +15551,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + "$ref": "#/components/schemas/ItemsTags" } } } @@ -14012,12 +15568,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing layers_directus_users_1 item.", + "description": "Update an existing tags item.", "tags": [ "Items", - "ItemsLayersDirectusUsers1" + "ItemsTags" ], - "operationId": "updateSingleItemsLayersDirectusUsers1", + "operationId": "updateSingleItemsTags", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -14051,7 +15607,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + "$ref": "#/components/schemas/ItemsTags" } } } @@ -14066,7 +15622,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + "$ref": "#/components/schemas/ItemsTags" } } } @@ -14083,12 +15639,401 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing layers_directus_users_1 item.", + "description": "Delete an existing tags item.", "tags": [ "Items", - "ItemsLayersDirectusUsers1" + "ItemsTags" ], - "operationId": "deleteSingleItemsLayersDirectusUsers1", + "operationId": "deleteSingleItemsTags", + "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/items_tags_1": { + "post": { + "summary": "Create an Item", + "description": "Create a new items_tags_1 item.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "createItemsItemsTags1", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsTags1" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsTags1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsTags1" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the items_tags_1 items.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "readItemsItemsTags1", + "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/ItemsItemsTags1" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple items_tags_1 items at the same time.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "updateItemsItemsTags1", + "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/ItemsItemsTags1" + } + }, + { + "$ref": "#/components/schemas/ItemsItemsTags1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsItemsTags1" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing items_tags_1 items.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "deleteItemsItemsTags1", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/items_tags_1/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single items_tags_1 item by unique identifier.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "readSingleItemsItemsTags1", + "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/ItemsItemsTags1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing items_tags_1 item.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "updateSingleItemsItemsTags1", + "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/ItemsItemsTags1" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsItemsTags1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing items_tags_1 item.", + "tags": [ + "Items", + "ItemsItemsTags1" + ], + "operationId": "deleteSingleItemsItemsTags1", "responses": { "200": { "description": "Successful request" @@ -14513,6 +16458,1173 @@ ] } }, + "/items/junction_directus_users_tags_1": { + "post": { + "summary": "Create an Item", + "description": "Create a new junction_directus_users_tags_1 item.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "createItemsJunctionDirectusUsersTags1", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" + } + }, + { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the junction_directus_users_tags_1 items.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "readItemsJunctionDirectusUsersTags1", + "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/ItemsJunctionDirectusUsersTags1" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple junction_directus_users_tags_1 items at the same time.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "updateItemsJunctionDirectusUsersTags1", + "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/ItemsJunctionDirectusUsersTags1" + } + }, + { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing junction_directus_users_tags_1 items.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "deleteItemsJunctionDirectusUsersTags1", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/junction_directus_users_tags_1/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single junction_directus_users_tags_1 item by unique identifier.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "readSingleItemsJunctionDirectusUsersTags1", + "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/ItemsJunctionDirectusUsersTags1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing junction_directus_users_tags_1 item.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "updateSingleItemsJunctionDirectusUsersTags1", + "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/ItemsJunctionDirectusUsersTags1" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsJunctionDirectusUsersTags1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing junction_directus_users_tags_1 item.", + "tags": [ + "Items", + "ItemsJunctionDirectusUsersTags1" + ], + "operationId": "deleteSingleItemsJunctionDirectusUsersTags1", + "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/types": { + "post": { + "summary": "Create an Item", + "description": "Create a new types item.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "createItemsTypes", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTypes" + } + }, + { + "$ref": "#/components/schemas/ItemsTypes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTypes" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the types items.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "readItemsTypes", + "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/ItemsTypes" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple types items at the same time.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "updateItemsTypes", + "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/ItemsTypes" + } + }, + { + "$ref": "#/components/schemas/ItemsTypes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsTypes" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing types items.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "deleteItemsTypes", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/types/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single types item by unique identifier.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "readSingleItemsTypes", + "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/ItemsTypes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing types item.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "updateSingleItemsTypes", + "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/ItemsTypes" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsTypes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing types item.", + "tags": [ + "Items", + "ItemsTypes" + ], + "operationId": "deleteSingleItemsTypes", + "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/layers_directus_users_1": { + "post": { + "summary": "Create an Item", + "description": "Create a new layers_directus_users_1 item.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "createItemsLayersDirectusUsers1", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + }, + { + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the layers_directus_users_1 items.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "readItemsLayersDirectusUsers1", + "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/ItemsLayersDirectusUsers1" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple layers_directus_users_1 items at the same time.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "updateItemsLayersDirectusUsers1", + "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/ItemsLayersDirectusUsers1" + } + }, + { + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing layers_directus_users_1 items.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "deleteItemsLayersDirectusUsers1", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/layers_directus_users_1/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single layers_directus_users_1 item by unique identifier.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "readSingleItemsLayersDirectusUsers1", + "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/ItemsLayersDirectusUsers1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing layers_directus_users_1 item.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "updateSingleItemsLayersDirectusUsers1", + "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/ItemsLayersDirectusUsers1" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsLayersDirectusUsers1" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing layers_directus_users_1 item.", + "tags": [ + "Items", + "ItemsLayersDirectusUsers1" + ], + "operationId": "deleteSingleItemsLayersDirectusUsers1", + "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/layers_files": { "post": { "summary": "Create an Item", @@ -15291,15 +18403,15 @@ ] } }, - "/items/features": { + "/items/maps": { "post": { "summary": "Create an Item", - "description": "Create a new features item.", + "description": "Create a new maps item.", "tags": [ "Items", - "ItemsFeatures" + "ItemsMaps" ], - "operationId": "createItemsFeatures", + "operationId": "createItemsMaps", "parameters": [ { "$ref": "#/components/parameters/Meta" @@ -15313,11 +18425,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsFeatures" + "$ref": "#/components/schemas/ItemsMaps" } }, { - "$ref": "#/components/schemas/ItemsFeatures" + "$ref": "#/components/schemas/ItemsMaps" } ] } @@ -15335,7 +18447,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsFeatures" + "$ref": "#/components/schemas/ItemsMaps" } } } @@ -15350,12 +18462,12 @@ }, "get": { "summary": "List Items", - "description": "List the features items.", + "description": "List the maps items.", "tags": [ "Items", - "ItemsFeatures" + "ItemsMaps" ], - "operationId": "readItemsFeatures", + "operationId": "readItemsMaps", "security": [ { "Auth": [] @@ -15396,7 +18508,7 @@ "type": "array", "items": { "type": "object", - "$ref": "#/components/schemas/ItemsFeatures" + "$ref": "#/components/schemas/ItemsMaps" } }, "meta": { @@ -15414,12 +18526,12 @@ }, "patch": { "summary": "Update Multiple Items", - "description": "Update multiple features items at the same time.", + "description": "Update multiple maps items at the same time.", "tags": [ "Items", - "ItemsFeatures" + "ItemsMaps" ], - "operationId": "updateItemsFeatures", + "operationId": "updateItemsMaps", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -15451,11 +18563,11 @@ { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsFeatures" + "$ref": "#/components/schemas/ItemsMaps" } }, { - "$ref": "#/components/schemas/ItemsFeatures" + "$ref": "#/components/schemas/ItemsMaps" } ] } @@ -15472,7 +18584,7 @@ "data": { "type": "array", "items": { - "$ref": "#/components/schemas/ItemsFeatures" + "$ref": "#/components/schemas/ItemsMaps" } } } @@ -15484,12 +18596,12 @@ }, "delete": { "summary": "Delete Multiple Items", - "description": "Delete multiple existing features items.", + "description": "Delete multiple existing maps items.", "tags": [ "Items", - "ItemsFeatures" + "ItemsMaps" ], - "operationId": "deleteItemsFeatures", + "operationId": "deleteItemsMaps", "responses": { "200": { "description": "Successful request" @@ -15501,15 +18613,15 @@ "parameters": [] } }, - "/items/features/{id}": { + "/items/maps/{id}": { "get": { "summary": "Retrieve an Item", - "description": "Retrieve a single features item by unique identifier.", + "description": "Retrieve a single maps item by unique identifier.", "tags": [ "Items", - "ItemsFeatures" + "ItemsMaps" ], - "operationId": "readSingleItemsFeatures", + "operationId": "readSingleItemsMaps", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -15551,7 +18663,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsFeatures" + "$ref": "#/components/schemas/ItemsMaps" } } } @@ -15568,12 +18680,12 @@ }, "patch": { "summary": "Update an Item", - "description": "Update an existing features item.", + "description": "Update an existing maps item.", "tags": [ "Items", - "ItemsFeatures" + "ItemsMaps" ], - "operationId": "updateSingleItemsFeatures", + "operationId": "updateSingleItemsMaps", "parameters": [ { "$ref": "#/components/parameters/Fields" @@ -15607,7 +18719,7 @@ "application/json": { "schema": { "type": "object", - "$ref": "#/components/schemas/ItemsFeatures" + "$ref": "#/components/schemas/ItemsMaps" } } } @@ -15622,7 +18734,7 @@ "properties": { "data": { "type": "object", - "$ref": "#/components/schemas/ItemsFeatures" + "$ref": "#/components/schemas/ItemsMaps" } } } @@ -15639,12 +18751,401 @@ }, "delete": { "summary": "Delete an Item", - "description": "Delete an existing features item.", + "description": "Delete an existing maps item.", "tags": [ "Items", - "ItemsFeatures" + "ItemsMaps" ], - "operationId": "deleteSingleItemsFeatures", + "operationId": "deleteSingleItemsMaps", + "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/Themes": { + "post": { + "summary": "Create an Item", + "description": "Create a new Themes item.", + "tags": [ + "Items", + "ItemsThemes" + ], + "operationId": "createItemsThemes", + "parameters": [ + { + "$ref": "#/components/parameters/Meta" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsThemes" + } + }, + { + "$ref": "#/components/schemas/ItemsThemes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsThemes" + } + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "get": { + "summary": "List Items", + "description": "List the Themes items.", + "tags": [ + "Items", + "ItemsThemes" + ], + "operationId": "readItemsThemes", + "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/ItemsThemes" + } + }, + "meta": { + "$ref": "#/components/schemas/x-metadata" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + } + }, + "patch": { + "summary": "Update Multiple Items", + "description": "Update multiple Themes items at the same time.", + "tags": [ + "Items", + "ItemsThemes" + ], + "operationId": "updateItemsThemes", + "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/ItemsThemes" + } + }, + { + "$ref": "#/components/schemas/ItemsThemes" + } + ] + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ItemsThemes" + } + } + } + } + } + } + } + } + }, + "delete": { + "summary": "Delete Multiple Items", + "description": "Delete multiple existing Themes items.", + "tags": [ + "Items", + "ItemsThemes" + ], + "operationId": "deleteItemsThemes", + "responses": { + "200": { + "description": "Successful request" + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + } + }, + "parameters": [] + } + }, + "/items/Themes/{id}": { + "get": { + "summary": "Retrieve an Item", + "description": "Retrieve a single Themes item by unique identifier.", + "tags": [ + "Items", + "ItemsThemes" + ], + "operationId": "readSingleItemsThemes", + "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/ItemsThemes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "patch": { + "summary": "Update an Item", + "description": "Update an existing Themes item.", + "tags": [ + "Items", + "ItemsThemes" + ], + "operationId": "updateSingleItemsThemes", + "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/ItemsThemes" + } + } + } + }, + "responses": { + "200": { + "description": "Successful request", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "data": { + "type": "object", + "$ref": "#/components/schemas/ItemsThemes" + } + } + } + } + } + }, + "401": { + "$ref": "#/components/responses/UnauthorizedError" + }, + "404": { + "$ref": "#/components/responses/NotFoundError" + } + } + }, + "delete": { + "summary": "Delete an Item", + "description": "Delete an existing Themes item.", + "tags": [ + "Items", + "ItemsThemes" + ], + "operationId": "deleteSingleItemsThemes", "responses": { "200": { "description": "Successful request" @@ -16069,1173 +19570,6 @@ ] } }, - "/items/tags": { - "post": { - "summary": "Create an Item", - "description": "Create a new tags item.", - "tags": [ - "Items", - "ItemsTags" - ], - "operationId": "createItemsTags", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsTags" - } - }, - { - "$ref": "#/components/schemas/ItemsTags" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsTags" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the tags items.", - "tags": [ - "Items", - "ItemsTags" - ], - "operationId": "readItemsTags", - "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/ItemsTags" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple tags items at the same time.", - "tags": [ - "Items", - "ItemsTags" - ], - "operationId": "updateItemsTags", - "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/ItemsTags" - } - }, - { - "$ref": "#/components/schemas/ItemsTags" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsTags" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing tags items.", - "tags": [ - "Items", - "ItemsTags" - ], - "operationId": "deleteItemsTags", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/tags/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single tags item by unique identifier.", - "tags": [ - "Items", - "ItemsTags" - ], - "operationId": "readSingleItemsTags", - "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/ItemsTags" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing tags item.", - "tags": [ - "Items", - "ItemsTags" - ], - "operationId": "updateSingleItemsTags", - "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/ItemsTags" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsTags" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing tags item.", - "tags": [ - "Items", - "ItemsTags" - ], - "operationId": "deleteSingleItemsTags", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "parameters": [ - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ] - } - }, - "/items/oceannomads_profiles": { - "post": { - "summary": "Create an Item", - "description": "Create a new oceannomads_profiles item.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "createItemsOceannomadsProfiles", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - }, - { - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the oceannomads_profiles items.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "readItemsOceannomadsProfiles", - "security": [ - { - "Auth": [] - } - ], - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple oceannomads_profiles items at the same time.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "updateItemsOceannomadsProfiles", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Limit" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Offset" - }, - { - "$ref": "#/components/parameters/Sort" - }, - { - "$ref": "#/components/parameters/Filter" - }, - { - "$ref": "#/components/parameters/Search" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - }, - { - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing oceannomads_profiles items.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "deleteItemsOceannomadsProfiles", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/oceannomads_profiles/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single oceannomads_profiles item by unique identifier.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "readSingleItemsOceannomadsProfiles", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "$ref": "#/components/parameters/Version" - }, - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ], - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing oceannomads_profiles item.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "updateSingleItemsOceannomadsProfiles", - "parameters": [ - { - "$ref": "#/components/parameters/Fields" - }, - { - "$ref": "#/components/parameters/Meta" - }, - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsOceannomadsProfiles" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing oceannomads_profiles item.", - "tags": [ - "Items", - "ItemsOceannomadsProfiles" - ], - "operationId": "deleteSingleItemsOceannomadsProfiles", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - }, - "parameters": [ - { - "name": "id", - "description": "Index of the item.", - "in": "path", - "required": true, - "schema": { - "oneOf": [ - { - "type": "integer", - "description": "Incremental index of the item.", - "example": 1 - }, - { - "type": "string", - "description": "Unique identifier of the item.", - "example": "8cbb43fe-4cdf-4991-8352-c461779cec02" - } - ] - } - } - ] - } - }, - "/items/relations": { - "post": { - "summary": "Create an Item", - "description": "Create a new relations item.", - "tags": [ - "Items", - "ItemsRelations" - ], - "operationId": "createItemsRelations", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsRelations" - } - }, - { - "$ref": "#/components/schemas/ItemsRelations" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsRelations" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the relations items.", - "tags": [ - "Items", - "ItemsRelations" - ], - "operationId": "readItemsRelations", - "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/ItemsRelations" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple relations items at the same time.", - "tags": [ - "Items", - "ItemsRelations" - ], - "operationId": "updateItemsRelations", - "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/ItemsRelations" - } - }, - { - "$ref": "#/components/schemas/ItemsRelations" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsRelations" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing relations items.", - "tags": [ - "Items", - "ItemsRelations" - ], - "operationId": "deleteItemsRelations", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/relations/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single relations item by unique identifier.", - "tags": [ - "Items", - "ItemsRelations" - ], - "operationId": "readSingleItemsRelations", - "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/ItemsRelations" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing relations item.", - "tags": [ - "Items", - "ItemsRelations" - ], - "operationId": "updateSingleItemsRelations", - "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/ItemsRelations" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsRelations" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing relations item.", - "tags": [ - "Items", - "ItemsRelations" - ], - "operationId": "deleteSingleItemsRelations", - "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/team": { "post": { "summary": "Create an Item", @@ -17625,395 +19959,6 @@ ] } }, - "/items/types": { - "post": { - "summary": "Create an Item", - "description": "Create a new types item.", - "tags": [ - "Items", - "ItemsTypes" - ], - "operationId": "createItemsTypes", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsTypes" - } - }, - { - "$ref": "#/components/schemas/ItemsTypes" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsTypes" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the types items.", - "tags": [ - "Items", - "ItemsTypes" - ], - "operationId": "readItemsTypes", - "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/ItemsTypes" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple types items at the same time.", - "tags": [ - "Items", - "ItemsTypes" - ], - "operationId": "updateItemsTypes", - "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/ItemsTypes" - } - }, - { - "$ref": "#/components/schemas/ItemsTypes" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsTypes" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing types items.", - "tags": [ - "Items", - "ItemsTypes" - ], - "operationId": "deleteItemsTypes", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/types/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single types item by unique identifier.", - "tags": [ - "Items", - "ItemsTypes" - ], - "operationId": "readSingleItemsTypes", - "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/ItemsTypes" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing types item.", - "tags": [ - "Items", - "ItemsTypes" - ], - "operationId": "updateSingleItemsTypes", - "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/ItemsTypes" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsTypes" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing types item.", - "tags": [ - "Items", - "ItemsTypes" - ], - "operationId": "deleteSingleItemsTypes", - "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/texts": { "post": { "summary": "Create an Item", @@ -18403,395 +20348,6 @@ ] } }, - "/items/maps": { - "post": { - "summary": "Create an Item", - "description": "Create a new maps item.", - "tags": [ - "Items", - "ItemsMaps" - ], - "operationId": "createItemsMaps", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsMaps" - } - }, - { - "$ref": "#/components/schemas/ItemsMaps" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsMaps" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the maps items.", - "tags": [ - "Items", - "ItemsMaps" - ], - "operationId": "readItemsMaps", - "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/ItemsMaps" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple maps items at the same time.", - "tags": [ - "Items", - "ItemsMaps" - ], - "operationId": "updateItemsMaps", - "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/ItemsMaps" - } - }, - { - "$ref": "#/components/schemas/ItemsMaps" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsMaps" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing maps items.", - "tags": [ - "Items", - "ItemsMaps" - ], - "operationId": "deleteItemsMaps", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/maps/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single maps item by unique identifier.", - "tags": [ - "Items", - "ItemsMaps" - ], - "operationId": "readSingleItemsMaps", - "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/ItemsMaps" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing maps item.", - "tags": [ - "Items", - "ItemsMaps" - ], - "operationId": "updateSingleItemsMaps", - "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/ItemsMaps" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsMaps" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing maps item.", - "tags": [ - "Items", - "ItemsMaps" - ], - "operationId": "deleteSingleItemsMaps", - "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/types_profileTemplate": { "post": { "summary": "Create an Item", @@ -19180,1562 +20736,6 @@ } ] } - }, - "/items/attestations_directus_users": { - "post": { - "summary": "Create an Item", - "description": "Create a new attestations_directus_users item.", - "tags": [ - "Items", - "ItemsAttestationsDirectusUsers" - ], - "operationId": "createItemsAttestationsDirectusUsers", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" - } - }, - { - "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the attestations_directus_users items.", - "tags": [ - "Items", - "ItemsAttestationsDirectusUsers" - ], - "operationId": "readItemsAttestationsDirectusUsers", - "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/ItemsAttestationsDirectusUsers" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple attestations_directus_users items at the same time.", - "tags": [ - "Items", - "ItemsAttestationsDirectusUsers" - ], - "operationId": "updateItemsAttestationsDirectusUsers", - "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/ItemsAttestationsDirectusUsers" - } - }, - { - "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing attestations_directus_users items.", - "tags": [ - "Items", - "ItemsAttestationsDirectusUsers" - ], - "operationId": "deleteItemsAttestationsDirectusUsers", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/attestations_directus_users/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single attestations_directus_users item by unique identifier.", - "tags": [ - "Items", - "ItemsAttestationsDirectusUsers" - ], - "operationId": "readSingleItemsAttestationsDirectusUsers", - "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/ItemsAttestationsDirectusUsers" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing attestations_directus_users item.", - "tags": [ - "Items", - "ItemsAttestationsDirectusUsers" - ], - "operationId": "updateSingleItemsAttestationsDirectusUsers", - "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/ItemsAttestationsDirectusUsers" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing attestations_directus_users item.", - "tags": [ - "Items", - "ItemsAttestationsDirectusUsers" - ], - "operationId": "deleteSingleItemsAttestationsDirectusUsers", - "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/groupSubheaders_groupTypes": { - "post": { - "summary": "Create an Item", - "description": "Create a new groupSubheaders_groupTypes item.", - "tags": [ - "Items", - "ItemsGroupSubheadersGroupTypes" - ], - "operationId": "createItemsGroupSubheadersGroupTypes", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" - } - }, - { - "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the groupSubheaders_groupTypes items.", - "tags": [ - "Items", - "ItemsGroupSubheadersGroupTypes" - ], - "operationId": "readItemsGroupSubheadersGroupTypes", - "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/ItemsGroupSubheadersGroupTypes" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple groupSubheaders_groupTypes items at the same time.", - "tags": [ - "Items", - "ItemsGroupSubheadersGroupTypes" - ], - "operationId": "updateItemsGroupSubheadersGroupTypes", - "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/ItemsGroupSubheadersGroupTypes" - } - }, - { - "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing groupSubheaders_groupTypes items.", - "tags": [ - "Items", - "ItemsGroupSubheadersGroupTypes" - ], - "operationId": "deleteItemsGroupSubheadersGroupTypes", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/groupSubheaders_groupTypes/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single groupSubheaders_groupTypes item by unique identifier.", - "tags": [ - "Items", - "ItemsGroupSubheadersGroupTypes" - ], - "operationId": "readSingleItemsGroupSubheadersGroupTypes", - "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/ItemsGroupSubheadersGroupTypes" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing groupSubheaders_groupTypes item.", - "tags": [ - "Items", - "ItemsGroupSubheadersGroupTypes" - ], - "operationId": "updateSingleItemsGroupSubheadersGroupTypes", - "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/ItemsGroupSubheadersGroupTypes" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsGroupSubheadersGroupTypes" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing groupSubheaders_groupTypes item.", - "tags": [ - "Items", - "ItemsGroupSubheadersGroupTypes" - ], - "operationId": "deleteSingleItemsGroupSubheadersGroupTypes", - "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/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/directus_sync_id_map": { - "post": { - "summary": "Create an Item", - "description": "Create a new directus_sync_id_map item.", - "tags": [ - "Items", - "ItemsDirectusSyncIDMap" - ], - "operationId": "createItemsDirectusSyncIDMap", - "parameters": [ - { - "$ref": "#/components/parameters/Meta" - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" - } - }, - { - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" - } - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "get": { - "summary": "List Items", - "description": "List the directus_sync_id_map items.", - "tags": [ - "Items", - "ItemsDirectusSyncIDMap" - ], - "operationId": "readItemsDirectusSyncIDMap", - "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/ItemsDirectusSyncIDMap" - } - }, - "meta": { - "$ref": "#/components/schemas/x-metadata" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - } - }, - "patch": { - "summary": "Update Multiple Items", - "description": "Update multiple directus_sync_id_map items at the same time.", - "tags": [ - "Items", - "ItemsDirectusSyncIDMap" - ], - "operationId": "updateItemsDirectusSyncIDMap", - "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/ItemsDirectusSyncIDMap" - } - }, - { - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" - } - ] - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "properties": { - "data": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" - } - } - } - } - } - } - } - } - }, - "delete": { - "summary": "Delete Multiple Items", - "description": "Delete multiple existing directus_sync_id_map items.", - "tags": [ - "Items", - "ItemsDirectusSyncIDMap" - ], - "operationId": "deleteItemsDirectusSyncIDMap", - "responses": { - "200": { - "description": "Successful request" - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - } - }, - "parameters": [] - } - }, - "/items/directus_sync_id_map/{id}": { - "get": { - "summary": "Retrieve an Item", - "description": "Retrieve a single directus_sync_id_map item by unique identifier.", - "tags": [ - "Items", - "ItemsDirectusSyncIDMap" - ], - "operationId": "readSingleItemsDirectusSyncIDMap", - "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/ItemsDirectusSyncIDMap" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "patch": { - "summary": "Update an Item", - "description": "Update an existing directus_sync_id_map item.", - "tags": [ - "Items", - "ItemsDirectusSyncIDMap" - ], - "operationId": "updateSingleItemsDirectusSyncIDMap", - "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/ItemsDirectusSyncIDMap" - } - } - } - }, - "responses": { - "200": { - "description": "Successful request", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "data": { - "type": "object", - "$ref": "#/components/schemas/ItemsDirectusSyncIDMap" - } - } - } - } - } - }, - "401": { - "$ref": "#/components/responses/UnauthorizedError" - }, - "404": { - "$ref": "#/components/responses/NotFoundError" - } - } - }, - "delete": { - "summary": "Delete an Item", - "description": "Delete an existing directus_sync_id_map item.", - "tags": [ - "Items", - "ItemsDirectusSyncIDMap" - ], - "operationId": "deleteSingleItemsDirectusSyncIDMap", - "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" - } - ] - } - } - ] - } } }, "tags": [ @@ -20772,80 +20772,34 @@ ] }, { - "name": "ItemsContactInfos", - "x-collection": "contactInfos" - }, - { - "name": "ItemsCrowdfundings", - "x-collection": "crowdfundings" - }, - { - "name": "ItemsThemes", - "x-collection": "Themes" - }, - { - "name": "ItemsAttestations", - "x-collection": "attestations" - }, - { - "name": "Fields", - "description": "Fields are individual pieces of content within an item. They are mapped to columns in the database.", - "x-collection": "directus_fields" - }, - { - "name": "Comments", - "description": "Comments can be added to items.", - "x-collection": "directus_comments" - }, - { - "name": "Folders", - "description": "Group files by virtual folders.", - "x-collection": "directus_folders" - }, - { - "name": "Extensions", - "description": "Directus can easily be extended through the addition of several types of extensions, including layouts, interfaces, and modules.", - "x-collection": "directus_extensions" - }, - { - "name": "Flows", - "description": "Flows enable custom, event-driven data processing and task automation.", - "x-collection": "directus_flows" - }, - { - "name": "Operations", - "description": "Operations are the building blocks within Data Flows.", - "x-collection": "directus_operations" - }, - { - "name": "Permissions", - "description": "Permissions control who has access to what and when.", - "x-collection": "directus_permissions" - }, - { - "name": "Activity", - "description": "All events that happen within Directus are tracked and stored in the activities collection. This gives you full accountability over everything that happens.", - "x-collection": "directus_activity" + "name": "Roles", + "description": "Roles are groups of users that share permissions.", + "x-collection": "directus_roles" }, { "name": "Collections", "description": "Collections are the individual collections of items, similar to tables in a database. Changes to collections will alter the schema of the database.", "x-collection": "directus_collections" }, + { + "name": "Fields", + "description": "Fields are individual pieces of content within an item. They are mapped to columns in the database.", + "x-collection": "directus_fields" + }, { "name": "Files", "description": "Files can be saved in any given location. Directus has a powerful assets endpoint that can be used to generate thumbnails for images on the fly.", "x-collection": "directus_files" }, { - "name": "Roles", - "description": "Roles are groups of users that share permissions.", - "x-collection": "directus_roles" + "name": "Folders", + "description": "Group files by virtual folders.", + "x-collection": "directus_folders" }, { - "name": "Presets", - "description": "Presets hold the preferences of individual users of the platform. This allows Directus to show and maintain custom item listings for users of the app.", - "x-collection": "directus_presets" + "name": "Activity", + "description": "All events that happen within Directus are tracked and stored in the activities collection. This gives you full accountability over everything that happens.", + "x-collection": "directus_activity" }, { "name": "Revisions", @@ -20857,6 +20811,41 @@ "description": "What data is linked to what other data. Allows you to assign authors to articles, products to sales, and whatever other structures you can think of.", "x-collection": "directus_relations" }, + { + "name": "Permissions", + "description": "Permissions control who has access to what and when.", + "x-collection": "directus_permissions" + }, + { + "name": "Users", + "description": "Users are what gives you access to the data.", + "x-collection": "directus_users" + }, + { + "name": "Presets", + "description": "Presets hold the preferences of individual users of the platform. This allows Directus to show and maintain custom item listings for users of the app.", + "x-collection": "directus_presets" + }, + { + "name": "Webhooks", + "description": "Webhooks.", + "x-collection": "directus_webhooks" + }, + { + "name": "Flows", + "description": "Flows enable custom, event-driven data processing and task automation.", + "x-collection": "directus_flows" + }, + { + "name": "Operations", + "description": "Operations are the building blocks within Data Flows.", + "x-collection": "directus_operations" + }, + { + "name": "Comments", + "description": "Comments can be added to items.", + "x-collection": "directus_comments" + }, { "name": "Versions", "description": "Enables users to create unpublished copies of an item, modify them independently from the main version, and promote them to become the new main version when ready.", @@ -20868,18 +20857,41 @@ "x-collection": "directus_settings" }, { - "name": "Webhooks", - "description": "Webhooks.", - "x-collection": "directus_webhooks" + "name": "Extensions", + "description": "Directus can easily be extended through the addition of several types of extensions, including layouts, interfaces, and modules.", + "x-collection": "directus_extensions" }, { - "name": "Users", - "description": "Users are what gives you access to the data.", - "x-collection": "directus_users" + "name": "ItemsDirectusSyncIDMap", + "x-collection": "directus_sync_id_map" }, { - "name": "ItemsItemsItems", - "x-collection": "items_items" + "name": "ItemsRelations", + "x-collection": "relations" + }, + { + "name": "ItemsOceannomadsProfiles", + "x-collection": "oceannomads_profiles" + }, + { + "name": "ItemsAttestations", + "x-collection": "attestations" + }, + { + "name": "ItemsAttestationsDirectusUsers", + "x-collection": "attestations_directus_users" + }, + { + "name": "ItemsContactInfos", + "x-collection": "contactInfos" + }, + { + "name": "ItemsCrowdfundings", + "x-collection": "crowdfundings" + }, + { + "name": "ItemsFeatures", + "x-collection": "features" }, { "name": "ItemsGallery", @@ -20889,50 +20901,70 @@ "name": "ItemsGroupSubheaders", "x-collection": "groupSubheaders" }, + { + "name": "ItemsGroupSubheadersGroupTypes", + "x-collection": "groupSubheaders_groupTypes" + }, { "name": "ItemsGroupTypes", "x-collection": "groupTypes" }, + { + "name": "ItemsMarkerIcons", + "x-collection": "marker_icons" + }, { "name": "ItemsInviteLinks", "x-collection": "inviteLinks" }, - { - "name": "ItemsItemsFiles", - "x-collection": "items_files" - }, { "name": "ItemsItems", "x-collection": "items" }, - { - "name": "ItemsJunctionDirectusUsersTags1", - "x-collection": "junction_directus_users_tags_1" - }, - { - "name": "ItemsLayers", - "x-collection": "layers" - }, - { - "name": "ItemsItemsTags1", - "x-collection": "items_tags_1" - }, { "name": "ItemsItemSecrets", "x-collection": "itemSecrets" }, + { + "name": "ItemsLayers", + "x-collection": "layers" + }, + { + "name": "ItemsItemsFiles", + "x-collection": "items_files" + }, + { + "name": "ItemsItemsItems", + "x-collection": "items_items" + }, { "name": "ItemsItemsTags", "x-collection": "items_tags" }, { - "name": "ItemsLayersDirectusUsers1", - "x-collection": "layers_directus_users_1" + "name": "ItemsTags", + "x-collection": "tags" + }, + { + "name": "ItemsItemsTags1", + "x-collection": "items_tags_1" }, { "name": "ItemsJunctionDirectusUsersTags", "x-collection": "junction_directus_users_tags" }, + { + "name": "ItemsJunctionDirectusUsersTags1", + "x-collection": "junction_directus_users_tags_1" + }, + { + "name": "ItemsTypes", + "x-collection": "types" + }, + { + "name": "ItemsLayersDirectusUsers1", + "x-collection": "layers_directus_users_1" + }, { "name": "ItemsLayersFiles", "x-collection": "layers_files" @@ -20942,60 +20974,28 @@ "x-collection": "layers_maps" }, { - "name": "ItemsFeatures", - "x-collection": "features" + "name": "ItemsMaps", + "x-collection": "maps" + }, + { + "name": "ItemsThemes", + "x-collection": "Themes" }, { "name": "ItemsStartEnd", "x-collection": "startEnd" }, - { - "name": "ItemsTags", - "x-collection": "tags" - }, - { - "name": "ItemsOceannomadsProfiles", - "x-collection": "oceannomads_profiles" - }, - { - "name": "ItemsRelations", - "x-collection": "relations" - }, { "name": "ItemsTeam", "x-collection": "team" }, - { - "name": "ItemsTypes", - "x-collection": "types" - }, { "name": "ItemsTexts", "x-collection": "texts" }, - { - "name": "ItemsMaps", - "x-collection": "maps" - }, { "name": "ItemsTypesProfileTemplate", "x-collection": "types_profileTemplate" - }, - { - "name": "ItemsAttestationsDirectusUsers", - "x-collection": "attestations_directus_users" - }, - { - "name": "ItemsGroupSubheadersGroupTypes", - "x-collection": "groupSubheaders_groupTypes" - }, - { - "name": "ItemsMarkerIcons", - "x-collection": "marker_icons" - }, - { - "name": "ItemsDirectusSyncIDMap", - "x-collection": "directus_sync_id_map" } ], "components": { @@ -21626,145 +21626,58 @@ } } }, - "ItemsContactInfos": { + "Collections": { "type": "object", "properties": { - "id": { - "nullable": false, - "type": "string", - "format": "uuid" + "collection": { + "description": "The collection key.", + "example": "customers", + "type": "string" }, - "user_created": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "user_updated": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "heading": { + "icon": { "nullable": true, "type": "string" - } - }, - "x-collection": "contactInfos", - "required": [ - "id" - ] - }, - "ItemsCrowdfundings": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "string", - "format": "uuid" }, - "user_created": { + "note": { "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "user_updated": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - } - }, - "x-collection": "crowdfundings", - "required": [ - "id" - ] - }, - "ItemsThemes": { - "type": "object", - "properties": { - "theme": { - "nullable": false, "type": "string" - } - }, - "x-collection": "Themes", - "required": [ - "theme" - ] - }, - "ItemsAttestations": { - "type": "object", - "properties": { - "id": { + }, + "display_template": { + "nullable": true, + "type": "string" + }, + "hidden": { "nullable": false, - "type": "string", - "format": "uuid" + "type": "boolean" }, - "user_created": { + "singleton": { + "nullable": false, + "type": "boolean" + }, + "translations": { + "nullable": true + }, + "archive_field": { "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] + "type": "string" }, - "date_created": { + "archive_app_filter": { + "nullable": false, + "type": "boolean" + }, + "archive_value": { "nullable": true, - "type": "string", - "format": "timestamp" + "type": "string" }, - "text": { + "unarchive_value": { + "nullable": true, + "type": "string" + }, + "sort_field": { + "nullable": true, + "type": "string" + }, + "accountability": { "nullable": true, "type": "string" }, @@ -21772,33 +21685,38 @@ "nullable": true, "type": "string" }, - "emoji": { + "item_duplication_fields": { + "nullable": true + }, + "sort": { + "nullable": true, + "type": "integer" + }, + "group": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] + }, + "collapse": { + "nullable": false, + "type": "string" + }, + "preview_url": { "nullable": true, "type": "string" }, - "shape": { - "nullable": true, - "type": "string" - }, - "to": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" - } - ] - } + "versioning": { + "nullable": false, + "type": "boolean" } }, - "x-collection": "attestations", - "required": [ - "id" - ] + "x-collection": "directus_collections" }, "Fields": { "type": "object", @@ -21889,16 +21807,118 @@ }, "x-collection": "directus_fields" }, - "Comments": { + "Activity": { "type": "object", "properties": { "id": { - "description": "Unique identifier for this single collection preset.", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", + "description": "Unique identifier for the object.", + "example": 2, + "type": "integer" + }, + "action": { + "description": "Action that was performed.", + "example": "update", + "type": "string", + "enum": [ + "create", + "update", + "delete", + "login" + ] + }, + "user": { + "description": "The user who performed this action.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" + } + ], + "nullable": true + }, + "timestamp": { + "description": "When the action happened.", + "example": "2019-12-05T22:52:09Z", + "type": "string", + "format": "date-time" + }, + "ip": { + "description": "The IP address of the user at the time the action took place.", + "example": "127.0.0.1", + "oneOf": [ + { + "type": "string", + "format": "ipv4" + } + ] + }, + "user_agent": { + "description": "User agent string of the browser the user used when the action took place.", + "example": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/78.0.3904.108 Safari/537.36", "type": "string" }, "collection": { - "description": "The collection of the item the Comment is created for.", + "description": "Collection identifier in which the item resides.", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] + }, + "item": { + "description": "Unique identifier for the item the action applied to. This is always a string, even for integer primary keys.", + "example": "328", + "type": "string" + }, + "origin": { + "description": "Origin of the request when the action took place.", + "example": "https://directus.io", + "type": "string" + }, + "revisions": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/Revisions" + } + ] + } + } + }, + "x-collection": "directus_activity" + }, + "Revisions": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the revision.", + "example": 1, + "type": "integer" + }, + "activity": { + "description": "Unique identifier for the activity record.", + "example": 2, + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/Activity" + } + ] + }, + "collection": { + "description": "Collection of the updated item.", "example": "articles", "oneOf": [ { @@ -21910,84 +21930,331 @@ ] }, "item": { - "description": "The item the Comment is created for.", - "example": "123", + "description": "Primary key of updated item.", + "example": "168", "type": "string" }, - "comment": { - "description": "User comment. This will store the comments that show up in the right sidebar of the item edit page in the admin app.", - "example": "This is a comment", - "type": "string" - }, - "date_created": { - "description": "When the Comment was created.", - "type": "string", - "example": "2024-01-23T12:34:56Z", - "format": "date-time", + "data": { + "description": "Copy of item state at time of update.", + "example": { + "author": 1, + "body": "This is my first post", + "featured_image": 15, + "id": "168", + "title": "Hello, World!" + }, + "type": "object", "nullable": true }, - "date_updated": { - "description": "When the Comment was updated.", - "type": "string", - "example": "2024-01-23T12:34:56Z", - "format": "date-time", + "delta": { + "description": "Changes between the previous and the current revision.", + "example": { + "title": "Hello, World!" + }, + "type": "object" + }, + "parent": { + "description": "If the current item was updated relationally, this is the id of the parent revision record", + "example": null, + "type": "integer", "nullable": true }, - "user_created": { - "description": "User that created the Comment.", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", + "version": { + "description": "Associated version of this revision.", + "example": "draft", "oneOf": [ { "type": "string" }, { - "$ref": "#/components/schemas/Users" - } - ] - }, - "user_updated": { - "description": "User that updated the Comment.", - "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Users" + "$ref": "#/components/schemas/Versions" } ] } }, - "x-collection": "directus_comments" + "x-collection": "directus_revisions" }, - "Extensions": { + "Relations": { "type": "object", "properties": { - "enabled": { + "id": { + "description": "Unique identifier for the relation.", + "example": 1, + "type": "integer" + }, + "many_collection": { + "description": "Collection that has the field that holds the foreign key.", + "example": "directus_activity", + "type": "string" + }, + "many_field": { + "description": "Foreign key. Field that holds the primary key of the related collection.", + "example": "user", + "type": "string" + }, + "one_collection": { + "description": "Collection on the _one_ side of the relationship.", + "example": "directus_users", + "type": "string" + }, + "one_field": { + "description": "Alias column that serves as the _one_ side of the relationship.", + "example": null, + "type": "string", + "nullable": true + }, + "one_collection_field": { + "nullable": true, + "type": "string" + }, + "one_allowed_collections": { + "nullable": true, + "type": "array", + "items": { + "type": "string" + } + }, + "junction_field": { + "description": "Field on the junction table that holds the many field of the related relation.", + "example": null, + "type": "string", + "nullable": true + }, + "sort_field": { + "nullable": true, + "type": "string" + }, + "one_deselect_action": { + "nullable": false, + "type": "string" + } + }, + "x-collection": "directus_relations" + }, + "Permissions": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for the permission.", + "example": 1, + "type": "integer" + }, + "collection": { + "description": "What collection this permission applies to.", + "example": "customers", + "type": "string" + }, + "action": { + "description": "What action this permission applies to.", + "example": "create", + "type": "string", + "enum": [ + "create", + "read", + "update", + "delete" + ] + }, + "permissions": { + "description": "JSON structure containing the permissions checks for this permission.", + "type": "object", + "nullable": true + }, + "validation": { + "description": "JSON structure containing the validation checks for this permission.", + "type": "object", + "nullable": true + }, + "presets": { + "description": "JSON structure containing the preset value for created/updated items.", + "type": "object", + "nullable": true + }, + "fields": { + "description": "CSV of fields that the user is allowed to interact with.", + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "policy": { + "nullable": false + } + }, + "x-collection": "directus_permissions" + }, + "Presets": { + "type": "object", + "properties": { + "id": { + "description": "Unique identifier for this single collection preset.", + "example": 155, + "type": "integer" + }, + "bookmark": { + "description": "Name for the bookmark. If this is set, the preset will be considered a bookmark.", + "nullable": true, + "type": "string" + }, + "user": { + "description": "The unique identifier of the user to whom this collection preset applies.", + "example": "63716273-0f29-4648-8a2a-2af2948f6f78", + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "role": { + "description": "The unique identifier of a role in the platform. If `user` is null, this will be used to apply the collection preset or bookmark for all users in the role.", + "example": "50419801-0f30-8644-2b3c-9bc2d980d0a0", + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Roles" + } + ] + }, + "collection": { + "description": "What collection this collection preset is used for.", + "example": "articles", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Collections" + } + ] + }, + "search": { + "description": "Search query.", + "type": "string", + "nullable": true + }, + "layout": { + "description": "Key of the layout that is used.", + "type": "string", + "example": null + }, + "layout_query": { + "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters.", + "example": { + "cards": { + "sort": "-published_on" + } + }, + "nullable": true + }, + "layout_options": { + "description": "Options of the views. The properties in here are controlled by the layout.", + "example": { + "cards": { + "icon": "account_circle", + "title": "{{ first_name }} {{ last_name }}", + "subtitle": "{{ title }}", + "size": 3 + } + }, + "nullable": true + }, + "refresh_interval": { + "nullable": true, + "type": "integer" + }, + "filter": { + "nullable": true + }, + "icon": { + "nullable": true, + "type": "string" + }, + "color": { + "nullable": true, + "type": "string" + } + }, + "x-collection": "directus_presets" + }, + "Webhooks": { + "type": "object", + "properties": { + "id": { + "description": "The index of the webhook.", + "type": "integer", + "example": 1 + }, + "name": { + "description": "The name of the webhook.", + "type": "string", + "example": "create articles" + }, + "method": { + "description": "Method used in the webhook.", + "type": "string", + "example": "POST" + }, + "url": { + "description": "The url of the webhook.", + "type": "string", + "example": null, + "nullable": true + }, + "status": { + "description": "The status of the webhook.", + "type": "string", + "example": "inactive" + }, + "data": { + "description": "If yes, send the content of what was done", + "type": "boolean", + "example": true + }, + "actions": { + "description": "The actions that triggers this webhook.", + "type": "array", + "items": { + "type": "string" + }, + "example": null, + "nullable": true + }, + "collections": { + "nullable": false, + "type": "array", + "items": { + "type": "string" + } + }, + "headers": { + "nullable": true + }, + "was_active_before_deprecation": { "nullable": false, "type": "boolean" }, - "id": { - "nullable": false, - "type": "string", - "format": "uuid" - }, - "folder": { - "nullable": false, - "type": "string" - }, - "source": { - "nullable": false, - "type": "string" - }, - "bundle": { - "description": "Name of the bundle the extension is in.", - "example": "directus-extension-my-bundle", - "type": "string", - "nullable": true + "migrated_flow": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Flows" + } + ] } }, - "x-collection": "directus_extensions" + "x-collection": "directus_webhooks" }, "Flows": { "type": "object", @@ -22189,363 +22456,16 @@ }, "x-collection": "directus_operations" }, - "Permissions": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the permission.", - "example": 1, - "type": "integer" - }, - "collection": { - "description": "What collection this permission applies to.", - "example": "customers", - "type": "string" - }, - "action": { - "description": "What action this permission applies to.", - "example": "create", - "type": "string", - "enum": [ - "create", - "read", - "update", - "delete" - ] - }, - "permissions": { - "description": "JSON structure containing the permissions checks for this permission.", - "type": "object", - "nullable": true - }, - "validation": { - "description": "JSON structure containing the validation checks for this permission.", - "type": "object", - "nullable": true - }, - "presets": { - "description": "JSON structure containing the preset value for created/updated items.", - "type": "object", - "nullable": true - }, - "fields": { - "description": "CSV of fields that the user is allowed to interact with.", - "type": "array", - "items": { - "type": "string" - }, - "nullable": true - }, - "policy": { - "nullable": false - } - }, - "x-collection": "directus_permissions" - }, - "Activity": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the object.", - "example": 2, - "type": "integer" - }, - "action": { - "description": "Action that was performed.", - "example": "update", - "type": "string", - "enum": [ - "create", - "update", - "delete", - "login" - ] - }, - "user": { - "description": "The user who performed this action.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Users" - } - ], - "nullable": true - }, - "timestamp": { - "description": "When the action happened.", - "example": "2019-12-05T22:52:09Z", - "type": "string", - "format": "date-time" - }, - "ip": { - "description": "The IP address of the user at the time the action took place.", - "example": "127.0.0.1", - "oneOf": [ - { - "type": "string", - "format": "ipv4" - } - ] - }, - "user_agent": { - "description": "User agent string of the browser the user used when the action took place.", - "example": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/78.0.3904.108 Safari/537.36", - "type": "string" - }, - "collection": { - "description": "Collection identifier in which the item resides.", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Collections" - } - ] - }, - "item": { - "description": "Unique identifier for the item the action applied to. This is always a string, even for integer primary keys.", - "example": "328", - "type": "string" - }, - "origin": { - "description": "Origin of the request when the action took place.", - "example": "https://directus.io", - "type": "string" - }, - "revisions": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/Revisions" - } - ] - } - } - }, - "x-collection": "directus_activity" - }, - "Collections": { - "type": "object", - "properties": { - "collection": { - "description": "The collection key.", - "example": "customers", - "type": "string" - }, - "icon": { - "nullable": true, - "type": "string" - }, - "note": { - "nullable": true, - "type": "string" - }, - "display_template": { - "nullable": true, - "type": "string" - }, - "hidden": { - "nullable": false, - "type": "boolean" - }, - "singleton": { - "nullable": false, - "type": "boolean" - }, - "translations": { - "nullable": true - }, - "archive_field": { - "nullable": true, - "type": "string" - }, - "archive_app_filter": { - "nullable": false, - "type": "boolean" - }, - "archive_value": { - "nullable": true, - "type": "string" - }, - "unarchive_value": { - "nullable": true, - "type": "string" - }, - "sort_field": { - "nullable": true, - "type": "string" - }, - "accountability": { - "nullable": true, - "type": "string" - }, - "color": { - "nullable": true, - "type": "string" - }, - "item_duplication_fields": { - "nullable": true - }, - "sort": { - "nullable": true, - "type": "integer" - }, - "group": { - "nullable": true, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Collections" - } - ] - }, - "collapse": { - "nullable": false, - "type": "string" - }, - "preview_url": { - "nullable": true, - "type": "string" - }, - "versioning": { - "nullable": false, - "type": "boolean" - } - }, - "x-collection": "directus_collections" - }, - "Presets": { + "Comments": { "type": "object", "properties": { "id": { "description": "Unique identifier for this single collection preset.", - "example": 155, - "type": "integer" - }, - "bookmark": { - "description": "Name for the bookmark. If this is set, the preset will be considered a bookmark.", - "nullable": true, + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", "type": "string" }, - "user": { - "description": "The unique identifier of the user to whom this collection preset applies.", - "example": "63716273-0f29-4648-8a2a-2af2948f6f78", - "nullable": true, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "role": { - "description": "The unique identifier of a role in the platform. If `user` is null, this will be used to apply the collection preset or bookmark for all users in the role.", - "example": "50419801-0f30-8644-2b3c-9bc2d980d0a0", - "nullable": true, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Roles" - } - ] - }, "collection": { - "description": "What collection this collection preset is used for.", - "example": "articles", - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/Collections" - } - ] - }, - "search": { - "description": "Search query.", - "type": "string", - "nullable": true - }, - "layout": { - "description": "Key of the layout that is used.", - "type": "string", - "example": null - }, - "layout_query": { - "description": "Layout query that's saved per layout type. Controls what data is fetched on load. These follow the same format as the JS SDK parameters.", - "example": { - "cards": { - "sort": "-published_on" - } - }, - "nullable": true - }, - "layout_options": { - "description": "Options of the views. The properties in here are controlled by the layout.", - "example": { - "cards": { - "icon": "account_circle", - "title": "{{ first_name }} {{ last_name }}", - "subtitle": "{{ title }}", - "size": 3 - } - }, - "nullable": true - }, - "refresh_interval": { - "nullable": true, - "type": "integer" - }, - "filter": { - "nullable": true - }, - "icon": { - "nullable": true, - "type": "string" - }, - "color": { - "nullable": true, - "type": "string" - } - }, - "x-collection": "directus_presets" - }, - "Revisions": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the revision.", - "example": 1, - "type": "integer" - }, - "activity": { - "description": "Unique identifier for the activity record.", - "example": 2, - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/Activity" - } - ] - }, - "collection": { - "description": "Collection of the updated item.", + "description": "The collection of the item the Comment is created for.", "example": "articles", "oneOf": [ { @@ -22557,106 +22477,55 @@ ] }, "item": { - "description": "Primary key of updated item.", - "example": "168", + "description": "The item the Comment is created for.", + "example": "123", "type": "string" }, - "data": { - "description": "Copy of item state at time of update.", - "example": { - "author": 1, - "body": "This is my first post", - "featured_image": 15, - "id": "168", - "title": "Hello, World!" - }, - "type": "object", + "comment": { + "description": "User comment. This will store the comments that show up in the right sidebar of the item edit page in the admin app.", + "example": "This is a comment", + "type": "string" + }, + "date_created": { + "description": "When the Comment was created.", + "type": "string", + "example": "2024-01-23T12:34:56Z", + "format": "date-time", "nullable": true }, - "delta": { - "description": "Changes between the previous and the current revision.", - "example": { - "title": "Hello, World!" - }, - "type": "object" - }, - "parent": { - "description": "If the current item was updated relationally, this is the id of the parent revision record", - "example": null, - "type": "integer", + "date_updated": { + "description": "When the Comment was updated.", + "type": "string", + "example": "2024-01-23T12:34:56Z", + "format": "date-time", "nullable": true }, - "version": { - "description": "Associated version of this revision.", - "example": "draft", + "user_created": { + "description": "User that created the Comment.", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", "oneOf": [ { "type": "string" }, { - "$ref": "#/components/schemas/Versions" + "$ref": "#/components/schemas/Users" + } + ] + }, + "user_updated": { + "description": "User that updated the Comment.", + "example": "81dfa7e0-56d2-471f-b96a-1cf8a62bdf28", + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/Users" } ] } }, - "x-collection": "directus_revisions" - }, - "Relations": { - "type": "object", - "properties": { - "id": { - "description": "Unique identifier for the relation.", - "example": 1, - "type": "integer" - }, - "many_collection": { - "description": "Collection that has the field that holds the foreign key.", - "example": "directus_activity", - "type": "string" - }, - "many_field": { - "description": "Foreign key. Field that holds the primary key of the related collection.", - "example": "user", - "type": "string" - }, - "one_collection": { - "description": "Collection on the _one_ side of the relationship.", - "example": "directus_users", - "type": "string" - }, - "one_field": { - "description": "Alias column that serves as the _one_ side of the relationship.", - "example": null, - "type": "string", - "nullable": true - }, - "one_collection_field": { - "nullable": true, - "type": "string" - }, - "one_allowed_collections": { - "nullable": true, - "type": "array", - "items": { - "type": "string" - } - }, - "junction_field": { - "description": "Field on the junction table that holds the many field of the related relation.", - "example": null, - "type": "string", - "nullable": true - }, - "sort_field": { - "nullable": true, - "type": "string" - }, - "one_deselect_action": { - "nullable": false, - "type": "string" - } - }, - "x-collection": "directus_relations" + "x-collection": "directus_comments" }, "Versions": { "type": "object", @@ -23010,119 +22879,236 @@ }, "x-collection": "directus_settings" }, - "Webhooks": { + "Extensions": { "type": "object", "properties": { - "id": { - "description": "The index of the webhook.", - "type": "integer", - "example": 1 - }, - "name": { - "description": "The name of the webhook.", - "type": "string", - "example": "create articles" - }, - "method": { - "description": "Method used in the webhook.", - "type": "string", - "example": "POST" - }, - "url": { - "description": "The url of the webhook.", - "type": "string", - "example": null, - "nullable": true - }, - "status": { - "description": "The status of the webhook.", - "type": "string", - "example": "inactive" - }, - "data": { - "description": "If yes, send the content of what was done", - "type": "boolean", - "example": true - }, - "actions": { - "description": "The actions that triggers this webhook.", - "type": "array", - "items": { - "type": "string" - }, - "example": null, - "nullable": true - }, - "collections": { - "nullable": false, - "type": "array", - "items": { - "type": "string" - } - }, - "headers": { - "nullable": true - }, - "was_active_before_deprecation": { + "enabled": { "nullable": false, "type": "boolean" }, - "migrated_flow": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Flows" - } - ] + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "folder": { + "nullable": false, + "type": "string" + }, + "source": { + "nullable": false, + "type": "string" + }, + "bundle": { + "description": "Name of the bundle the extension is in.", + "example": "directus-extension-my-bundle", + "type": "string", + "nullable": true } }, - "x-collection": "directus_webhooks" + "x-collection": "directus_extensions" }, - "ItemsItemsItems": { + "ItemsDirectusSyncIDMap": { "type": "object", "properties": { "id": { "nullable": false, "type": "integer" }, - "items_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsItems" - } - ] + "table": { + "nullable": false, + "type": "string" }, - "related_items_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsItems" - } - ] + "sync_id": { + "nullable": false, + "type": "string" }, - "type": { + "local_id": { + "nullable": false, + "type": "string" + }, + "created_at": { + "nullable": true, + "type": "string", + "format": "timestamp" + } + }, + "x-collection": "directus_sync_id_map", + "required": [ + "table", + "sync_id", + "local_id" + ] + }, + "ItemsRelations": { + "type": "object", + "properties": { + "id": { + "nullable": false, + "type": "integer" + }, + "relation": { "nullable": true, "type": "string" } }, - "x-collection": "items_items" + "x-collection": "relations" }, - "ItemsGallery": { + "ItemsOceannomadsProfiles": { "type": "object", "properties": { + "avatar_url": { + "nullable": true, + "type": "string" + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "email": { + "nullable": true, + "type": "string" + }, + "first_name": { + "nullable": true, + "type": "string" + }, + "id": { + "nullable": false, + "type": "string" + }, + "last_name": { + "nullable": true, + "type": "string" + }, + "location": { + "nullable": true, + "type": "string" + } + }, + "x-collection": "oceannomads_profiles", + "required": [ + "id" + ] + }, + "ItemsAttestations": { + "type": "object", + "properties": { + "color": { + "nullable": true, + "type": "string" + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "emoji": { + "nullable": true, + "type": "string" + }, + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "shape": { + "nullable": true, + "type": "string" + }, + "text": { + "nullable": true, + "type": "string" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "to": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsAttestationsDirectusUsers" + } + ] + } + } + }, + "x-collection": "attestations", + "required": [ + "id" + ] + }, + "ItemsAttestationsDirectusUsers": { + "type": "object", + "properties": { + "attestations_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsAttestations" + } + ] + }, + "directus_users_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "id": { + "nullable": false, + "type": "integer" + } + }, + "x-collection": "attestations_directus_users" + }, + "ItemsContactInfos": { + "type": "object", + "properties": { + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "heading": { + "nullable": true, + "type": "string" + }, "id": { "nullable": false, "type": "string", @@ -23140,11 +23126,54 @@ } ] }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + } + }, + "x-collection": "contactInfos", + "required": [ + "id" + ] + }, + "ItemsCrowdfundings": { + "type": "object", + "properties": { "date_created": { "nullable": true, "type": "string", "format": "timestamp" }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, "user_updated": { "nullable": true, "oneOf": [ @@ -23156,6 +23185,84 @@ "$ref": "#/components/schemas/Users" } ] + } + }, + "x-collection": "crowdfundings", + "required": [ + "id" + ] + }, + "ItemsFeatures": { + "type": "object", + "properties": { + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "heading": { + "nullable": true, + "type": "string" + }, + "id": { + "nullable": false, + "type": "integer" + }, + "sort": { + "nullable": true, + "type": "integer" + }, + "status": { + "nullable": false, + "type": "string" + }, + "symbol": { + "nullable": true, + "type": "string" + }, + "text": { + "nullable": true, + "type": "string" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + } + }, + "x-collection": "features" + }, + "ItemsGallery": { + "type": "object", + "properties": { + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" }, "date_updated": { "nullable": true, @@ -23165,6 +23272,35 @@ "hideInputLabel": { "nullable": true, "type": "boolean" + }, + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] } }, "x-collection": "gallery", @@ -23175,11 +23311,31 @@ "ItemsGroupSubheaders": { "type": "object", "properties": { + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "groupStates": { + "nullable": true + }, "id": { "nullable": false, "type": "string", "format": "uuid" }, + "platforms": { + "nullable": true + }, + "shareBaseUrl": { + "nullable": true, + "type": "string" + }, "user_created": { "nullable": true, "oneOf": [ @@ -23192,11 +23348,6 @@ } ] }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, "user_updated": { "nullable": true, "oneOf": [ @@ -23209,21 +23360,6 @@ } ] }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "shareBaseUrl": { - "nullable": true, - "type": "string" - }, - "groupStates": { - "nullable": true - }, - "platforms": { - "nullable": true - }, "groupTypes": { "nullable": true, "type": "array", @@ -23244,15 +23380,10 @@ "id" ] }, - "ItemsGroupTypes": { + "ItemsGroupSubheadersGroupTypes": { "type": "object", "properties": { - "id": { - "nullable": false, - "type": "string", - "format": "uuid" - }, - "user_created": { + "groupSubheaders_id": { "nullable": true, "oneOf": [ { @@ -23260,39 +23391,50 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/Users" + "$ref": "#/components/schemas/ItemsGroupSubheaders" } ] }, + "groupTypes_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsGroupTypes" + } + ] + }, + "id": { + "nullable": false, + "type": "integer" + } + }, + "x-collection": "groupSubheaders_groupTypes" + }, + "ItemsGroupTypes": { + "type": "object", + "properties": { + "color": { + "nullable": true, + "type": "string" + }, "date_created": { "nullable": true, "type": "string", "format": "timestamp" }, - "user_updated": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, "date_updated": { "nullable": true, "type": "string", "format": "timestamp" }, - "name": { - "nullable": true, - "type": "string" - }, - "color": { - "nullable": true, - "type": "string" + "id": { + "nullable": false, + "type": "string", + "format": "uuid" }, "image": { "nullable": true, @@ -23316,20 +23458,10 @@ "$ref": "#/components/schemas/ItemsMarkerIcons" } ] - } - }, - "x-collection": "groupTypes", - "required": [ - "id" - ] - }, - "ItemsInviteLinks": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "string", - "format": "uuid" + }, + "name": { + "nullable": true, + "type": "string" }, "user_created": { "nullable": true, @@ -23343,11 +23475,6 @@ } ] }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, "user_updated": { "nullable": true, "oneOf": [ @@ -23359,38 +23486,21 @@ "$ref": "#/components/schemas/Users" } ] - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" } }, - "x-collection": "inviteLinks", + "x-collection": "groupTypes", "required": [ "id" ] }, - "ItemsItemsFiles": { + "ItemsMarkerIcons": { "type": "object", "properties": { "id": { "nullable": false, - "type": "integer" + "type": "string" }, - "items_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsItems" - } - ] - }, - "directus_files_id": { + "image": { "nullable": true, "oneOf": [ { @@ -23401,13 +23511,30 @@ "$ref": "#/components/schemas/Files" } ] + }, + "size": { + "nullable": true, + "type": "number" } }, - "x-collection": "items_files" + "x-collection": "marker_icons", + "required": [ + "id" + ] }, - "ItemsItems": { + "ItemsInviteLinks": { "type": "object", "properties": { + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, "id": { "nullable": false, "type": "string", @@ -23425,11 +23552,6 @@ } ] }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, "user_updated": { "nullable": true, "oneOf": [ @@ -23441,23 +23563,51 @@ "$ref": "#/components/schemas/Users" } ] + } + }, + "x-collection": "inviteLinks", + "required": [ + "id" + ] + }, + "ItemsItems": { + "type": "object", + "properties": { + "color": { + "nullable": true, + "type": "string" + }, + "contact": { + "nullable": true, + "type": "string" + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" }, "date_updated": { "nullable": true, "type": "string", "format": "timestamp" }, - "name": { + "draft": { + "nullable": true, + "type": "boolean" + }, + "end": { + "nullable": true, + "type": "string", + "format": "date-time" + }, + "group_type": { "nullable": true, "type": "string" }, - "text": { - "nullable": true, - "type": "string" - }, - "position": { - "nullable": true, - "type": "object" + "id": { + "nullable": false, + "type": "string", + "format": "uuid" }, "image": { "nullable": true, @@ -23483,17 +23633,26 @@ } ] }, - "start": { + "markerIcon": { "nullable": true, - "type": "string", - "format": "date-time" + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/ItemsMarkerIcons" + } + ] }, - "end": { + "name": { "nullable": true, - "type": "string", - "format": "date-time" + "type": "string" }, - "color": { + "next_appointment": { + "nullable": true, + "type": "string" + }, + "openCollectiveSlug": { "nullable": true, "type": "string" }, @@ -23509,9 +23668,9 @@ } ] }, - "subname": { + "position": { "nullable": true, - "type": "string" + "type": "object" }, "public_edit": { "nullable": true, @@ -23521,44 +23680,50 @@ "nullable": true, "type": "string" }, + "start": { + "nullable": true, + "type": "string", + "format": "date-time" + }, "status": { "nullable": true, "type": "string" }, - "markerIcon": { + "subname": { "nullable": true, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/ItemsMarkerIcons" - } - ] + "type": "string" }, "telephone": { "nullable": true, "type": "string" }, - "group_type": { + "text": { "nullable": true, "type": "string" }, - "next_appointment": { + "user_created": { "nullable": true, - "type": "string" + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] }, - "contact": { + "user_updated": { "nullable": true, - "type": "string" - }, - "openCollectiveSlug": { - "nullable": true, - "type": "string" - }, - "draft": { - "nullable": true, - "type": "boolean" + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] }, "gallery": { "nullable": true, @@ -23574,20 +23739,6 @@ ] } }, - "offers": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsItemsTags" - } - ] - } - }, "needs": { "nullable": true, "type": "array", @@ -23602,6 +23753,20 @@ ] } }, + "offers": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsItemsTags" + } + ] + } + }, "relations": { "nullable": true, "type": "array", @@ -23637,39 +23802,31 @@ "id" ] }, - "ItemsJunctionDirectusUsersTags1": { + "ItemsItemSecrets": { "type": "object", "properties": { - "id": { + "item": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsItems" + } + ] + }, + "secret": { "nullable": false, - "type": "integer" - }, - "directus_users_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "tags_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsTags" - } - ] + "type": "string", + "format": "uuid" } }, - "x-collection": "junction_directus_users_tags_1" + "x-collection": "itemSecrets", + "required": [ + "secret" + ] }, "ItemsLayers": { "type": "object", @@ -23679,22 +23836,6 @@ "type": "string", "format": "uuid" }, - "name": { - "nullable": true, - "type": "string" - }, - "markerShape": { - "nullable": true, - "type": "string" - }, - "menuText": { - "nullable": true, - "type": "string" - }, - "menuColor": { - "nullable": true, - "type": "string" - }, "indexIcon": { "nullable": true, "oneOf": [ @@ -23707,19 +23848,7 @@ } ] }, - "menuIcon": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Files" - } - ] - }, - "onlyOnePerOwner": { + "index_plus_button": { "nullable": true, "type": "boolean" }, @@ -23735,13 +23864,16 @@ } ] }, - "index_plus_button": { + "item_presets": { + "nullable": true + }, + "listed": { "nullable": true, "type": "boolean" }, - "public_edit_items": { + "markerDefaultColor2": { "nullable": true, - "type": "boolean" + "type": "string" }, "markerIcon": { "nullable": true, @@ -23754,16 +23886,41 @@ } ] }, - "markerDefaultColor2": { + "markerShape": { "nullable": true, "type": "string" }, - "listed": { + "menuColor": { + "nullable": true, + "type": "string" + }, + "menuIcon": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + }, + "menuText": { + "nullable": true, + "type": "string" + }, + "name": { + "nullable": true, + "type": "string" + }, + "onlyOnePerOwner": { "nullable": true, "type": "boolean" }, - "item_presets": { - "nullable": true + "public_edit_items": { + "nullable": true, + "type": "boolean" }, "userProfileLayer": { "nullable": true, @@ -23803,7 +23960,41 @@ "id" ] }, - "ItemsItemsTags1": { + "ItemsItemsFiles": { + "type": "object", + "properties": { + "directus_files_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + }, + "id": { + "nullable": false, + "type": "integer" + }, + "items_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsItems" + } + ] + } + }, + "x-collection": "items_files" + }, + "ItemsItemsItems": { "type": "object", "properties": { "id": { @@ -23822,30 +24013,7 @@ } ] }, - "tags_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsTags" - } - ] - } - }, - "x-collection": "items_tags_1" - }, - "ItemsItemSecrets": { - "type": "object", - "properties": { - "secret": { - "nullable": false, - "type": "string", - "format": "uuid" - }, - "item": { + "related_items_id": { "nullable": true, "oneOf": [ { @@ -23856,12 +24024,13 @@ "$ref": "#/components/schemas/ItemsItems" } ] + }, + "type": { + "nullable": true, + "type": "string" } }, - "x-collection": "itemSecrets", - "required": [ - "secret" - ] + "x-collection": "items_items" }, "ItemsItemsTags": { "type": "object", @@ -23897,14 +24066,24 @@ }, "x-collection": "items_tags" }, - "ItemsLayersDirectusUsers1": { + "ItemsTags": { "type": "object", "properties": { + "color": { + "nullable": true, + "type": "string" + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "date-time" + }, "id": { "nullable": false, - "type": "integer" + "type": "string", + "format": "uuid" }, - "layers_id": { + "map": { "nullable": true, "oneOf": [ { @@ -23912,33 +24091,37 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsLayers" + "$ref": "#/components/schemas/ItemsMaps" } ] }, - "directus_users_id": { + "name": { "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] + "type": "string" + }, + "offer_or_need": { + "nullable": true, + "type": "boolean" + }, + "user_created": { + "nullable": true, + "type": "string", + "format": "uuid" } }, - "x-collection": "layers_directus_users_1" + "x-collection": "tags", + "required": [ + "id" + ] }, - "ItemsJunctionDirectusUsersTags": { + "ItemsItemsTags1": { "type": "object", "properties": { "id": { "nullable": false, "type": "integer" }, - "directus_users_id": { + "items_id": { "nullable": true, "oneOf": [ { @@ -23946,7 +24129,7 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/Users" + "$ref": "#/components/schemas/ItemsItems" } ] }, @@ -23963,11 +24146,221 @@ ] } }, - "x-collection": "junction_directus_users_tags" + "x-collection": "items_tags_1" }, - "ItemsLayersFiles": { + "ItemsJunctionDirectusUsersTags": { "type": "object", "properties": { + "directus_users_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "id": { + "nullable": false, + "type": "integer" + }, + "tags_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsTags" + } + ] + } + }, + "x-collection": "junction_directus_users_tags" + }, + "ItemsJunctionDirectusUsersTags1": { + "type": "object", + "properties": { + "directus_users_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "id": { + "nullable": false, + "type": "integer" + }, + "tags_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsTags" + } + ] + } + }, + "x-collection": "junction_directus_users_tags_1" + }, + "ItemsTypes": { + "type": "object", + "properties": { + "custom_text": { + "nullable": true, + "type": "string" + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "icon_as_labels": { + "nullable": true, + "type": "boolean" + }, + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "name": { + "nullable": true, + "type": "string" + }, + "offers_and_needs": { + "nullable": true, + "type": "boolean" + }, + "onepager": { + "nullable": true, + "type": "boolean" + }, + "questlog": { + "nullable": true, + "type": "boolean" + }, + "relations": { + "nullable": true, + "type": "boolean" + }, + "show_name": { + "nullable": true, + "type": "boolean" + }, + "show_name_input": { + "nullable": true, + "type": "boolean" + }, + "show_profile_button": { + "nullable": true, + "type": "boolean" + }, + "show_start_end": { + "nullable": true, + "type": "boolean" + }, + "show_start_end_input": { + "nullable": true, + "type": "boolean" + }, + "show_text": { + "nullable": true, + "type": "boolean" + }, + "show_text_input": { + "nullable": true, + "type": "boolean" + }, + "template": { + "nullable": true, + "type": "string" + }, + "text": { + "nullable": true, + "type": "boolean" + }, + "text_area": { + "nullable": true, + "type": "boolean" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "profileTemplate": { + "nullable": true, + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "#/components/schemas/ItemsTypesProfileTemplate" + } + ] + } + } + }, + "x-collection": "types", + "required": [ + "id" + ] + }, + "ItemsLayersDirectusUsers1": { + "type": "object", + "properties": { + "directus_users_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, "id": { "nullable": false, "type": "integer" @@ -23983,7 +24376,13 @@ "$ref": "#/components/schemas/ItemsLayers" } ] - }, + } + }, + "x-collection": "layers_directus_users_1" + }, + "ItemsLayersFiles": { + "type": "object", + "properties": { "directus_files_id": { "nullable": true, "oneOf": [ @@ -23995,6 +24394,22 @@ "$ref": "#/components/schemas/Files" } ] + }, + "id": { + "nullable": false, + "type": "integer" + }, + "layers_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsLayers" + } + ] } }, "x-collection": "layers_files" @@ -24033,516 +24448,50 @@ }, "x-collection": "layers_maps" }, - "ItemsFeatures": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "integer" - }, - "status": { - "nullable": false, - "type": "string" - }, - "sort": { - "nullable": true, - "type": "integer" - }, - "user_created": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "user_updated": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "heading": { - "nullable": true, - "type": "string" - }, - "symbol": { - "nullable": true, - "type": "string" - }, - "text": { - "nullable": true, - "type": "string" - } - }, - "x-collection": "features" - }, - "ItemsStartEnd": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "string", - "format": "uuid" - }, - "user_created": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "user_updated": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - } - }, - "x-collection": "startEnd", - "required": [ - "id" - ] - }, - "ItemsTags": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "string", - "format": "uuid" - }, - "name": { - "nullable": true, - "type": "string" - }, - "color": { - "nullable": true, - "type": "string" - }, - "map": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsMaps" - } - ] - }, - "offer_or_need": { - "nullable": true, - "type": "boolean" - }, - "user_created": { - "nullable": true, - "type": "string", - "format": "uuid" - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "date-time" - } - }, - "x-collection": "tags", - "required": [ - "id" - ] - }, - "ItemsOceannomadsProfiles": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "string" - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "email": { - "nullable": true, - "type": "string" - }, - "first_name": { - "nullable": true, - "type": "string" - }, - "last_name": { - "nullable": true, - "type": "string" - }, - "location": { - "nullable": true, - "type": "string" - }, - "avatar_url": { - "nullable": true, - "type": "string" - } - }, - "x-collection": "oceannomads_profiles", - "required": [ - "id" - ] - }, - "ItemsRelations": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "integer" - }, - "relation": { - "nullable": true, - "type": "string" - } - }, - "x-collection": "relations" - }, - "ItemsTeam": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "string", - "format": "uuid" - }, - "status": { - "nullable": false, - "type": "string" - }, - "sort": { - "nullable": true, - "type": "integer" - }, - "user_created": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "user_updated": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "name": { - "nullable": true, - "type": "string" - }, - "role": { - "nullable": true, - "type": "string" - }, - "text": { - "nullable": true, - "type": "string" - }, - "image": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Files" - } - ] - } - }, - "x-collection": "team", - "required": [ - "id" - ] - }, - "ItemsTypes": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "string", - "format": "uuid" - }, - "user_created": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "user_updated": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "name": { - "nullable": true, - "type": "string" - }, - "show_text_input": { - "nullable": true, - "type": "boolean" - }, - "show_name_input": { - "nullable": true, - "type": "boolean" - }, - "show_profile_button": { - "nullable": true, - "type": "boolean" - }, - "show_text": { - "nullable": true, - "type": "boolean" - }, - "show_name": { - "nullable": true, - "type": "boolean" - }, - "custom_text": { - "nullable": true, - "type": "string" - }, - "show_start_end_input": { - "nullable": true, - "type": "boolean" - }, - "show_start_end": { - "nullable": true, - "type": "boolean" - }, - "offers_and_needs": { - "nullable": true, - "type": "boolean" - }, - "relations": { - "nullable": true, - "type": "boolean" - }, - "onepager": { - "nullable": true, - "type": "boolean" - }, - "text_area": { - "nullable": true, - "type": "boolean" - }, - "text": { - "nullable": true, - "type": "boolean" - }, - "questlog": { - "nullable": true, - "type": "boolean" - }, - "icon_as_labels": { - "nullable": true, - "type": "boolean" - }, - "template": { - "nullable": true, - "type": "string" - }, - "profileTemplate": { - "nullable": true, - "type": "array", - "items": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/ItemsTypesProfileTemplate" - } - ] - } - } - }, - "x-collection": "types", - "required": [ - "id" - ] - }, - "ItemsTexts": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "string", - "format": "uuid" - }, - "user_created": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_created": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "user_updated": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - }, - "date_updated": { - "nullable": true, - "type": "string", - "format": "timestamp" - }, - "heading": { - "nullable": true, - "type": "string" - }, - "hideWhenEmpty": { - "nullable": true, - "type": "boolean" - }, - "dataField": { - "nullable": true, - "type": "string" - }, - "size": { - "nullable": true, - "type": "string" - }, - "showMarkdownHint": { - "nullable": true, - "type": "boolean" - } - }, - "x-collection": "texts", - "required": [ - "id" - ] - }, "ItemsMaps": { "type": "object", "properties": { + "center": { + "nullable": true, + "type": "object" + }, + "custom_text": { + "nullable": true, + "description": "Replace the info text in the info popup", + "type": "string" + }, + "default_theme": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "$ref": "#/components/schemas/ItemsThemes" + } + ] + }, + "donation_widget": { + "nullable": true, + "description": "Shows a donation widget after 10 minutes", + "type": "boolean" + }, + "expand_layer_control": { + "nullable": true, + "type": "boolean" + }, + "geo": { + "nullable": true, + "description": "You can include GeoJSON" + }, "id": { "nullable": false, "type": "string", "format": "uuid" }, - "name": { + "info_open": { "nullable": true, - "type": "string" - }, - "url": { - "nullable": true, - "type": "string" + "type": "boolean" }, "logo": { "nullable": true, @@ -24557,91 +24506,50 @@ } ] }, - "zoom": { + "name": { "nullable": true, - "type": "integer" - }, - "center": { - "nullable": true, - "type": "object" + "type": "string" }, "own_tag_space": { "nullable": true, "type": "boolean" }, - "geo": { - "nullable": true, - "description": "You can include GeoJSON" - }, - "show_layer_control": { - "nullable": true, - "type": "boolean" - }, "show_filter_control": { "nullable": true, "type": "boolean" }, - "user_type": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsTypes" - } - ] - }, - "custom_text": { - "nullable": true, - "description": "Replace the info text in the info popup", - "type": "string" - }, "show_gratitude_control": { "nullable": true, "type": "boolean" }, - "donation_widget": { + "show_layer_control": { "nullable": true, - "description": "Shows a donation widget after 10 minutes", "type": "boolean" }, "show_theme_control": { "nullable": true, "type": "boolean" }, - "default_theme": { - "nullable": true, - "oneOf": [ - { - "type": "string" - }, - { - "$ref": "#/components/schemas/ItemsThemes" - } - ] - }, "show_zoom_control": { "nullable": false, "type": "boolean" }, - "expand_layer_control": { + "tile_server_attribution": { "nullable": true, - "type": "boolean" - }, - "info_open": { - "nullable": true, - "type": "boolean" + "type": "string" }, "tile_server_url": { "nullable": true, "type": "string" }, - "tile_server_attribution": { + "url": { "nullable": true, "type": "string" }, + "zoom": { + "nullable": true, + "type": "integer" + }, "layers": { "nullable": true, "type": "array", @@ -24662,14 +24570,38 @@ "id" ] }, - "ItemsTypesProfileTemplate": { + "ItemsThemes": { "type": "object", "properties": { + "theme": { + "nullable": false, + "type": "string" + } + }, + "x-collection": "Themes", + "required": [ + "theme" + ] + }, + "ItemsStartEnd": { + "type": "object", + "properties": { + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, "id": { "nullable": false, - "type": "integer" + "type": "string", + "format": "uuid" }, - "types_id": { + "user_created": { "nullable": true, "oneOf": [ { @@ -24677,10 +24609,187 @@ "format": "uuid" }, { - "$ref": "#/components/schemas/ItemsTypes" + "$ref": "#/components/schemas/Users" } ] }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + } + }, + "x-collection": "startEnd", + "required": [ + "id" + ] + }, + "ItemsTeam": { + "type": "object", + "properties": { + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "image": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Files" + } + ] + }, + "name": { + "nullable": true, + "type": "string" + }, + "role": { + "nullable": true, + "type": "string" + }, + "sort": { + "nullable": true, + "type": "integer" + }, + "status": { + "nullable": false, + "type": "string" + }, + "text": { + "nullable": true, + "type": "string" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + } + }, + "x-collection": "team", + "required": [ + "id" + ] + }, + "ItemsTexts": { + "type": "object", + "properties": { + "dataField": { + "nullable": true, + "type": "string" + }, + "date_created": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "date_updated": { + "nullable": true, + "type": "string", + "format": "timestamp" + }, + "heading": { + "nullable": true, + "type": "string" + }, + "hideWhenEmpty": { + "nullable": true, + "type": "boolean" + }, + "id": { + "nullable": false, + "type": "string", + "format": "uuid" + }, + "showMarkdownHint": { + "nullable": true, + "type": "boolean" + }, + "size": { + "nullable": true, + "type": "string" + }, + "user_created": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + }, + "user_updated": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/Users" + } + ] + } + }, + "x-collection": "texts", + "required": [ + "id" + ] + }, + "ItemsTypesProfileTemplate": { + "type": "object", + "properties": { + "collection": { + "nullable": true, + "type": "string" + }, + "id": { + "nullable": false, + "type": "integer" + }, "item": { "nullable": true, "type": "array", @@ -24689,6 +24798,9 @@ { "type": "string" }, + { + "$ref": "#/components/schemas/ItemsRelations" + }, { "$ref": "#/components/schemas/ItemsContactInfos" }, @@ -24707,154 +24819,30 @@ { "$ref": "#/components/schemas/ItemsStartEnd" }, - { - "$ref": "#/components/schemas/ItemsRelations" - }, { "$ref": "#/components/schemas/ItemsTexts" } ] } }, - "collection": { - "nullable": true, - "type": "string" - }, "sort": { "nullable": true, "type": "integer" + }, + "types_id": { + "nullable": true, + "oneOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "$ref": "#/components/schemas/ItemsTypes" + } + ] } }, "x-collection": "types_profileTemplate" - }, - "ItemsAttestationsDirectusUsers": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "integer" - }, - "attestations_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsAttestations" - } - ] - }, - "directus_users_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Users" - } - ] - } - }, - "x-collection": "attestations_directus_users" - }, - "ItemsGroupSubheadersGroupTypes": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "integer" - }, - "groupSubheaders_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsGroupSubheaders" - } - ] - }, - "groupTypes_id": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/ItemsGroupTypes" - } - ] - } - }, - "x-collection": "groupSubheaders_groupTypes" - }, - "ItemsMarkerIcons": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "string" - }, - "size": { - "nullable": true, - "type": "number" - }, - "image": { - "nullable": true, - "oneOf": [ - { - "type": "string", - "format": "uuid" - }, - { - "$ref": "#/components/schemas/Files" - } - ] - } - }, - "x-collection": "marker_icons", - "required": [ - "id" - ] - }, - "ItemsDirectusSyncIDMap": { - "type": "object", - "properties": { - "id": { - "nullable": false, - "type": "integer" - }, - "table": { - "nullable": false, - "type": "string" - }, - "sync_id": { - "nullable": false, - "type": "string" - }, - "local_id": { - "nullable": false, - "type": "string" - }, - "created_at": { - "nullable": true, - "type": "string", - "format": "timestamp" - } - }, - "x-collection": "directus_sync_id_map", - "required": [ - "table", - "sync_id", - "local_id" - ] } }, "parameters": { diff --git a/backend/directus-config/specs/system.graphql b/backend/directus-config/specs/system.graphql index 1dd45c33..c623be7e 100644 --- a/backend/directus-config/specs/system.graphql +++ b/backend/directus-config/specs/system.graphql @@ -17,67 +17,67 @@ type Query { permissions_me: permissions_me_type roles_me: [directus_roles] policies_me_globals: policy_me_globals_type + roles(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_roles!]! + roles_by_id(id: ID!, version: String): directus_roles + roles_aggregated(groupBy: [String], filter: directus_roles_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_roles_aggregated!]! + files(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_files!]! + files_by_id(id: ID!, version: String): directus_files + files_aggregated(groupBy: [String], filter: directus_files_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_files_aggregated!]! + folders(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_folders!]! + folders_by_id(id: ID!, version: String): directus_folders + folders_aggregated(groupBy: [String], filter: directus_folders_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_folders_aggregated!]! + activity(filter: directus_activity_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_activity!]! + activity_by_id(id: ID!, version: String): directus_activity + activity_aggregated(groupBy: [String], filter: directus_activity_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_activity_aggregated!]! + revisions(filter: directus_revisions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_revisions!]! + revisions_by_id(id: ID!, version: String): directus_revisions + revisions_aggregated(groupBy: [String], filter: directus_revisions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_revisions_aggregated!]! + permissions(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_permissions!]! + permissions_by_id(id: ID!, version: String): directus_permissions + permissions_aggregated(groupBy: [String], filter: directus_permissions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_permissions_aggregated!]! + users(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_users!]! + users_by_id(id: ID!, version: String): directus_users + users_aggregated(groupBy: [String], filter: directus_users_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_users_aggregated!]! + presets(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_presets!]! + presets_by_id(id: ID!, version: String): directus_presets + presets_aggregated(groupBy: [String], filter: directus_presets_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_presets_aggregated!]! + webhooks(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_webhooks!]! + webhooks_by_id(id: ID!, version: String): directus_webhooks + webhooks_aggregated(groupBy: [String], filter: directus_webhooks_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_webhooks_aggregated!]! + panels(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_panels!]! + panels_by_id(id: ID!, version: String): directus_panels + panels_aggregated(groupBy: [String], filter: directus_panels_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_panels_aggregated!]! + notifications(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_notifications!]! + notifications_by_id(id: ID!, version: String): directus_notifications + notifications_aggregated(groupBy: [String], filter: directus_notifications_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_notifications_aggregated!]! + shares(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_shares!]! + shares_by_id(id: ID!, version: String): directus_shares + shares_aggregated(groupBy: [String], filter: directus_shares_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_shares_aggregated!]! + flows(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_flows!]! + flows_by_id(id: ID!, version: String): directus_flows + flows_aggregated(groupBy: [String], filter: directus_flows_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_flows_aggregated!]! + operations(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_operations!]! + operations_by_id(id: ID!, version: String): directus_operations + operations_aggregated(groupBy: [String], filter: directus_operations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_operations_aggregated!]! + dashboards(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_dashboards!]! + dashboards_by_id(id: ID!, version: String): directus_dashboards + dashboards_aggregated(groupBy: [String], filter: directus_dashboards_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_dashboards_aggregated!]! + translations(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_translations!]! + translations_by_id(id: ID!, version: String): directus_translations + translations_aggregated(groupBy: [String], filter: directus_translations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_translations_aggregated!]! access(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_access!]! access_by_id(id: ID!, version: String): directus_access access_aggregated(groupBy: [String], filter: directus_access_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_access_aggregated!]! comments(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_comments!]! comments_by_id(id: ID!, version: String): directus_comments comments_aggregated(groupBy: [String], filter: directus_comments_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_comments_aggregated!]! - dashboards(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_dashboards!]! - dashboards_by_id(id: ID!, version: String): directus_dashboards - dashboards_aggregated(groupBy: [String], filter: directus_dashboards_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_dashboards_aggregated!]! - folders(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_folders!]! - folders_by_id(id: ID!, version: String): directus_folders - folders_aggregated(groupBy: [String], filter: directus_folders_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_folders_aggregated!]! - flows(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_flows!]! - flows_by_id(id: ID!, version: String): directus_flows - flows_aggregated(groupBy: [String], filter: directus_flows_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_flows_aggregated!]! - notifications(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_notifications!]! - notifications_by_id(id: ID!, version: String): directus_notifications - notifications_aggregated(groupBy: [String], filter: directus_notifications_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_notifications_aggregated!]! - operations(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_operations!]! - operations_by_id(id: ID!, version: String): directus_operations - operations_aggregated(groupBy: [String], filter: directus_operations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_operations_aggregated!]! - panels(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_panels!]! - panels_by_id(id: ID!, version: String): directus_panels - panels_aggregated(groupBy: [String], filter: directus_panels_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_panels_aggregated!]! - permissions(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_permissions!]! - permissions_by_id(id: ID!, version: String): directus_permissions - permissions_aggregated(groupBy: [String], filter: directus_permissions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_permissions_aggregated!]! - activity(filter: directus_activity_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_activity!]! - activity_by_id(id: ID!, version: String): directus_activity - activity_aggregated(groupBy: [String], filter: directus_activity_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_activity_aggregated!]! - files(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_files!]! - files_by_id(id: ID!, version: String): directus_files - files_aggregated(groupBy: [String], filter: directus_files_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_files_aggregated!]! - roles(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_roles!]! - roles_by_id(id: ID!, version: String): directus_roles - roles_aggregated(groupBy: [String], filter: directus_roles_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_roles_aggregated!]! - presets(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_presets!]! - presets_by_id(id: ID!, version: String): directus_presets - presets_aggregated(groupBy: [String], filter: directus_presets_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_presets_aggregated!]! - revisions(filter: directus_revisions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_revisions!]! - revisions_by_id(id: ID!, version: String): directus_revisions - revisions_aggregated(groupBy: [String], filter: directus_revisions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_revisions_aggregated!]! versions(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_versions!]! versions_by_id(id: ID!, version: String): directus_versions versions_aggregated(groupBy: [String], filter: directus_versions_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_versions_aggregated!]! settings(version: String): directus_settings - webhooks(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_webhooks!]! - webhooks_by_id(id: ID!, version: String): directus_webhooks - webhooks_aggregated(groupBy: [String], filter: directus_webhooks_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_webhooks_aggregated!]! policies(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_policies!]! policies_by_id(id: ID!, version: String): directus_policies policies_aggregated(groupBy: [String], filter: directus_policies_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_policies_aggregated!]! - translations(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_translations!]! - translations_by_id(id: ID!, version: String): directus_translations - translations_aggregated(groupBy: [String], filter: directus_translations_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_translations_aggregated!]! - shares(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_shares!]! - shares_by_id(id: ID!, version: String): directus_shares - shares_aggregated(groupBy: [String], filter: directus_shares_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_shares_aggregated!]! - users(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [directus_users!]! - users_by_id(id: ID!, version: String): directus_users - users_aggregated(groupBy: [String], filter: directus_users_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [directus_users_aggregated!]! } type Mutation { @@ -111,191 +111,191 @@ type Mutation { update_users_me(data: update_directus_users_input): directus_users import_file(url: String!, data: create_directus_files_input): directus_files users_invite(email: String!, role: String!, invite_url: String): Boolean + create_roles_items(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_roles_input!]): [directus_roles!]! + create_roles_item(data: create_directus_roles_input!): directus_roles + create_files_items(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_files_input!]): [directus_files!]! + create_files_item(data: create_directus_files_input!): directus_files + create_folders_items(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_folders_input!]): [directus_folders!]! + create_folders_item(data: create_directus_folders_input!): directus_folders + create_permissions_items(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_permissions_input!]): [directus_permissions!]! + create_permissions_item(data: create_directus_permissions_input!): directus_permissions + create_users_items(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_users_input!]): [directus_users!]! + create_users_item(data: create_directus_users_input!): directus_users + create_presets_items(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_presets_input!]): [directus_presets!]! + create_presets_item(data: create_directus_presets_input!): directus_presets + create_webhooks_items(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_webhooks_input!]): [directus_webhooks!]! + create_webhooks_item(data: create_directus_webhooks_input!): directus_webhooks + create_panels_items(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_panels_input!]): [directus_panels!]! + create_panels_item(data: create_directus_panels_input!): directus_panels + create_notifications_items(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_notifications_input!]): [directus_notifications!]! + create_notifications_item(data: create_directus_notifications_input!): directus_notifications + create_shares_items(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_shares_input!]): [directus_shares!]! + create_shares_item(data: create_directus_shares_input!): directus_shares + create_flows_items(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_flows_input!]): [directus_flows!]! + create_flows_item(data: create_directus_flows_input!): directus_flows + create_operations_items(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_operations_input!]): [directus_operations!]! + create_operations_item(data: create_directus_operations_input!): directus_operations + create_dashboards_items(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_dashboards_input!]): [directus_dashboards!]! + create_dashboards_item(data: create_directus_dashboards_input!): directus_dashboards + create_translations_items(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_translations_input!]): [directus_translations!]! + create_translations_item(data: create_directus_translations_input!): directus_translations create_access_items(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_access_input!]): [directus_access!]! create_access_item(data: create_directus_access_input!): directus_access create_comments_items(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_comments_input!]): [directus_comments!]! create_comments_item(data: create_directus_comments_input!): directus_comments - create_dashboards_items(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_dashboards_input!]): [directus_dashboards!]! - create_dashboards_item(data: create_directus_dashboards_input!): directus_dashboards - create_folders_items(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_folders_input!]): [directus_folders!]! - create_folders_item(data: create_directus_folders_input!): directus_folders - create_flows_items(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_flows_input!]): [directus_flows!]! - create_flows_item(data: create_directus_flows_input!): directus_flows - create_notifications_items(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_notifications_input!]): [directus_notifications!]! - create_notifications_item(data: create_directus_notifications_input!): directus_notifications - create_operations_items(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_operations_input!]): [directus_operations!]! - create_operations_item(data: create_directus_operations_input!): directus_operations - create_panels_items(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_panels_input!]): [directus_panels!]! - create_panels_item(data: create_directus_panels_input!): directus_panels - create_permissions_items(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_permissions_input!]): [directus_permissions!]! - create_permissions_item(data: create_directus_permissions_input!): directus_permissions - create_files_items(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_files_input!]): [directus_files!]! - create_files_item(data: create_directus_files_input!): directus_files - create_roles_items(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_roles_input!]): [directus_roles!]! - create_roles_item(data: create_directus_roles_input!): directus_roles - create_presets_items(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_presets_input!]): [directus_presets!]! - create_presets_item(data: create_directus_presets_input!): directus_presets create_versions_items(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_versions_input!]): [directus_versions!]! create_versions_item(data: create_directus_versions_input!): directus_versions - create_webhooks_items(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_webhooks_input!]): [directus_webhooks!]! - create_webhooks_item(data: create_directus_webhooks_input!): directus_webhooks create_policies_items(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_policies_input!]): [directus_policies!]! create_policies_item(data: create_directus_policies_input!): directus_policies - create_translations_items(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_translations_input!]): [directus_translations!]! - create_translations_item(data: create_directus_translations_input!): directus_translations - create_shares_items(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_shares_input!]): [directus_shares!]! - create_shares_item(data: create_directus_shares_input!): directus_shares - create_users_items(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [create_directus_users_input!]): [directus_users!]! - create_users_item(data: create_directus_users_input!): directus_users + update_roles_items(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_roles_input!): [directus_roles!]! + update_roles_batch(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_roles_input!]): [directus_roles!]! + update_roles_item(id: ID!, data: update_directus_roles_input!): directus_roles + update_files_items(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_files_input!): [directus_files!]! + update_files_batch(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_files_input!]): [directus_files!]! + update_files_item(id: ID!, data: update_directus_files_input!): directus_files + update_folders_items(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_folders_input!): [directus_folders!]! + update_folders_batch(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_folders_input!]): [directus_folders!]! + update_folders_item(id: ID!, data: update_directus_folders_input!): directus_folders + update_permissions_items(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_permissions_input!): [directus_permissions!]! + update_permissions_batch(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_permissions_input!]): [directus_permissions!]! + update_permissions_item(id: ID!, data: update_directus_permissions_input!): directus_permissions + update_users_items(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_users_input!): [directus_users!]! + update_users_batch(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_users_input!]): [directus_users!]! + update_users_item(id: ID!, data: update_directus_users_input!): directus_users + update_presets_items(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_presets_input!): [directus_presets!]! + update_presets_batch(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_presets_input!]): [directus_presets!]! + update_presets_item(id: ID!, data: update_directus_presets_input!): directus_presets + update_webhooks_items(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_webhooks_input!): [directus_webhooks!]! + update_webhooks_batch(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_webhooks_input!]): [directus_webhooks!]! + update_webhooks_item(id: ID!, data: update_directus_webhooks_input!): directus_webhooks + update_panels_items(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_panels_input!): [directus_panels!]! + update_panels_batch(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_panels_input!]): [directus_panels!]! + update_panels_item(id: ID!, data: update_directus_panels_input!): directus_panels + update_notifications_items(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_notifications_input!): [directus_notifications!]! + update_notifications_batch(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_notifications_input!]): [directus_notifications!]! + update_notifications_item(id: ID!, data: update_directus_notifications_input!): directus_notifications + update_shares_items(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_shares_input!): [directus_shares!]! + update_shares_batch(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_shares_input!]): [directus_shares!]! + update_shares_item(id: ID!, data: update_directus_shares_input!): directus_shares + update_flows_items(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_flows_input!): [directus_flows!]! + update_flows_batch(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_flows_input!]): [directus_flows!]! + update_flows_item(id: ID!, data: update_directus_flows_input!): directus_flows + update_operations_items(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_operations_input!): [directus_operations!]! + update_operations_batch(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_operations_input!]): [directus_operations!]! + update_operations_item(id: ID!, data: update_directus_operations_input!): directus_operations + update_dashboards_items(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_dashboards_input!): [directus_dashboards!]! + update_dashboards_batch(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_dashboards_input!]): [directus_dashboards!]! + update_dashboards_item(id: ID!, data: update_directus_dashboards_input!): directus_dashboards + update_translations_items(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_translations_input!): [directus_translations!]! + update_translations_batch(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_translations_input!]): [directus_translations!]! + update_translations_item(id: ID!, data: update_directus_translations_input!): directus_translations update_access_items(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_access_input!): [directus_access!]! update_access_batch(filter: directus_access_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_access_input!]): [directus_access!]! update_access_item(id: ID!, data: update_directus_access_input!): directus_access update_comments_items(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_comments_input!): [directus_comments!]! update_comments_batch(filter: directus_comments_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_comments_input!]): [directus_comments!]! update_comments_item(id: ID!, data: update_directus_comments_input!): directus_comments - update_dashboards_items(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_dashboards_input!): [directus_dashboards!]! - update_dashboards_batch(filter: directus_dashboards_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_dashboards_input!]): [directus_dashboards!]! - update_dashboards_item(id: ID!, data: update_directus_dashboards_input!): directus_dashboards - update_folders_items(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_folders_input!): [directus_folders!]! - update_folders_batch(filter: directus_folders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_folders_input!]): [directus_folders!]! - update_folders_item(id: ID!, data: update_directus_folders_input!): directus_folders - update_flows_items(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_flows_input!): [directus_flows!]! - update_flows_batch(filter: directus_flows_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_flows_input!]): [directus_flows!]! - update_flows_item(id: ID!, data: update_directus_flows_input!): directus_flows - update_notifications_items(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_notifications_input!): [directus_notifications!]! - update_notifications_batch(filter: directus_notifications_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_notifications_input!]): [directus_notifications!]! - update_notifications_item(id: ID!, data: update_directus_notifications_input!): directus_notifications - update_operations_items(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_operations_input!): [directus_operations!]! - update_operations_batch(filter: directus_operations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_operations_input!]): [directus_operations!]! - update_operations_item(id: ID!, data: update_directus_operations_input!): directus_operations - update_panels_items(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_panels_input!): [directus_panels!]! - update_panels_batch(filter: directus_panels_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_panels_input!]): [directus_panels!]! - update_panels_item(id: ID!, data: update_directus_panels_input!): directus_panels - update_permissions_items(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_permissions_input!): [directus_permissions!]! - update_permissions_batch(filter: directus_permissions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_permissions_input!]): [directus_permissions!]! - update_permissions_item(id: ID!, data: update_directus_permissions_input!): directus_permissions - update_files_items(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_files_input!): [directus_files!]! - update_files_batch(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_files_input!]): [directus_files!]! - update_files_item(id: ID!, data: update_directus_files_input!): directus_files - update_roles_items(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_roles_input!): [directus_roles!]! - update_roles_batch(filter: directus_roles_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_roles_input!]): [directus_roles!]! - update_roles_item(id: ID!, data: update_directus_roles_input!): directus_roles - update_presets_items(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_presets_input!): [directus_presets!]! - update_presets_batch(filter: directus_presets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_presets_input!]): [directus_presets!]! - update_presets_item(id: ID!, data: update_directus_presets_input!): directus_presets update_versions_items(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_versions_input!): [directus_versions!]! update_versions_batch(filter: directus_versions_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_versions_input!]): [directus_versions!]! update_versions_item(id: ID!, data: update_directus_versions_input!): directus_versions update_settings(data: update_directus_settings_input!): directus_settings - update_webhooks_items(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_webhooks_input!): [directus_webhooks!]! - update_webhooks_batch(filter: directus_webhooks_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_webhooks_input!]): [directus_webhooks!]! - update_webhooks_item(id: ID!, data: update_directus_webhooks_input!): directus_webhooks update_policies_items(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_policies_input!): [directus_policies!]! update_policies_batch(filter: directus_policies_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_policies_input!]): [directus_policies!]! update_policies_item(id: ID!, data: update_directus_policies_input!): directus_policies - update_translations_items(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_translations_input!): [directus_translations!]! - update_translations_batch(filter: directus_translations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_translations_input!]): [directus_translations!]! - update_translations_item(id: ID!, data: update_directus_translations_input!): directus_translations - update_shares_items(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_shares_input!): [directus_shares!]! - update_shares_batch(filter: directus_shares_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_shares_input!]): [directus_shares!]! - update_shares_item(id: ID!, data: update_directus_shares_input!): directus_shares - update_users_items(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, ids: [ID]!, data: update_directus_users_input!): [directus_users!]! - update_users_batch(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String, data: [update_directus_users_input!]): [directus_users!]! - update_users_item(id: ID!, data: update_directus_users_input!): directus_users + delete_roles_items(ids: [ID]!): delete_many + delete_roles_item(id: ID!): delete_one + delete_files_items(ids: [ID]!): delete_many + delete_files_item(id: ID!): delete_one + delete_folders_items(ids: [ID]!): delete_many + delete_folders_item(id: ID!): delete_one + delete_permissions_items(ids: [ID]!): delete_many + delete_permissions_item(id: ID!): delete_one + delete_users_items(ids: [ID]!): delete_many + delete_users_item(id: ID!): delete_one + delete_presets_items(ids: [ID]!): delete_many + delete_presets_item(id: ID!): delete_one + delete_webhooks_items(ids: [ID]!): delete_many + delete_webhooks_item(id: ID!): delete_one + delete_panels_items(ids: [ID]!): delete_many + delete_panels_item(id: ID!): delete_one + delete_notifications_items(ids: [ID]!): delete_many + delete_notifications_item(id: ID!): delete_one + delete_shares_items(ids: [ID]!): delete_many + delete_shares_item(id: ID!): delete_one + delete_flows_items(ids: [ID]!): delete_many + delete_flows_item(id: ID!): delete_one + delete_operations_items(ids: [ID]!): delete_many + delete_operations_item(id: ID!): delete_one + delete_dashboards_items(ids: [ID]!): delete_many + delete_dashboards_item(id: ID!): delete_one + delete_translations_items(ids: [ID]!): delete_many + delete_translations_item(id: ID!): delete_one delete_access_items(ids: [ID]!): delete_many delete_access_item(id: ID!): delete_one delete_comments_items(ids: [ID]!): delete_many delete_comments_item(id: ID!): delete_one - delete_dashboards_items(ids: [ID]!): delete_many - delete_dashboards_item(id: ID!): delete_one - delete_folders_items(ids: [ID]!): delete_many - delete_folders_item(id: ID!): delete_one - delete_flows_items(ids: [ID]!): delete_many - delete_flows_item(id: ID!): delete_one - delete_notifications_items(ids: [ID]!): delete_many - delete_notifications_item(id: ID!): delete_one - delete_operations_items(ids: [ID]!): delete_many - delete_operations_item(id: ID!): delete_one - delete_panels_items(ids: [ID]!): delete_many - delete_panels_item(id: ID!): delete_one - delete_permissions_items(ids: [ID]!): delete_many - delete_permissions_item(id: ID!): delete_one - delete_files_items(ids: [ID]!): delete_many - delete_files_item(id: ID!): delete_one - delete_roles_items(ids: [ID]!): delete_many - delete_roles_item(id: ID!): delete_one - delete_presets_items(ids: [ID]!): delete_many - delete_presets_item(id: ID!): delete_one delete_versions_items(ids: [ID]!): delete_many delete_versions_item(id: ID!): delete_one - delete_webhooks_items(ids: [ID]!): delete_many - delete_webhooks_item(id: ID!): delete_one delete_policies_items(ids: [ID]!): delete_many delete_policies_item(id: ID!): delete_one - delete_translations_items(ids: [ID]!): delete_many - delete_translations_item(id: ID!): delete_one - delete_shares_items(ids: [ID]!): delete_many - delete_shares_item(id: ID!): delete_one - delete_users_items(ids: [ID]!): delete_many - delete_users_item(id: ID!): delete_one } type Subscription { - contactInfos_mutated(event: EventEnum): contactInfos_mutated - crowdfundings_mutated(event: EventEnum): crowdfundings_mutated - directus_access_mutated(event: EventEnum): directus_access_mutated - Themes_mutated(event: EventEnum): Themes_mutated - attestations_mutated(event: EventEnum): attestations_mutated - directus_comments_mutated(event: EventEnum): directus_comments_mutated - directus_dashboards_mutated(event: EventEnum): directus_dashboards_mutated - directus_folders_mutated(event: EventEnum): directus_folders_mutated - directus_flows_mutated(event: EventEnum): directus_flows_mutated - directus_notifications_mutated(event: EventEnum): directus_notifications_mutated - directus_operations_mutated(event: EventEnum): directus_operations_mutated - directus_panels_mutated(event: EventEnum): directus_panels_mutated - directus_permissions_mutated(event: EventEnum): directus_permissions_mutated - directus_activity_mutated(event: EventEnum): directus_activity_mutated - directus_files_mutated(event: EventEnum): directus_files_mutated directus_roles_mutated(event: EventEnum): directus_roles_mutated - directus_presets_mutated(event: EventEnum): directus_presets_mutated + directus_files_mutated(event: EventEnum): directus_files_mutated + directus_folders_mutated(event: EventEnum): directus_folders_mutated + directus_activity_mutated(event: EventEnum): directus_activity_mutated directus_revisions_mutated(event: EventEnum): directus_revisions_mutated + directus_permissions_mutated(event: EventEnum): directus_permissions_mutated + directus_users_mutated(event: EventEnum): directus_users_mutated + directus_presets_mutated(event: EventEnum): directus_presets_mutated + directus_webhooks_mutated(event: EventEnum): directus_webhooks_mutated + directus_panels_mutated(event: EventEnum): directus_panels_mutated + directus_notifications_mutated(event: EventEnum): directus_notifications_mutated + directus_shares_mutated(event: EventEnum): directus_shares_mutated + directus_flows_mutated(event: EventEnum): directus_flows_mutated + directus_operations_mutated(event: EventEnum): directus_operations_mutated + directus_dashboards_mutated(event: EventEnum): directus_dashboards_mutated + directus_translations_mutated(event: EventEnum): directus_translations_mutated + directus_access_mutated(event: EventEnum): directus_access_mutated + directus_comments_mutated(event: EventEnum): directus_comments_mutated directus_versions_mutated(event: EventEnum): directus_versions_mutated directus_settings_mutated(event: EventEnum): directus_settings_mutated - directus_webhooks_mutated(event: EventEnum): directus_webhooks_mutated + directus_sync_id_map_mutated(event: EventEnum): directus_sync_id_map_mutated directus_policies_mutated(event: EventEnum): directus_policies_mutated - directus_translations_mutated(event: EventEnum): directus_translations_mutated - directus_shares_mutated(event: EventEnum): directus_shares_mutated - directus_users_mutated(event: EventEnum): directus_users_mutated - items_items_mutated(event: EventEnum): items_items_mutated + relations_mutated(event: EventEnum): relations_mutated + oceannomads_profiles_mutated(event: EventEnum): oceannomads_profiles_mutated + attestations_mutated(event: EventEnum): attestations_mutated + attestations_directus_users_mutated(event: EventEnum): attestations_directus_users_mutated + contactInfos_mutated(event: EventEnum): contactInfos_mutated + crowdfundings_mutated(event: EventEnum): crowdfundings_mutated + features_mutated(event: EventEnum): features_mutated gallery_mutated(event: EventEnum): gallery_mutated 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_files_mutated(event: EventEnum): items_files_mutated items_mutated(event: EventEnum): items_mutated - junction_directus_users_tags_1_mutated(event: EventEnum): junction_directus_users_tags_1_mutated - layers_mutated(event: EventEnum): layers_mutated - items_tags_1_mutated(event: EventEnum): items_tags_1_mutated itemSecrets_mutated(event: EventEnum): itemSecrets_mutated + layers_mutated(event: EventEnum): layers_mutated + items_files_mutated(event: EventEnum): items_files_mutated + items_items_mutated(event: EventEnum): items_items_mutated items_tags_mutated(event: EventEnum): items_tags_mutated - layers_directus_users_1_mutated(event: EventEnum): layers_directus_users_1_mutated + tags_mutated(event: EventEnum): tags_mutated + items_tags_1_mutated(event: EventEnum): items_tags_1_mutated junction_directus_users_tags_mutated(event: EventEnum): junction_directus_users_tags_mutated + junction_directus_users_tags_1_mutated(event: EventEnum): junction_directus_users_tags_1_mutated + types_mutated(event: EventEnum): types_mutated + layers_directus_users_1_mutated(event: EventEnum): layers_directus_users_1_mutated layers_files_mutated(event: EventEnum): layers_files_mutated layers_maps_mutated(event: EventEnum): layers_maps_mutated - features_mutated(event: EventEnum): features_mutated - startEnd_mutated(event: EventEnum): startEnd_mutated - tags_mutated(event: EventEnum): tags_mutated - oceannomads_profiles_mutated(event: EventEnum): oceannomads_profiles_mutated - relations_mutated(event: EventEnum): relations_mutated - team_mutated(event: EventEnum): team_mutated - types_mutated(event: EventEnum): types_mutated - texts_mutated(event: EventEnum): texts_mutated maps_mutated(event: EventEnum): maps_mutated + Themes_mutated(event: EventEnum): Themes_mutated + startEnd_mutated(event: EventEnum): startEnd_mutated + team_mutated(event: EventEnum): team_mutated + texts_mutated(event: EventEnum): texts_mutated types_profileTemplate_mutated(event: EventEnum): types_profileTemplate_mutated - attestations_directus_users_mutated(event: EventEnum): attestations_directus_users_mutated - groupSubheaders_groupTypes_mutated(event: EventEnum): groupSubheaders_groupTypes_mutated - marker_icons_mutated(event: EventEnum): marker_icons_mutated - directus_sync_id_map_mutated(event: EventEnum): directus_sync_id_map_mutated } """The `Boolean` scalar type represents `true` or `false`.""" @@ -366,22 +366,22 @@ enum graphql_sdl_scope { union types_profileTemplate_item_union = groupSubheaders | contactInfos | texts | startEnd | gallery | crowdfundings | inviteLinks | relations type attestations { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + color: String date_created: Date date_created_func: datetime_functions - text: String - color: String emoji: String + id: ID! shape: String + text: String + user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users to(filter: attestations_directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [attestations_directus_users] to_func: count_functions } type attestations_directus_users { - id: ID! attestations_id(filter: attestations_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): attestations directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + id: ID! } type attestations_directus_users_mutated { @@ -403,14 +403,14 @@ type auth_tokens { } type contactInfos { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions heading: String + id: ID! + 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 } type contactInfos_mutated { @@ -424,13 +424,13 @@ type count_functions { } type crowdfundings { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions + id: ID! + 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 } type crowdfundings_mutated { @@ -1705,18 +1705,18 @@ type directus_webhooks_mutated { } type features { - id: ID! - status: String - sort: Int - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions heading: String + id: ID! + sort: Int + status: String symbol: String text: 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 } type features_mutated { @@ -1726,14 +1726,14 @@ type features_mutated { } type gallery { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions hideInputLabel: Boolean + id: ID! + 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 } type gallery_mutated { @@ -1743,26 +1743,26 @@ type gallery_mutated { } type groupSubheaders { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions - shareBaseUrl: String groupStates: JSON groupStates_func: count_functions + id: ID! platforms: JSON platforms_func: count_functions + shareBaseUrl: 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 groupTypes(filter: groupSubheaders_groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [groupSubheaders_groupTypes] groupTypes_func: count_functions } type groupSubheaders_groupTypes { - id: ID! groupSubheaders_id(filter: groupSubheaders_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): groupSubheaders groupTypes_id(filter: groupTypes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): groupTypes + id: ID! } type groupSubheaders_groupTypes_mutated { @@ -1778,17 +1778,17 @@ type groupSubheaders_mutated { } type groupTypes { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + color: String date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions - name: String - color: String + id: ID! image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons + name: 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 } type groupTypes_mutated { @@ -1798,13 +1798,13 @@ type groupTypes_mutated { } type inviteLinks { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions + id: ID! + 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 } type inviteLinks_mutated { @@ -1814,41 +1814,41 @@ type inviteLinks_mutated { } type items { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + color: String + contact: String date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions - name: String - text: String - position: GraphQLGeoJSON - image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files - layer(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers - start: Date - start_func: datetime_functions + draft: Boolean end: Date end_func: datetime_functions - color: String + group_type: String + id: ID! + image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + 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 + next_appointment: String + openCollectiveSlug: String parent(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items - subname: String + position: GraphQLGeoJSON public_edit: Boolean slug: String + start: Date + start_func: datetime_functions status: String - markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons + subname: String telephone: String - group_type: String - next_appointment: String - contact: String - openCollectiveSlug: String - draft: Boolean + text: 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 gallery(filter: items_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_files] gallery_func: count_functions - offers(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags] - offers_func: count_functions needs(filter: items_tags_1_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags_1] needs_func: count_functions + offers(filter: items_tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_tags] + offers_func: count_functions relations(filter: items_items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [items_items] relations_func: count_functions secrets(filter: itemSecrets_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [itemSecrets] @@ -1856,9 +1856,9 @@ type items { } type items_files { + directus_files_id(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files id: ID! items_id(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items - directus_files_id(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files } type items_files_mutated { @@ -1911,8 +1911,8 @@ type items_tags_mutated { } type itemSecrets { - secret: ID! item(filter: items_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): items + secret: ID! } type itemSecrets_mutated { @@ -1922,14 +1922,14 @@ type itemSecrets_mutated { } type junction_directus_users_tags { - id: ID! directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + id: ID! tags_id(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): tags } type junction_directus_users_tags_1 { - id: ID! directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + id: ID! tags_id(filter: tags_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): tags } @@ -1947,21 +1947,21 @@ type junction_directus_users_tags_mutated { type layers { id: ID! - name: String - markerShape: String - menuText: String - menuColor: String indexIcon(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files - menuIcon(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files - onlyOnePerOwner: Boolean - itemType(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types index_plus_button: Boolean - public_edit_items: Boolean - markerIcon(filter: marker_icons_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): marker_icons - markerDefaultColor2: String - listed: Boolean + itemType(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types item_presets: JSON item_presets_func: count_functions + listed: Boolean + markerDefaultColor2: String + 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 userProfileLayer: Boolean maps(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_maps] maps_func: count_functions @@ -1970,9 +1970,9 @@ type layers { } type layers_directus_users_1 { + directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users id: ID! layers_id(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers - directus_users_id(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users } type layers_directus_users_1_mutated { @@ -1982,9 +1982,9 @@ type layers_directus_users_1_mutated { } type layers_files { + directus_files_id(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files id: ID! layers_id(filter: layers_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): layers - directus_files_id(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files } type layers_files_mutated { @@ -2012,34 +2012,33 @@ type layers_mutated { } type maps { - id: ID! - name: String - url: String - logo(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files - zoom: Int center: GraphQLGeoJSON - own_tag_space: Boolean + + """Replace the info text in the info popup""" + custom_text: String + default_theme(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): Themes + + """Shows a donation widget after 10 minutes""" + donation_widget: Boolean + expand_layer_control: Boolean """You can include GeoJSON""" geo: JSON geo_func: count_functions - show_layer_control: Boolean - show_filter_control: Boolean - user_type(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types - - """Replace the info text in the info popup""" - custom_text: String - show_gratitude_control: Boolean - - """Shows a donation widget after 10 minutes""" - donation_widget: Boolean - show_theme_control: Boolean - default_theme(filter: Themes_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): Themes - show_zoom_control: Boolean! - expand_layer_control: Boolean + id: ID! info_open: Boolean - tile_server_url: String + logo(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + name: String + own_tag_space: Boolean + show_filter_control: Boolean + show_gratitude_control: Boolean + show_layer_control: Boolean + show_theme_control: Boolean + show_zoom_control: Boolean! tile_server_attribution: String + tile_server_url: String + url: String + zoom: Int layers(filter: layers_maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): [layers_maps] layers_func: count_functions } @@ -2052,8 +2051,8 @@ type maps_mutated { type marker_icons { id: ID! - size: Float image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + size: Float } type marker_icons_mutated { @@ -2063,16 +2062,16 @@ type marker_icons_mutated { } type oceannomads_profiles { - id: ID! + avatar_url: String date_created: Date date_created_func: datetime_functions date_updated: Date date_updated_func: datetime_functions email: String first_name: String + id: ID! last_name: String location: String - avatar_url: String } type oceannomads_profiles_mutated { @@ -2126,13 +2125,13 @@ type server_info_query_limit { } type startEnd { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions + id: ID! + 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 } type startEnd_mutated { @@ -2142,14 +2141,14 @@ type startEnd_mutated { } type tags { - id: ID! - name: String color: String - map(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): maps - offer_or_need: Boolean - user_created: ID date_created: Date date_created_func: datetime_functions + id: ID! + map(filter: maps_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): maps + name: String + offer_or_need: Boolean + user_created: ID } type tags_mutated { @@ -2159,19 +2158,19 @@ type tags_mutated { } type team { - id: ID! - status: String - sort: Int - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions + id: ID! + image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files name: String role: String + sort: Int + status: String text: String - image(filter: directus_files_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_files + 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 } type team_mutated { @@ -2181,18 +2180,18 @@ type team_mutated { } type texts { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + dataField: String date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions heading: String hideWhenEmpty: Boolean - dataField: String - size: String + id: ID! showMarkdownHint: Boolean + size: 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 } type texts_mutated { @@ -2212,30 +2211,30 @@ type Themes_mutated { } type types { - id: ID! - user_created(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users + custom_text: String date_created: Date date_created_func: datetime_functions - user_updated(filter: directus_users_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): directus_users date_updated: Date date_updated_func: datetime_functions + icon_as_labels: Boolean + id: ID! name: String - show_text_input: Boolean + offers_and_needs: Boolean + onepager: Boolean + questlog: Boolean + relations: Boolean + show_name: Boolean show_name_input: Boolean show_profile_button: Boolean - show_text: Boolean - show_name: Boolean - custom_text: String - show_start_end_input: Boolean show_start_end: Boolean - offers_and_needs: Boolean - relations: Boolean - onepager: Boolean - text_area: Boolean - text: Boolean - questlog: Boolean - icon_as_labels: Boolean + show_start_end_input: Boolean + show_text: Boolean + show_text_input: Boolean template: String + text: Boolean + text_area: Boolean + 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] profileTemplate_func: count_functions } @@ -2247,11 +2246,11 @@ type types_mutated { } type types_profileTemplate { - id: ID! - types_id(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types - item: types_profileTemplate_item_union collection: String + id: ID! + item: types_profileTemplate_item_union sort: Int + types_id(filter: types_filter, sort: [String], limit: Int, offset: Int, page: Int, search: String): types } type types_profileTemplate_mutated { @@ -2381,18 +2380,18 @@ type write_directus_relations_schema { } input attestations_directus_users_filter { - id: number_filter_operators attestations_id: attestations_filter directus_users_id: directus_users_filter + id: number_filter_operators _and: [attestations_directus_users_filter] _or: [attestations_directus_users_filter] } """""" input attestations_directus_users_quantifier_filter { - id: number_filter_operators attestations_id: attestations_filter directus_users_id: directus_users_filter + id: number_filter_operators _and: [attestations_directus_users_filter] _or: [attestations_directus_users_filter] _some: attestations_directus_users_filter @@ -2400,14 +2399,14 @@ input attestations_directus_users_quantifier_filter { } input attestations_filter { - id: id_filter_operators - user_created: directus_users_filter + color: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators - text: string_filter_operators - color: string_filter_operators emoji: string_filter_operators + id: id_filter_operators shape: string_filter_operators + text: string_filter_operators + user_created: directus_users_filter to: attestations_directus_users_quantifier_filter to_func: count_function_filter_operators _and: [attestations_filter] @@ -2437,14 +2436,14 @@ input boolean_filter_operators { } input contactInfos_filter { - id: id_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators heading: string_filter_operators + id: id_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [contactInfos_filter] _or: [contactInfos_filter] } @@ -2725,27 +2724,27 @@ input create_directus_webhooks_input { } input create_layers_directus_users_1_input { + directus_users_id: create_directus_users_input id: ID layers_id: create_layers_input - directus_users_id: create_directus_users_input } input create_layers_input { id: ID - name: String - markerShape: String - menuText: String - menuColor: String indexIcon: create_directus_files_input - menuIcon: create_directus_files_input - onlyOnePerOwner: Boolean - itemType: create_types_input index_plus_button: Boolean - public_edit_items: Boolean - markerIcon: create_marker_icons_input - markerDefaultColor2: String - listed: Boolean + itemType: create_types_input item_presets: JSON + listed: Boolean + markerDefaultColor2: String + markerIcon: create_marker_icons_input + markerShape: String + menuColor: String + menuIcon: create_directus_files_input + menuText: String + name: String + onlyOnePerOwner: Boolean + public_edit_items: Boolean userProfileLayer: Boolean maps: [create_layers_maps_input] notifications: [create_layers_directus_users_1_input] @@ -2758,40 +2757,39 @@ input create_layers_maps_input { } input create_maps_input { - id: ID - name: String - url: String - logo: create_directus_files_input - zoom: Int center: GraphQLGeoJSON - own_tag_space: Boolean - - """You can include GeoJSON""" - geo: JSON - show_layer_control: Boolean - show_filter_control: Boolean - user_type: create_types_input """Replace the info text in the info popup""" custom_text: String - show_gratitude_control: Boolean + default_theme: create_Themes_input """Shows a donation widget after 10 minutes""" donation_widget: Boolean - show_theme_control: Boolean - default_theme: create_Themes_input - show_zoom_control: Boolean! expand_layer_control: Boolean + + """You can include GeoJSON""" + geo: JSON + id: ID info_open: Boolean - tile_server_url: String + logo: create_directus_files_input + name: String + own_tag_space: Boolean + show_filter_control: Boolean + show_gratitude_control: Boolean + show_layer_control: Boolean + show_theme_control: Boolean + show_zoom_control: Boolean! tile_server_attribution: String + tile_server_url: String + url: String + zoom: Int layers: [create_layers_maps_input] } input create_marker_icons_input { id: ID! - size: Float image: create_directus_files_input + size: Float } input create_Themes_input { @@ -2799,47 +2797,47 @@ input create_Themes_input { } input create_types_input { - id: ID - user_created: create_directus_users_input + custom_text: String date_created: Date - user_updated: create_directus_users_input date_updated: Date + icon_as_labels: Boolean + id: ID name: String - show_text_input: Boolean + offers_and_needs: Boolean + onepager: Boolean + questlog: Boolean + relations: Boolean + show_name: Boolean show_name_input: Boolean show_profile_button: Boolean - show_text: Boolean - show_name: Boolean - custom_text: String - show_start_end_input: Boolean show_start_end: Boolean - offers_and_needs: Boolean - relations: Boolean - onepager: Boolean - text_area: Boolean - text: Boolean - questlog: Boolean - icon_as_labels: Boolean + show_start_end_input: Boolean + show_text: Boolean + show_text_input: Boolean template: String + text: Boolean + text_area: Boolean + user_created: create_directus_users_input + user_updated: create_directus_users_input profileTemplate: [create_types_profileTemplate_input] } input create_types_profileTemplate_input { - id: ID - types_id: create_types_input - item: String collection: String + id: ID + item: String sort: Int + types_id: create_types_input } input crowdfundings_filter { - id: id_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators + id: id_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [crowdfundings_filter] _or: [crowdfundings_filter] } @@ -3405,14 +3403,14 @@ input directus_webhooks_filter { } input gallery_filter { - id: id_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators hideInputLabel: boolean_filter_operators + id: id_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [gallery_filter] _or: [gallery_filter] } @@ -3429,18 +3427,18 @@ input geometry_filter_operators { } input groupSubheaders_filter { - id: id_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators - shareBaseUrl: string_filter_operators groupStates: string_filter_operators groupStates_func: count_function_filter_operators + id: id_filter_operators platforms: string_filter_operators platforms_func: count_function_filter_operators + shareBaseUrl: string_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter groupTypes: groupSubheaders_groupTypes_quantifier_filter groupTypes_func: count_function_filter_operators _and: [groupSubheaders_filter] @@ -3448,18 +3446,18 @@ input groupSubheaders_filter { } input groupSubheaders_groupTypes_filter { - id: number_filter_operators groupSubheaders_id: groupSubheaders_filter groupTypes_id: groupTypes_filter + id: number_filter_operators _and: [groupSubheaders_groupTypes_filter] _or: [groupSubheaders_groupTypes_filter] } """""" input groupSubheaders_groupTypes_quantifier_filter { - id: number_filter_operators groupSubheaders_id: groupSubheaders_filter groupTypes_id: groupTypes_filter + id: number_filter_operators _and: [groupSubheaders_groupTypes_filter] _or: [groupSubheaders_groupTypes_filter] _some: groupSubheaders_groupTypes_filter @@ -3467,17 +3465,17 @@ input groupSubheaders_groupTypes_quantifier_filter { } input groupTypes_filter { - id: id_filter_operators - user_created: directus_users_filter + color: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators - name: string_filter_operators - color: string_filter_operators + id: id_filter_operators image: directus_files_filter markerIcon: marker_icons_filter + name: string_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [groupTypes_filter] _or: [groupTypes_filter] } @@ -3512,30 +3510,30 @@ input id_filter_operators { } input inviteLinks_filter { - id: id_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators + id: id_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [inviteLinks_filter] _or: [inviteLinks_filter] } input items_files_filter { + directus_files_id: directus_files_filter id: number_filter_operators items_id: items_filter - directus_files_id: directus_files_filter _and: [items_files_filter] _or: [items_files_filter] } """""" input items_files_quantifier_filter { + directus_files_id: directus_files_filter id: number_filter_operators items_id: items_filter - directus_files_id: directus_files_filter _and: [items_files_filter] _or: [items_files_filter] _some: items_files_filter @@ -3543,41 +3541,41 @@ input items_files_quantifier_filter { } input items_filter { - id: id_filter_operators - user_created: directus_users_filter + color: string_filter_operators + contact: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators - name: string_filter_operators - text: string_filter_operators - position: geometry_filter_operators - image: directus_files_filter - layer: layers_filter - start: date_filter_operators - start_func: datetime_function_filter_operators + draft: boolean_filter_operators end: date_filter_operators end_func: datetime_function_filter_operators - color: string_filter_operators + group_type: string_filter_operators + id: id_filter_operators + image: directus_files_filter + layer: layers_filter + markerIcon: marker_icons_filter + name: string_filter_operators + next_appointment: string_filter_operators + openCollectiveSlug: string_filter_operators parent: items_filter - subname: string_filter_operators + position: geometry_filter_operators public_edit: boolean_filter_operators slug: string_filter_operators + start: date_filter_operators + start_func: datetime_function_filter_operators status: string_filter_operators - markerIcon: marker_icons_filter + subname: string_filter_operators telephone: string_filter_operators - group_type: string_filter_operators - next_appointment: string_filter_operators - contact: string_filter_operators - openCollectiveSlug: string_filter_operators - draft: boolean_filter_operators + text: string_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter gallery: items_files_quantifier_filter gallery_func: count_function_filter_operators - offers: items_tags_quantifier_filter - offers_func: count_function_filter_operators needs: items_tags_1_quantifier_filter needs_func: count_function_filter_operators + offers: items_tags_quantifier_filter + offers_func: count_function_filter_operators relations: items_items_quantifier_filter relations_func: count_function_filter_operators secrets: itemSecrets_quantifier_filter @@ -3646,16 +3644,16 @@ input items_tags_quantifier_filter { } input itemSecrets_filter { - secret: id_filter_operators item: items_filter + secret: id_filter_operators _and: [itemSecrets_filter] _or: [itemSecrets_filter] } """""" input itemSecrets_quantifier_filter { - secret: id_filter_operators item: items_filter + secret: id_filter_operators _and: [itemSecrets_filter] _or: [itemSecrets_filter] _some: itemSecrets_filter @@ -3663,18 +3661,18 @@ input itemSecrets_quantifier_filter { } input layers_directus_users_1_filter { + directus_users_id: directus_users_filter id: number_filter_operators layers_id: layers_filter - directus_users_id: directus_users_filter _and: [layers_directus_users_1_filter] _or: [layers_directus_users_1_filter] } """""" input layers_directus_users_1_quantifier_filter { + directus_users_id: directus_users_filter id: number_filter_operators layers_id: layers_filter - directus_users_id: directus_users_filter _and: [layers_directus_users_1_filter] _or: [layers_directus_users_1_filter] _some: layers_directus_users_1_filter @@ -3683,21 +3681,21 @@ input layers_directus_users_1_quantifier_filter { input layers_filter { id: id_filter_operators - name: string_filter_operators - markerShape: string_filter_operators - menuText: string_filter_operators - menuColor: string_filter_operators indexIcon: directus_files_filter - menuIcon: directus_files_filter - onlyOnePerOwner: boolean_filter_operators - itemType: types_filter index_plus_button: boolean_filter_operators - public_edit_items: boolean_filter_operators - markerIcon: marker_icons_filter - markerDefaultColor2: string_filter_operators - listed: boolean_filter_operators + itemType: types_filter item_presets: string_filter_operators item_presets_func: count_function_filter_operators + listed: boolean_filter_operators + markerDefaultColor2: string_filter_operators + 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 userProfileLayer: boolean_filter_operators maps: layers_maps_quantifier_filter maps_func: count_function_filter_operators @@ -3727,28 +3725,27 @@ input layers_maps_quantifier_filter { } input maps_filter { - id: id_filter_operators - name: string_filter_operators - url: string_filter_operators - logo: directus_files_filter - zoom: number_filter_operators center: geometry_filter_operators - own_tag_space: boolean_filter_operators + custom_text: string_filter_operators + default_theme: Themes_filter + donation_widget: boolean_filter_operators + expand_layer_control: boolean_filter_operators geo: string_filter_operators geo_func: count_function_filter_operators - show_layer_control: boolean_filter_operators - show_filter_control: boolean_filter_operators - user_type: types_filter - custom_text: string_filter_operators - show_gratitude_control: boolean_filter_operators - donation_widget: boolean_filter_operators - show_theme_control: boolean_filter_operators - default_theme: Themes_filter - show_zoom_control: boolean_filter_operators - expand_layer_control: boolean_filter_operators + id: id_filter_operators info_open: boolean_filter_operators - tile_server_url: string_filter_operators + logo: directus_files_filter + name: string_filter_operators + own_tag_space: boolean_filter_operators + show_filter_control: boolean_filter_operators + show_gratitude_control: boolean_filter_operators + show_layer_control: boolean_filter_operators + show_theme_control: boolean_filter_operators + show_zoom_control: boolean_filter_operators tile_server_attribution: string_filter_operators + tile_server_url: string_filter_operators + url: string_filter_operators + zoom: number_filter_operators layers: layers_maps_quantifier_filter layers_func: count_function_filter_operators _and: [maps_filter] @@ -3757,8 +3754,8 @@ input maps_filter { input marker_icons_filter { id: string_filter_operators - size: number_filter_operators image: directus_files_filter + size: number_filter_operators _and: [marker_icons_filter] _or: [marker_icons_filter] } @@ -3786,13 +3783,13 @@ input relations_filter { } input startEnd_filter { - id: id_filter_operators - user_created: directus_users_filter date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators + id: id_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [startEnd_filter] _or: [startEnd_filter] } @@ -3820,31 +3817,31 @@ input string_filter_operators { } input tags_filter { - id: id_filter_operators - name: string_filter_operators color: string_filter_operators - map: maps_filter - offer_or_need: boolean_filter_operators - user_created: id_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators + id: id_filter_operators + map: maps_filter + name: string_filter_operators + offer_or_need: boolean_filter_operators + user_created: id_filter_operators _and: [tags_filter] _or: [tags_filter] } input texts_filter { - id: id_filter_operators - user_created: directus_users_filter + dataField: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators heading: string_filter_operators hideWhenEmpty: boolean_filter_operators - dataField: string_filter_operators - size: string_filter_operators + id: id_filter_operators showMarkdownHint: boolean_filter_operators + size: string_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter _and: [texts_filter] _or: [texts_filter] } @@ -3856,30 +3853,30 @@ input Themes_filter { } input types_filter { - id: id_filter_operators - user_created: directus_users_filter + custom_text: string_filter_operators date_created: date_filter_operators date_created_func: datetime_function_filter_operators - user_updated: directus_users_filter date_updated: date_filter_operators date_updated_func: datetime_function_filter_operators + icon_as_labels: boolean_filter_operators + id: id_filter_operators name: string_filter_operators - show_text_input: boolean_filter_operators + offers_and_needs: boolean_filter_operators + onepager: boolean_filter_operators + questlog: boolean_filter_operators + relations: boolean_filter_operators + show_name: boolean_filter_operators show_name_input: boolean_filter_operators show_profile_button: boolean_filter_operators - show_text: boolean_filter_operators - show_name: boolean_filter_operators - custom_text: string_filter_operators - show_start_end_input: boolean_filter_operators show_start_end: boolean_filter_operators - offers_and_needs: boolean_filter_operators - relations: boolean_filter_operators - onepager: boolean_filter_operators - text_area: boolean_filter_operators - text: boolean_filter_operators - questlog: boolean_filter_operators - icon_as_labels: boolean_filter_operators + show_start_end_input: boolean_filter_operators + show_text: boolean_filter_operators + show_text_input: boolean_filter_operators template: string_filter_operators + text: boolean_filter_operators + text_area: boolean_filter_operators + user_created: directus_users_filter + user_updated: directus_users_filter profileTemplate: types_profileTemplate_quantifier_filter profileTemplate_func: count_function_filter_operators _and: [types_filter] @@ -3887,10 +3884,10 @@ input types_filter { } input types_profileTemplate_filter { - id: number_filter_operators - types_id: types_filter collection: string_filter_operators + id: number_filter_operators sort: number_filter_operators + types_id: types_filter _and: [types_profileTemplate_filter] _or: [types_profileTemplate_filter] item__groupSubheaders: groupSubheaders_filter @@ -3905,10 +3902,10 @@ input types_profileTemplate_filter { """""" input types_profileTemplate_quantifier_filter { - id: number_filter_operators - types_id: types_filter collection: string_filter_operators + id: number_filter_operators sort: number_filter_operators + types_id: types_filter _and: [types_profileTemplate_filter] _or: [types_profileTemplate_filter] _some: types_profileTemplate_filter @@ -4248,27 +4245,27 @@ input update_directus_webhooks_input { } input update_layers_directus_users_1_input { + directus_users_id: update_directus_users_input id: ID layers_id: update_layers_input - directus_users_id: update_directus_users_input } input update_layers_input { id: ID - name: String - markerShape: String - menuText: String - menuColor: String indexIcon: update_directus_files_input - menuIcon: update_directus_files_input - onlyOnePerOwner: Boolean - itemType: update_types_input index_plus_button: Boolean - public_edit_items: Boolean - markerIcon: update_marker_icons_input - markerDefaultColor2: String - listed: Boolean + itemType: update_types_input item_presets: JSON + listed: Boolean + markerDefaultColor2: String + markerIcon: update_marker_icons_input + markerShape: String + menuColor: String + menuIcon: update_directus_files_input + menuText: String + name: String + onlyOnePerOwner: Boolean + public_edit_items: Boolean userProfileLayer: Boolean maps: [update_layers_maps_input] notifications: [update_layers_directus_users_1_input] @@ -4281,40 +4278,39 @@ input update_layers_maps_input { } input update_maps_input { - id: ID - name: String - url: String - logo: update_directus_files_input - zoom: Int center: GraphQLGeoJSON - own_tag_space: Boolean - - """You can include GeoJSON""" - geo: JSON - show_layer_control: Boolean - show_filter_control: Boolean - user_type: update_types_input """Replace the info text in the info popup""" custom_text: String - show_gratitude_control: Boolean + default_theme: update_Themes_input """Shows a donation widget after 10 minutes""" donation_widget: Boolean - show_theme_control: Boolean - default_theme: update_Themes_input - show_zoom_control: Boolean expand_layer_control: Boolean + + """You can include GeoJSON""" + geo: JSON + id: ID info_open: Boolean - tile_server_url: String + logo: update_directus_files_input + name: String + own_tag_space: Boolean + show_filter_control: Boolean + show_gratitude_control: Boolean + show_layer_control: Boolean + show_theme_control: Boolean + show_zoom_control: Boolean tile_server_attribution: String + tile_server_url: String + url: String + zoom: Int layers: [update_layers_maps_input] } input update_marker_icons_input { id: ID - size: Float image: update_directus_files_input + size: Float } input update_Themes_input { @@ -4322,37 +4318,37 @@ input update_Themes_input { } input update_types_input { - id: ID - user_created: update_directus_users_input + custom_text: String date_created: Date - user_updated: update_directus_users_input date_updated: Date + icon_as_labels: Boolean + id: ID name: String - show_text_input: Boolean + offers_and_needs: Boolean + onepager: Boolean + questlog: Boolean + relations: Boolean + show_name: Boolean show_name_input: Boolean show_profile_button: Boolean - show_text: Boolean - show_name: Boolean - custom_text: String - show_start_end_input: Boolean show_start_end: Boolean - offers_and_needs: Boolean - relations: Boolean - onepager: Boolean - text_area: Boolean - text: Boolean - questlog: Boolean - icon_as_labels: Boolean + show_start_end_input: Boolean + show_text: Boolean + show_text_input: Boolean template: String + text: Boolean + text_area: Boolean + user_created: update_directus_users_input + user_updated: update_directus_users_input profileTemplate: [update_types_profileTemplate_input] } input update_types_profileTemplate_input { - id: ID - types_id: update_types_input - item: String collection: String + id: ID + item: String sort: Int + types_id: update_types_input } input write_directus_collections_input { From 5c79633ea478ca4e89fa56f72d159a5f3e28e6cc Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 14 Aug 2025 08:47:23 +0100 Subject: [PATCH 19/29] feat(backend): directus seed advanced (#306) * directus minimal seed & seed instructions * more seed data * places-layer --------- Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com> --- backend/README.md | 1 + backend/directus-config/seed/layers.json | 26 +++++++++++++++++++ backend/directus-config/seed/layers_maps.json | 18 +++++++++++++ backend/directus-config/seed/maps.json | 16 ++++++++++-- backend/directus-config/seed/types.json | 22 ++++++++++++++++ 5 files changed, 81 insertions(+), 2 deletions(-) create mode 100644 backend/directus-config/seed/layers.json create mode 100644 backend/directus-config/seed/layers_maps.json create mode 100644 backend/directus-config/seed/types.json diff --git a/backend/README.md b/backend/README.md index 74669a41..9e2acd77 100644 --- a/backend/README.md +++ b/backend/README.md @@ -118,3 +118,4 @@ sudo chmod 777 -R ./data/ This process is to be repeated whenever you restart the database docker container The same applies for the uploads and extension folder - ensure that the folder is writeable or file uploads will fail. + diff --git a/backend/directus-config/seed/layers.json b/backend/directus-config/seed/layers.json new file mode 100644 index 00000000..22512571 --- /dev/null +++ b/backend/directus-config/seed/layers.json @@ -0,0 +1,26 @@ +{ + "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 new file mode 100644 index 00000000..88277f6c --- /dev/null +++ b/backend/directus-config/seed/layers_maps.json @@ -0,0 +1,18 @@ +{ + "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/maps.json b/backend/directus-config/seed/maps.json index 59a8443b..daf24edc 100644 --- a/backend/directus-config/seed/maps.json +++ b/backend/directus-config/seed/maps.json @@ -10,9 +10,21 @@ }, "data": [ { - "_sync_id": "local-development", + "_sync_id": "map-local-development", "name": "Local Development", - "url": "http://local.development" + "url": "http://local.development", + "zoom": 6, + "own_tag_space": true, + "center": { + "type": "Point", + "coordinates": [ + 10.067625824315172, + 50.51565268622562 + ] + }, + "donation_widget": false, + "custom_text": "# Welcome to the Development Server\n\nThis map is just for development purposes and to try out new things.", + "default_theme": null } ] } \ No newline at end of file diff --git a/backend/directus-config/seed/types.json b/backend/directus-config/seed/types.json new file mode 100644 index 00000000..81594cf3 --- /dev/null +++ b/backend/directus-config/seed/types.json @@ -0,0 +1,22 @@ +{ + "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" + } + ] +} From 6c7308ad3831ba3febc89cd3e53fb51749c872fd Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 14 Aug 2025 09:43:30 +0100 Subject: [PATCH 20/29] feat(backend): make map URL configurable (#304) * use api config everywhere, default to localhost, ignore .env file, provide .env.dist * fix lint * make mapUrl configurable --------- Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com> --- app/.env.dist | 2 ++ app/src/App.tsx | 7 +++++-- app/src/config/index.ts | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/.env.dist b/app/.env.dist index 9d9b38ca..5dc2cc82 100644 --- a/app/.env.dist +++ b/app/.env.dist @@ -1,5 +1,7 @@ VITE_OPEN_COLLECTIVE_API_KEY=your_key VITE_API_URL=http://localhost:8055/ #VITE_API_URL=https://api.utopia-lab.org +VITE_MAP_URL=http://local.development +#VITE_MAP_URL=CURRENT_WINDOW_LOCATION VITE_VALIDATE_INVITE_FLOW_ID=01d61db0-25aa-4bfa-bc24-c6a8f208a455 VITE_REDEEM_INVITE_FLOW_ID=cc80ec73-ecf5-4789-bee5-1127fb1a6ed4 diff --git a/app/src/App.tsx b/app/src/App.tsx index 56b95f24..caece166 100644 --- a/app/src/App.tsx +++ b/app/src/App.tsx @@ -54,7 +54,7 @@ import { ModalContent } from './ModalContent' import { Landingpage } from './pages/Landingpage' import MapContainer from './pages/MapContainer' import { getBottomRoutes, routes } from './routes/sidebar' -import { config } from '@/config' +import { config } from './config' import { InviteApi } from './api/inviteApi' const userApi = new UserApi() @@ -82,7 +82,10 @@ function App() { useEffect(() => { setPermissionsApiInstance(new permissionsApi()) - setMapApiInstance(new mapApi(window.location.origin)) + // TODO: it should be mapId instead of mapUrl, which then in turn can be an URL + const mapUrl = + config.mapUrl === 'CURRENT_WINDOW_LOCATION' ? window.location.origin : config.mapUrl + setMapApiInstance(new mapApi(mapUrl)) setAttestationApi(new itemsApi('attestations')) }, []) diff --git a/app/src/config/index.ts b/app/src/config/index.ts index e82ac975..4f1630d5 100644 --- a/app/src/config/index.ts +++ b/app/src/config/index.ts @@ -1,5 +1,6 @@ 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'), validateInviteFlowId: String( import.meta.env.VITE_VALIDATE_INVITE_FLOW_ID ?? '01d61db0-25aa-4bfa-bc24-c6a8f208a455', ), From 42086b921721f2f0ca3fd21a008074c715ac41ed Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 14 Aug 2025 09:56:15 +0100 Subject: [PATCH 21/29] feat(backend): manual seed (#313) * bind uploads folder to local harddrive * updated backend README.md regarding permissions * manual seed script * seed branding utopia-logo * describe manual seed * simplify directus logo seed (only update one field) --------- Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com> --- backend/README.md | 5 +- .../412c25dc-a3b7-4114-b64b-cac2d6b46db3.svg | 264 ++++++++++++++++++ backend/directus-config/manual/seed.sh | 20 ++ .../manual/sql/branding-logo.sql | 7 + 4 files changed, 295 insertions(+), 1 deletion(-) create mode 100644 backend/directus-config/manual/files/412c25dc-a3b7-4114-b64b-cac2d6b46db3.svg create mode 100755 backend/directus-config/manual/seed.sh create mode 100644 backend/directus-config/manual/sql/branding-logo.sql diff --git a/backend/README.md b/backend/README.md index 9e2acd77..e5e96a75 100644 --- a/backend/README.md +++ b/backend/README.md @@ -41,6 +41,10 @@ npx directus-sync seed diff \ --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`. + ## Backup Database Either keep a copy of the `/data/database` folder or run the following command to get an sql dump @@ -118,4 +122,3 @@ sudo chmod 777 -R ./data/ This process is to be repeated whenever you restart the database docker container The same applies for the uploads and extension folder - ensure that the folder is writeable or file uploads will fail. - diff --git a/backend/directus-config/manual/files/412c25dc-a3b7-4114-b64b-cac2d6b46db3.svg b/backend/directus-config/manual/files/412c25dc-a3b7-4114-b64b-cac2d6b46db3.svg new file mode 100644 index 00000000..e28b152f --- /dev/null +++ b/backend/directus-config/manual/files/412c25dc-a3b7-4114-b64b-cac2d6b46db3.svg @@ -0,0 +1,264 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/backend/directus-config/manual/seed.sh b/backend/directus-config/manual/seed.sh new file mode 100755 index 00000000..a31092e2 --- /dev/null +++ b/backend/directus-config/manual/seed.sh @@ -0,0 +1,20 @@ +#!/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 new file mode 100644 index 00000000..101b948c --- /dev/null +++ b/backend/directus-config/manual/sql/branding-logo.sql @@ -0,0 +1,7 @@ +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'; From 85b0f93ab7dfdbc578e3dfed12301c863896a3b8 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 14 Aug 2025 10:00:23 +0100 Subject: [PATCH 22/29] feat(backend): selfhosted utopia map (#299) * describe manual seed * directus minimal seed & seed instructions * use api config everywhere, default to localhost, ignore .env file, provide .env.dist * fix lint * backend readme: import dump instructions * complete instructions for seeding * update readme, fix merge conflict, typos --- backend/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/backend/README.md b/backend/README.md index e5e96a75..3d8ab163 100644 --- a/backend/README.md +++ b/backend/README.md @@ -3,7 +3,25 @@ To run the backend you can simply execute `docker-compose up` +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 +``` + ## Pull Data from Docker to Harddrive + In order to pull data from your locally running backend (see [docker-compose](../app/docker-compose.yml)) to your local harddrive, you can run the following command @@ -15,6 +33,7 @@ npx directus-sync pull \ ``` ## Push Data from Harddrive to Docker + To push local changes or to seed directus use the following command ``` npx directus-sync push \ @@ -24,6 +43,7 @@ npx directus-sync push \ ``` ## Seed Data for local development + Seed the development data via: ``` npx directus-sync seed push \ @@ -33,6 +53,7 @@ npx directus-sync seed push \ ``` ## Seed Data - find differences + In order so see what changes would appear when seeding, you can execute: ``` npx directus-sync seed diff \ @@ -46,6 +67,7 @@ npx directus-sync seed diff \ In order to seed files and additional data not covered by `directus-sync` run the script `backend/directus-config/manual/seed.sh`. ## Backup Database + Either keep a copy of the `/data/database` folder or run the following command to get an sql dump ``` From 34e45c6dea2ecf6660df6be10c0d9303909202b4 Mon Sep 17 00:00:00 2001 From: Anton Tranelis <31516529+antontranelis@users.noreply.github.com> Date: Thu, 14 Aug 2025 11:16:19 +0200 Subject: [PATCH 23/29] feat(other): add development configuration files (#307) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add development configuration files Add .gitignore and CLAUDE.md to standardize development environment: - .gitignore: Exclude IDE files, build artifacts, and temporary files - CLAUDE.md: Project documentation and development commands for AI tools 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude * moved scripts to ./claude --------- Co-authored-by: Claude --- .gitignore | 3 +- CLAUDE.md | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 127 insertions(+), 1 deletion(-) create mode 100644 CLAUDE.md diff --git a/.gitignore b/.gitignore index adbb97d2..f767c892 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -data/ \ No newline at end of file +.claude/ +data/ diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000..2400ceba --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,125 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Project Overview + +This is **Utopia Map**, a flexible collaborative mapping application for decentralized coordination and real-life networking. The project consists of three main parts: + +- **`/app`**: React application (frontend) - the main Utopia Map instance +- **`/lib`**: React component library (`utopia-ui`) - reusable UI components +- **`/backend`**: Directus CMS backend configuration and Docker setup + +## Development Commands + +### App (Frontend) +```bash +cd app +npm install +npm run dev # Start development server +npm run build # Build for production +npm run test:lint:eslint # Run ESLint +npm run preview # Preview production build +``` + +### Library (utopia-ui) +```bash +cd lib +npm install +npm run build # Build library +npm run start # Build in watch mode +npm run test:lint:eslint # Run ESLint +npm run lint # Run ESLint (alias) +npm run lintfix # Auto-fix ESLint issues +npm run test:component # Run Cypress component tests +npm run test:unit # Run Vitest unit tests with coverage +npm run test:unit:dev # Run Vitest in watch mode +npm run docs:generate # Generate TypeDoc documentation +``` + +### Root Level +```bash +./scripts/check-lint.sh # Run linting on both app and lib (used by PR hooks) +``` + +### Backend (Directus) +```bash +cd app +docker-compose up # Start Directus backend locally + +# Sync data to/from Directus (run from backend/) +npx directus-sync pull --directus-url http://localhost:8055 --directus-email admin@it4c.dev --directus-password admin123 +npx directus-sync push --directus-url http://localhost:8055 --directus-email admin@it4c.dev --directus-password admin123 +``` + +## Architecture Overview + +### High-Level Structure + +**Utopia Map** is built on a **3-tier monorepo architecture**: + +1. **Frontend App** (`/app`): Consumer application using `utopia-ui` components +2. **Component Library** (`/lib`): Reusable React components with TypeScript +3. **Backend** (`/backend`): Directus headless CMS with Docker configuration + +### Key Design Patterns + +**API Abstraction Layer**: The app uses API classes (`itemsApi`, `mapApi`, `layersApi`, etc.) that implement TypeScript interfaces to abstract backend communication. This allows swapping backends without changing components. + +**Layer-Based Data Model**: Items are organized into customizable **Layers** (e.g., Places, Projects, People) where each layer defines: +- Visual styling (icons, colors, markers) +- Data structure and validation +- Custom popup and profile templates + +**Component Composition**: The `UtopiaMap` component accepts child components like ``, ``, and `` to configure its behavior declaratively. + +**Type-Safe APIs**: All API interactions use TypeScript interfaces (`ItemsApi`, `UserApi`, `InviteApi`) ensuring type safety across the frontend-backend boundary. + +### Core Components Architecture + +- **`UtopiaMap`**: Main map container with Leaflet integration +- **`Layer`**: Defines item types with custom styling and behavior +- **`AppShell`**: Navigation, sidebar, and global app state management +- **`AuthProvider`**: Authentication context and user management +- **Profile Templates**: Flexible system for custom item display (`SimpleView`, `TabsView`, `OnepagerView`) + +### Data Flow + +1. **Items** are fetched via API classes from Directus backend +2. **Layers** define how items are displayed on the map +3. **Popups** show item previews when clicking map markers +4. **Profiles** provide detailed item views with custom templates +5. **Permissions** control CRUD operations based on user roles + +### Testing Strategy + +- **Unit Tests**: Vitest for lib components with coverage reporting +- **Component Tests**: Cypress for React component integration +- **Linting**: ESLint with TypeScript rules for code quality +- **Type Checking**: TypeScript strict mode across all packages + +### Import Conventions + +The lib uses path mapping for clean imports: +- `#components/*` → `./src/Components/*` +- `#types/*` → `./src/types/*` +- `#utils/*` → `./src/Utils/*` +- `#assets/*` → `./src/assets/*` + +### Backend Integration + +Uses **Directus** as headless CMS with: +- RESTful API for CRUD operations +- GraphQL endpoint available +- Real-time updates via WebSocket +- File/media management +- Role-based permissions +- Collection definitions in `/backend/directus-config/` + +## Code Quality + +- **ESLint** enforces code style across both app and lib +- **TypeScript strict mode** ensures type safety +- Pre-commit hooks run linting checks via `scripts/check-lint.sh` +- Coverage reporting for unit tests +- Automated dependency updates via `npm-check-updates` \ No newline at end of file From 94fa6321ba9eaed0c35ea2e91bd716f92069bb5c Mon Sep 17 00:00:00 2001 From: Anton Tranelis <31516529+antontranelis@users.noreply.github.com> Date: Thu, 14 Aug 2025 11:27:11 +0200 Subject: [PATCH 24/29] fix(lib): adjust UserControl and HeaderView (#293) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(lib): resolve TypeScript unsafe assignment errors in UserControl and HeaderView - Add ESLint disable for @typescript-eslint/no-unsafe-assignment in UserControl to align with other components - Refactor avatar logic in UserControl to use explicit typing and conditional assignment - Add alt attribute to avatar image in UserControl for better accessibility - Fix image priority order in HeaderView to prioritize internal images over external ones - Support both internal and external images with proper fallback in both components 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude * fix: remove unused ESLint disable and fix CI lint check The explicit typing approach resolved the TypeScript unsafe assignment errors without needing the ESLint disable rule. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude * removed unused linting exception --------- Co-authored-by: Claude Co-authored-by: Ulf Gebhardt --- lib/src/Components/AppShell/UserControl.tsx | 9 +++++++-- .../Subcomponents/ItemPopupComponents/HeaderView.tsx | 4 ++-- package-lock.json | 10 ---------- 3 files changed, 9 insertions(+), 14 deletions(-) delete mode 100644 package-lock.json diff --git a/lib/src/Components/AppShell/UserControl.tsx b/lib/src/Components/AppShell/UserControl.tsx index 2599708c..7c2902ae 100644 --- a/lib/src/Components/AppShell/UserControl.tsx +++ b/lib/src/Components/AppShell/UserControl.tsx @@ -42,6 +42,11 @@ export const UserControl = () => { pending: 'logging out ..', }) } + const avatar: string | undefined = + userProfile.image && appState.assetsApi.url + ? appState.assetsApi.url + userProfile.image + : userProfile.image_external + return ( <> {isAuthenticated ? ( @@ -50,10 +55,10 @@ export const UserControl = () => { to={`${userProfile.id && '/item/' + userProfile.id}`} className='tw:flex tw:items-center' > - {userProfile.image && ( + {avatar && (
    - + User avatar
    )} diff --git a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx index 7a79481e..89ef9697 100644 --- a/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx +++ b/lib/src/Components/Map/Subcomponents/ItemPopupComponents/HeaderView.tsx @@ -58,8 +58,8 @@ export function HeaderView({ const [imageLoaded, setImageLoaded] = useState(false) const avatar = - item.image_external || - (item.image && appState.assetsApi.url + item.image + '?width=160&heigth=160') + (item.image && appState.assetsApi.url + item.image + '?width=160&heigth=160') || + item.image_external const title = item.name const subtitle = item.subname diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index b386c5b8..00000000 --- a/package-lock.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "utopia-map", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "utopia-map" - } - } -} From 649efe551dca32de0bca84b73b7aac5e1d50cc9b Mon Sep 17 00:00:00 2001 From: Anton Tranelis <31516529+antontranelis@users.noreply.github.com> Date: Wed, 20 Aug 2025 15:03:30 +0200 Subject: [PATCH 25/29] refactor(lib): implement server-response-first pattern (#322) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * use server response for local state updates * fix formatting * refactor: comprehensive server-response-first pattern implementation ## Major Changes ### LayerProps ID Required - Made `LayerProps.id` required (was optional) - All layers now guaranteed to have server-provided UUID - Enables reliable layer ID mapping from server responses ### useSelectPosition Hook Refactored - Added reusable `handleApiOperation` helper function - Refactored `itemUpdatePosition`, `itemUpdateParent`, `linkItem` - All functions now use server response + layer ID mapping - Consistent error handling and toast management ### itemFunctions.ts Complete Refactor - **submitNewItem**: Server response with layer mapping - **linkItem**: Server response preserves layer object - **unlinkItem**: Same pattern as linkItem - **handleDelete**: Simplified error handling - **onUpdateItem**: Complex function refactored for both update/create branches ### Benefits - ✅ Eliminates race conditions from manual state construction - ✅ Server response as single source of truth for all updates - ✅ Consistent error handling across all API operations - ✅ Items no longer disappear from map after updates - ✅ Type-safe layer ID mapping ### Testing - Updated ItemFunctions.spec.tsx with new toast patterns - Added required layer IDs to test objects - All 19 tests passing (3 skipped) - ESLint clean 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude * fix linting * fix: resolve TypeScript undefined data errors - Add non-null assertions for result.data in conditional blocks - TypeScript now properly recognizes data is defined after success check - All linting and TypeScript errors resolved 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude * fixed examples * remove unneccessary uuid generation --------- Co-authored-by: Claude --- lib/examples/2-static-layers/src/App.tsx | 3 + lib/examples/3-tags/src/App.tsx | 2 + lib/src/Components/Map/Layer.tsx | 3 + .../Map/Subcomponents/ItemFormPopup.tsx | 232 +++++++++++------ .../Map/hooks/useSelectPosition.tsx | 184 +++++++------- .../Components/Profile/ItemFunctions.spec.tsx | 29 ++- lib/src/Components/Profile/itemFunctions.ts | 236 ++++++++++-------- lib/src/types/LayerProps.d.ts | 2 +- 8 files changed, 408 insertions(+), 283 deletions(-) diff --git a/lib/examples/2-static-layers/src/App.tsx b/lib/examples/2-static-layers/src/App.tsx index 91c00e8c..16812b0c 100644 --- a/lib/examples/2-static-layers/src/App.tsx +++ b/lib/examples/2-static-layers/src/App.tsx @@ -2,6 +2,7 @@ import { UtopiaMap, Layer } from "utopia-ui" import { events, places } from "./sample-data" const itemTypeEvent = { + id: "a6dbf1a7-adf2-4ff5-8e20-d3aad66635fb", name: "event", show_name_input: false, show_profile_button: false, @@ -39,6 +40,7 @@ function App() { return ( { data && setItemsData({ + id, data, children, name, @@ -68,6 +70,7 @@ export const Layer = ({ }) api && setItemsApi({ + id, data, children, name, diff --git a/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx b/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx index 572bfa58..42e910b2 100644 --- a/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx +++ b/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx @@ -1,11 +1,8 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/no-misused-promises */ -/* eslint-disable @typescript-eslint/prefer-optional-chain */ -/* eslint-disable @typescript-eslint/no-unsafe-argument */ -/* eslint-disable @typescript-eslint/no-unsafe-call */ /* eslint-disable @typescript-eslint/no-non-null-assertion */ -/* eslint-disable @typescript-eslint/no-unsafe-member-access */ -import { useContext, useEffect, useRef, useState } from 'react' +/* eslint-disable no-catch-all/no-catch-all */ + +import { useCallback, useContext, useEffect, useRef, useState } from 'react' import { Popup as LeafletPopup, useMap } from 'react-leaflet' import { toast } from 'react-toastify' @@ -50,95 +47,170 @@ export function ItemFormPopup(props: Props) { const { user } = useAuth() - const handleSubmit = async (evt: any) => { - if (!popupForm) { - throw new Error('Popup form is not defined') - } - const formItem: Item = {} as Item - Array.from(evt.target).forEach((input: HTMLInputElement) => { - if (input.name) { - formItem[input.name] = input.value + // Extract form data into Item object + const parseFormData = useCallback( + (evt: React.FormEvent): Item => { + if (!popupForm) { + throw new Error('Popup form is not defined') } - }) - formItem.position = { - type: 'Point', - coordinates: [popupForm.position.lng, popupForm.position.lat], - } + + const formItem: Item = {} as Item + const formData = new FormData(evt.currentTarget) + + for (const [key, value] of formData.entries()) { + if (key && typeof value === 'string') { + // eslint-disable-next-line security/detect-object-injection + ;(formItem as unknown as Record)[key] = value + } + } + + formItem.position = { + type: 'Point', + coordinates: [popupForm.position.lng, popupForm.position.lat], + } + + return formItem + }, + [popupForm], + ) + + // Process hashtags in text and create new tags if needed + const processHashtags = useCallback( + (text: string) => { + if (!text) return + + text + .toLocaleLowerCase() + .match(hashTagRegex) + ?.forEach((tag) => { + const tagName = tag.slice(1).toLocaleLowerCase() + if (!tags.find((t) => t.name.toLocaleLowerCase() === tagName)) { + addTag({ id: crypto.randomUUID(), name: tag.slice(1), color: randomColor() }) + } + }) + }, + [tags, addTag], + ) + + // Handle API operations with consistent error handling and return response data + const handleApiOperation = useCallback( + async ( + operation: () => Promise, + successMessage: string, + ): Promise<{ success: boolean; data?: Item }> => { + try { + const data = await operation() + toast.success(successMessage) + return { success: true, data } + } catch (error) { + toast.error(error instanceof Error ? error.message : String(error)) + return { success: false } + } + }, + [], + ) + + // Update existing item + const handleUpdateItem = useCallback( + async (formItem: Item) => { + if (!popupForm?.item) return false + + const result = await handleApiOperation( + () => + popupForm.layer.api?.updateItem!({ ...formItem, id: popupForm.item!.id }) ?? + Promise.resolve({} as Item), + 'Item updated', + ) + + if (result.success && result.data) { + // Ensure the item has the layer object attached + const itemWithLayer = { ...result.data, layer: popupForm.layer } + updateItem(itemWithLayer) + } + + return result.success + }, + [popupForm, handleApiOperation, updateItem], + ) + + // Create new item or update existing user profile + const handleCreateItem = useCallback( + async (formItem: Item) => { + if (!popupForm) return false + + const existingUserItem = items.find( + (i) => i.user_created?.id === user?.id && i.layer === popupForm.layer, + ) + + const itemName = formItem.name || user?.first_name + if (!itemName) { + toast.error('Name must be defined') + return false + } + + const isUserProfileUpdate = popupForm.layer.userProfileLayer && existingUserItem + + const operation = isUserProfileUpdate + ? () => + popupForm.layer.api?.updateItem!({ ...formItem, id: existingUserItem.id }) ?? + Promise.resolve({} as Item) + : () => + popupForm.layer.api?.createItem!({ ...formItem, name: itemName }) ?? + Promise.resolve({} as Item) + + const result = await handleApiOperation( + operation, + isUserProfileUpdate ? 'Profile updated' : 'New item created', + ) + + if (result.success && result.data) { + // Ensure the item has the layer object attached + const itemWithLayer = { ...result.data, layer: popupForm.layer } + + if (isUserProfileUpdate) { + updateItem(itemWithLayer) + } else { + addItem(itemWithLayer) + } + resetFilterTags() + } + + return result.success + }, + [popupForm, items, user, handleApiOperation, updateItem, addItem, resetFilterTags], + ) + + const handleSubmit = async (evt: React.FormEvent) => { evt.preventDefault() - const name = formItem.name ? formItem.name : user?.first_name - if (!name) { - toast.error('Name is must be defined') - return + if (!popupForm) { + throw new Error('Popup form is not defined') } setSpinner(true) - formItem.text && - formItem.text - .toLocaleLowerCase() - .match(hashTagRegex) - ?.map((tag) => { - if (!tags.find((t) => t.name.toLocaleLowerCase() === tag.slice(1).toLocaleLowerCase())) { - addTag({ id: crypto.randomUUID(), name: tag.slice(1), color: randomColor() }) - } - return null - }) + try { + const formItem = parseFormData(evt) - if (popupForm.item) { - let success = false - try { - await popupForm.layer.api?.updateItem!({ ...formItem, id: popupForm.item.id }) - success = true - // eslint-disable-next-line no-catch-all/no-catch-all - } catch (error) { - toast.error(error.toString()) + // Process hashtags if text exists + if (formItem.text) { + processHashtags(formItem.text) } - if (success) { - updateItem({ ...popupForm.item, ...formItem }) - toast.success('Item updated') - } - setSpinner(false) - map.closePopup() - } else { - const item = items.find((i) => i.user_created?.id === user?.id && i.layer === popupForm.layer) - const uuid = crypto.randomUUID() - let success = false - try { - popupForm.layer.userProfileLayer && - item && - (await popupForm.layer.api?.updateItem!({ ...formItem, id: item.id })) - ;(!popupForm.layer.userProfileLayer || !item) && - (await popupForm.layer.api?.createItem!({ - ...formItem, - name, - id: uuid, - })) - success = true - // eslint-disable-next-line no-catch-all/no-catch-all - } catch (error) { - toast.error(error.toString()) + let success: boolean + if (popupForm.item) { + success = await handleUpdateItem(formItem) + } else { + success = await handleCreateItem(formItem) } + if (success) { - if (popupForm.layer.userProfileLayer && item) updateItem({ ...item, ...formItem }) - if (!popupForm.layer.userProfileLayer || !item) { - addItem({ - ...formItem, - name: (formItem.name ? formItem.name : user?.first_name) ?? '', - user_created: user ?? undefined, - id: uuid, - layer: popupForm.layer, - public_edit: !user, - }) - } - toast.success('New item created') - resetFilterTags() + map.closePopup() + setPopupForm(null) } + } finally { setSpinner(false) - map.closePopup() } - setPopupForm(null) } const resetPopup = () => { diff --git a/lib/src/Components/Map/hooks/useSelectPosition.tsx b/lib/src/Components/Map/hooks/useSelectPosition.tsx index 6868fb09..98c2c8e4 100644 --- a/lib/src/Components/Map/hooks/useSelectPosition.tsx +++ b/lib/src/Components/Map/hooks/useSelectPosition.tsx @@ -3,14 +3,16 @@ /* eslint-disable @typescript-eslint/no-floating-promises */ /* eslint-disable @typescript-eslint/no-empty-function */ /* eslint-disable @typescript-eslint/prefer-nullish-coalescing */ -/* eslint-disable @typescript-eslint/await-thenable */ /* eslint-disable @typescript-eslint/restrict-plus-operands */ - /* eslint-disable @typescript-eslint/no-non-null-assertion */ -import { createContext, useContext, useEffect, useState } from 'react' +/* eslint-disable @typescript-eslint/non-nullable-type-assertion-style */ +/* eslint-disable no-catch-all/no-catch-all */ + +import { createContext, useContext, useEffect, useState, useCallback } from 'react' import { toast } from 'react-toastify' import { useUpdateItem } from './useItems' +import { useLayers } from './useLayers' import { useHasUserPermission } from './usePermissions' import type { Item } from '#types/Item' @@ -44,6 +46,38 @@ function useSelectPositionManager(): { const [mapClicked, setMapClicked] = useState() const updateItem = useUpdateItem() const hasUserPermission = useHasUserPermission() + const layers = useLayers() + + // Handle API operations with consistent error handling and return response data + const handleApiOperation = useCallback( + async ( + operation: () => Promise, + toastId: string | number, + successMessage: string, + ): Promise<{ success: boolean; data?: Item }> => { + try { + const data = await operation() + toast.update(toastId, { + render: successMessage, + type: 'success', + isLoading: false, + autoClose: 5000, + }) + return { success: true, data } + } catch (error) { + const errorMessage = error instanceof Error ? error.message : String(error) + toast.update(toastId, { + render: errorMessage, + type: 'error', + isLoading: false, + autoClose: 5000, + closeButton: true, + }) + return { success: false } + } + }, + [], + ) useEffect(() => { if ( @@ -91,32 +125,25 @@ function useSelectPositionManager(): { markerClicked?.layer?.api?.collectionName && hasUserPermission(markerClicked.layer.api.collectionName, 'update', markerClicked) ) { - let success = false - try { - await updatedItem.layer?.api?.updateItem!({ - id: updatedItem.id, - parent: updatedItem.parent, - position: null, - }) - success = true - } catch (error: unknown) { - if (error instanceof Error) { - toast.update(toastId, { render: error.message, type: 'error', autoClose: 5000 }) - } else if (typeof error === 'string') { - toast.update(toastId, { render: error, type: 'error', autoClose: 5000 }) - } else { - throw error - } - } - if (success) { - await updateItem({ ...updatedItem, parent: updatedItem.parent, position: undefined }) + const result = await handleApiOperation( + async () => { + const updateResult = await updatedItem.layer?.api?.updateItem!({ + id: updatedItem.id, + parent: updatedItem.parent, + position: null, + }) + return updateResult as Item + }, + toastId, + 'Item position updated', + ) + + if (result.success && result.data) { + // Find the layer object by ID from server response + const layer = layers.find((l) => l.id === (result.data!.layer as unknown as string)) + const itemWithLayer = { ...result.data, layer } + updateItem(itemWithLayer) await linkItem(updatedItem.id) - toast.update(toastId, { - render: 'Item position updated', - type: 'success', - isLoading: false, - autoClose: 5000, - }) setSelectPosition(null) setMarkerClicked(null) } @@ -133,44 +160,25 @@ function useSelectPositionManager(): { } const itemUpdatePosition = async (updatedItem: Item) => { - let success = false const toastId = toast.loading('Updating item position') - try { - await updatedItem.layer?.api?.updateItem!({ - id: updatedItem.id, - position: updatedItem.position, - }) - success = true - } catch (error: unknown) { - if (error instanceof Error) { - toast.update(toastId, { - render: error.message, - type: 'error', - isLoading: false, - autoClose: 5000, - closeButton: true, + + const result = await handleApiOperation( + async () => { + const updateResult = await updatedItem.layer?.api?.updateItem!({ + id: updatedItem.id, + position: updatedItem.position, }) - } else if (typeof error === 'string') { - toast.update(toastId, { - render: error, - type: 'error', - isLoading: false, - autoClose: 5000, - closeButton: true, - }) - } else { - throw error - } - } - if (success) { - updateItem(updatedItem) - toast.update(toastId, { - render: 'Item position updated', - type: 'success', - isLoading: false, - autoClose: 5000, - closeButton: true, - }) + return updateResult as Item + }, + toastId, + 'Item position updated', + ) + + if (result.success && result.data) { + // Find the layer object by ID from server response + const layer = layers.find((l) => l.id === (result.data!.layer as unknown as string)) + const itemWithLayer = { ...result.data, layer } + updateItem(itemWithLayer) } } @@ -182,41 +190,21 @@ function useSelectPositionManager(): { newRelations.push({ items_id: markerClicked.id, related_items_id: id }) const updatedItem = { id: markerClicked.id, relations: newRelations } - let success = false const toastId = toast.loading('Linking item') - try { - await markerClicked.layer?.api?.updateItem!(updatedItem) - success = true - } catch (error: unknown) { - if (error instanceof Error) { - toast.update(toastId, { - render: error.message, - type: 'error', - isLoading: false, - autoClose: 5000, - closeButton: true, - }) - } else if (typeof error === 'string') { - toast.update(toastId, { - render: error, - type: 'error', - isLoading: false, - autoClose: 5000, - closeButton: true, - }) - } else { - throw error - } - } - if (success) { - updateItem({ ...markerClicked, relations: newRelations }) - toast.update(toastId, { - render: 'Item linked', - type: 'success', - isLoading: false, - autoClose: 5000, - closeButton: true, - }) + const result = await handleApiOperation( + async () => { + const updateResult = await markerClicked.layer?.api?.updateItem!(updatedItem) + return updateResult as Item + }, + toastId, + 'Item linked', + ) + + if (result.success && result.data) { + // Find the layer object by ID from server response + const layer = layers.find((l) => l.id === (result.data!.layer as unknown as string)) + const itemWithLayer = { ...result.data, layer } + updateItem(itemWithLayer) } } } diff --git a/lib/src/Components/Profile/ItemFunctions.spec.tsx b/lib/src/Components/Profile/ItemFunctions.spec.tsx index 70ebef02..edc18aea 100644 --- a/lib/src/Components/Profile/ItemFunctions.spec.tsx +++ b/lib/src/Components/Profile/ItemFunctions.spec.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ import { describe, it, expect, vi } from 'vitest' import { linkItem } from './itemFunctions' @@ -6,11 +7,15 @@ import type { Item } from '#types/Item' const toastErrorMock: (t: string) => void = vi.fn() const toastSuccessMock: (t: string) => void = vi.fn() +const toastLoadingMock: (t: string) => number = vi.fn(() => 123) +const toastUpdateMock: (id: number, options: any) => void = vi.fn() vi.mock('react-toastify', () => ({ toast: { error: (t: string) => toastErrorMock(t), success: (t: string) => toastSuccessMock(t), + loading: (t: string) => toastLoadingMock(t), + update: (id: number, options: any) => toastUpdateMock(id, options), }, })) @@ -19,6 +24,7 @@ describe('linkItem', () => { let updateApi: (item: Partial) => Promise = vi.fn() const item: Item = { layer: { + id: 'test-layer-id', api: { updateItem: (item) => updateApi(item), getItems: vi.fn(), @@ -66,7 +72,7 @@ describe('linkItem', () => { it('toasts an error', async () => { updateApi = vi.fn().mockRejectedValue('autsch') await linkItem(id, item, updateItem) - expect(toastErrorMock).toHaveBeenCalledWith('autsch') + expect(toastUpdateMock).toHaveBeenCalledWith(123, expect.objectContaining({ type: 'error' })) expect(updateItem).not.toHaveBeenCalled() expect(toastSuccessMock).not.toHaveBeenCalled() }) @@ -74,10 +80,25 @@ describe('linkItem', () => { describe('api resolves', () => { it('toasts success and calls updateItem()', async () => { + const serverResponse = { + ...item, + layer: 'test-layer-id', + relations: [{ items_id: item.id, related_items_id: id }], + } + updateApi = vi.fn().mockResolvedValue(serverResponse) + await linkItem(id, item, updateItem) - expect(toastErrorMock).not.toHaveBeenCalled() - expect(updateItem).toHaveBeenCalledTimes(1) - expect(toastSuccessMock).toHaveBeenCalledWith('Item linked') + + expect(toastUpdateMock).toHaveBeenCalledWith( + 123, + expect.objectContaining({ type: 'success' }), + ) + expect(updateItem).toHaveBeenCalledWith( + expect.objectContaining({ + ...serverResponse, + layer: item.layer, + }), + ) }) }) }) diff --git a/lib/src/Components/Profile/itemFunctions.ts b/lib/src/Components/Profile/itemFunctions.ts index 51045c04..44e5940c 100644 --- a/lib/src/Components/Profile/itemFunctions.ts +++ b/lib/src/Components/Profile/itemFunctions.ts @@ -3,12 +3,12 @@ /* eslint-disable @typescript-eslint/prefer-optional-chain */ /* eslint-disable @typescript-eslint/restrict-plus-operands */ /* eslint-disable @typescript-eslint/restrict-template-expressions */ -/* eslint-disable @typescript-eslint/no-unsafe-return */ /* eslint-disable @typescript-eslint/no-unsafe-argument */ /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/no-unsafe-call */ /* eslint-disable @typescript-eslint/no-unsafe-assignment */ /* eslint-disable @typescript-eslint/no-unsafe-member-access */ +/* eslint-disable no-catch-all/no-catch-all */ import { toast } from 'react-toastify' import { encodeTag } from '#utils/FormatTags' @@ -18,6 +18,34 @@ import { randomColor } from '#utils/RandomColor' import type { FormState } from '#types/FormState' import type { Item } from '#types/Item' +// Handle API operations with consistent error handling and return response data +const handleApiOperation = async ( + operation: () => Promise, + toastId: string | number, + successMessage: string, +): Promise<{ success: boolean; data?: Item }> => { + try { + const data = await operation() + toast.update(toastId, { + render: successMessage, + type: 'success', + isLoading: false, + autoClose: 5000, + }) + return { success: true, data } + } catch (error) { + const errorMessage = error instanceof Error ? error.message : String(error) + toast.update(toastId, { + render: errorMessage, + type: 'error', + isLoading: false, + autoClose: 5000, + closeButton: true, + }) + return { success: false } + } +} + // eslint-disable-next-line promise/avoid-new const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)) @@ -25,7 +53,6 @@ export const submitNewItem = async ( evt: any, type: string, item, - user, setLoading, tags, addTag, @@ -60,18 +87,28 @@ export const submitNewItem = async ( (l) => l.name.toLocaleLowerCase().replace('s', '') === addItemPopupType.toLocaleLowerCase(), ) - let success = false - try { - await layer?.api?.createItem!({ ...formItem, id: uuid, type, parent: item.id }) + const toastId = toast.loading('Creating new item...') + + const result = await handleApiOperation( + async () => { + const serverResult = await layer?.api?.createItem!({ + ...formItem, + id: uuid, + type, + parent: item.id, + }) + return serverResult as Item + }, + toastId, + 'New item created', + ) + + if (result.success && result.data) { + // Find the layer object by ID from server response + const layerForItem = layers.find((l) => l.id === result.data!.layer) || layer + const itemWithLayer = { ...result.data, layer: layerForItem } + addItem(itemWithLayer) await linkItem(uuid) - success = true - // eslint-disable-next-line no-catch-all/no-catch-all - } catch (error) { - toast.error(error.toString()) - } - if (success) { - addItem({ ...formItem, id: uuid, type, layer, user_created: user, parent: item.id }) - toast.success('New item created') resetFilterTags() } setLoading(false) @@ -83,17 +120,22 @@ export const linkItem = async (id: string, item: Item, updateItem) => { newRelations?.push({ items_id: item.id, related_items_id: id }) const updatedItem = { id: item.id, relations: newRelations } - let success = false - try { - await item?.layer?.api?.updateItem!(updatedItem) - success = true - // eslint-disable-next-line no-catch-all/no-catch-all - } catch (error) { - toast.error(error.toString()) - } - if (success) { - updateItem({ ...item, relations: newRelations }) - toast.success('Item linked') + const toastId = toast.loading('Linking item...') + + const result = await handleApiOperation( + async () => { + const serverResult = await item?.layer?.api?.updateItem!(updatedItem) + return serverResult! + }, + toastId, + 'Item linked', + ) + + if (result.success && result.data) { + // Find the layer object by ID from server response or use existing layer + const layer = item.layer + const itemWithLayer = { ...result.data, layer, relations: newRelations } + updateItem(itemWithLayer) } } @@ -101,17 +143,22 @@ export const unlinkItem = async (id: string, item: Item, updateItem) => { const newRelations = item.relations?.filter((r) => r.related_items_id !== id) const updatedItem = { id: item.id, relations: newRelations } - let success = false - try { - await item?.layer?.api?.updateItem!(updatedItem) - success = true - // eslint-disable-next-line no-catch-all/no-catch-all - } catch (error) { - toast.error(error.toString()) - } - if (success) { - updateItem({ ...item, relations: newRelations }) - toast.success('Item unlinked') + const toastId = toast.loading('Unlinking item...') + + const result = await handleApiOperation( + async () => { + const serverResult = await item?.layer?.api?.updateItem!(updatedItem) + return serverResult! + }, + toastId, + 'Item unlinked', + ) + + if (result.success && result.data) { + // Find the layer object by ID from server response or use existing layer + const layer = item.layer + const itemWithLayer = { ...result.data, layer } + updateItem(itemWithLayer) } } @@ -125,23 +172,21 @@ export const handleDelete = async ( ) => { event.stopPropagation() setLoading(true) - let success = false + try { await item.layer?.api?.deleteItem!(item.id) - success = true - // eslint-disable-next-line no-catch-all/no-catch-all - } catch (error) { - toast.error(error.toString()) - } - if (success) { removeItem(item) toast.success('Item deleted') + + map.closePopup() + const params = new URLSearchParams(window.location.search) + window.history.pushState({}, '', '/' + `${params ? `?${params}` : ''}`) + navigate('/') + } catch (error) { + toast.error(error instanceof Error ? error.message : String(error)) } + setLoading(false) - map.closePopup() - const params = new URLSearchParams(window.location.search) - window.history.pushState({}, '', '/' + `${params ? `?${params}` : ''}`) - navigate('/') } export const onUpdateItem = async ( @@ -239,61 +284,52 @@ export const onUpdateItem = async ( await sleep(200) if (!item.new) { - await (item?.layer?.api?.updateItem && - toast - .promise(item?.layer?.api?.updateItem(changedItem), { - pending: 'updating Item ...', - success: 'Item updated', - error: { - render({ data }) { - return `${data}` - }, - }, - }) - .catch(setLoading(false)) - .then( - () => - item && - updateItem({ - ...item, - ...changedItem, - markerIcon: state.marker_icon, - gallery: state.gallery, - }), - ) - .then(() => { - setLoading(false) - navigate(`/item/${item.id}${params && '?' + params}`) - return null - })) + const toastId = toast.loading('updating Item ...') + + const result = await handleApiOperation( + async () => { + const serverResult = await item?.layer?.api?.updateItem!(changedItem) + return serverResult! + }, + toastId, + 'Item updated', + ) + + if (result.success && result.data) { + // Use server response with additional client-side data + const itemWithLayer = { + ...result.data, + layer: item.layer, + markerIcon: state.marker_icon, + gallery: state.gallery, + } + updateItem(itemWithLayer) + navigate(`/item/${item.id}${params && '?' + params}`) + } + setLoading(false) } else { item.new = false - await (item.layer?.api?.createItem && - toast - .promise(item.layer?.api?.createItem(changedItem), { - pending: 'updating Item ...', - success: 'Item updated', - error: { - render({ data }) { - return `${data}` - }, - }, - }) - .catch(setLoading(false)) - .then( - () => - item && - addItem({ - ...item, - ...changedItem, - layer: item.layer, - user_created: user, - }), - ) - .then(() => { - setLoading(false) - navigate(`/${params && '?' + params}`) - return null - })) + const toastId = toast.loading('updating Item ...') + + const result = await handleApiOperation( + async () => { + const serverResult = await item.layer?.api?.createItem!(changedItem) + return serverResult! + }, + toastId, + 'Item updated', + ) + + if (result.success && result.data) { + // Use server response with additional client-side data + const itemWithLayer = { + ...result.data, + layer: item.layer, + user_created: user, + } + addItem(itemWithLayer) + navigate(`/${params && '?' + params}`) + } + setLoading(false) } } diff --git a/lib/src/types/LayerProps.d.ts b/lib/src/types/LayerProps.d.ts index 771688b1..3839d721 100644 --- a/lib/src/types/LayerProps.d.ts +++ b/lib/src/types/LayerProps.d.ts @@ -7,7 +7,7 @@ import type { MarkerIcon } from './MarkerIcon' * @category Types */ export interface LayerProps { - id?: string + id: string data?: Item[] children?: React.ReactNode name: string From f7f758bb006ca415c728d95431987b2104e0ee77 Mon Sep 17 00:00:00 2001 From: Anton Tranelis <31516529+antontranelis@users.noreply.github.com> Date: Wed, 20 Aug 2025 16:39:19 +0200 Subject: [PATCH 26/29] feat(lib): enhanced LocateControl (#308) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * improved locate control * fix(lib): clean up setTimeout and fix Chrome modal layout issue - Add proper cleanup for setTimeout in LocateControl to prevent memory leaks - Replace modal-open class with direct overflow style to fix Chrome scrollbar issue - Add timeout reference tracking for better component unmount handling 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude * fix linting * set distance rule * optimized locatecontrol * working for new users without profile now * test(lib): add comprehensive tests for LocateControl component - Add 9 comprehensive unit tests covering all LocateControl functionality - Test modal display logic for new and existing users - Test profile creation and position updates - Test navigation after successful operations - Test error handling with proper toast notifications - Mock all external dependencies (React Router, Leaflet, APIs) - Verify dialog behavior prevents re-appearance after decline - Include snapshot tests for UI consistency - All tests pass with proper TypeScript typing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude * removed unused code, add 1s delay * updated tests * fixed tests --------- Co-authored-by: Claude --- CLAUDE.md | 8 +- .../Controls/LocateControl.spec.tsx | 484 ++++++++++++++++++ .../Subcomponents/Controls/LocateControl.tsx | 273 +++++++++- .../__snapshots__/LocateControl.spec.tsx.snap | 137 +++++ lib/src/Components/Templates/DialogModal.tsx | 10 +- 5 files changed, 882 insertions(+), 30 deletions(-) create mode 100644 lib/src/Components/Map/Subcomponents/Controls/LocateControl.spec.tsx create mode 100644 lib/src/Components/Map/Subcomponents/Controls/__snapshots__/LocateControl.spec.tsx.snap diff --git a/CLAUDE.md b/CLAUDE.md index 2400ceba..342fd001 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -122,4 +122,10 @@ Uses **Directus** as headless CMS with: - **TypeScript strict mode** ensures type safety - Pre-commit hooks run linting checks via `scripts/check-lint.sh` - Coverage reporting for unit tests -- Automated dependency updates via `npm-check-updates` \ No newline at end of file +- Automated dependency updates via `npm-check-updates` + +## CSS and Styling Conventions + +- **Tailwind CSS Prefix**: Always use the `tw:` prefix for all Tailwind CSS classes (e.g., `tw:flex`, `tw:bg-base-100`) +- **DaisyUI Components**: Use the `tw:` prefix for all DaisyUI component classes (e.g., `tw:btn`, `tw:card`, `tw:modal`) +- This prefix system prevents conflicts with other CSS frameworks and maintains consistent styling across the codebase \ No newline at end of file diff --git a/lib/src/Components/Map/Subcomponents/Controls/LocateControl.spec.tsx b/lib/src/Components/Map/Subcomponents/Controls/LocateControl.spec.tsx new file mode 100644 index 00000000..4ca6c017 --- /dev/null +++ b/lib/src/Components/Map/Subcomponents/Controls/LocateControl.spec.tsx @@ -0,0 +1,484 @@ +/* eslint-disable @typescript-eslint/no-unsafe-assignment */ +/* eslint-disable @typescript-eslint/no-unsafe-member-access */ +/* eslint-disable @typescript-eslint/no-unsafe-call */ +/* eslint-disable @typescript-eslint/no-explicit-any */ + +import { render, screen, fireEvent, act } from '@testing-library/react' +import { MapContainer } from 'react-leaflet' +import { MemoryRouter } from 'react-router-dom' +import { toast } from 'react-toastify' +import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest' + +import { LocateControl } from './LocateControl' + +import type { Item } from '#types/Item' +import type { ItemsApi } from '#types/ItemsApi' +import type { ItemType } from '#types/ItemType' +import type { LayerProps as Layer } from '#types/LayerProps' +import type { MarkerIcon } from '#types/MarkerIcon' +import type { Mock } from 'vitest' + +interface User { + id: string + first_name: string + last_name: string + email: string +} + +// Mock external dependencies +vi.mock('react-toastify', () => ({ + toast: { + loading: vi.fn(() => 'toast-id'), + update: vi.fn(), + success: vi.fn(), + error: vi.fn(), + }, +})) + +vi.mock('react-leaflet', async () => { + const actual = await vi.importActual('react-leaflet') + return { + ...actual, + useMap: vi.fn(() => ({ + closePopup: vi.fn(), + })), + useMapEvents: vi.fn((eventHandlers) => { + ;(global as any).mockMapEventHandlers = eventHandlers + return null + }), + } +}) + +vi.mock('leaflet', () => ({ + control: { + locate: vi.fn(() => ({ + addTo: vi.fn(), + start: vi.fn(), + stop: vi.fn(), + })), + }, +})) + +vi.mock('#components/Auth/useAuth') +vi.mock('#components/Map/hooks/useMyProfile') +vi.mock('#components/Map/hooks/useItems') +vi.mock('#components/Map/hooks/useLayers') + +const mockNavigate = vi.fn() +vi.mock('react-router-dom', async () => { + const actual = await vi.importActual('react-router-dom') + return { + ...actual, + useNavigate: () => mockNavigate, + } +}) + +const mockUser: User = { + id: 'user-1', + first_name: 'John', + last_name: 'Doe', + email: 'john@example.com', +} + +const mockApi: ItemsApi = { + getItems: vi.fn().mockResolvedValue([]), + getItem: vi.fn(), + createItem: vi.fn(), + updateItem: vi.fn(), + deleteItem: vi.fn(), + collectionName: 'test-collection', +} + +const mockMarkerIcon: MarkerIcon = { + image: 'test-icon.svg', + size: 32, +} + +const mockItemType: ItemType = { + name: 'user', + show_name_input: true, + show_profile_button: true, + show_start_end: false, + show_start_end_input: false, + show_text: true, + show_text_input: true, + custom_text: '', + profileTemplate: [], + offers_and_needs: false, + icon_as_labels: false, + relations: false, + template: 'simple', + questlog: false, +} + +const mockLayer: Layer = { + id: 'layer-1', + name: 'Users', + menuIcon: 'user', + menuColor: '#ff0000', + menuText: 'Users', + markerIcon: mockMarkerIcon, + markerShape: 'circle', + markerDefaultColor: '#ff0000', + itemType: mockItemType, + userProfileLayer: true, + api: mockApi, +} + +const mockProfile: Item = { + id: 'profile-1', + name: 'John Doe', + position: { + type: 'Point', + coordinates: [10.0, 50.0], + }, + user_created: mockUser, + layer: mockLayer, +} + +const TestWrapper = ({ children }: { children: React.ReactNode }) => ( + + + {children} + + +) + +describe('', () => { + let mockUseAuth: Mock + let mockUseMyProfile: Mock + let mockUseUpdateItem: Mock + let mockUseAddItem: Mock + let mockUseLayers: Mock + + beforeEach(async () => { + vi.clearAllMocks() + vi.useFakeTimers() + mockNavigate.mockClear() + ;(global as any).mockMapEventHandlers = {} + + const { useAuth } = await import('#components/Auth/useAuth') + const { useMyProfile } = await import('#components/Map/hooks/useMyProfile') + const { useUpdateItem, useAddItem } = await import('#components/Map/hooks/useItems') + const { useLayers } = await import('#components/Map/hooks/useLayers') + + mockUseAuth = vi.mocked(useAuth) + mockUseMyProfile = vi.mocked(useMyProfile) + mockUseUpdateItem = vi.mocked(useUpdateItem) + mockUseAddItem = vi.mocked(useAddItem) + mockUseLayers = vi.mocked(useLayers) + + mockUseAuth.mockReturnValue({ user: mockUser }) + mockUseMyProfile.mockReturnValue({ myProfile: null, isMyProfileLoaded: true }) + mockUseUpdateItem.mockReturnValue(vi.fn()) + mockUseAddItem.mockReturnValue(vi.fn()) + mockUseLayers.mockReturnValue([mockLayer]) + }) + + afterEach(() => { + vi.useRealTimers() + }) + + describe('Component Rendering', () => { + it('renders the locate control button', () => { + render( + + + , + ) + + const button = screen.getByRole('button', { name: /start location tracking/i }) + expect(button).toBeInTheDocument() + }) + + it('displays target icon when not active', () => { + render( + + + , + ) + + const button = screen.getByRole('button', { name: /start location tracking/i }) + expect(button).toBeInTheDocument() + expect(button.querySelector('svg')).toBeInTheDocument() + }) + + it('matches snapshot', () => { + const { container } = render( + + + , + ) + expect(container.firstChild).toMatchSnapshot() + }) + }) + + describe('Modal Display Logic', () => { + it('shows modal for new user without profile when location is found', () => { + mockUseMyProfile.mockReturnValue({ myProfile: null, isMyProfileLoaded: true }) + + render( + + + , + ) + + const locationEvent = { + latlng: { lat: 52.5, lng: 13.4, distanceTo: vi.fn(() => 200) }, + } + + act(() => { + ;(global as any).mockMapEventHandlers?.locationfound?.(locationEvent) + }) + + act(() => { + vi.runAllTimers() + }) + + // Check if modal appears after timeout + expect(screen.getByText(/create your profile at your current location/i)).toBeInTheDocument() + }) + + it('shows modal for existing user when location is far from current position', () => { + const profileWithPosition = { + ...mockProfile, + position: { + type: 'Point' as const, + coordinates: [10.0, 50.0], + }, + } + mockUseMyProfile.mockReturnValue({ myProfile: profileWithPosition, isMyProfileLoaded: true }) + + render( + + + , + ) + + const locationEvent = { + latlng: { + lat: 52.5, + lng: 13.4, + distanceTo: vi.fn(() => 200), + }, + } + + act(() => { + ;(global as any).mockMapEventHandlers?.locationfound?.(locationEvent) + }) + + act(() => { + vi.runAllTimers() + }) + + // Check if modal appears after timeout + expect(screen.getByText(/place your profile at your current location/i)).toBeInTheDocument() + }) + }) + + describe('Profile Creation', () => { + it('creates new profile when user has no existing profile', async () => { + const mockCreateItem = vi.fn().mockResolvedValue({ + id: 'new-profile-1', + name: 'John', + position: { type: 'Point', coordinates: [13.4, 52.5] }, + }) + const mockAddItem = vi.fn() + + mockApi.createItem = mockCreateItem + mockUseAddItem.mockReturnValue(mockAddItem) + mockUseMyProfile.mockReturnValue({ myProfile: null, isMyProfileLoaded: true }) + + render( + + + , + ) + + const locationEvent = { + latlng: { lat: 52.5, lng: 13.4, distanceTo: vi.fn(() => 200) }, + } + + act(() => { + ;(global as any).mockMapEventHandlers?.locationfound?.(locationEvent) + }) + + act(() => { + vi.runAllTimers() + }) + + // Check if modal appears after timeout + expect(screen.getByText(/create your profile/i)).toBeInTheDocument() + + const yesButton = screen.getByText('Yes') + + await act(async () => { + fireEvent.click(yesButton) + // Allow promises to resolve + await vi.runAllTimersAsync() + }) + + // Verify API calls were made + expect(mockCreateItem).toHaveBeenCalled() + expect(mockAddItem).toHaveBeenCalled() + expect(toast.loading).toHaveBeenCalledWith('Creating profile at location') + }) + + it('updates existing profile position', async () => { + const mockUpdateItem = vi.fn().mockResolvedValue({ + id: 'profile-1', + position: { type: 'Point', coordinates: [13.4, 52.5] }, + }) + const mockUpdateItemHook = vi.fn() + + // Create a profile with a current position far from the new location + const profileWithCurrentPosition = { + ...mockProfile, + position: { + type: 'Point' as const, + coordinates: [10.0, 50.0], // lng, lat format - far from 13.4, 52.5 + }, + } + + if (profileWithCurrentPosition.layer?.api) { + profileWithCurrentPosition.layer.api.updateItem = mockUpdateItem + } + mockUseUpdateItem.mockReturnValue(mockUpdateItemHook) + mockUseMyProfile.mockReturnValue({ + myProfile: profileWithCurrentPosition, + isMyProfileLoaded: true, + }) + + render( + + + , + ) + + // Mock distanceTo to return a distance > 100m + const mockDistanceTo = vi.fn(() => 200) + const locationEvent = { + latlng: { lat: 52.5, lng: 13.4, distanceTo: mockDistanceTo }, + } + act(() => { + ;(global as any).mockMapEventHandlers?.locationfound?.(locationEvent) + }) + + // Verify distanceTo was called with swapped coordinates [lat, lng] + // Verify distanceTo was called with swapped coordinates [lat, lng] + expect(mockDistanceTo).toHaveBeenCalledWith([50.0, 10.0]) + + act(() => { + vi.runAllTimers() + }) + + // Check if modal appears after timeout + expect(screen.getByText(/place your profile/i)).toBeInTheDocument() + + // Find the Yes button by text content instead of role + const yesButton = screen.getByText('Yes') + + await act(async () => { + fireEvent.click(yesButton) + // Allow promises to resolve + await vi.runAllTimersAsync() + }) + + // Verify API calls were made + expect(mockUpdateItem).toHaveBeenCalled() + expect(mockUpdateItemHook).toHaveBeenCalled() + expect(toast.loading).toHaveBeenCalledWith('Updating position') + }) + }) + + describe('Navigation', () => { + it('navigates to profile after successful creation', async () => { + const mockCreateItem = vi.fn().mockResolvedValue({ + id: 'new-profile-1', + name: 'John', + position: { type: 'Point', coordinates: [13.4, 52.5] }, + }) + + mockApi.createItem = mockCreateItem + mockUseMyProfile.mockReturnValue({ myProfile: null, isMyProfileLoaded: true }) + + render( + + + , + ) + + const locationEvent = { + latlng: { lat: 52.5, lng: 13.4, distanceTo: vi.fn(() => 200) }, + } + + act(() => { + ;(global as any).mockMapEventHandlers?.locationfound?.(locationEvent) + }) + + act(() => { + vi.runAllTimers() + }) + + // Check if modal appears after timeout + expect(screen.getByText(/create your profile/i)).toBeInTheDocument() + + const yesButton = screen.getByText('Yes') + + await act(async () => { + fireEvent.click(yesButton) + // Allow promises to resolve + await vi.runAllTimersAsync() + }) + + // Verify navigation was called + expect(mockNavigate).toHaveBeenCalledWith('/new-profile-1') + }) + }) + + describe('Error Handling', () => { + it('handles API errors gracefully', async () => { + const mockCreateItem = vi.fn().mockRejectedValue(new Error('Network error')) + mockApi.createItem = mockCreateItem + mockUseMyProfile.mockReturnValue({ myProfile: null, isMyProfileLoaded: true }) + + render( + + + , + ) + + const locationEvent = { + latlng: { lat: 52.5, lng: 13.4, distanceTo: vi.fn(() => 200) }, + } + + act(() => { + ;(global as any).mockMapEventHandlers?.locationfound?.(locationEvent) + }) + + act(() => { + vi.runAllTimers() + }) + + // Check if modal appears after timeout + expect(screen.getByText(/create your profile/i)).toBeInTheDocument() + + const yesButton = screen.getByText('Yes') + + await act(async () => { + fireEvent.click(yesButton) + // Allow promises to resolve + await vi.runAllTimersAsync() + }) + + // Verify error toast was shown + expect(toast.update).toHaveBeenCalledWith('toast-id', { + render: 'Network error', + type: 'error', + isLoading: false, + autoClose: 5000, + closeButton: true, + }) + }) + }) +}) diff --git a/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx b/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx index ecc3a061..885caa5e 100644 --- a/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx +++ b/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx @@ -1,72 +1,297 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ -/* eslint-disable @typescript-eslint/no-unsafe-assignment */ -/* eslint-disable @typescript-eslint/prefer-ts-expect-error */ -/* eslint-disable @typescript-eslint/ban-ts-comment */ -/* eslint-disable @typescript-eslint/no-unsafe-member-access */ -/* eslint-disable @typescript-eslint/no-unsafe-call */ import { control } from 'leaflet' -import { useEffect, useRef, useState } from 'react' +import { useCallback, useEffect, useRef, useState } from 'react' import SVG from 'react-inlinesvg' import { useMap, useMapEvents } from 'react-leaflet' +import { useNavigate } from 'react-router-dom' +import { toast } from 'react-toastify' import TargetSVG from '#assets/target.svg' +import { useAuth } from '#components/Auth/useAuth' +import { useAddItem, useUpdateItem } from '#components/Map/hooks/useItems' +import { useLayers } from '#components/Map/hooks/useLayers' +import { useMyProfile } from '#components/Map/hooks/useMyProfile' +import DialogModal from '#components/Templates/DialogModal' + +import type { Item } from '#types/Item' +import type { LatLng } from 'leaflet' // eslint-disable-next-line import/no-unassigned-import import 'leaflet.locatecontrol' -// Converts leaflet.locatecontrol to a React Component -export const LocateControl = () => { - const map = useMap() +// Type definitions for leaflet.locatecontrol +declare module 'leaflet' { + // eslint-disable-next-line @typescript-eslint/no-namespace + namespace control { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + function locate(options?: object): any + } +} - // prevent react18 from calling useEffect twice +/** + * React wrapper for leaflet.locatecontrol that provides user geolocation functionality + * @category Map Controls + */ +export const LocateControl = (): JSX.Element => { + const map = useMap() + const myProfile = useMyProfile() + const updateItem = useUpdateItem() + const addItem = useAddItem() + const layers = useLayers() + const { user } = useAuth() + const navigate = useNavigate() + + // Prevent React 18 StrictMode from calling useEffect twice const init = useRef(false) + // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/no-unsafe-assignment const [lc, setLc] = useState(null) const [active, setActive] = useState(false) const [loading, setLoading] = useState(false) + const [showLocationModal, setShowLocationModal] = useState(false) + const [foundLocation, setFoundLocation] = useState(null) + const [hasUpdatedPosition, setHasUpdatedPosition] = useState(false) + const [hasDeclinedModal, setHasDeclinedModal] = useState(false) + const timeoutRef = useRef(null) + + const currentPosition = myProfile.myProfile?.position?.coordinates ?? null + + // Determine if modal should be shown based on distance and conditions + const shouldShowModal = useCallback( + (targetLocation: LatLng | null, hasUpdated: boolean): boolean => { + if (!targetLocation || hasUpdated || hasDeclinedModal || !user) return false + + // Show modal if user has no profile (new user) + if (!myProfile.myProfile) return true + + // Show modal if user has no current position + if (!currentPosition) return true + + const distance = targetLocation.distanceTo([currentPosition[1], currentPosition[0]]) + return distance >= 100 + }, + [myProfile.myProfile, currentPosition, hasDeclinedModal, user], + ) useEffect(() => { if (!init.current) { - // @ts-ignore + // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call setLc(control.locate().addTo(map)) init.current = true } + + return () => { + if (timeoutRef.current) { + clearTimeout(timeoutRef.current) + } + } // eslint-disable-next-line react-hooks/exhaustive-deps }, []) + // Check if user logged in while location is active and found + useEffect(() => { + if ( + active && + foundLocation && + !showLocationModal && + shouldShowModal(foundLocation, hasUpdatedPosition) + ) { + timeoutRef.current = setTimeout(() => { + setShowLocationModal(true) + }, 1000) + } + }, [active, foundLocation, showLocationModal, hasUpdatedPosition, shouldShowModal]) + useMapEvents({ - locationfound: () => { + locationfound: (e) => { setLoading(false) setActive(true) + setFoundLocation(e.latlng) + }, + locationerror: () => { + setLoading(false) + setActive(false) }, }) + const handleLocateClick = (): void => { + if (!lc) return + + if (active) { + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access + lc.stop() + setActive(false) + setHasDeclinedModal(false) // Reset declined state when turning off location + if (timeoutRef.current) { + clearTimeout(timeoutRef.current) + timeoutRef.current = null + } + } else { + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access + lc.start() + setLoading(true) + setHasDeclinedModal(false) // Reset declined state when turning on location + } + } + + const itemUpdatePosition = useCallback(async () => { + if (!foundLocation || !user) return + + const toastId = toast.loading( + myProfile.myProfile ? 'Updating position' : 'Creating profile at location', + ) + + try { + let result: Item + + if (myProfile.myProfile) { + // Update existing profile + const updatedProfile = { + id: myProfile.myProfile.id, + position: { type: 'Point', coordinates: [foundLocation.lng, foundLocation.lat] }, + } + if (!myProfile.myProfile.layer?.api?.updateItem) { + throw new Error('Update API not available') + } + result = await myProfile.myProfile.layer.api.updateItem(updatedProfile as Item) + // Use server response for local state update + updateItem({ ...result, layer: myProfile.myProfile.layer }) + toast.update(toastId, { + render: 'Position updated', + type: 'success', + isLoading: false, + autoClose: 5000, + closeButton: true, + }) + } else { + // Create new profile + const userLayer = layers.find((l) => l.userProfileLayer === true) + if (!userLayer?.api?.createItem) { + throw new Error('User profile layer or create API not available') + } + + const newProfile = { + id: crypto.randomUUID(), + name: user.first_name ?? 'User', + position: { type: 'Point', coordinates: [foundLocation.lng, foundLocation.lat] }, + } + + result = await userLayer.api.createItem(newProfile as Item) + // Use server response for local state update + addItem({ + ...result, + user_created: user, + layer: userLayer, + public_edit: false, + }) + toast.update(toastId, { + render: 'Profile created at location', + type: 'success', + isLoading: false, + autoClose: 5000, + closeButton: true, + }) + } + + // Navigate to the profile to show the popup + navigate(`/${result.id}`) + + // Clean up and reset state + setFoundLocation(null) + setActive(false) + setHasUpdatedPosition(true) + if (timeoutRef.current) { + clearTimeout(timeoutRef.current) + timeoutRef.current = null + } + // eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access + if (lc) lc.stop() + // Reset flag after a delay to allow future updates + setTimeout(() => setHasUpdatedPosition(false), 5000) + } catch (error: unknown) { + if (error instanceof Error) { + toast.update(toastId, { + render: error.message, + type: 'error', + isLoading: false, + autoClose: 5000, + closeButton: true, + }) + } else if (typeof error === 'string') { + toast.update(toastId, { + render: error, + type: 'error', + isLoading: false, + autoClose: 5000, + closeButton: true, + }) + } else { + throw error + } + } + }, [myProfile.myProfile, foundLocation, updateItem, addItem, layers, user, lc, navigate]) + return ( <> -
    +
    { - if (active) { - lc.stop() - setActive(false) - } else { - lc.start() - setLoading(true) + className='tw:card-body tw:card tw:p-2 tw:h-10 tw:w-10' + onClick={handleLocateClick} + role='button' + tabIndex={0} + onKeyDown={(e) => { + if (e.key === 'Enter' || e.key === ' ') { + e.preventDefault() + handleLocateClick() } }} + aria-label={active ? 'Stop location tracking' : 'Start location tracking'} > {loading ? ( - + ) : ( )}
    + setShowLocationModal(false)} + showCloseButton={true} + closeOnClickOutside={true} + className='tw:bottom-1/3 tw:mx-4 tw:sm:mx-auto' + > +
    +

    + {myProfile.myProfile + ? 'Do you like to place your profile at your current location?' + : 'Do you like to create your profile at your current location?'} +

    +
    + + +
    +
    +
    ) } diff --git a/lib/src/Components/Map/Subcomponents/Controls/__snapshots__/LocateControl.spec.tsx.snap b/lib/src/Components/Map/Subcomponents/Controls/__snapshots__/LocateControl.spec.tsx.snap new file mode 100644 index 00000000..6de35afb --- /dev/null +++ b/lib/src/Components/Map/Subcomponents/Controls/__snapshots__/LocateControl.spec.tsx.snap @@ -0,0 +1,137 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[` > Component Rendering > matches snapshot 1`] = ` +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    + +
    +
    + + + +
    +
    +
    +`; diff --git a/lib/src/Components/Templates/DialogModal.tsx b/lib/src/Components/Templates/DialogModal.tsx index f2a72ec9..a0e87c26 100644 --- a/lib/src/Components/Templates/DialogModal.tsx +++ b/lib/src/Components/Templates/DialogModal.tsx @@ -33,31 +33,31 @@ const DialogModal = ({ if (isOpened) { ref.current?.showModal() ref.current?.classList.remove('tw:hidden') - document.body.classList.add('modal-open') // prevent bg scroll + document.body.style.overflow = 'hidden' } else { ref.current?.close() ref.current?.classList.add('tw:hidden') - document.body.classList.remove('modal-open') + document.body.style.overflow = '' } }, [isOpened]) if (isOpened) { return ( ref.current && !isClickInsideRectangle(e, ref.current) && closeOnClickOutside && onClose() } > -
    +

    {title}

    {children} {showCloseButton && (
    )} -
    {userProfile.name || user?.first_name}
    +
    {userProfile.name ?? user?.first_name}
  • - Profile + Profile
  • Settings diff --git a/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx b/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx index 885caa5e..6bbc5518 100644 --- a/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx +++ b/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx @@ -154,7 +154,7 @@ export const LocateControl = (): JSX.Element => { } result = await myProfile.myProfile.layer.api.updateItem(updatedProfile as Item) // Use server response for local state update - updateItem({ ...result, layer: myProfile.myProfile.layer }) + updateItem({ ...result, layer: myProfile.myProfile.layer, user_created: user }) toast.update(toastId, { render: 'Position updated', type: 'success', diff --git a/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx b/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx index 42e910b2..65d9773d 100644 --- a/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx +++ b/lib/src/Components/Map/Subcomponents/ItemFormPopup.tsx @@ -124,13 +124,17 @@ export function ItemFormPopup(props: Props) { if (result.success && result.data) { // Ensure the item has the layer object attached - const itemWithLayer = { ...result.data, layer: popupForm.layer } + const itemWithLayer = { + ...result.data, + layer: popupForm.layer, + user_created: user ?? undefined, + } updateItem(itemWithLayer) } return result.success }, - [popupForm, handleApiOperation, updateItem], + [popupForm, handleApiOperation, updateItem, user], ) // Create new item or update existing user profile @@ -165,7 +169,11 @@ export function ItemFormPopup(props: Props) { if (result.success && result.data) { // Ensure the item has the layer object attached - const itemWithLayer = { ...result.data, layer: popupForm.layer } + const itemWithLayer = { + ...result.data, + layer: popupForm.layer, + user_created: user ?? undefined, + } if (isUserProfileUpdate) { updateItem(itemWithLayer) diff --git a/lib/src/Components/Map/hooks/useMyProfile.ts b/lib/src/Components/Map/hooks/useMyProfile.ts index e94c82ed..ee0b7036 100644 --- a/lib/src/Components/Map/hooks/useMyProfile.ts +++ b/lib/src/Components/Map/hooks/useMyProfile.ts @@ -5,16 +5,15 @@ import { useItems, useAllItemsLoaded } from './useItems' export const useMyProfile = () => { const items = useItems() const allItemsLoaded = useAllItemsLoaded() - - const user = useAuth().user - - // allItemsLoaded is not reliable, so we check if items.length > 0 - const isMyProfileLoaded = allItemsLoaded && items.length > 0 && !!user + const { user } = useAuth() // Find the user's profile item const myProfile = items.find( (item) => item.layer?.userProfileLayer && item.user_created?.id === user?.id, ) + // allItemsLoaded is not reliable, so we check if items.length > 0 + const isMyProfileLoaded = allItemsLoaded && items.length > 0 && !!user + return { myProfile, isMyProfileLoaded } } diff --git a/lib/src/Components/Map/hooks/useSelectPosition.tsx b/lib/src/Components/Map/hooks/useSelectPosition.tsx index 98c2c8e4..467a917c 100644 --- a/lib/src/Components/Map/hooks/useSelectPosition.tsx +++ b/lib/src/Components/Map/hooks/useSelectPosition.tsx @@ -11,6 +11,8 @@ import { createContext, useContext, useEffect, useState, useCallback } from 'react' import { toast } from 'react-toastify' +import { useAuth } from '#components/Auth/useAuth' + import { useUpdateItem } from './useItems' import { useLayers } from './useLayers' import { useHasUserPermission } from './usePermissions' @@ -47,6 +49,7 @@ function useSelectPositionManager(): { const updateItem = useUpdateItem() const hasUserPermission = useHasUserPermission() const layers = useLayers() + const { user } = useAuth() // Handle API operations with consistent error handling and return response data const handleApiOperation = useCallback( @@ -141,7 +144,7 @@ function useSelectPositionManager(): { if (result.success && result.data) { // Find the layer object by ID from server response const layer = layers.find((l) => l.id === (result.data!.layer as unknown as string)) - const itemWithLayer = { ...result.data, layer } + const itemWithLayer = { ...result.data, layer, user_created: user ?? undefined } updateItem(itemWithLayer) await linkItem(updatedItem.id) setSelectPosition(null) @@ -177,7 +180,7 @@ function useSelectPositionManager(): { if (result.success && result.data) { // Find the layer object by ID from server response const layer = layers.find((l) => l.id === (result.data!.layer as unknown as string)) - const itemWithLayer = { ...result.data, layer } + const itemWithLayer = { ...result.data, layer, user_created: user ?? undefined } updateItem(itemWithLayer) } } @@ -203,7 +206,7 @@ function useSelectPositionManager(): { if (result.success && result.data) { // Find the layer object by ID from server response const layer = layers.find((l) => l.id === (result.data!.layer as unknown as string)) - const itemWithLayer = { ...result.data, layer } + const itemWithLayer = { ...result.data, layer, user_created: user ?? undefined } updateItem(itemWithLayer) } } diff --git a/lib/src/Components/Profile/ItemFunctions.spec.tsx b/lib/src/Components/Profile/ItemFunctions.spec.tsx index edc18aea..5b430d8f 100644 --- a/lib/src/Components/Profile/ItemFunctions.spec.tsx +++ b/lib/src/Components/Profile/ItemFunctions.spec.tsx @@ -22,6 +22,12 @@ vi.mock('react-toastify', () => ({ describe('linkItem', () => { const id = 'some-id' let updateApi: (item: Partial) => Promise = vi.fn() + const mockUser = { + id: 'user-1', + first_name: 'Test', + last_name: 'User', + email: 'test@example.com', + } const item: Item = { layer: { id: 'test-layer-id', @@ -71,7 +77,7 @@ describe('linkItem', () => { describe('api rejects', () => { it('toasts an error', async () => { updateApi = vi.fn().mockRejectedValue('autsch') - await linkItem(id, item, updateItem) + await linkItem(id, item, updateItem, mockUser) expect(toastUpdateMock).toHaveBeenCalledWith(123, expect.objectContaining({ type: 'error' })) expect(updateItem).not.toHaveBeenCalled() expect(toastSuccessMock).not.toHaveBeenCalled() @@ -87,7 +93,7 @@ describe('linkItem', () => { } updateApi = vi.fn().mockResolvedValue(serverResponse) - await linkItem(id, item, updateItem) + await linkItem(id, item, updateItem, mockUser) expect(toastUpdateMock).toHaveBeenCalledWith( 123, diff --git a/lib/src/Components/Profile/ProfileForm.tsx b/lib/src/Components/Profile/ProfileForm.tsx index b4d82862..79e1a423 100644 --- a/lib/src/Components/Profile/ProfileForm.tsx +++ b/lib/src/Components/Profile/ProfileForm.tsx @@ -198,8 +198,8 @@ export function ProfileForm() { state={state} setState={setState} updatePermission={updatePermission} - linkItem={(id: string) => linkItem(id, item, updateItem)} - unlinkItem={(id: string) => unlinkItem(id, item, updateItem)} + linkItem={(id: string) => linkItem(id, item, updateItem, user)} + unlinkItem={(id: string) => unlinkItem(id, item, updateItem, user)} setUrlParams={setUrlParams} > )} diff --git a/lib/src/Components/Profile/ProfileView.tsx b/lib/src/Components/Profile/ProfileView.tsx index 498f0347..a1ce365d 100644 --- a/lib/src/Components/Profile/ProfileView.tsx +++ b/lib/src/Components/Profile/ProfileView.tsx @@ -12,6 +12,7 @@ import { useEffect, useState } from 'react' import { useMap } from 'react-leaflet' import { useLocation, useNavigate } from 'react-router-dom' +import { useAuth } from '#components/Auth/useAuth' import { useClusterRef } from '#components/Map/hooks/useClusterRef' import { useItems, useRemoveItem, useUpdateItem } from '#components/Map/hooks/useItems' import { useLayers } from '#components/Map/hooks/useLayers' @@ -51,6 +52,7 @@ export function ProfileView({ attestationApi }: { attestationApi?: ItemsApi const map = useMap() const selectPosition = useSelectPosition() const removeItem = useRemoveItem() + const { user } = useAuth() const tags = useTags() const navigate = useNavigate() const hasUserPermission = useHasUserPermission() @@ -208,8 +210,8 @@ export function ProfileView({ attestationApi }: { attestationApi?: ItemsApi needs={needs} relations={relations} updatePermission={updatePermission} - linkItem={(id) => linkItem(id, item, updateItem)} - unlinkItem={(id) => unlinkItem(id, item, updateItem)} + linkItem={(id) => linkItem(id, item, updateItem, user)} + unlinkItem={(id) => unlinkItem(id, item, updateItem, user)} /> )} diff --git a/lib/src/Components/Profile/itemFunctions.ts b/lib/src/Components/Profile/itemFunctions.ts index 44e5940c..d04ae117 100644 --- a/lib/src/Components/Profile/itemFunctions.ts +++ b/lib/src/Components/Profile/itemFunctions.ts @@ -62,6 +62,7 @@ export const submitNewItem = async ( layers, addItemPopupType, setAddItemPopupType, + user, ) => { evt.preventDefault() const formItem: Item = {} as Item @@ -106,7 +107,7 @@ export const submitNewItem = async ( if (result.success && result.data) { // Find the layer object by ID from server response const layerForItem = layers.find((l) => l.id === result.data!.layer) || layer - const itemWithLayer = { ...result.data, layer: layerForItem } + const itemWithLayer = { ...result.data, layer: layerForItem, user_created: user ?? undefined } addItem(itemWithLayer) await linkItem(uuid) resetFilterTags() @@ -115,7 +116,7 @@ export const submitNewItem = async ( setAddItemPopupType('') } -export const linkItem = async (id: string, item: Item, updateItem) => { +export const linkItem = async (id: string, item: Item, updateItem, user) => { const newRelations = item.relations ?? [] newRelations?.push({ items_id: item.id, related_items_id: id }) const updatedItem = { id: item.id, relations: newRelations } @@ -134,12 +135,17 @@ export const linkItem = async (id: string, item: Item, updateItem) => { if (result.success && result.data) { // Find the layer object by ID from server response or use existing layer const layer = item.layer - const itemWithLayer = { ...result.data, layer, relations: newRelations } + const itemWithLayer = { + ...result.data, + layer, + relations: newRelations, + user_created: user ?? undefined, + } updateItem(itemWithLayer) } } -export const unlinkItem = async (id: string, item: Item, updateItem) => { +export const unlinkItem = async (id: string, item: Item, updateItem, user) => { const newRelations = item.relations?.filter((r) => r.related_items_id !== id) const updatedItem = { id: item.id, relations: newRelations } @@ -157,7 +163,7 @@ export const unlinkItem = async (id: string, item: Item, updateItem) => { if (result.success && result.data) { // Find the layer object by ID from server response or use existing layer const layer = item.layer - const itemWithLayer = { ...result.data, layer } + const itemWithLayer = { ...result.data, layer, user_created: user ?? undefined } updateItem(itemWithLayer) } } @@ -302,6 +308,7 @@ export const onUpdateItem = async ( layer: item.layer, markerIcon: state.marker_icon, gallery: state.gallery, + user_created: user ?? undefined, } updateItem(itemWithLayer) navigate(`/item/${item.id}${params && '?' + params}`) From 2baabe7940d2c5090b94d98b427b12984d31b23a Mon Sep 17 00:00:00 2001 From: Anton Tranelis Date: Wed, 20 Aug 2025 19:02:08 +0200 Subject: [PATCH 29/29] disable close on click outside in location update dialog --- lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx b/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx index 6bbc5518..063bf445 100644 --- a/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx +++ b/lib/src/Components/Map/Subcomponents/Controls/LocateControl.tsx @@ -262,7 +262,7 @@ export const LocateControl = (): JSX.Element => { isOpened={showLocationModal} onClose={() => setShowLocationModal(false)} showCloseButton={true} - closeOnClickOutside={true} + closeOnClickOutside={false} className='tw:bottom-1/3 tw:mx-4 tw:sm:mx-auto' >