diff --git a/.gitignore b/.gitignore index 8ac28b20..23140473 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,5 @@ node_modules .vscode **/logs/ .backups +*.log* .pnpm-store - diff --git a/help-center/README.md b/help-center/README.md new file mode 100644 index 00000000..90e3cd18 --- /dev/null +++ b/help-center/README.md @@ -0,0 +1,26 @@ +# Help Center + +A multilingual help center template for Directus with articles and collections. + +## Getting Started + +### Using Directus Cloud + +1. Create a new project at [Directus Cloud](https://directus.io/cloud/) and select the **Help Center** template. +2. Generate a static token for the admin user. + +### Using Docker (Local) + +```bash +npx directus-template-cli@latest init +``` + +Select **Help Center** from the template list and follow the prompts. + +## What's Included + +- Help articles with translations +- Help collections for organizing articles +- Article feedback tracking +- Multi-language support +- Dashboards diff --git a/help-center/directus/.env.example b/help-center/directus/.env.example new file mode 100644 index 00000000..541c74fe --- /dev/null +++ b/help-center/directus/.env.example @@ -0,0 +1,48 @@ +# Database Configuration +DB_USER=directus +DB_PASSWORD=directus +DB_DATABASE=directus + +# Directus Configuration +DIRECTUS_PORT=8055 +DIRECTUS_SECRET=6116487b-cda1-52c2-b5b5-c8022c45e263 + +# Cache Configuration +CACHE_ENABLED=true +CACHE_AUTO_PURGE=true + +# Admin Configuration +ADMIN_EMAIL=admin@example.com +ADMIN_PASSWORD=d1r3ctu5 + +# WebSocket Configuration +WEBSOCKETS_ENABLED=true + +# URL Configuration +PUBLIC_URL=http://localhost:8055 + +# CORS Configuration: +# Development: It's ok to use "*" or "http://localhost:3000" for local testing +# Production: Specify exact origins like: +# - Single origin: "https://your-domain.com" +# - Multiple origins: "https://app.domain.com,https://admin.domain.com" +# Warning: Using "*" in production is a security risk - always specify allowed origins +CORS_ENABLED=true +CORS_ORIGIN=* + +# Cookie Configuration +REFRESH_TOKEN_COOKIE_SECURE=false +REFRESH_TOKEN_COOKIE_SAME_SITE=lax +REFRESH_TOKEN_COOKIE_DOMAIN=localhost + +SESSION_COOKIE_SECURE=false +SESSION_COOKIE_SAME_SITE=lax +SESSION_COOKIE_DOMAIN=localhost + +# Extensions Configuration +EXTENSIONS_PATH=./extensions +EXTENSIONS_AUTO_RELOAD=true +EXTENSIONS_ROLLDOWN=true + +# Content Security Policy +CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC=http://localhost:3000,http://localhost:4321,http://localhost:5173,https://*.youtube.com,https://*.vimeo.com,https://*.wistia.net,https://*.loom.com diff --git a/help-center/directus/docker-compose.yaml b/help-center/directus/docker-compose.yaml new file mode 100644 index 00000000..81749e81 --- /dev/null +++ b/help-center/directus/docker-compose.yaml @@ -0,0 +1,86 @@ +name: directus-help-center-template +services: + database: + image: postgis/postgis:16-master + platform: linux/amd64 + volumes: + - ./data/database:/var/lib/postgresql/data + environment: + POSTGRES_USER: ${DB_USER} + POSTGRES_PASSWORD: ${DB_PASSWORD} + POSTGRES_DB: ${DB_DATABASE} + healthcheck: + test: ['CMD', 'pg_isready', '-U', '${DB_USER}', '-d', '${DB_DATABASE}', '-h', 'localhost'] + interval: 10s + timeout: 5s + retries: 5 + start_interval: 5s + start_period: 30s + + cache: + image: redis:6 + healthcheck: + test: ['CMD-SHELL', "[ $$(redis-cli ping) = 'PONG' ]"] + interval: 10s + timeout: 5s + retries: 5 + start_interval: 5s + start_period: 30s + + directus: + image: directus/directus:11.17.4 + ports: + - ${DIRECTUS_PORT}:8055 + volumes: + - ./uploads:/directus/uploads + - ./extensions:/directus/extensions + depends_on: + database: + condition: service_healthy + cache: + condition: service_healthy + environment: + SECRET: ${DIRECTUS_SECRET} + + DB_CLIENT: 'pg' + DB_HOST: 'database' + DB_PORT: '5432' + DB_DATABASE: ${DB_DATABASE} + DB_USER: ${DB_USER} + DB_PASSWORD: ${DB_PASSWORD} + + CACHE_ENABLED: ${CACHE_ENABLED} + CACHE_AUTO_PURGE: ${CACHE_AUTO_PURGE} + CACHE_STORE: 'redis' + REDIS: 'redis://cache:6379' + + ADMIN_EMAIL: ${ADMIN_EMAIL} + ADMIN_PASSWORD: ${ADMIN_PASSWORD} + + WEBSOCKETS_ENABLED: ${WEBSOCKETS_ENABLED} + + PUBLIC_URL: ${PUBLIC_URL} + + CORS_ENABLED: ${CORS_ENABLED} + CORS_ORIGIN: ${CORS_ORIGIN} + + REFRESH_TOKEN_COOKIE_SECURE: ${REFRESH_TOKEN_COOKIE_SECURE} + REFRESH_TOKEN_COOKIE_SAME_SITE: ${REFRESH_TOKEN_COOKIE_SAME_SITE} + REFRESH_TOKEN_DOMAIN: ${REFRESH_TOKEN_COOKIE_DOMAIN} + + SESSION_COOKIE_SECURE: ${SESSION_COOKIE_SECURE} + SESSION_COOKIE_SAME_SITE: ${SESSION_COOKIE_SAME_SITE} + SESSION_COOKIE_DOMAIN: ${SESSION_COOKIE_DOMAIN} + + EXTENSIONS_PATH: ${EXTENSIONS_PATH} + EXTENSIONS_AUTO_RELOAD: ${EXTENSIONS_AUTO_RELOAD} + EXTENSIONS_ROLLDOWN: ${EXTENSIONS_ROLLDOWN} + + CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC: ${CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC} + + EMAIL_TRANSPORT: ${EMAIL_TRANSPORT} + EMAIL_FROM: ${EMAIL_FROM} + EMAIL_SMTP_HOST: ${EMAIL_SMTP_HOST} + EMAIL_SMTP_PORT: ${EMAIL_SMTP_PORT} + EMAIL_SMTP_USER: ${EMAIL_SMTP_USER} + EMAIL_SMTP_PASSWORD: ${EMAIL_SMTP_PASSWORD} diff --git a/help-center/directus/extensions/.gitkeep b/help-center/directus/extensions/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/help-center/directus/template/README.md b/help-center/directus/template/README.md new file mode 100644 index 00000000..28070d3c --- /dev/null +++ b/help-center/directus/template/README.md @@ -0,0 +1,10 @@ +# Help Center Template + +This is a template for [Directus](https://directus.io/) - an open-source headless CMS and API. Use the template-cli to load / apply this template to a blank instance. + +## Why + +## What + +## License + diff --git a/help-center/directus/template/package.json b/help-center/directus/template/package.json new file mode 100644 index 00000000..9da03e1e --- /dev/null +++ b/help-center/directus/template/package.json @@ -0,0 +1,11 @@ +{ + "author": "", + "description": "", + "directusTemplate": true, + "files": [ + "src" + ], + "name": "directus-template-help-center", + "templateName": "Help Center", + "version": "1.0.0" +} \ No newline at end of file diff --git a/help-center/directus/template/src/access.json b/help-center/directus/template/src/access.json new file mode 100644 index 00000000..a23c4b2d --- /dev/null +++ b/help-center/directus/template/src/access.json @@ -0,0 +1,44 @@ +[ + { + "id": "57601849-bd69-4127-87ac-beb0be677e25", + "role": "ef049c8b-546b-4bbc-9cd7-b05d77e58b66", + "user": null, + "policy": "ef049c8b-546b-4bbc-9cd7-b05d77e58b66", + "sort": 1 + }, + { + "id": "8be9ec74-10ad-41ff-aa32-8a2016ca8b3a", + "role": "9ecc2969-8b38-4088-9dc1-78334a206445", + "user": null, + "policy": "9ecc2969-8b38-4088-9dc1-78334a206445", + "sort": 1 + }, + { + "id": "420ddc74-992f-430d-a789-94f6823a200c", + "role": null, + "user": null, + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17", + "sort": 1 + }, + { + "id": "11aa62ea-e788-4354-b5a6-314d31680cda", + "role": "8ba4ed6f-d330-4675-ae46-119c533a0928", + "user": null, + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928", + "sort": 1 + }, + { + "id": "16b60df2-9538-47dd-91a8-86155e848178", + "role": "9ecc2969-8b38-4088-9dc1-78334a206445", + "user": null, + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17", + "sort": 2 + }, + { + "id": "1ffea4c8-5718-4da2-95c0-922589c262f6", + "role": "8ba4ed6f-d330-4675-ae46-119c533a0928", + "user": null, + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010", + "sort": 2 + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/assets/13d36e5e-3244-4a00-8adb-543a7c72cd7f.jpg b/help-center/directus/template/src/assets/13d36e5e-3244-4a00-8adb-543a7c72cd7f.jpg new file mode 100644 index 00000000..2dd5ff98 Binary files /dev/null and b/help-center/directus/template/src/assets/13d36e5e-3244-4a00-8adb-543a7c72cd7f.jpg differ diff --git a/help-center/directus/template/src/assets/f70845e5-3172-4bd7-9405-29241fe91cbc.webp b/help-center/directus/template/src/assets/f70845e5-3172-4bd7-9405-29241fe91cbc.webp new file mode 100644 index 00000000..dad89c8d Binary files /dev/null and b/help-center/directus/template/src/assets/f70845e5-3172-4bd7-9405-29241fe91cbc.webp differ diff --git a/help-center/directus/template/src/collections.json b/help-center/directus/template/src/collections.json new file mode 100644 index 00000000..a538da0b --- /dev/null +++ b/help-center/directus/template/src/collections.json @@ -0,0 +1,273 @@ +[ + { + "collection": "help", + "meta": { + "collection": "help", + "icon": "support", + "note": null, + "display_template": null, + "hidden": false, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "Help Center" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": "#8196B0", + "item_duplication_fields": null, + "sort": 1, + "group": null, + "collapse": "closed", + "preview_url": null, + "versioning": false + }, + "schema": null + }, + { + "collection": "help_articles", + "meta": { + "collection": "help_articles", + "icon": "wifi_tethering", + "note": null, + "display_template": "{{title}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": "status", + "archive_app_filter": true, + "archive_value": "archived", + "unarchive_value": "draft", + "sort_field": "sort", + "accountability": "all", + "color": "#8196B0", + "item_duplication_fields": null, + "sort": 2, + "group": "help", + "collapse": "open", + "preview_url": null, + "versioning": true + }, + "schema": { + "schema": "public", + "name": "help_articles", + "comment": null + } + }, + { + "collection": "help_articles_translations", + "meta": { + "collection": "help_articles_translations", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "help_articles", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "help_articles_translations", + "comment": null + } + }, + { + "collection": "help_collections", + "meta": { + "collection": "help_collections", + "icon": "collections_bookmark", + "note": null, + "display_template": "{{title}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": "archived", + "unarchive_value": "draft", + "sort_field": "sort", + "accountability": "all", + "color": "#8196B0", + "item_duplication_fields": null, + "sort": 1, + "group": "help", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "help_collections", + "comment": null + } + }, + { + "collection": "help_collections_translations", + "meta": { + "collection": "help_collections_translations", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "help_collections", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "help_collections_translations", + "comment": null + } + }, + { + "collection": "help_feedback", + "meta": { + "collection": "help_feedback", + "icon": "insert_chart", + "note": null, + "display_template": "{{title}} - {{rating}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": "#8196B0", + "item_duplication_fields": null, + "sort": 3, + "group": "help", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "help_feedback", + "comment": null + } + }, + { + "collection": "help_settings", + "meta": { + "collection": "help_settings", + "icon": "settings_alert", + "note": null, + "display_template": null, + "hidden": false, + "singleton": true, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": "#A2B5CD", + "item_duplication_fields": null, + "sort": 4, + "group": "help", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "help_settings", + "comment": null + } + }, + { + "collection": "help_settings_translations", + "meta": { + "collection": "help_settings_translations", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "help_settings", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "help_settings_translations", + "comment": null + } + }, + { + "collection": "languages", + "meta": { + "collection": "languages", + "icon": "language", + "note": null, + "display_template": null, + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 2, + "group": null, + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "languages", + "comment": null + } + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/content/help_articles.json b/help-center/directus/template/src/content/help_articles.json new file mode 100644 index 00000000..2187a056 --- /dev/null +++ b/help-center/directus/template/src/content/help_articles.json @@ -0,0 +1,64 @@ +[ + { + "date_created": "2024-02-26T15:12:16.399Z", + "date_updated": "2024-09-12T17:26:30.687Z", + "help_collection": "8d7cb6e3-bae7-48f6-9af3-4b510167289c", + "id": "f4a66e30-4a96-4aa5-9d32-2ed36fb98154", + "owner": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "sort": null, + "status": "draft", + "title": "Navigating the Dashboard", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "translations": [ + "6b7ff19b-ac0e-4e0e-82f8-4de773415bb3" + ] + }, + { + "date_created": "2024-02-26T15:11:40.223Z", + "date_updated": "2024-09-12T17:26:30.687Z", + "help_collection": "8d7cb6e3-bae7-48f6-9af3-4b510167289c", + "id": "b34210d5-bc42-4b1b-b1f6-7841984ae8d1", + "owner": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "sort": null, + "status": "published", + "title": "Creating Your Account", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "translations": [ + "8ad6ca07-1880-4b26-b807-aaba47fb27f5", + "d625dcac-33ca-4dfe-9d9a-0462739fc8dd" + ] + }, + { + "date_created": "2024-02-26T15:13:53.941Z", + "date_updated": "2024-09-12T17:26:30.687Z", + "help_collection": "3c790c7e-9931-4fea-946a-42113f9e6ad1", + "id": "8a833dda-ecba-43ab-ae5f-66ba143750a5", + "owner": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "sort": null, + "status": "review", + "title": "Customizing Your Workflow", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "translations": [ + "66df1a72-13ca-40c1-b8db-5dd9b0f01fc8", + "b5ff7712-3d63-445d-a751-e976c67b8a10" + ] + }, + { + "date_created": "2024-02-26T15:12:43.458Z", + "date_updated": "2024-09-12T17:26:30.687Z", + "help_collection": "3c790c7e-9931-4fea-946a-42113f9e6ad1", + "id": "8498db54-6603-4666-990c-dad6c2b3dc9b", + "owner": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "sort": null, + "status": "published", + "title": "Integrating with Third-Party Services", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "translations": [ + "71b72d5f-fc2d-45c3-ad2d-42f5d127918a" + ] + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/content/help_articles_translations.json b/help-center/directus/template/src/content/help_articles_translations.json new file mode 100644 index 00000000..217ab173 --- /dev/null +++ b/help-center/directus/template/src/content/help_articles_translations.json @@ -0,0 +1,80 @@ +[ + { + "id": "66df1a72-13ca-40c1-b8db-5dd9b0f01fc8", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "date_created": "2024-02-26T15:56:59.276Z", + "user_updated": null, + "date_updated": null, + "help_articles_id": "8a833dda-ecba-43ab-ae5f-66ba143750a5", + "languages_code": "fr-FR", + "summary": "Apprenez à personnaliser [Logiciel] pour votre propre flux de travail spécifique", + "content": "Personnalisez [Nom du logiciel] pour répondre à vos besoins spécifiques en matière de flux de travail. Suivez ces étapes pour adapter le logiciel à vos exigences :\n\n1. Identifier vos besoins : Déterminez ce dont vous avez besoin du logiciel. Cela pourrait impliquer la gestion de projet, les rapports, les analyses, etc.\n2. Explorer les options de personnalisation : Visitez le menu Paramètres pour explorer les options de personnalisation telles que les modèles de projet, les paramètres de notification et les rôles d'utilisateur.\n3. Mettre en œuvre les changements : Effectuez les changements nécessaires pour aligner le logiciel sur votre flux de travail. Cela pourrait inclure la création de modèles personnalisés ou l'ajustement des autorisations utilisateur.\n4. Former votre équipe : Assurez-vous que votre équipe maîtrise les nouvelles personnalisations et comprend comment les utiliser efficacement.\n5. Surveiller et ajuster : Pendant que vous utilisez le logiciel, continuez à surveiller son efficacité et à apporter des ajustements si nécessaire pour optimiser votre flux de travail.", + "title": "Personnaliser votre flux de travail", + "slug": "personnaliser-votre-flux-de-travail" + }, + { + "id": "6b7ff19b-ac0e-4e0e-82f8-4de773415bb3", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "date_created": "2024-02-26T15:40:38.770Z", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "date_updated": "2024-02-26T16:07:24.020Z", + "help_articles_id": "f4a66e30-4a96-4aa5-9d32-2ed36fb98154", + "languages_code": "en-US", + "summary": "How to navigate and get around the dashboard.", + "content": "

Learn how to navigate the [Software Name] dashboard to make the most out of our software. 1. Dashboard Overview: When you log in, you'll see the main dashboard. This is your control panel, where you can access all features. 2. Menu Bar: On the left side, you'll find the menu bar, which includes links to different sections like Projects, Settings, and Support. 3. Quick Access Toolbar: At the top, the quick access toolbar lets you search, view notifications, and access your account settings quickly. 4. Understanding Widgets: Your dashboard may include various widgets, such as recent activity or performance metrics. Hover over them for more details.

", + "title": "Navigating the Dashboard", + "slug": "navigating-the-dashboard" + }, + { + "id": "71b72d5f-fc2d-45c3-ad2d-42f5d127918a", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "date_created": "2024-02-26T15:39:32.543Z", + "user_updated": null, + "date_updated": null, + "help_articles_id": "8498db54-6603-4666-990c-dad6c2b3dc9b", + "languages_code": "en-US", + "summary": "Integrations are super powerful ways to extend [Software].", + "content": "Enhance your [Software Name] experience by integrating with third-party services. Here's how:\n\nAccess Integration Settings: From the dashboard, go to Settings > Integrations.\nChoose a Service: Select from the list of available third-party services you wish to integrate with.\nFollow Setup Instructions: Each service has unique setup instructions. Follow them carefully to ensure a successful integration.\nTest the Integration: Once set up, test the integration to confirm everything is working as expected.\nUtilize Integrated Features: Start using the integrated features to streamline your workflows and improve productivity.", + "title": "Integrating with Third-Party Services", + "slug": "integrating-third-parties" + }, + { + "id": "8ad6ca07-1880-4b26-b807-aaba47fb27f5", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "date_created": "2024-02-26T15:40:07.571Z", + "user_updated": null, + "date_updated": null, + "help_articles_id": "b34210d5-bc42-4b1b-b1f6-7841984ae8d1", + "languages_code": "fr-FR", + "summary": null, + "content": null, + "title": null, + "slug": null + }, + { + "id": "b5ff7712-3d63-445d-a751-e976c67b8a10", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "date_created": "2024-02-26T15:38:59.721Z", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "date_updated": "2024-02-26T15:56:59.284Z", + "help_articles_id": "8a833dda-ecba-43ab-ae5f-66ba143750a5", + "languages_code": "en-US", + "summary": "Learn how to customize [Software] for your own specific workflow", + "content": "Customize [Software Name] to fit your unique workflow needs. Follow these steps to tailor the software to your requirements:\n\n1. Identify Your Needs: Determine what you need from the software. This could involve project management, reporting, analytics, etc.\n2. Explore Customization Options: Visit the Settings menu to explore customization options such as project templates, notification settings, and user roles.\n3. Implement Changes: Make the necessary changes to align the software with your workflow. This might include creating custom templates or adjusting user permissions.\n4. Train Your Team: Ensure your team is up to speed on the new customizations and understands how to use them effectively.\n5. Monitor and Adjust: As you use the software, continue to monitor its effectiveness and make adjustments as needed to optimize your workflow.", + "title": "Customizing Your Workflow", + "slug": "customizing-your-workflow" + }, + { + "id": "d625dcac-33ca-4dfe-9d9a-0462739fc8dd", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "date_created": "2024-02-26T15:40:07.564Z", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "date_updated": "2024-02-26T16:56:38.436Z", + "help_articles_id": "b34210d5-bc42-4b1b-b1f6-7841984ae8d1", + "languages_code": "en-US", + "summary": "How to create your account.", + "content": "Welcome to [Software Name]! Getting started is simple and only takes a few minutes. This guide will walk you through the account creation process, step by step.\n\n1. Visit the Sign-Up Page: Go to our website and click on the \"Sign Up\" button.\n2. Enter Your Details: Fill in your personal information, including your name, email address, and password.\n3. Verify Your Email: Check your email inbox for a verification link and click on it to confirm your account.\n4. Complete Your Profile: Log in to your new account and complete your profile. The more information you provide, the better we can serve you.\n5. Get Started: You're all set! Explore the features and resources available to you.", + "title": "Creating Your Account", + "slug": "creating-your-account " + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/content/help_collections.json b/help-center/directus/template/src/content/help_collections.json new file mode 100644 index 00000000..2315406e --- /dev/null +++ b/help-center/directus/template/src/content/help_collections.json @@ -0,0 +1,30 @@ +[ + { + "icon": "not_started", + "id": "8d7cb6e3-bae7-48f6-9af3-4b510167289c", + "sort": 1, + "title": "Getting Started", + "translations": [ + "6c509d4c-0a28-430a-9c45-86fbe21805c9", + "df6d3bd4-a05e-43b9-acf6-8880b04cb5c8" + ], + "articles": [ + "f4a66e30-4a96-4aa5-9d32-2ed36fb98154", + "b34210d5-bc42-4b1b-b1f6-7841984ae8d1" + ] + }, + { + "icon": "architecture", + "id": "3c790c7e-9931-4fea-946a-42113f9e6ad1", + "sort": null, + "title": "Advanced Section", + "translations": [ + "bbfadbdd-f82e-4f46-9beb-60862892abea", + "c07ed193-03e3-4ae6-b3fd-eb6a048a9f60" + ], + "articles": [ + "8a833dda-ecba-43ab-ae5f-66ba143750a5", + "8498db54-6603-4666-990c-dad6c2b3dc9b" + ] + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/content/help_collections_translations.json b/help-center/directus/template/src/content/help_collections_translations.json new file mode 100644 index 00000000..7483a8b0 --- /dev/null +++ b/help-center/directus/template/src/content/help_collections_translations.json @@ -0,0 +1,34 @@ +[ + { + "id": "6c509d4c-0a28-430a-9c45-86fbe21805c9", + "title": "Getting Started", + "slug": "getting-started", + "help_collections_id": "8d7cb6e3-bae7-48f6-9af3-4b510167289c", + "languages_code": "en-US", + "description": "Learn the best way to get started with [Software]" + }, + { + "id": "bbfadbdd-f82e-4f46-9beb-60862892abea", + "title": "Advanced Section", + "slug": "advanced-section", + "help_collections_id": "3c790c7e-9931-4fea-946a-42113f9e6ad1", + "languages_code": "en-US", + "description": "Getting the most from [Software]" + }, + { + "id": "c07ed193-03e3-4ae6-b3fd-eb6a048a9f60", + "title": "Section Avancée", + "slug": "section-avancee", + "help_collections_id": "3c790c7e-9931-4fea-946a-42113f9e6ad1", + "languages_code": "fr-FR", + "description": "Tirer le meilleur parti de [Nom du logiciel]" + }, + { + "id": "df6d3bd4-a05e-43b9-acf6-8880b04cb5c8", + "title": "Commencer", + "slug": "commencer", + "help_collections_id": "8d7cb6e3-bae7-48f6-9af3-4b510167289c", + "languages_code": "fr-FR", + "description": "Apprenez la meilleure façon de commencer avec [Nom du logiciel]." + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/content/help_feedback.json b/help-center/directus/template/src/content/help_feedback.json new file mode 100644 index 00000000..72a72f2f --- /dev/null +++ b/help-center/directus/template/src/content/help_feedback.json @@ -0,0 +1,122 @@ +[ + { + "comments": "Ill program the virtual XML microchip, that should transmitter the SDD protocol!", + "date_created": "2023-06-19T15:53:34.861Z", + "date_updated": "2024-02-26T13:03:22.664Z", + "id": "e96925bd-b775-408a-9478-7de249aa3f67", + "rating": 3, + "title": "Enterprise-wide directional orchestration", + "url": "http://vitae.io", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "visitor_id": "34dc4542-4f0b-4a4d-b590-b9b1231008e0" + }, + { + "comments": "We need to calculate the open-source SDD driver!", + "date_created": "2023-06-17T18:56:52.601Z", + "date_updated": "2024-02-26T13:03:22.756Z", + "id": "e9a62b9f-2708-4217-a47c-cecf8e2b4a15", + "rating": 3, + "title": "Seamless bi-directional capacity", + "url": "http://quaerat.org", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "visitor_id": "7ac1bd0a-0c65-4cc3-8aed-75506676d661" + }, + { + "comments": "If we back up the sensor, we can get to the JBOD matrix through the optical EXE alarm!", + "date_created": "2023-05-14T11:44:50.883Z", + "date_updated": "2024-02-26T13:03:22.846Z", + "id": "e9f639fe-6c42-4b80-ad59-1af7c4ed6777", + "rating": 1, + "title": "Reactive 4th generation info-mediaries", + "url": "https://deserunt.dev", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "visitor_id": "9c0b71e0-61e0-4b85-96cd-1cef53de98fc" + }, + { + "comments": "connecting the port wont do anything, we need to program the haptic RSS pixel!", + "date_created": "2023-08-12T00:40:41.229Z", + "date_updated": "2024-02-26T13:03:22.957Z", + "id": "ea5ce31b-a5d0-4b6e-a5f6-eb8580b301b9", + "rating": 1, + "title": "Mandatory regional complexity", + "url": "http://necessitatibus.name", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "visitor_id": "718e1cbb-671c-41b5-a50d-1483e6952349" + }, + { + "comments": "Try to generate the TCP bus, maybe it will override the neural bandwidth!", + "date_created": "2023-09-27T18:26:37.032Z", + "date_updated": "2024-02-26T13:03:23.060Z", + "id": "ea6d4efd-b4e8-4539-b59d-6664d1a10b12", + "rating": 2, + "title": "Fundamental multi-tasking standardization", + "url": "https://ipsum.net", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "visitor_id": "94064e22-b5aa-4d77-a5e5-6f92d7d646c7" + }, + { + "comments": "calculating the interface wont do anything, we need to bypass the mobile IB panel!", + "date_created": "2023-04-30T21:43:45.468Z", + "date_updated": "2024-02-26T13:03:23.159Z", + "id": "eb39a0e1-0d3e-4038-87ae-f47a3022c8e4", + "rating": 4, + "title": "User-centric executive knowledge user", + "url": "http://quos.org", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "visitor_id": "ad1928c8-c3bf-47c3-8549-084ec1499e95" + }, + { + "comments": "Use the multi-byte THX firewall, then you can back up the digital system!", + "date_created": "2023-08-28T17:29:58.754Z", + "date_updated": "2024-02-26T13:03:23.261Z", + "id": "ebadb1d9-a308-43fe-918f-4c09eb072b4b", + "rating": 3, + "title": "Compatible fresh-thinking success", + "url": "http://asperiores.info", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "visitor_id": "fad13d70-bd94-4229-8941-3673f1418447" + }, + { + "comments": "Try to bypass the GB panel, maybe it will synthesize the back-end transmitter!", + "date_created": "2023-08-26T03:24:27.894Z", + "date_updated": "2024-02-26T13:03:23.357Z", + "id": "ef751ffc-d101-450a-9545-6eb4877bbb9a", + "rating": 2, + "title": "Profit-focused executive core", + "url": "http://consequatur.io", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "visitor_id": "f022a273-6cee-4b94-aab2-da22332c0ccf" + }, + { + "comments": "The EXE matrix is down, transmit the wireless matrix so we can index the RAM pixel!", + "date_created": "2023-05-31T21:51:23.027Z", + "date_updated": "2024-02-26T13:03:23.449Z", + "id": "f187b286-c19e-42b5-9bfa-358cb042dd48", + "rating": 2, + "title": "Ameliorated asynchronous pricing structure", + "url": "http://omnis.io", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "visitor_id": "1f50108d-be5f-4018-975c-98636615bbda" + }, + { + "comments": "Try to override the RSS port, maybe it will quantify the haptic port!", + "date_created": "2023-04-17T03:26:29.789Z", + "date_updated": "2024-02-26T13:03:23.550Z", + "id": "f2952cf5-c2be-44ce-9dd9-275759fa363f", + "rating": 2, + "title": "Realigned empowering monitoring", + "url": "http://vel.dev", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "user_updated": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "visitor_id": "997cbbba-ed6a-4c18-91d1-7313f257f05e" + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/content/help_settings.json b/help-center/directus/template/src/content/help_settings.json new file mode 100644 index 00000000..900b4170 --- /dev/null +++ b/help-center/directus/template/src/content/help_settings.json @@ -0,0 +1,7 @@ +{ + "id": "3737dd8d-04c0-4416-94bc-fd07cb567bc8", + "default_language": "en-US", + "translations": [ + "bdf7cfe7-a226-4af6-8e42-ce4de05c0b67" + ] +} \ No newline at end of file diff --git a/help-center/directus/template/src/content/help_settings_translations.json b/help-center/directus/template/src/content/help_settings_translations.json new file mode 100644 index 00000000..dd354ec3 --- /dev/null +++ b/help-center/directus/template/src/content/help_settings_translations.json @@ -0,0 +1,10 @@ +[ + { + "id": "bdf7cfe7-a226-4af6-8e42-ce4de05c0b67", + "help_settings_id": "3737dd8d-04c0-4416-94bc-fd07cb567bc8", + "languages_code": "en-US", + "title": "[Software] Help Center", + "url": "https://yourhelpcenter.com/en-US/", + "description": "Articles, tips, and advice on [Software]" + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/content/languages.json b/help-center/directus/template/src/content/languages.json new file mode 100644 index 00000000..c4360ae9 --- /dev/null +++ b/help-center/directus/template/src/content/languages.json @@ -0,0 +1,17 @@ +[ + { + "code": "en-DE", + "name": "German", + "direction": "ltr" + }, + { + "code": "en-US", + "name": "English", + "direction": "ltr" + }, + { + "code": "fr-FR", + "name": "French", + "direction": "ltr" + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/dashboards.json b/help-center/directus/template/src/dashboards.json new file mode 100644 index 00000000..279fd918 --- /dev/null +++ b/help-center/directus/template/src/dashboards.json @@ -0,0 +1,12 @@ +[ + { + "id": "ea9c9be7-dcb3-4351-8a05-0d30c150bb64", + "name": "Help Center Feedback", + "icon": "help_center", + "note": "Dashboard to analyze help center feedback.", + "date_created": "2024-02-26T13:02:49.450Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "color": "#8196B0", + "panels": null + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/extensions.json b/help-center/directus/template/src/extensions.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/help-center/directus/template/src/extensions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/help-center/directus/template/src/fields.json b/help-center/directus/template/src/fields.json new file mode 100644 index 00000000..eac3cc5f --- /dev/null +++ b/help-center/directus/template/src/fields.json @@ -0,0 +1,2629 @@ +[ + { + "collection": "help_articles", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "help_articles", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles", + "field": "date_created", + "special": [ + "cast-timestamp", + "date-created" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "help_articles", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles", + "field": "date_updated", + "special": [ + "cast-timestamp", + "date-updated" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": false, + "sort": 10, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles", + "field": "help_collection", + "type": "uuid", + "schema": { + "name": "help_collection", + "table": "help_articles", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "help_collections", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "help_articles", + "field": "help_collection", + "special": null, + "interface": "select-dropdown-m2o", + "options": { + "template": "{{icon}} {{title}}" + }, + "display": "related-values", + "display_options": { + "template": "{{icon}} {{title}}" + }, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "help_articles", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles", + "field": "owner", + "type": "uuid", + "schema": { + "name": "owner", + "table": "help_articles", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "help_articles", + "field": "owner", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "help_articles", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles", + "field": "status", + "type": "string", + "schema": { + "name": "status", + "table": "help_articles", + "data_type": "character varying", + "default_value": "draft", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles", + "field": "status", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "$t:draft", + "value": "draft", + "color": "#A2B5CD", + "icon": "draft_orders" + }, + { + "text": "$t:review", + "value": "review", + "icon": "rate_review", + "color": "#FFC23B" + }, + { + "text": "$t:published", + "value": "published", + "icon": "published_with_changes", + "color": "#2ECDA7" + }, + { + "text": "$t:archived", + "value": "archived", + "icon": "history_toggle_off", + "color": "#18222F" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "$t:published", + "value": "published", + "foreground": "#FFFFFF", + "background": "#2ECDA7", + "icon": "published_with_changes" + }, + { + "text": "$t:review", + "value": "review", + "icon": "rate_review", + "foreground": "#FFFFFF", + "background": "#FFA439" + }, + { + "text": "$t:draft", + "value": "draft", + "foreground": "#18222F", + "background": "#D3DAE4", + "icon": "draft_orders" + }, + { + "text": "$t:archived", + "value": "archived", + "foreground": "#FFFFFF", + "background": "#18222F", + "icon": "history_toggle_off" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "help_articles", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "help_articles", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "help_articles", + "field": "user_created", + "special": [ + "user-created" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "help_articles", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "help_articles", + "field": "user_updated", + "special": [ + "user-updated" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 5, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles_translations", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "help_articles_translations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles_translations", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles_translations", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "help_articles_translations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "help_articles_translations", + "field": "user_created", + "special": [ + "user-created" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 2, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles_translations", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "help_articles_translations", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles_translations", + "field": "date_created", + "special": [ + "date-created" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles_translations", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "help_articles_translations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "help_articles_translations", + "field": "user_updated", + "special": [ + "user-updated" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles_translations", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "help_articles_translations", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles_translations", + "field": "date_updated", + "special": [ + "date-updated" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles_translations", + "field": "help_articles_id", + "type": "uuid", + "schema": { + "name": "help_articles_id", + "table": "help_articles_translations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "help_articles", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "help_articles_translations", + "field": "help_articles_id", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 6, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles_translations", + "field": "languages_code", + "type": "string", + "schema": { + "name": "languages_code", + "table": "help_articles_translations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "comment": null + }, + "meta": { + "collection": "help_articles_translations", + "field": "languages_code", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 7, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles_translations", + "field": "summary", + "type": "text", + "schema": { + "name": "summary", + "table": "help_articles_translations", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles_translations", + "field": "summary", + "special": null, + "interface": "input-multiline", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "full", + "translations": null, + "note": "Quick 1-2 sentence summary of the article.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles_translations", + "field": "content", + "type": "text", + "schema": { + "name": "content", + "table": "help_articles_translations", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles_translations", + "field": "content", + "special": null, + "interface": "input-rich-text-html", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles_translations", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "help_articles_translations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles_translations", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles_translations", + "field": "slug", + "type": "string", + "schema": { + "name": "slug", + "table": "help_articles_translations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": true, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_articles_translations", + "field": "slug", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_collections", + "field": "icon", + "type": "string", + "schema": { + "name": "icon", + "table": "help_collections", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_collections", + "field": "icon", + "special": null, + "interface": "select-icon", + "options": null, + "display": "icon", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_collections", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "help_collections", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_collections", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_collections", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "help_collections", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_collections", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_collections", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "help_collections", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_collections", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_collections_translations", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "help_collections_translations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_collections_translations", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_collections_translations", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "help_collections_translations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_collections_translations", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_collections_translations", + "field": "slug", + "type": "text", + "schema": { + "name": "slug", + "table": "help_collections_translations", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": true, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_collections_translations", + "field": "slug", + "special": null, + "interface": "input", + "options": { + "slug": true + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_collections_translations", + "field": "help_collections_id", + "type": "uuid", + "schema": { + "name": "help_collections_id", + "table": "help_collections_translations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "help_collections", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "help_collections_translations", + "field": "help_collections_id", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_collections_translations", + "field": "languages_code", + "type": "string", + "schema": { + "name": "languages_code", + "table": "help_collections_translations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "comment": null + }, + "meta": { + "collection": "help_collections_translations", + "field": "languages_code", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_collections_translations", + "field": "description", + "type": "text", + "schema": { + "name": "description", + "table": "help_collections_translations", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_collections_translations", + "field": "description", + "special": null, + "interface": "input-multiline", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_feedback", + "field": "comments", + "type": "text", + "schema": { + "name": "comments", + "table": "help_feedback", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_feedback", + "field": "comments", + "special": null, + "interface": "input-multiline", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_feedback", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "help_feedback", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_feedback", + "field": "date_created", + "special": [ + "cast-timestamp" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_feedback", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "help_feedback", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_feedback", + "field": "date_updated", + "special": [ + "cast-timestamp", + "date-updated" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_feedback", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "help_feedback", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_feedback", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_feedback", + "field": "rating", + "type": "integer", + "schema": { + "name": "rating", + "table": "help_feedback", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_feedback", + "field": "rating", + "special": null, + "interface": "slider", + "options": { + "alwaysShowValue": true, + "max": 4, + "maxValue": 4, + "min": 1, + "minValue": 1, + "stepInterval": 1 + }, + "display": "rating", + "display_options": {}, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_feedback", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "help_feedback", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_feedback", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_feedback", + "field": "url", + "type": "string", + "schema": { + "name": "url", + "table": "help_feedback", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_feedback", + "field": "url", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_feedback", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "help_feedback", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "help_feedback", + "field": "user_created", + "special": [ + "user-created" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 2, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_feedback", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "help_feedback", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "help_feedback", + "field": "user_updated", + "special": [ + "user-updated" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_feedback", + "field": "visitor_id", + "type": "string", + "schema": { + "name": "visitor_id", + "table": "help_feedback", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 36, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_feedback", + "field": "visitor_id", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_settings", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "help_settings", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_settings", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_settings", + "field": "default_language", + "type": "string", + "schema": { + "name": "default_language", + "table": "help_settings", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "comment": null + }, + "meta": { + "collection": "help_settings", + "field": "default_language", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{name}}" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_settings_translations", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "help_settings_translations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_settings_translations", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_settings_translations", + "field": "help_settings_id", + "type": "uuid", + "schema": { + "name": "help_settings_id", + "table": "help_settings_translations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "help_settings", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "help_settings_translations", + "field": "help_settings_id", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_settings_translations", + "field": "languages_code", + "type": "string", + "schema": { + "name": "languages_code", + "table": "help_settings_translations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "comment": null + }, + "meta": { + "collection": "help_settings_translations", + "field": "languages_code", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_settings_translations", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "help_settings_translations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_settings_translations", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "full", + "translations": null, + "note": "The name displayed on your help center.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_settings_translations", + "field": "url", + "type": "string", + "schema": { + "name": "url", + "table": "help_settings_translations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_settings_translations", + "field": "url", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "full", + "translations": null, + "note": "The URL for your help center.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_settings_translations", + "field": "description", + "type": "text", + "schema": { + "name": "description", + "table": "help_settings_translations", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "help_settings_translations", + "field": "description", + "special": null, + "interface": "input-multiline", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": null, + "note": "Short 1-2 sentence description of the help center. Used for SEO meta description.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "languages", + "field": "code", + "type": "string", + "schema": { + "name": "code", + "table": "languages", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "languages", + "field": "code", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "languages", + "field": "name", + "type": "string", + "schema": { + "name": "name", + "table": "languages", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "languages", + "field": "name", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "languages", + "field": "direction", + "type": "string", + "schema": { + "name": "direction", + "table": "languages", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "languages", + "field": "direction", + "special": null, + "interface": "select-radio", + "options": { + "choices": [ + { + "text": "$t:ltr", + "value": "ltr" + }, + { + "text": "$t:rtl", + "value": "rtl" + } + ] + }, + "display": "raw", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_settings", + "field": "translations", + "type": "alias", + "schema": null, + "meta": { + "collection": "help_settings", + "field": "translations", + "special": [ + "translations" + ], + "interface": "translations", + "options": { + "userLanguage": true, + "languageField": "name" + }, + "display": "translations", + "display_options": { + "template": "{{title}}", + "languageField": "name", + "userLanguage": true + }, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_collections", + "field": "translations", + "type": "alias", + "schema": null, + "meta": { + "collection": "help_collections", + "field": "translations", + "special": [ + "translations" + ], + "interface": "translations", + "options": { + "languageField": "name", + "userLanguage": true + }, + "display": "translations", + "display_options": { + "languageField": "name" + }, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_collections", + "field": "articles", + "type": "alias", + "schema": null, + "meta": { + "collection": "help_collections", + "field": "articles", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "enableLink": true, + "template": "{{title}}" + }, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "help_articles", + "field": "translations", + "type": "alias", + "schema": null, + "meta": { + "collection": "help_articles", + "field": "translations", + "special": [ + "translations" + ], + "interface": "translations", + "options": { + "languageField": "name", + "userLanguage": true + }, + "display": "translations", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 14, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/files.json b/help-center/directus/template/src/files.json new file mode 100644 index 00000000..b38a9a40 --- /dev/null +++ b/help-center/directus/template/src/files.json @@ -0,0 +1,30 @@ +[ + { + "id": "f70845e5-3172-4bd7-9405-29241fe91cbc", + "storage": "local", + "filename_disk": "f70845e5-3172-4bd7-9405-29241fe91cbc.webp", + "filename_download": "help-bunny.webp", + "title": "Help Bunny", + "type": "image/webp", + "folder": null, + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-09-12T17:26:11.803Z", + "modified_by": null, + "modified_on": "2024-09-12T17:26:11.832Z", + "charset": null, + "filesize": "78776", + "width": 1024, + "height": 1024, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-12T17:26:11.831Z" + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/flows.json b/help-center/directus/template/src/flows.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/help-center/directus/template/src/flows.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/help-center/directus/template/src/folders.json b/help-center/directus/template/src/folders.json new file mode 100644 index 00000000..4cda6014 --- /dev/null +++ b/help-center/directus/template/src/folders.json @@ -0,0 +1,7 @@ +[ + { + "id": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "name": "1. Public", + "parent": null + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/operations.json b/help-center/directus/template/src/operations.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/help-center/directus/template/src/operations.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/help-center/directus/template/src/panels.json b/help-center/directus/template/src/panels.json new file mode 100644 index 00000000..e64c6cc8 --- /dev/null +++ b/help-center/directus/template/src/panels.json @@ -0,0 +1,318 @@ +[ + { + "id": "33d54856-e7a5-4346-bb50-448535fee9b9", + "dashboard": "ea9c9be7-dcb3-4351-8a05-0d30c150bb64", + "name": "Submissions With Comments", + "icon": "comment", + "color": "#18222F", + "show_header": true, + "note": null, + "type": "list", + "position_x": 32, + "position_y": 14, + "width": 25, + "height": 26, + "options": { + "collection": "help_feedback", + "sortField": "date_created", + "limit": 10, + "displayTemplate": "{{title}} - {{comments}}", + "linkToItem": true, + "filter": { + "_and": [ + { + "_and": [ + { + "date_created": { + "_gte": "{{date_from}}" + } + }, + { + "date_created": { + "_lte": "{{date_to}}" + } + }, + { + "comments": { + "_nnull": true + } + }, + { + "comments": { + "_icontains": "{{search}}" + } + } + ] + } + ] + } + }, + "date_created": "2024-02-26T13:02:50.049Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "39c82b64-df2a-4d83-a2b8-a41575e87af3", + "dashboard": "ea9c9be7-dcb3-4351-8a05-0d30c150bb64", + "name": "Date From", + "icon": "date_range", + "color": "#18222F", + "show_header": true, + "note": null, + "type": "variable", + "position_x": 1, + "position_y": 7, + "width": 15, + "height": 6, + "options": { + "field": "date_from", + "type": "dateTime", + "inter": "datetime", + "defaultValue": "2023-01-01T12:00:00", + "options": { + "use24": false + } + }, + "date_created": "2024-02-26T13:02:50.168Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "3ca99f50-b186-4213-be9c-8773904cfd5e", + "dashboard": "ea9c9be7-dcb3-4351-8a05-0d30c150bb64", + "name": "Feedback", + "icon": null, + "color": null, + "show_header": false, + "note": null, + "type": "label", + "position_x": 1, + "position_y": 3, + "width": 30, + "height": 4, + "options": { + "text": "Help Center Feedback", + "color": "#8196B0" + }, + "date_created": "2024-02-26T13:02:50.265Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "775d0469-a878-4814-b5c3-2558dbab1b1a", + "dashboard": "ea9c9be7-dcb3-4351-8a05-0d30c150bb64", + "name": "Date To", + "icon": "date_range", + "color": "#18222F", + "show_header": true, + "note": null, + "type": "variable", + "position_x": 16, + "position_y": 7, + "width": 15, + "height": 6, + "options": { + "field": "date_to", + "type": "dateTime", + "inter": "datetime", + "defaultValue": "{{$NOW}}", + "options": { + "use24": false + } + }, + "date_created": "2024-02-26T13:02:50.760Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "77a5d341-747b-4210-baf8-10a61bf6a10a", + "dashboard": "ea9c9be7-dcb3-4351-8a05-0d30c150bb64", + "name": "Search", + "icon": "screen_search_desktop", + "color": "#18222F", + "show_header": true, + "note": "Search response comments for a string of text.", + "type": "variable", + "position_x": 32, + "position_y": 7, + "width": 25, + "height": 6, + "options": { + "field": "search", + "type": "string", + "inter": "input", + "options": { + "placeholder": "Search comments here", + "iconLeft": null + }, + "defaultValue": " " + }, + "date_created": "2024-02-26T13:02:50.862Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "8194088d-4321-4cce-94e3-ac77d8f02ef6", + "dashboard": "ea9c9be7-dcb3-4351-8a05-0d30c150bb64", + "name": "Total Submissions Over Time", + "icon": "show_chart", + "color": "#6644FF", + "show_header": true, + "note": null, + "type": "time-series", + "position_x": 1, + "position_y": 20, + "width": 30, + "height": 10, + "options": { + "collection": "help_feedback", + "valueField": "id", + "color": "#18222F", + "function": "count", + "precision": "day", + "range": "auto", + "dateField": "date_created", + "filter": { + "_and": [ + { + "_and": [ + { + "date_created": { + "_gte": "{{date_from}}" + } + }, + { + "date_created": { + "_lte": "{{date_to}}" + } + } + ] + } + ] + } + }, + "date_created": "2024-02-26T13:02:50.970Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "9bf6a9fe-3dc2-460c-863b-3533876c569d", + "dashboard": "ea9c9be7-dcb3-4351-8a05-0d30c150bb64", + "name": "Total Submissions", + "icon": "numbers", + "color": "#A2B5CD", + "show_header": true, + "note": null, + "type": "metric", + "position_x": 1, + "position_y": 14, + "width": 15, + "height": 6, + "options": { + "collection": "help_feedback", + "sortField": null, + "field": "id", + "function": "count", + "filter": { + "_and": [ + { + "_and": [ + { + "date_created": { + "_gte": "{{date_from}}" + } + }, + { + "date_created": { + "_lte": "{{date_to}}" + } + } + ] + } + ] + } + }, + "date_created": "2024-02-26T13:02:51.258Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "b45fdb03-f5c4-414f-aeec-9f33f3e0340b", + "dashboard": "ea9c9be7-dcb3-4351-8a05-0d30c150bb64", + "name": "Average Rating Over Time", + "icon": "area_chart", + "color": "#2ECDA7", + "show_header": true, + "note": null, + "type": "time-series", + "position_x": 1, + "position_y": 30, + "width": 30, + "height": 10, + "options": { + "collection": "help_feedback", + "valueField": "rating", + "color": "#18222F", + "function": "avg", + "precision": "day", + "range": "auto", + "dateField": "date_created", + "decimals": 2, + "filter": { + "_and": [ + { + "_and": [ + { + "date_created": { + "_gte": "{{date_from}}" + } + }, + { + "date_created": { + "_lte": "{{date_to}}" + } + } + ] + } + ] + } + }, + "date_created": "2024-02-26T13:02:51.483Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "be40aae0-728b-4171-8c1e-34ca955f89eb", + "dashboard": "ea9c9be7-dcb3-4351-8a05-0d30c150bb64", + "name": "Average Rating", + "icon": "star", + "color": "#18222F", + "show_header": true, + "note": "Average rating across all articles. Rating is from 1 - 4. 1 being the lowest score. 4 being the highest.", + "type": "metric", + "position_x": 16, + "position_y": 14, + "width": 15, + "height": 6, + "options": { + "collection": "help_feedback", + "sortField": null, + "field": "rating", + "function": "avg", + "filter": { + "_and": [ + { + "_and": [ + { + "date_created": { + "_gte": "{{date_from}}" + } + }, + { + "date_created": { + "_lte": "{{date_to}}" + } + } + ] + } + ] + }, + "minimumFractionDigits": 2, + "maximumFractionDigits": 2 + }, + "date_created": "2024-02-26T13:02:51.757Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/permissions.json b/help-center/directus/template/src/permissions.json new file mode 100644 index 00000000..eb376b2a --- /dev/null +++ b/help-center/directus/template/src/permissions.json @@ -0,0 +1,582 @@ +[ + { + "collection": "blog_settings", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "chat_config", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "help_articles", + "action": "read", + "permissions": { + "_and": [ + { + "status": { + "_eq": "published" + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "help_collections", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "blog_settings", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "blog_settings", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "blog_settings", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "blog_settings", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "help_articles", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "help_articles", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "help_articles", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "help_collections", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "help_collections", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "help_collections", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "help_feedback", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "help_feedback", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "help_feedback", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "projects_settings", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "directus_files", + "action": "read", + "permissions": { + "_and": [ + { + "_or": [ + { + "folder": { + "name": { + "_contains": "1. Public" + } + } + }, + { + "folder": { + "parent": { + "name": { + "_contains": "1. Public" + } + } + } + }, + { + "folder": { + "parent": { + "parent": { + "name": { + "_contains": "1. Public" + } + } + } + } + }, + { + "folder": { + "name": { + "_contains": "4. Uploads" + } + } + } + ] + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "help_feedback", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "9ecc2969-8b38-4088-9dc1-78334a206445" + }, + { + "collection": "directus_files", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_files", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_files", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_files", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_dashboards", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_dashboards", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_dashboards", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_dashboards", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_panels", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_panels", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_panels", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_panels", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_folders", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_folders", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_folders", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_folders", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": null, + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_users", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "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": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_roles", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_shares", + "action": "read", + "permissions": { + "_or": [ + { + "role": { + "_eq": "$CURRENT_ROLE" + } + }, + { + "role": { + "_null": true + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_shares", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_shares", + "action": "update", + "permissions": { + "user_created": { + "_eq": "$CURRENT_USER" + } + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_shares", + "action": "delete", + "permissions": { + "user_created": { + "_eq": "$CURRENT_USER" + } + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + }, + { + "collection": "directus_flows", + "action": "read", + "permissions": { + "trigger": { + "_eq": "manual" + } + }, + "validation": null, + "presets": null, + "fields": [ + "id", + "status", + "name", + "icon", + "color", + "options", + "trigger" + ], + "policy": "bd5a4ddf-05fa-4349-85c1-12a5afcce010" + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/policies.json b/help-center/directus/template/src/policies.json new file mode 100644 index 00000000..43007708 --- /dev/null +++ b/help-center/directus/template/src/policies.json @@ -0,0 +1,52 @@ +[ + { + "id": "8ba4ed6f-d330-4675-ae46-119c533a0928", + "name": "Help Center - Update Articles", + "icon": "article", + "description": "Policy to allow creating and updating content.", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false + }, + { + "id": "9ecc2969-8b38-4088-9dc1-78334a206445", + "name": "Help Center - Create Feedback", + "icon": "android", + "description": "Policy to allow creating feedback on articles.", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false + }, + { + "id": "abf8a154-5b1c-4a46-ac9c-7300570f4f17", + "name": "Help Center - Read", + "icon": "chrome_reader_mode", + "description": "Policy for read access for Help Center content.", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false + }, + { + "id": "bd5a4ddf-05fa-4349-85c1-12a5afcce010", + "name": "Team", + "icon": "badge", + "description": "App access for team members.", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": true + }, + { + "id": "ef049c8b-546b-4bbc-9cd7-b05d77e58b66", + "name": "Administrator", + "icon": "verified", + "description": "$t:admin_policy_description", + "ip_access": null, + "enforce_tfa": false, + "admin_access": true, + "app_access": true + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/presets.json b/help-center/directus/template/src/presets.json new file mode 100644 index 00000000..b9ff8f52 --- /dev/null +++ b/help-center/directus/template/src/presets.json @@ -0,0 +1,228 @@ +[ + { + "bookmark": null, + "user": null, + "role": null, + "collection": "directus_presets", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1 + } + }, + "layout_options": null, + "refresh_interval": null, + "filter": null, + "icon": "bookmark_border", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "directus_files", + "search": null, + "layout": "cards", + "layout_query": { + "cards": { + "sort": [ + "-uploaded_on" + ], + "page": 1 + } + }, + "layout_options": { + "cards": { + "icon": "insert_drive_file", + "title": "{{ title }}", + "subtitle": "{{ type }} • {{ filesize }}", + "size": 4, + "imageFit": "crop" + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark_border", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "directus_files", + "search": null, + "layout": "cards", + "layout_query": { + "cards": { + "sort": [ + "-uploaded_on" + ], + "page": 1 + } + }, + "layout_options": { + "cards": { + "icon": "insert_drive_file", + "title": "{{ title }}", + "subtitle": "{{ type }} • {{ filesize }}", + "size": 4, + "imageFit": "crop" + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark_border", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "directus_files", + "search": null, + "layout": "cards", + "layout_query": { + "cards": { + "sort": [ + "-uploaded_on" + ], + "page": 1, + "limit": 25 + } + }, + "layout_options": { + "cards": { + "icon": "insert_drive_file", + "title": "{{ title }}", + "subtitle": "{{ type }} • {{ filesize }}", + "size": 4, + "imageFit": "crop" + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark_border", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "help_articles", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "limit": 25, + "page": 1 + } + }, + "layout_options": null, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "help_articles", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "limit": 25, + "page": 1, + "fields": [ + "status", + "title", + "help_collection" + ], + "sort": [ + "sort" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "status": 32 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "help_collections", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "limit": 25, + "fields": [ + "icon", + "title", + "description" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "icon": 49.12109375 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "help_feedback", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "limit": 25 + } + }, + "layout_options": null, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "directus_presets", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "limit": 25 + } + }, + "layout_options": null, + "refresh_interval": null, + "filter": null, + "icon": "bookmark_border", + "color": null + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/relations.json b/help-center/directus/template/src/relations.json new file mode 100644 index 00000000..1389e729 --- /dev/null +++ b/help-center/directus/template/src/relations.json @@ -0,0 +1,392 @@ +[ + { + "collection": "help_settings_translations", + "field": "help_settings_id", + "related_collection": "help_settings", + "schema": { + "constraint_name": "help_settings_translations_help_settings_id_foreign", + "table": "help_settings_translations", + "column": "help_settings_id", + "foreign_key_schema": "public", + "foreign_key_table": "help_settings", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "help_settings_translations", + "many_field": "help_settings_id", + "one_collection": "help_settings", + "one_field": "translations", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "languages_code", + "sort_field": null, + "one_deselect_action": "delete" + } + }, + { + "collection": "help_articles", + "field": "owner", + "related_collection": "directus_users", + "schema": { + "constraint_name": "help_articles_owner_foreign", + "table": "help_articles", + "column": "owner", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "help_articles", + "many_field": "owner", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_articles", + "field": "user_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "help_articles_user_created_foreign", + "table": "help_articles", + "column": "user_created", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "help_articles", + "many_field": "user_created", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_articles", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "help_articles_user_updated_foreign", + "table": "help_articles", + "column": "user_updated", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "help_articles", + "many_field": "user_updated", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_articles_translations", + "field": "user_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "help_articles_translations_user_created_foreign", + "table": "help_articles_translations", + "column": "user_created", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "help_articles_translations", + "many_field": "user_created", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_articles_translations", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "help_articles_translations_user_updated_foreign", + "table": "help_articles_translations", + "column": "user_updated", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "help_articles_translations", + "many_field": "user_updated", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_feedback", + "field": "user_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "help_feedback_user_created_foreign", + "table": "help_feedback", + "column": "user_created", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "help_feedback", + "many_field": "user_created", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_feedback", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "help_feedback_user_updated_foreign", + "table": "help_feedback", + "column": "user_updated", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "help_feedback", + "many_field": "user_updated", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_settings_translations", + "field": "languages_code", + "related_collection": "languages", + "schema": { + "constraint_name": "help_settings_translations_languages_code_foreign", + "table": "help_settings_translations", + "column": "languages_code", + "foreign_key_schema": "public", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "help_settings_translations", + "many_field": "languages_code", + "one_collection": "languages", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "help_settings_id", + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_articles_translations", + "field": "languages_code", + "related_collection": "languages", + "schema": { + "constraint_name": "help_articles_translations_languages_code_foreign", + "table": "help_articles_translations", + "column": "languages_code", + "foreign_key_schema": "public", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "help_articles_translations", + "many_field": "languages_code", + "one_collection": "languages", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "help_articles_id", + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_settings", + "field": "default_language", + "related_collection": "languages", + "schema": { + "constraint_name": "help_settings_default_language_foreign", + "table": "help_settings", + "column": "default_language", + "foreign_key_schema": "public", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "help_settings", + "many_field": "default_language", + "one_collection": "languages", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_collections_translations", + "field": "languages_code", + "related_collection": "languages", + "schema": { + "constraint_name": "help_collections_translations_languages_code_foreign", + "table": "help_collections_translations", + "column": "languages_code", + "foreign_key_schema": "public", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "help_collections_translations", + "many_field": "languages_code", + "one_collection": "languages", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "help_collections_id", + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_articles", + "field": "help_collection", + "related_collection": "help_collections", + "schema": { + "constraint_name": "help_articles_help_collection_foreign", + "table": "help_articles", + "column": "help_collection", + "foreign_key_schema": "public", + "foreign_key_table": "help_collections", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "help_articles", + "many_field": "help_collection", + "one_collection": "help_collections", + "one_field": "articles", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": "sort", + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_collections_translations", + "field": "help_collections_id", + "related_collection": "help_collections", + "schema": { + "constraint_name": "help_collections_translations_help_collections_id_foreign", + "table": "help_collections_translations", + "column": "help_collections_id", + "foreign_key_schema": "public", + "foreign_key_table": "help_collections", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "help_collections_translations", + "many_field": "help_collections_id", + "one_collection": "help_collections", + "one_field": "translations", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "languages_code", + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "help_articles_translations", + "field": "help_articles_id", + "related_collection": "help_articles", + "schema": { + "constraint_name": "help_articles_translations_help_articles_id_foreign", + "table": "help_articles_translations", + "column": "help_articles_id", + "foreign_key_schema": "public", + "foreign_key_table": "help_articles", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "help_articles_translations", + "many_field": "help_articles_id", + "one_collection": "help_articles", + "one_field": "translations", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "languages_code", + "sort_field": null, + "one_deselect_action": "nullify" + } + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/roles.json b/help-center/directus/template/src/roles.json new file mode 100644 index 00000000..4d193b3b --- /dev/null +++ b/help-center/directus/template/src/roles.json @@ -0,0 +1,32 @@ +[ + { + "id": "8ba4ed6f-d330-4675-ae46-119c533a0928", + "name": "Team Member", + "icon": "supervised_user_circle", + "description": "Role for internal team members and employees", + "parent": null, + "children": null, + "policies": null, + "users": null + }, + { + "id": "9ecc2969-8b38-4088-9dc1-78334a206445", + "name": "Website API", + "icon": "android", + "description": "Role for using static tokens for server to server communication. Do not use on client side.", + "parent": null, + "children": null, + "policies": null, + "users": null + }, + { + "id": "ef049c8b-546b-4bbc-9cd7-b05d77e58b66", + "name": "Administrator", + "icon": "verified", + "description": "$t:admin_description", + "parent": null, + "children": null, + "policies": null, + "users": null + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/schema/snapshot.json b/help-center/directus/template/src/schema/snapshot.json new file mode 100644 index 00000000..01c794bf --- /dev/null +++ b/help-center/directus/template/src/schema/snapshot.json @@ -0,0 +1,3107 @@ +{ + "version": 1, + "directus": "11.1.0", + "vendor": "postgres", + "collections": [ + { + "collection": "help", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "closed", + "collection": "help", + "color": "#8196B0", + "display_template": null, + "group": null, + "hidden": false, + "icon": "support", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "translation": "Help Center" + } + ], + "unarchive_value": null, + "versioning": false + } + }, + { + "collection": "help_articles", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": "status", + "archive_value": "archived", + "collapse": "open", + "collection": "help_articles", + "color": "#8196B0", + "display_template": "{{title}}", + "group": "help", + "hidden": false, + "icon": "wifi_tethering", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 2, + "sort_field": "sort", + "translations": null, + "unarchive_value": "draft", + "versioning": true + }, + "schema": { + "name": "help_articles" + } + }, + { + "collection": "help_articles_translations", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "help_articles_translations", + "color": null, + "display_template": null, + "group": "help_articles", + "hidden": true, + "icon": null, + "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": "help_articles_translations" + } + }, + { + "collection": "help_collections", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": "archived", + "collapse": "open", + "collection": "help_collections", + "color": "#8196B0", + "display_template": "{{title}}", + "group": "help", + "hidden": false, + "icon": "collections_bookmark", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": "sort", + "translations": null, + "unarchive_value": "draft", + "versioning": false + }, + "schema": { + "name": "help_collections" + } + }, + { + "collection": "help_collections_translations", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "help_collections_translations", + "color": null, + "display_template": null, + "group": "help_collections", + "hidden": true, + "icon": null, + "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": "help_collections_translations" + } + }, + { + "collection": "help_feedback", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "help_feedback", + "color": "#8196B0", + "display_template": "{{title}} - {{rating}}", + "group": "help", + "hidden": false, + "icon": "insert_chart", + "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": "help_feedback" + } + }, + { + "collection": "help_settings", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "help_settings", + "color": "#A2B5CD", + "display_template": null, + "group": "help", + "hidden": false, + "icon": "settings_alert", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": true, + "sort": 4, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "help_settings" + } + }, + { + "collection": "help_settings_translations", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "help_settings_translations", + "color": null, + "display_template": null, + "group": "help_settings", + "hidden": true, + "icon": null, + "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": "help_settings_translations" + } + }, + { + "collection": "languages", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "languages", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "language", + "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": "languages" + } + } + ], + "fields": [ + { + "collection": "help_articles", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "help_articles", + "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": 4, + "special": [ + "cast-timestamp", + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "help_articles", + "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_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_articles", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "help_articles", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_updated", + "group": null, + "hidden": false, + "interface": "datetime", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 10, + "special": [ + "cast-timestamp", + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "help_articles", + "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_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_articles", + "field": "help_collection", + "type": "uuid", + "meta": { + "collection": "help_articles", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{icon}} {{title}}" + }, + "field": "help_collection", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{icon}} {{title}}" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "help_collection", + "table": "help_articles", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "help_collections", + "foreign_key_column": "id" + } + }, + { + "collection": "help_articles", + "field": "id", + "type": "uuid", + "meta": { + "collection": "help_articles", + "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": "help_articles", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_articles", + "field": "owner", + "type": "uuid", + "meta": { + "collection": "help_articles", + "conditions": null, + "display": null, + "display_options": null, + "field": "owner", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "readonly": false, + "required": false, + "sort": 11, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "owner", + "table": "help_articles", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "directus_users", + "foreign_key_column": "id" + } + }, + { + "collection": "help_articles", + "field": "sort", + "type": "integer", + "meta": { + "collection": "help_articles", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "help_articles", + "data_type": "integer", + "default_value": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_articles", + "field": "status", + "type": "string", + "meta": { + "collection": "help_articles", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "$t:published", + "value": "published", + "foreground": "#FFFFFF", + "background": "#2ECDA7", + "icon": "published_with_changes" + }, + { + "text": "$t:review", + "value": "review", + "icon": "rate_review", + "foreground": "#FFFFFF", + "background": "#FFA439" + }, + { + "text": "$t:draft", + "value": "draft", + "foreground": "#18222F", + "background": "#D3DAE4", + "icon": "draft_orders" + }, + { + "text": "$t:archived", + "value": "archived", + "foreground": "#FFFFFF", + "background": "#18222F", + "icon": "history_toggle_off" + } + ] + }, + "field": "status", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "text": "$t:draft", + "value": "draft", + "color": "#A2B5CD", + "icon": "draft_orders" + }, + { + "text": "$t:review", + "value": "review", + "icon": "rate_review", + "color": "#FFC23B" + }, + { + "text": "$t:published", + "value": "published", + "icon": "published_with_changes", + "color": "#2ECDA7" + }, + { + "text": "$t:archived", + "value": "archived", + "icon": "history_toggle_off", + "color": "#18222F" + } + ] + }, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "status", + "table": "help_articles", + "data_type": "character varying", + "default_value": "draft", + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_articles", + "field": "title", + "type": "string", + "meta": { + "collection": "help_articles", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "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": "title", + "table": "help_articles", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_articles", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "help_articles", + "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": 3, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "help_articles", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "directus_users", + "foreign_key_column": "id" + } + }, + { + "collection": "help_articles", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "help_articles", + "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": 5, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "user_updated", + "table": "help_articles", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "directus_users", + "foreign_key_column": "id" + } + }, + { + "collection": "help_articles", + "field": "translations", + "type": "alias", + "meta": { + "collection": "help_articles", + "conditions": null, + "display": "translations", + "display_options": null, + "field": "translations", + "group": null, + "hidden": false, + "interface": "translations", + "note": null, + "options": { + "languageField": "name", + "userLanguage": true + }, + "readonly": false, + "required": false, + "sort": 14, + "special": [ + "translations" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "help_articles_translations", + "field": "id", + "type": "uuid", + "meta": { + "collection": "help_articles_translations", + "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": "help_articles_translations", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_articles_translations", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "help_articles_translations", + "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": "help_articles_translations", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "directus_users", + "foreign_key_column": "id" + } + }, + { + "collection": "help_articles_translations", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "help_articles_translations", + "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": "help_articles_translations", + "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_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_articles_translations", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "help_articles_translations", + "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": "help_articles_translations", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "directus_users", + "foreign_key_column": "id" + } + }, + { + "collection": "help_articles_translations", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "help_articles_translations", + "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": "help_articles_translations", + "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_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_articles_translations", + "field": "help_articles_id", + "type": "uuid", + "meta": { + "collection": "help_articles_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "help_articles_id", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "help_articles_id", + "table": "help_articles_translations", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "help_articles", + "foreign_key_column": "id" + } + }, + { + "collection": "help_articles_translations", + "field": "languages_code", + "type": "string", + "meta": { + "collection": "help_articles_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "languages_code", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "languages_code", + "table": "help_articles_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "languages", + "foreign_key_column": "code" + } + }, + { + "collection": "help_articles_translations", + "field": "summary", + "type": "text", + "meta": { + "collection": "help_articles_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "summary", + "group": null, + "hidden": false, + "interface": "input-multiline", + "note": "Quick 1-2 sentence summary of the article.", + "options": null, + "readonly": false, + "required": false, + "sort": 10, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "summary", + "table": "help_articles_translations", + "data_type": "text", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_articles_translations", + "field": "content", + "type": "text", + "meta": { + "collection": "help_articles_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "content", + "group": null, + "hidden": false, + "interface": "input-rich-text-html", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 11, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "content", + "table": "help_articles_translations", + "data_type": "text", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_articles_translations", + "field": "title", + "type": "string", + "meta": { + "collection": "help_articles_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": true, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "title", + "table": "help_articles_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_articles_translations", + "field": "slug", + "type": "string", + "meta": { + "collection": "help_articles_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "slug", + "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": "slug", + "table": "help_articles_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": true, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_collections", + "field": "icon", + "type": "string", + "meta": { + "collection": "help_collections", + "conditions": null, + "display": "icon", + "display_options": null, + "field": "icon", + "group": null, + "hidden": false, + "interface": "select-icon", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "icon", + "table": "help_collections", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_collections", + "field": "id", + "type": "uuid", + "meta": { + "collection": "help_collections", + "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": "help_collections", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_collections", + "field": "sort", + "type": "integer", + "meta": { + "collection": "help_collections", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "help_collections", + "data_type": "integer", + "default_value": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_collections", + "field": "title", + "type": "string", + "meta": { + "collection": "help_collections", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": true, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "title", + "table": "help_collections", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_collections", + "field": "articles", + "type": "alias", + "meta": { + "collection": "help_collections", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "field": "articles", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": null, + "options": { + "enableLink": true, + "template": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "help_collections", + "field": "translations", + "type": "alias", + "meta": { + "collection": "help_collections", + "conditions": null, + "display": "translations", + "display_options": { + "languageField": "name" + }, + "field": "translations", + "group": null, + "hidden": false, + "interface": "translations", + "note": null, + "options": { + "languageField": "name", + "userLanguage": true + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "translations" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "help_collections_translations", + "field": "id", + "type": "uuid", + "meta": { + "collection": "help_collections_translations", + "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": "help_collections_translations", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_collections_translations", + "field": "title", + "type": "string", + "meta": { + "collection": "help_collections_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": true, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "title", + "table": "help_collections_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_collections_translations", + "field": "slug", + "type": "text", + "meta": { + "collection": "help_collections_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "slug", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "slug": true + }, + "readonly": false, + "required": true, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "slug", + "table": "help_collections_translations", + "data_type": "text", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": true, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_collections_translations", + "field": "help_collections_id", + "type": "uuid", + "meta": { + "collection": "help_collections_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "help_collections_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": "help_collections_id", + "table": "help_collections_translations", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "help_collections", + "foreign_key_column": "id" + } + }, + { + "collection": "help_collections_translations", + "field": "languages_code", + "type": "string", + "meta": { + "collection": "help_collections_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "languages_code", + "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": "languages_code", + "table": "help_collections_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "languages", + "foreign_key_column": "code" + } + }, + { + "collection": "help_collections_translations", + "field": "description", + "type": "text", + "meta": { + "collection": "help_collections_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "description", + "group": null, + "hidden": false, + "interface": "input-multiline", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "description", + "table": "help_collections_translations", + "data_type": "text", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_feedback", + "field": "comments", + "type": "text", + "meta": { + "collection": "help_feedback", + "conditions": null, + "display": null, + "display_options": null, + "field": "comments", + "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": "comments", + "table": "help_feedback", + "data_type": "text", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_feedback", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "help_feedback", + "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": [ + "cast-timestamp" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "help_feedback", + "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_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_feedback", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "help_feedback", + "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": [ + "cast-timestamp", + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "help_feedback", + "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_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_feedback", + "field": "id", + "type": "uuid", + "meta": { + "collection": "help_feedback", + "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": "help_feedback", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_feedback", + "field": "rating", + "type": "integer", + "meta": { + "collection": "help_feedback", + "conditions": null, + "display": "rating", + "display_options": {}, + "field": "rating", + "group": null, + "hidden": false, + "interface": "slider", + "note": null, + "options": { + "alwaysShowValue": true, + "max": 4, + "maxValue": 4, + "min": 1, + "minValue": 1, + "stepInterval": 1 + }, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "rating", + "table": "help_feedback", + "data_type": "integer", + "default_value": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_feedback", + "field": "title", + "type": "string", + "meta": { + "collection": "help_feedback", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "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": "title", + "table": "help_feedback", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_feedback", + "field": "url", + "type": "string", + "meta": { + "collection": "help_feedback", + "conditions": null, + "display": null, + "display_options": null, + "field": "url", + "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": "half" + }, + "schema": { + "name": "url", + "table": "help_feedback", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_feedback", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "help_feedback", + "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": "help_feedback", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "directus_users", + "foreign_key_column": "id" + } + }, + { + "collection": "help_feedback", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "help_feedback", + "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": "help_feedback", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "directus_users", + "foreign_key_column": "id" + } + }, + { + "collection": "help_feedback", + "field": "visitor_id", + "type": "string", + "meta": { + "collection": "help_feedback", + "conditions": null, + "display": null, + "display_options": null, + "field": "visitor_id", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "visitor_id", + "table": "help_feedback", + "data_type": "character varying", + "default_value": null, + "max_length": 36, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_settings", + "field": "id", + "type": "uuid", + "meta": { + "collection": "help_settings", + "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": "help_settings", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_settings", + "field": "translations", + "type": "alias", + "meta": { + "collection": "help_settings", + "conditions": null, + "display": "translations", + "display_options": { + "languageField": "name", + "template": "{{title}}", + "userLanguage": true + }, + "field": "translations", + "group": null, + "hidden": false, + "interface": "translations", + "note": null, + "options": { + "languageField": "name", + "userLanguage": true + }, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "translations" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "help_settings", + "field": "default_language", + "type": "string", + "meta": { + "collection": "help_settings", + "conditions": null, + "display": null, + "display_options": null, + "field": "default_language", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{name}}" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "default_language", + "table": "help_settings", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "languages", + "foreign_key_column": "code" + } + }, + { + "collection": "help_settings_translations", + "field": "id", + "type": "uuid", + "meta": { + "collection": "help_settings_translations", + "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": "help_settings_translations", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_settings_translations", + "field": "help_settings_id", + "type": "uuid", + "meta": { + "collection": "help_settings_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "help_settings_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": "help_settings_id", + "table": "help_settings_translations", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "help_settings", + "foreign_key_column": "id" + } + }, + { + "collection": "help_settings_translations", + "field": "languages_code", + "type": "string", + "meta": { + "collection": "help_settings_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "languages_code", + "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": "languages_code", + "table": "help_settings_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "languages", + "foreign_key_column": "code" + } + }, + { + "collection": "help_settings_translations", + "field": "title", + "type": "string", + "meta": { + "collection": "help_settings_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": null, + "hidden": false, + "interface": "input", + "note": "The name displayed on your help center.", + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "title", + "table": "help_settings_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_settings_translations", + "field": "url", + "type": "string", + "meta": { + "collection": "help_settings_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "url", + "group": null, + "hidden": false, + "interface": "input", + "note": "The URL for your help center.", + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "url", + "table": "help_settings_translations", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "help_settings_translations", + "field": "description", + "type": "text", + "meta": { + "collection": "help_settings_translations", + "conditions": null, + "display": null, + "display_options": null, + "field": "description", + "group": null, + "hidden": false, + "interface": "input-multiline", + "note": "Short 1-2 sentence description of the help center. Used for SEO meta description.", + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "description", + "table": "help_settings_translations", + "data_type": "text", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "languages", + "field": "code", + "type": "string", + "meta": { + "collection": "languages", + "conditions": null, + "display": null, + "display_options": null, + "field": "code", + "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": "code", + "table": "languages", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_primary_key": true, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "languages", + "field": "name", + "type": "string", + "meta": { + "collection": "languages", + "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": "languages", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "languages", + "field": "direction", + "type": "string", + "meta": { + "collection": "languages", + "conditions": null, + "display": "raw", + "display_options": null, + "field": "direction", + "group": null, + "hidden": false, + "interface": "select-radio", + "note": null, + "options": { + "choices": [ + { + "text": "$t:ltr", + "value": "ltr" + }, + { + "text": "$t:rtl", + "value": "rtl" + } + ] + }, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "direction", + "table": "languages", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + } + ], + "relations": [ + { + "collection": "help_articles", + "field": "help_collection", + "related_collection": "help_collections", + "meta": { + "junction_field": null, + "many_collection": "help_articles", + "many_field": "help_collection", + "one_allowed_collections": null, + "one_collection": "help_collections", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "articles", + "sort_field": "sort" + }, + "schema": { + "table": "help_articles", + "column": "help_collection", + "foreign_key_table": "help_collections", + "foreign_key_column": "id", + "constraint_name": "help_articles_help_collection_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "help_articles", + "field": "owner", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "help_articles", + "many_field": "owner", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "help_articles", + "column": "owner", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "help_articles_owner_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "help_articles", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "help_articles", + "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": "help_articles", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "help_articles_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "help_articles", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "help_articles", + "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": "help_articles", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "help_articles_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "help_articles_translations", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "help_articles_translations", + "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": "help_articles_translations", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "help_articles_translations_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "help_articles_translations", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "help_articles_translations", + "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": "help_articles_translations", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "help_articles_translations_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "help_articles_translations", + "field": "languages_code", + "related_collection": "languages", + "meta": { + "junction_field": "help_articles_id", + "many_collection": "help_articles_translations", + "many_field": "languages_code", + "one_allowed_collections": null, + "one_collection": "languages", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "help_articles_translations", + "column": "languages_code", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "constraint_name": "help_articles_translations_languages_code_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "help_articles_translations", + "field": "help_articles_id", + "related_collection": "help_articles", + "meta": { + "junction_field": "languages_code", + "many_collection": "help_articles_translations", + "many_field": "help_articles_id", + "one_allowed_collections": null, + "one_collection": "help_articles", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "translations", + "sort_field": null + }, + "schema": { + "table": "help_articles_translations", + "column": "help_articles_id", + "foreign_key_table": "help_articles", + "foreign_key_column": "id", + "constraint_name": "help_articles_translations_help_articles_id_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "help_collections_translations", + "field": "languages_code", + "related_collection": "languages", + "meta": { + "junction_field": "help_collections_id", + "many_collection": "help_collections_translations", + "many_field": "languages_code", + "one_allowed_collections": null, + "one_collection": "languages", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "help_collections_translations", + "column": "languages_code", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "constraint_name": "help_collections_translations_languages_code_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "help_collections_translations", + "field": "help_collections_id", + "related_collection": "help_collections", + "meta": { + "junction_field": "languages_code", + "many_collection": "help_collections_translations", + "many_field": "help_collections_id", + "one_allowed_collections": null, + "one_collection": "help_collections", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "translations", + "sort_field": null + }, + "schema": { + "table": "help_collections_translations", + "column": "help_collections_id", + "foreign_key_table": "help_collections", + "foreign_key_column": "id", + "constraint_name": "help_collections_translations_help_collections_id_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "help_feedback", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "help_feedback", + "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": "help_feedback", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "help_feedback_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "help_feedback", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "help_feedback", + "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": "help_feedback", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "help_feedback_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "help_settings", + "field": "default_language", + "related_collection": "languages", + "meta": { + "junction_field": null, + "many_collection": "help_settings", + "many_field": "default_language", + "one_allowed_collections": null, + "one_collection": "languages", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "help_settings", + "column": "default_language", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "constraint_name": "help_settings_default_language_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "help_settings_translations", + "field": "languages_code", + "related_collection": "languages", + "meta": { + "junction_field": "help_settings_id", + "many_collection": "help_settings_translations", + "many_field": "languages_code", + "one_allowed_collections": null, + "one_collection": "languages", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "help_settings_translations", + "column": "languages_code", + "foreign_key_table": "languages", + "foreign_key_column": "code", + "constraint_name": "help_settings_translations_languages_code_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "help_settings_translations", + "field": "help_settings_id", + "related_collection": "help_settings", + "meta": { + "junction_field": "languages_code", + "many_collection": "help_settings_translations", + "many_field": "help_settings_id", + "one_allowed_collections": null, + "one_collection": "help_settings", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": "translations", + "sort_field": null + }, + "schema": { + "table": "help_settings_translations", + "column": "help_settings_id", + "foreign_key_table": "help_settings", + "foreign_key_column": "id", + "constraint_name": "help_settings_translations_help_settings_id_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + } + ] +} \ No newline at end of file diff --git a/help-center/directus/template/src/settings.json b/help-center/directus/template/src/settings.json new file mode 100644 index 00000000..3dd520ea --- /dev/null +++ b/help-center/directus/template/src/settings.json @@ -0,0 +1,154 @@ +{ + "id": 1, + "project_name": "Help Center", + "project_url": null, + "project_color": "#292524", + "project_logo": null, + "public_foreground": null, + "public_background": null, + "public_note": null, + "auth_login_attempts": 25, + "auth_password_policy": "/^.{8,}$/", + "storage_asset_transform": "all", + "storage_asset_presets": [ + { + "key": "800w", + "fit": "inside", + "width": 800, + "quality": 90, + "withoutEnlargement": true, + "format": "webp", + "transforms": [], + "height": null + }, + { + "key": "1200w", + "fit": "inside", + "width": 1200, + "quality": 90, + "withoutEnlargement": true, + "format": "webp", + "transforms": [] + } + ], + "custom_css": ".v-divider.inlineTitle.large.add-margin-top {\n margin-top: 0 !important;\n}\n\n.actions.list .v-button .button {\n background-color: var(--theme--background);\n color: var(--theme--primary);\n border-color: var(--theme--primary);\n \n &:hover {\n border-color: color-mix(in srgb, var(--theme--primary), #000 20%);\n color: color-mix(in srgb, var(--theme--primary), #000 20%) !important;\n }\n}\n\n.drawer-item-content {\n --theme--form--row-gap: 24px;\n --theme--form--column-gap: 32px;\n}\n", + "storage_default_folder": null, + "basemaps": null, + "mapbox_key": null, + "module_bar": [ + { + "type": "module", + "id": "content", + "enabled": true + }, + { + "type": "module", + "id": "users", + "enabled": true + }, + { + "type": "module", + "id": "files", + "enabled": true + }, + { + "type": "module", + "id": "insights", + "enabled": true + }, + { + "type": "link", + "id": "docs", + "name": "Directus Docs", + "url": "https://docs.directus.io", + "icon": "help_outline", + "enabled": true + }, + { + "type": "module", + "id": "settings", + "enabled": true, + "locked": true + } + ], + "project_descriptor": null, + "default_language": "en-US", + "custom_aspect_ratios": null, + "public_favicon": null, + "default_appearance": "auto", + "default_theme_light": "Directus Default", + "theme_light_overrides": { + "form": { + "rowGap": "24px", + "field": { + "input": { + "height": "52px", + "background": "#ffffff" + } + } + }, + "borderWidth": "1px", + "navigation": { + "modules": { + "background": "color-mix(in srgb, #000000, var(--theme--primary) 80%)", + "button": { + "foreground": "color-mix(in srgb, #FFFFFF, var(--theme--primary) 20%)", + "foregroundActive": "var(--theme--primary)", + "backgroundActive": "#FFFFFF" + } + }, + "background": "#fff", + "project": { + "background": "transparent" + }, + "borderColor": "color-mix(in srgb, #000000, var(--theme--background) 95%)", + "borderWidth": "1px", + "list": { + "divider": { + "borderColor": "var(--theme--border-color-subdued)" + }, + "backgroundHover": "color-mix(in srgb, #FFFFFF, var(--theme--primary) 10%)", + "backgroundActive": "color-mix(in srgb, #FFFFFF, var(--theme--primary) 15%)" + } + }, + "fonts": { + "display": { + "fontFamily": "\"Space Grotesk\", system-ui", + "fontWeight": "600" + }, + "sans": { + "fontFamily": "\"DM Sans\", system-ui" + } + }, + "borderRadius": "6px", + "sidebar": { + "background": "#FFFFFF", + "borderWidth": "1px", + "borderColor": "var(--theme--border-color-subdued)", + "section": { + "toggle": { + "borderColor": "var(--theme--border-color-subdued)", + "borderWidth": "1px", + "background": "#FFFFFF", + "foreground": "var(--theme--foreground)", + "foregroundHover": "var(--theme--foreground)", + "icon": { + "foreground": "var(--theme--foreground)", + "foregroundHover": "var(--theme--foreground)", + "foregroundActive": "var(--theme--foreground-accent)" + } + } + } + }, + "backgroundAccent": "color-mix(in srgb, #FFFFFF, var(--theme--primary) 10%)" + }, + "default_theme_dark": "Directus Default", + "theme_dark_overrides": {}, + "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 +} \ No newline at end of file diff --git a/help-center/directus/template/src/translations.json b/help-center/directus/template/src/translations.json new file mode 100644 index 00000000..82e77af0 --- /dev/null +++ b/help-center/directus/template/src/translations.json @@ -0,0 +1,8 @@ +[ + { + "id": "fd9798c3-4efc-4533-9b8c-efe467b860c7", + "language": "en-US", + "key": "review", + "value": "In Review" + } +] \ No newline at end of file diff --git a/help-center/directus/template/src/users.json b/help-center/directus/template/src/users.json new file mode 100644 index 00000000..c6e8c6f5 --- /dev/null +++ b/help-center/directus/template/src/users.json @@ -0,0 +1,60 @@ +[ + { + "id": "2b68c99b-1127-4ee6-aa4a-8c383361bd60", + "first_name": "Help Website", + "last_name": null, + "email": null, + "password": null, + "location": null, + "title": null, + "description": "Used for server to server comms. No email and password needed. Be careful when resetting the static token below because it could break some things.", + "tags": null, + "avatar": null, + "language": null, + "tfa_secret": null, + "status": "active", + "role": "9ecc2969-8b38-4088-9dc1-78334a206445", + "token": null, + "last_access": null, + "last_page": null, + "provider": "default", + "external_identifier": null, + "auth_data": null, + "email_notifications": true, + "appearance": null, + "theme_dark": null, + "theme_light": null, + "theme_light_overrides": null, + "theme_dark_overrides": null, + "policies": null + }, + { + "id": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "first_name": "The Help", + "last_name": "Bunny", + "email": "help@example.com", + "password": "**********", + "location": null, + "title": null, + "description": null, + "tags": null, + "avatar": "f70845e5-3172-4bd7-9405-29241fe91cbc", + "language": null, + "tfa_secret": null, + "status": "active", + "role": "ef049c8b-546b-4bbc-9cd7-b05d77e58b66", + "token": "**********", + "last_access": "2024-12-27T13:22:11.371Z", + "last_page": "/settings/data-model", + "provider": "default", + "external_identifier": null, + "auth_data": null, + "email_notifications": true, + "appearance": null, + "theme_dark": null, + "theme_light": null, + "theme_light_overrides": null, + "theme_dark_overrides": null, + "policies": null + } +] \ No newline at end of file diff --git a/help-center/directus/uploads/.gitkeep b/help-center/directus/uploads/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/help-center/package.json b/help-center/package.json new file mode 100644 index 00000000..15011f04 --- /dev/null +++ b/help-center/package.json @@ -0,0 +1,11 @@ +{ + "name": "directus-help-center-starter", + "version": "1.0.0", + "description": "A multilingual help center with articles and collections.", + "directus:template": { + "name": "Help Center", + "description": "A multilingual help center with articles and collections.", + "template": "./directus/template", + "frontends": {} + } +} diff --git a/simple-crm/README.md b/simple-crm/README.md new file mode 100644 index 00000000..b58ac2c6 --- /dev/null +++ b/simple-crm/README.md @@ -0,0 +1,26 @@ +# Simple CRM + +A simple CRM template for Directus. Manage contacts, organizations, and deals with a clean pipeline view. + +## Getting Started + +### Using Directus Cloud + +1. Create a new project at [Directus Cloud](https://directus.io/cloud/) and select the **Simple CRM** template. +2. Generate a static token for the admin user. + +### Using Docker (Local) + +```bash +npx directus-template-cli@latest init +``` + +Select **Simple CRM** from the template list and follow the prompts. + +## What's Included + +- Contacts and organizations +- Deal pipeline with stages +- Activities and activity tracking +- Tags for contacts and organizations +- Dashboards diff --git a/simple-crm/directus/.env.example b/simple-crm/directus/.env.example new file mode 100644 index 00000000..541c74fe --- /dev/null +++ b/simple-crm/directus/.env.example @@ -0,0 +1,48 @@ +# Database Configuration +DB_USER=directus +DB_PASSWORD=directus +DB_DATABASE=directus + +# Directus Configuration +DIRECTUS_PORT=8055 +DIRECTUS_SECRET=6116487b-cda1-52c2-b5b5-c8022c45e263 + +# Cache Configuration +CACHE_ENABLED=true +CACHE_AUTO_PURGE=true + +# Admin Configuration +ADMIN_EMAIL=admin@example.com +ADMIN_PASSWORD=d1r3ctu5 + +# WebSocket Configuration +WEBSOCKETS_ENABLED=true + +# URL Configuration +PUBLIC_URL=http://localhost:8055 + +# CORS Configuration: +# Development: It's ok to use "*" or "http://localhost:3000" for local testing +# Production: Specify exact origins like: +# - Single origin: "https://your-domain.com" +# - Multiple origins: "https://app.domain.com,https://admin.domain.com" +# Warning: Using "*" in production is a security risk - always specify allowed origins +CORS_ENABLED=true +CORS_ORIGIN=* + +# Cookie Configuration +REFRESH_TOKEN_COOKIE_SECURE=false +REFRESH_TOKEN_COOKIE_SAME_SITE=lax +REFRESH_TOKEN_COOKIE_DOMAIN=localhost + +SESSION_COOKIE_SECURE=false +SESSION_COOKIE_SAME_SITE=lax +SESSION_COOKIE_DOMAIN=localhost + +# Extensions Configuration +EXTENSIONS_PATH=./extensions +EXTENSIONS_AUTO_RELOAD=true +EXTENSIONS_ROLLDOWN=true + +# Content Security Policy +CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC=http://localhost:3000,http://localhost:4321,http://localhost:5173,https://*.youtube.com,https://*.vimeo.com,https://*.wistia.net,https://*.loom.com diff --git a/simple-crm/directus/docker-compose.yaml b/simple-crm/directus/docker-compose.yaml new file mode 100644 index 00000000..9afc78f5 --- /dev/null +++ b/simple-crm/directus/docker-compose.yaml @@ -0,0 +1,86 @@ +name: directus-simple-crm-template +services: + database: + image: postgis/postgis:16-master + platform: linux/amd64 + volumes: + - ./data/database:/var/lib/postgresql/data + environment: + POSTGRES_USER: ${DB_USER} + POSTGRES_PASSWORD: ${DB_PASSWORD} + POSTGRES_DB: ${DB_DATABASE} + healthcheck: + test: ['CMD', 'pg_isready', '-U', '${DB_USER}', '-d', '${DB_DATABASE}', '-h', 'localhost'] + interval: 10s + timeout: 5s + retries: 5 + start_interval: 5s + start_period: 30s + + cache: + image: redis:6 + healthcheck: + test: ['CMD-SHELL', "[ $$(redis-cli ping) = 'PONG' ]"] + interval: 10s + timeout: 5s + retries: 5 + start_interval: 5s + start_period: 30s + + directus: + image: directus/directus:11.17.4 + ports: + - ${DIRECTUS_PORT}:8055 + volumes: + - ./uploads:/directus/uploads + - ./extensions:/directus/extensions + depends_on: + database: + condition: service_healthy + cache: + condition: service_healthy + environment: + SECRET: ${DIRECTUS_SECRET} + + DB_CLIENT: 'pg' + DB_HOST: 'database' + DB_PORT: '5432' + DB_DATABASE: ${DB_DATABASE} + DB_USER: ${DB_USER} + DB_PASSWORD: ${DB_PASSWORD} + + CACHE_ENABLED: ${CACHE_ENABLED} + CACHE_AUTO_PURGE: ${CACHE_AUTO_PURGE} + CACHE_STORE: 'redis' + REDIS: 'redis://cache:6379' + + ADMIN_EMAIL: ${ADMIN_EMAIL} + ADMIN_PASSWORD: ${ADMIN_PASSWORD} + + WEBSOCKETS_ENABLED: ${WEBSOCKETS_ENABLED} + + PUBLIC_URL: ${PUBLIC_URL} + + CORS_ENABLED: ${CORS_ENABLED} + CORS_ORIGIN: ${CORS_ORIGIN} + + REFRESH_TOKEN_COOKIE_SECURE: ${REFRESH_TOKEN_COOKIE_SECURE} + REFRESH_TOKEN_COOKIE_SAME_SITE: ${REFRESH_TOKEN_COOKIE_SAME_SITE} + REFRESH_TOKEN_DOMAIN: ${REFRESH_TOKEN_COOKIE_DOMAIN} + + SESSION_COOKIE_SECURE: ${SESSION_COOKIE_SECURE} + SESSION_COOKIE_SAME_SITE: ${SESSION_COOKIE_SAME_SITE} + SESSION_COOKIE_DOMAIN: ${SESSION_COOKIE_DOMAIN} + + EXTENSIONS_PATH: ${EXTENSIONS_PATH} + EXTENSIONS_AUTO_RELOAD: ${EXTENSIONS_AUTO_RELOAD} + EXTENSIONS_ROLLDOWN: ${EXTENSIONS_ROLLDOWN} + + CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC: ${CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC} + + EMAIL_TRANSPORT: ${EMAIL_TRANSPORT} + EMAIL_FROM: ${EMAIL_FROM} + EMAIL_SMTP_HOST: ${EMAIL_SMTP_HOST} + EMAIL_SMTP_PORT: ${EMAIL_SMTP_PORT} + EMAIL_SMTP_USER: ${EMAIL_SMTP_USER} + EMAIL_SMTP_PASSWORD: ${EMAIL_SMTP_PASSWORD} diff --git a/simple-crm/directus/extensions/.gitkeep b/simple-crm/directus/extensions/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/simple-crm/directus/template/README.md b/simple-crm/directus/template/README.md new file mode 100644 index 00000000..77807cf6 --- /dev/null +++ b/simple-crm/directus/template/README.md @@ -0,0 +1,10 @@ +# Simple CRM Template + +This is a template for [Directus](https://directus.io/) - an open-source headless CMS and API. Use the template-cli to load / apply this template to a blank instance. + +## Why + +## What + +## License + diff --git a/simple-crm/directus/template/package.json b/simple-crm/directus/template/package.json new file mode 100644 index 00000000..1211877f --- /dev/null +++ b/simple-crm/directus/template/package.json @@ -0,0 +1,11 @@ +{ + "author": "", + "description": "", + "directusTemplate": true, + "files": [ + "src" + ], + "name": "directus-template-simple-crm", + "templateName": "Simple CRM", + "version": "1.0.0" +} \ No newline at end of file diff --git a/simple-crm/directus/template/src/access.json b/simple-crm/directus/template/src/access.json new file mode 100644 index 00000000..41570fc2 --- /dev/null +++ b/simple-crm/directus/template/src/access.json @@ -0,0 +1,16 @@ +[ + { + "id": "9e504d18-5eff-4f45-a3b6-849cf5e5078b", + "role": null, + "user": null, + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17", + "sort": 1 + }, + { + "id": "5862124e-a0d4-4c4d-ac5d-543246025c8d", + "role": "b4e8ed16-5db1-4d0e-85bc-54ffd79248c8", + "user": null, + "policy": "b8d5840c-59d7-40e8-b788-ad7131d5e20a", + "sort": null + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/assets/079fb4b8-925e-4bd9-b674-76d517b94073.webp b/simple-crm/directus/template/src/assets/079fb4b8-925e-4bd9-b674-76d517b94073.webp new file mode 100644 index 00000000..58102687 Binary files /dev/null and b/simple-crm/directus/template/src/assets/079fb4b8-925e-4bd9-b674-76d517b94073.webp differ diff --git a/simple-crm/directus/template/src/assets/13cdfde4-bcc8-489e-ac86-d47698e684f8.com b/simple-crm/directus/template/src/assets/13cdfde4-bcc8-489e-ac86-d47698e684f8.com new file mode 100644 index 00000000..5636a247 Binary files /dev/null and b/simple-crm/directus/template/src/assets/13cdfde4-bcc8-489e-ac86-d47698e684f8.com differ diff --git a/simple-crm/directus/template/src/assets/17ac8a25-1ba0-4d92-90a1-2403a3107ce0.webp b/simple-crm/directus/template/src/assets/17ac8a25-1ba0-4d92-90a1-2403a3107ce0.webp new file mode 100644 index 00000000..872320ef Binary files /dev/null and b/simple-crm/directus/template/src/assets/17ac8a25-1ba0-4d92-90a1-2403a3107ce0.webp differ diff --git a/simple-crm/directus/template/src/assets/3ed710b0-1a72-4064-bd00-c6e534a291f6.png b/simple-crm/directus/template/src/assets/3ed710b0-1a72-4064-bd00-c6e534a291f6.png new file mode 100644 index 00000000..8f802dca Binary files /dev/null and b/simple-crm/directus/template/src/assets/3ed710b0-1a72-4064-bd00-c6e534a291f6.png differ diff --git a/simple-crm/directus/template/src/assets/604c60f9-1d3d-4a0d-be38-547f08391b1c.webp b/simple-crm/directus/template/src/assets/604c60f9-1d3d-4a0d-be38-547f08391b1c.webp new file mode 100644 index 00000000..8a338270 Binary files /dev/null and b/simple-crm/directus/template/src/assets/604c60f9-1d3d-4a0d-be38-547f08391b1c.webp differ diff --git a/simple-crm/directus/template/src/assets/b742d3fe-952c-4215-bbe7-42fee88e992a.webp b/simple-crm/directus/template/src/assets/b742d3fe-952c-4215-bbe7-42fee88e992a.webp new file mode 100644 index 00000000..94dd1b73 Binary files /dev/null and b/simple-crm/directus/template/src/assets/b742d3fe-952c-4215-bbe7-42fee88e992a.webp differ diff --git a/simple-crm/directus/template/src/assets/d01d4ff6-c319-4e31-b574-aa84368d31e8.webp b/simple-crm/directus/template/src/assets/d01d4ff6-c319-4e31-b574-aa84368d31e8.webp new file mode 100644 index 00000000..b6b50d7f Binary files /dev/null and b/simple-crm/directus/template/src/assets/d01d4ff6-c319-4e31-b574-aa84368d31e8.webp differ diff --git a/simple-crm/directus/template/src/collections.json b/simple-crm/directus/template/src/collections.json new file mode 100644 index 00000000..3e1fb59f --- /dev/null +++ b/simple-crm/directus/template/src/collections.json @@ -0,0 +1,424 @@ +[ + { + "collection": "activities", + "meta": { + "collection": "activities", + "icon": "playlist_add_check", + "note": null, + "display_template": "{{name}} • {{activity_type}} • {{start_date}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 4, + "group": "crm", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "activities", + "comment": null + } + }, + { + "collection": "activity_contacts", + "meta": { + "collection": "activity_contacts", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": "sort", + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "activities", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "activity_contacts", + "comment": null + } + }, + { + "collection": "contacts", + "meta": { + "collection": "contacts", + "icon": "emoji_people", + "note": null, + "display_template": "{{first_name}} {{last_name}} <{{email}}>", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": "is_active", + "archive_app_filter": true, + "archive_value": "false", + "unarchive_value": "true", + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 2, + "group": "crm", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "contacts", + "comment": null + } + }, + { + "collection": "contact_tags", + "meta": { + "collection": "contact_tags", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "contacts", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "contact_tags", + "comment": null + } + }, + { + "collection": "crm", + "meta": { + "collection": "crm", + "icon": "view_kanban", + "note": null, + "display_template": null, + "hidden": false, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "CRM" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": null, + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": null + }, + { + "collection": "crm_settings", + "meta": { + "collection": "crm_settings", + "icon": "perm_data_setting", + "note": null, + "display_template": null, + "hidden": false, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "CRM Settings" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 5, + "group": "crm", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": null + }, + { + "collection": "deal_contacts", + "meta": { + "collection": "deal_contacts", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": "sort", + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "deals", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "deal_contacts", + "comment": null + } + }, + { + "collection": "deals", + "meta": { + "collection": "deals", + "icon": "handshake", + "note": null, + "display_template": "{{name}} • {{deal_stage}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 3, + "group": "crm", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "deals", + "comment": null + } + }, + { + "collection": "deal_stages", + "meta": { + "collection": "deal_stages", + "icon": "flag", + "note": null, + "display_template": "{{color}} {{icon}} {{name}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": "sort", + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 2, + "group": "crm_settings", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "deal_stages", + "comment": null + } + }, + { + "collection": "organization_addresses", + "meta": { + "collection": "organization_addresses", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": "sort", + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 2, + "group": "organizations", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "organization_addresses", + "comment": null + } + }, + { + "collection": "organization_contacts", + "meta": { + "collection": "organization_contacts", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 3, + "group": "organizations", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "organization_contacts", + "comment": null + } + }, + { + "collection": "organizations", + "meta": { + "collection": "organizations", + "icon": "storefront", + "note": null, + "display_template": "{{logo}} {{name}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": "is_active", + "archive_app_filter": true, + "archive_value": "false", + "unarchive_value": "true", + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "crm", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "organizations", + "comment": null + } + }, + { + "collection": "organization_tags", + "meta": { + "collection": "organization_tags", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "organizations", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "organization_tags", + "comment": null + } + }, + { + "collection": "tags", + "meta": { + "collection": "tags", + "icon": "tag", + "note": null, + "display_template": "{{color}} {{name}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "crm_settings", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "tags", + "comment": null + } + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/content/activities.json b/simple-crm/directus/template/src/content/activities.json new file mode 100644 index 00000000..15c0cf8a --- /dev/null +++ b/simple-crm/directus/template/src/content/activities.json @@ -0,0 +1,213 @@ +[ + { + "id": "12e04279-d87e-4975-8b48-c12a8d5c6a4d", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:06:17.338Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-12-20T01:09:32.625Z", + "name": "Technical Requirements Review", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "deal": "46cb7519-7328-4465-a44b-f8e8783aa78e", + "organization": "052711ed-09eb-4cdb-b83f-89be088ea209", + "activity_type": "call", + "activity_notes": "

Discuss detailed technical requirements for CloudNine's infrastructure upgrade.

", + "start_date": "2024-10-10T11:00:00", + "end_date": "2024-10-10T12:30:00", + "location": "https://teams.microsoft.com/l/meetup-join/abc123", + "is_completed": false, + "date_completed": null, + "contacts": [] + }, + { + "id": "560799d2-6017-46d8-becb-4f0501fef95e", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:06:17.342Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:13:25.778Z", + "name": "Eco-Packaging Design Workshop", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "deal": "7bbc60c7-6cc6-460d-a767-2943038ef408", + "organization": "8cbba979-f760-4155-ae3e-9262e38456bc", + "activity_type": "meeting", + "activity_notes": "

Collaborative session to brainstorm and sketch initial eco-friendly packaging designs.

", + "start_date": "2024-10-22T09:00:00", + "end_date": "2024-10-22T13:00:00", + "location": "GreenGrove HQ, Conference Room A", + "is_completed": false, + "date_completed": null, + "contacts": [] + }, + { + "id": "63148609-8bed-4dfa-b030-124ad6195917", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:06:17.348Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:09:57.503Z", + "name": "HealthPlus System Demo", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "deal": "46cb7519-7328-4465-a44b-f8e8783aa78e", + "organization": "052711ed-09eb-4cdb-b83f-89be088ea209", + "activity_type": "meeting", + "activity_notes": "

Demonstration of the proposed digital patient management system to HealthPlus stakeholders.

", + "start_date": "2024-11-05T14:00:00", + "end_date": "2024-11-05T16:00:00", + "location": "HealthPlus Main Hospital, Board Room", + "is_completed": false, + "date_completed": null, + "contacts": [] + }, + { + "id": "6841aefc-e7fc-4c0e-b9a5-4f803ed280e5", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T18:08:01.714Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:14:52.496Z", + "name": "Follow Up Email", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "deal": "5f3599bf-1947-4315-91c3-b01d11edc81a", + "organization": "77bef88e-368b-4e1e-ba48-d23397511c45", + "activity_type": "email", + "activity_notes": null, + "start_date": "2024-10-10T12:00:00", + "end_date": null, + "location": null, + "is_completed": true, + "date_completed": null, + "contacts": [ + "5c4b482b-0f77-4d71-9f05-1808e4f8c057" + ] + }, + { + "id": "923e1791-f100-495f-b258-a18c01730b9b", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:06:17.320Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:14:40.819Z", + "name": "Initial Proposal Meeting", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "deal": "46cb7519-7328-4465-a44b-f8e8783aa78e", + "organization": "052711ed-09eb-4cdb-b83f-89be088ea209", + "activity_type": "meeting", + "activity_notes": "

Present initial solar panel installation proposal to SolarTech team.

", + "start_date": "2024-10-20T15:00:00", + "end_date": "2024-10-20T16:30:00", + "location": "https://zoom.us/j/123456789", + "is_completed": false, + "date_completed": null, + "contacts": [] + }, + { + "id": "9d2b659b-1e84-4fa0-aa2a-d4e6d0135a60", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:06:17.345Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:13:11.926Z", + "name": "AI Integration Kickoff Meeting", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "deal": "862fae54-73b5-44e1-ba14-2c7dc1502d97", + "organization": "34111da1-efb4-4acf-a5d5-aa1f7be4be1d", + "activity_type": "meeting", + "activity_notes": "

Project kickoff for TechNova's AI integration, outlining goals, timeline, and team responsibilities.

", + "start_date": "2024-10-28T10:00:00", + "end_date": "2024-10-28T12:00:00", + "location": "https://zoom.us/j/987654321", + "is_completed": false, + "date_completed": null, + "contacts": [] + }, + { + "id": "a69f01dc-f02f-48f7-ad21-6a8602a02e8b", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:06:17.353Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:14:34.202Z", + "name": "CloudNine Security Review", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "deal": "703d4ce5-0069-4726-9418-32247bfe1f9e", + "organization": "714d8285-8fcb-4139-b86f-72003dc80b6a", + "activity_type": "meeting", + "activity_notes": "

Review and discuss security implications of the proposed cloud infrastructure upgrade.

", + "start_date": "2024-10-18T13:00:00", + "end_date": "2024-10-18T15:00:00", + "location": "https://meet.google.com/def-456-ghi", + "is_completed": false, + "date_completed": null, + "contacts": [] + }, + { + "id": "b2ced6d7-38a1-4308-bc91-4dac57076b31", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:06:17.350Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:10:47.214Z", + "name": "SolarTech Site Survey", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "deal": "731bf24b-6de4-4501-a6b1-252549aa034c", + "organization": "682a0d80-2362-4340-bed9-92dbbd4f5672", + "activity_type": "call", + "activity_notes": "

Conduct on-site survey of SolarTech's new office building for solar panel installation planning.

", + "start_date": "2024-10-25T09:00:00", + "end_date": "2024-10-25T12:00:00", + "location": "SolarTech New Office, 123 Sun Street, Phoenix, AZ", + "is_completed": false, + "date_completed": null, + "contacts": [] + }, + { + "id": "b61f7430-6500-4521-bead-2f9ea3535d5d", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:06:17.355Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:13:56.297Z", + "name": "GreenGrove Supplier Meeting", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "deal": "7bbc60c7-6cc6-460d-a767-2943038ef408", + "organization": "8cbba979-f760-4155-ae3e-9262e38456bc", + "activity_type": "meeting", + "activity_notes": "

Meet with potential eco-friendly material suppliers for the new packaging project.

", + "start_date": "2024-10-30T10:00:00", + "end_date": "2024-10-30T12:00:00", + "location": "GreenGrove HQ, Meeting Room B", + "is_completed": false, + "date_completed": null, + "contacts": [] + }, + { + "id": "d97f66eb-3cc5-4e77-9238-c298ba9a0a79", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:06:17.359Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:14:05.326Z", + "name": "HealthPlus Stakeholder Presentation", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "deal": "46cb7519-7328-4465-a44b-f8e8783aa78e", + "organization": "052711ed-09eb-4cdb-b83f-89be088ea209", + "activity_type": "meeting", + "activity_notes": "

Present the digital transformation roadmap to HealthPlus C-level executives and board members.

", + "start_date": "2024-11-10T09:00:00", + "end_date": "2024-11-10T11:00:00", + "location": "HealthPlus Corporate Office, Executive Boardroom", + "is_completed": false, + "date_completed": null, + "contacts": [] + }, + { + "id": "f67a0834-5ce5-4212-a12a-2668d5b24587", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:06:17.357Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:14:13.715Z", + "name": "TechNova Data Review", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "deal": "862fae54-73b5-44e1-ba14-2c7dc1502d97", + "organization": "34111da1-efb4-4acf-a5d5-aa1f7be4be1d", + "activity_type": "call", + "activity_notes": "

Analysis of TechNova's current data structures and workflows for AI integration planning.

", + "start_date": "2024-11-02T14:00:00", + "end_date": "2024-11-02T16:00:00", + "location": "https://webex.com/meet/technova-ai-project", + "is_completed": false, + "date_completed": null, + "contacts": [] + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/content/activity_contacts.json b/simple-crm/directus/template/src/content/activity_contacts.json new file mode 100644 index 00000000..c7822742 --- /dev/null +++ b/simple-crm/directus/template/src/content/activity_contacts.json @@ -0,0 +1,8 @@ +[ + { + "id": "5c4b482b-0f77-4d71-9f05-1808e4f8c057", + "sort": null, + "activity": "6841aefc-e7fc-4c0e-b9a5-4f803ed280e5", + "contact": "6fc88eba-a296-48f3-8756-3e00edc09372" + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/content/contact_tags.json b/simple-crm/directus/template/src/content/contact_tags.json new file mode 100644 index 00000000..ac54ff08 --- /dev/null +++ b/simple-crm/directus/template/src/content/contact_tags.json @@ -0,0 +1,8 @@ +[ + { + "id": "7375bbb7-9654-4e1d-a7e7-dfbcec03eae7", + "contact": "6fc88eba-a296-48f3-8756-3e00edc09372", + "tag": "4e48ad3a-fc2f-4ea7-b757-b8e97d3112cb", + "sort": 1 + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/content/contacts.json b/simple-crm/directus/template/src/content/contacts.json new file mode 100644 index 00000000..f0093806 --- /dev/null +++ b/simple-crm/directus/template/src/content/contacts.json @@ -0,0 +1,65 @@ +[ + { + "id": "19e91419-3afc-4e7c-9a72-069c82e25fb2", + "date_created": "2024-09-24T21:54:35.819Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:01:57.378Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "first_name": "Sarah", + "last_name": "Johnson", + "email": "sarah.johnson@solartechinc.com", + "phone": "+14805551234", + "is_active": true, + "contact_notes": "

Key decision maker for the SolarTech Solutions project.

", + "organizations": [ + "e5818095-d0ce-4ff8-8eb9-2bec4d56c8c3" + ], + "deals": [], + "activities": [], + "tags": [] + }, + { + "id": "6589d027-6b41-4730-acf9-991644b1ffc1", + "date_created": "2024-09-24T21:54:35.824Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:01:50.430Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "first_name": "Michael", + "last_name": "Chen", + "email": "m.chen@cloudninetech.com", + "phone": "+14085557890", + "is_active": true, + "contact_notes": "

CTO of CloudNine Technologies, primary technical contact for the expansion project.

", + "organizations": [ + "703f0579-81f9-48db-bd29-3a1d08acf12e" + ], + "deals": [], + "activities": [], + "tags": [] + }, + { + "id": "6fc88eba-a296-48f3-8756-3e00edc09372", + "date_created": "2024-09-24T17:56:52.245Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-25T12:14:50.113Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "first_name": "Edon", + "last_name": "Dusk", + "email": "edon@example.com", + "phone": "+15456454234", + "is_active": true, + "contact_notes": null, + "organizations": [ + "79ce674d-a4ab-4582-842a-f7cb303eeebe" + ], + "deals": [ + "d5b66bb7-7586-4ad6-902b-58c594bce3d1" + ], + "activities": [ + "5c4b482b-0f77-4d71-9f05-1808e4f8c057" + ], + "tags": [ + "7375bbb7-9654-4e1d-a7e7-dfbcec03eae7" + ] + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/content/deal_contacts.json b/simple-crm/directus/template/src/content/deal_contacts.json new file mode 100644 index 00000000..7d60c889 --- /dev/null +++ b/simple-crm/directus/template/src/content/deal_contacts.json @@ -0,0 +1,8 @@ +[ + { + "id": "d5b66bb7-7586-4ad6-902b-58c594bce3d1", + "sort": 1, + "deal": "5f3599bf-1947-4315-91c3-b01d11edc81a", + "contact": "6fc88eba-a296-48f3-8756-3e00edc09372" + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/content/deal_stages.json b/simple-crm/directus/template/src/content/deal_stages.json new file mode 100644 index 00000000..dd630fd1 --- /dev/null +++ b/simple-crm/directus/template/src/content/deal_stages.json @@ -0,0 +1,56 @@ +[ + { + "id": "3818f0c1-f427-44d0-a355-98d579aa52b6", + "sort": 1, + "name": "New", + "color": "#3399FF", + "icon": "fiber_new", + "is_won": false, + "is_lost": false + }, + { + "id": "33c5977e-7606-4cb6-9ce5-5ff6ad086267", + "sort": 2, + "name": "Qualification", + "color": "#FFC23B", + "icon": "equalizer", + "is_won": false, + "is_lost": false + }, + { + "id": "b4bce2ce-8a6b-474b-a079-577e82f4a56c", + "sort": 3, + "name": "Proposal", + "color": "#FFA439", + "icon": "edit_document", + "is_won": false, + "is_lost": false + }, + { + "id": "098d3e67-f501-44f3-83c9-f0667ab95fde", + "sort": 4, + "name": "Closed - Won", + "color": "#2ECDA7", + "icon": "check_circle", + "is_won": true, + "is_lost": false + }, + { + "id": "15f06d29-db8b-47b5-a551-b63df10bdc96", + "sort": 5, + "name": "Closed - Lost", + "color": "#E35169", + "icon": "cancel", + "is_won": false, + "is_lost": true + }, + { + "id": "cdcb15a8-570c-4ae7-92f7-4036ecd852e0", + "sort": 6, + "name": "Closed - Unqualified", + "color": "#A2B5CD", + "icon": "history_toggle_off", + "is_won": false, + "is_lost": true + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/content/deals.json b/simple-crm/directus/template/src/content/deals.json new file mode 100644 index 00000000..66b33db8 --- /dev/null +++ b/simple-crm/directus/template/src/content/deals.json @@ -0,0 +1,123 @@ +[ + { + "id": "46cb7519-7328-4465-a44b-f8e8783aa78e", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T21:58:20.047Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:07:04.005Z", + "name": "HealthPlus Digital Transformation", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "organization": "052711ed-09eb-4cdb-b83f-89be088ea209", + "deal_value": 150000, + "deal_stage": "3818f0c1-f427-44d0-a355-98d579aa52b6", + "deal_notes": "

Overhauling their patient management system with a new digital platform.

", + "next_contact_date": "2024-11-01T11:30:00.000Z", + "expected_close_date": "2025-03-31T23:59:59.000Z", + "contacts": [], + "activities": [ + "12e04279-d87e-4975-8b48-c12a8d5c6a4d", + "63148609-8bed-4dfa-b030-124ad6195917", + "923e1791-f100-495f-b258-a18c01730b9b", + "d97f66eb-3cc5-4e77-9238-c298ba9a0a79" + ] + }, + { + "id": "5f3599bf-1947-4315-91c3-b01d11edc81a", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T18:07:12.692Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-11-04T17:42:21.378Z", + "name": "Tezla Deal", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "organization": "77bef88e-368b-4e1e-ba48-d23397511c45", + "deal_value": 5000, + "deal_stage": "33c5977e-7606-4cb6-9ce5-5ff6ad086267", + "deal_notes": "

I'm working with them on a new website.

", + "next_contact_date": "2024-09-26T16:00:00.000Z", + "expected_close_date": "2024-09-25T16:00:00.000Z", + "contacts": [ + "d5b66bb7-7586-4ad6-902b-58c594bce3d1" + ], + "activities": [ + "6841aefc-e7fc-4c0e-b9a5-4f803ed280e5" + ] + }, + { + "id": "703d4ce5-0069-4726-9418-32247bfe1f9e", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T21:58:20.035Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:08:01.195Z", + "name": "CloudNine Expansion", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "organization": "714d8285-8fcb-4139-b86f-72003dc80b6a", + "deal_value": 120000, + "deal_stage": "15f06d29-db8b-47b5-a551-b63df10bdc96", + "deal_notes": "

Upgrading their current cloud infrastructure to support rapid growth.

", + "next_contact_date": "2024-10-05T10:00:00.000Z", + "expected_close_date": null, + "contacts": [], + "activities": [ + "a69f01dc-f02f-48f7-ad21-6a8602a02e8b" + ] + }, + { + "id": "731bf24b-6de4-4501-a6b1-252549aa034c", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T21:58:20.030Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:00:05.266Z", + "name": "SolarTech Solutions", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "organization": "682a0d80-2362-4340-bed9-92dbbd4f5672", + "deal_value": 75000, + "deal_stage": "b4bce2ce-8a6b-474b-a079-577e82f4a56c", + "deal_notes": "

Proposing a comprehensive solar panel installation for their new office building.

", + "next_contact_date": "2024-10-15T14:30:00.000Z", + "expected_close_date": "2024-12-31T23:59:59.000Z", + "contacts": [], + "activities": [ + "b2ced6d7-38a1-4308-bc91-4dac57076b31" + ] + }, + { + "id": "7bbc60c7-6cc6-460d-a767-2943038ef408", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T21:58:20.038Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-11-04T17:19:50.857Z", + "name": "GreenGrove Eco-Packaging", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "organization": "8cbba979-f760-4155-ae3e-9262e38456bc", + "deal_value": 50000, + "deal_stage": "098d3e67-f501-44f3-83c9-f0667ab95fde", + "deal_notes": "

Developing custom eco-friendly packaging solutions for their product line.

", + "next_contact_date": "2024-10-20T09:00:00.000Z", + "expected_close_date": "2025-01-15T23:59:59.000Z", + "contacts": [], + "activities": [ + "560799d2-6017-46d8-becb-4f0501fef95e", + "b61f7430-6500-4521-bead-2f9ea3535d5d" + ] + }, + { + "id": "862fae54-73b5-44e1-ba14-2c7dc1502d97", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T21:58:20.043Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:07:17.442Z", + "name": "TechNova AI Integration", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "organization": "34111da1-efb4-4acf-a5d5-aa1f7be4be1d", + "deal_value": 200000, + "deal_stage": "b4bce2ce-8a6b-474b-a079-577e82f4a56c", + "deal_notes": "

Implementing advanced AI solutions for predictive maintenance in their manufacturing process.

", + "next_contact_date": "2024-10-25T13:00:00.000Z", + "expected_close_date": "2025-02-28T23:59:59.000Z", + "contacts": [], + "activities": [ + "9d2b659b-1e84-4fa0-aa2a-d4e6d0135a60", + "f67a0834-5ce5-4212-a12a-2668d5b24587" + ] + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/content/organization_addresses.json b/simple-crm/directus/template/src/content/organization_addresses.json new file mode 100644 index 00000000..d33f838e --- /dev/null +++ b/simple-crm/directus/template/src/content/organization_addresses.json @@ -0,0 +1,56 @@ +[ + { + "id": "50ee1911-8290-48bf-a7be-0bc0b380bd34", + "sort": null, + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T17:54:15.067Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T19:34:18.265Z", + "name": "HQ", + "address_type": "primary", + "address_line_1": "123 Main St", + "address_line_2": null, + "city": "Austin", + "state": "TX", + "postal_code": "55555", + "country": "US", + "organization": "77bef88e-368b-4e1e-ba48-d23397511c45", + "geo_location": null + }, + { + "id": "64106282-2b39-45f6-99a9-643de04103be", + "sort": null, + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T21:56:00.429Z", + "user_updated": null, + "date_updated": null, + "name": "Headquarters", + "address_type": "primary", + "address_line_1": "789 Sunshine Blvd", + "address_line_2": "Suite 300", + "city": "Phoenix", + "state": "AZ", + "postal_code": "85001", + "country": "US", + "organization": "682a0d80-2362-4340-bed9-92dbbd4f5672", + "geo_location": null + }, + { + "id": "fdecb0c7-0c95-43c3-9183-49d7e4f6e4b0", + "sort": null, + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T21:56:00.440Z", + "user_updated": null, + "date_updated": null, + "name": "Main Office", + "address_type": "primary", + "address_line_1": "456 Tech Park Drive", + "address_line_2": null, + "city": "San Jose", + "state": "CA", + "postal_code": "95110", + "country": "US", + "organization": "714d8285-8fcb-4139-b86f-72003dc80b6a", + "geo_location": null + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/content/organization_contacts.json b/simple-crm/directus/template/src/content/organization_contacts.json new file mode 100644 index 00000000..c725c4d1 --- /dev/null +++ b/simple-crm/directus/template/src/content/organization_contacts.json @@ -0,0 +1,20 @@ +[ + { + "id": "703f0579-81f9-48db-bd29-3a1d08acf12e", + "contact": "6589d027-6b41-4730-acf9-991644b1ffc1", + "organization": "714d8285-8fcb-4139-b86f-72003dc80b6a", + "sort": 1 + }, + { + "id": "79ce674d-a4ab-4582-842a-f7cb303eeebe", + "contact": "6fc88eba-a296-48f3-8756-3e00edc09372", + "organization": "77bef88e-368b-4e1e-ba48-d23397511c45", + "sort": null + }, + { + "id": "e5818095-d0ce-4ff8-8eb9-2bec4d56c8c3", + "contact": "19e91419-3afc-4e7c-9a72-069c82e25fb2", + "organization": "682a0d80-2362-4340-bed9-92dbbd4f5672", + "sort": 1 + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/content/organization_tags.json b/simple-crm/directus/template/src/content/organization_tags.json new file mode 100644 index 00000000..4a8ae4ce --- /dev/null +++ b/simple-crm/directus/template/src/content/organization_tags.json @@ -0,0 +1,8 @@ +[ + { + "id": "64c12353-a15c-4464-b316-f3eb0a6d7d78", + "organization": "77bef88e-368b-4e1e-ba48-d23397511c45", + "tag": "a24f3ea2-35d6-4557-9ba6-3a0908ca56c9", + "sort": 1 + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/content/organizations.json b/simple-crm/directus/template/src/content/organizations.json new file mode 100644 index 00000000..019386b8 --- /dev/null +++ b/simple-crm/directus/template/src/content/organizations.json @@ -0,0 +1,171 @@ +[ + { + "id": "052711ed-09eb-4cdb-b83f-89be088ea209", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:07:04.000Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-11-04T17:22:51.179Z", + "name": "HealthPlus", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "logo": "d01d4ff6-c319-4e31-b574-aa84368d31e8", + "website": null, + "organization_notes": null, + "is_active": true, + "annual_revenue": null, + "number_of_employees": null, + "industry": "Healthcare", + "contacts": [], + "activities": [ + "12e04279-d87e-4975-8b48-c12a8d5c6a4d", + "63148609-8bed-4dfa-b030-124ad6195917", + "923e1791-f100-495f-b258-a18c01730b9b", + "d97f66eb-3cc5-4e77-9238-c298ba9a0a79" + ], + "deals": [ + "46cb7519-7328-4465-a44b-f8e8783aa78e" + ], + "addresses": [], + "tags": [] + }, + { + "id": "34111da1-efb4-4acf-a5d5-aa1f7be4be1d", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:07:17.423Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:28:42.232Z", + "name": "TechNova", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "logo": "17ac8a25-1ba0-4d92-90a1-2403a3107ce0", + "website": null, + "organization_notes": null, + "is_active": true, + "annual_revenue": null, + "number_of_employees": null, + "industry": null, + "contacts": [], + "activities": [ + "9d2b659b-1e84-4fa0-aa2a-d4e6d0135a60", + "f67a0834-5ce5-4212-a12a-2668d5b24587" + ], + "deals": [ + "862fae54-73b5-44e1-ba14-2c7dc1502d97" + ], + "addresses": [], + "tags": [] + }, + { + "id": "682a0d80-2362-4340-bed9-92dbbd4f5672", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T21:56:00.427Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:29:09.499Z", + "name": "SolarTech Inc.", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "logo": "079fb4b8-925e-4bd9-b674-76d517b94073", + "website": "https://solartechinc.com", + "organization_notes": "

Leading provider of solar energy solutions for commercial properties.

", + "is_active": true, + "annual_revenue": "$5mil - $10mil", + "number_of_employees": "100-500 employees", + "industry": null, + "contacts": [ + "e5818095-d0ce-4ff8-8eb9-2bec4d56c8c3" + ], + "activities": [ + "b2ced6d7-38a1-4308-bc91-4dac57076b31" + ], + "deals": [ + "731bf24b-6de4-4501-a6b1-252549aa034c" + ], + "addresses": [ + "64106282-2b39-45f6-99a9-643de04103be" + ], + "tags": [] + }, + { + "id": "714d8285-8fcb-4139-b86f-72003dc80b6a", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T21:56:00.438Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:33:59.835Z", + "name": "CloudNine Technologies", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "logo": "b742d3fe-952c-4215-bbe7-42fee88e992a", + "website": "https://cloudninetech.com", + "organization_notes": "

Innovative cloud computing solutions for enterprises.

", + "is_active": true, + "annual_revenue": "More than $10mil", + "number_of_employees": "More than 500 employees", + "industry": null, + "contacts": [ + "703f0579-81f9-48db-bd29-3a1d08acf12e" + ], + "activities": [ + "a69f01dc-f02f-48f7-ad21-6a8602a02e8b" + ], + "deals": [ + "703d4ce5-0069-4726-9418-32247bfe1f9e" + ], + "addresses": [ + "fdecb0c7-0c95-43c3-9183-49d7e4f6e4b0" + ], + "tags": [] + }, + { + "id": "77bef88e-368b-4e1e-ba48-d23397511c45", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T17:54:15.054Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T20:41:10.694Z", + "name": "Tezla", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "logo": "13cdfde4-bcc8-489e-ac86-d47698e684f8", + "website": "https://tesla.com", + "organization_notes": "

This company is going places...

", + "is_active": true, + "annual_revenue": "More than $10mil", + "number_of_employees": "More than 500 employees", + "industry": null, + "contacts": [ + "79ce674d-a4ab-4582-842a-f7cb303eeebe" + ], + "activities": [ + "6841aefc-e7fc-4c0e-b9a5-4f803ed280e5" + ], + "deals": [ + "5f3599bf-1947-4315-91c3-b01d11edc81a" + ], + "addresses": [ + "50ee1911-8290-48bf-a7be-0bc0b380bd34" + ], + "tags": [ + "64c12353-a15c-4464-b316-f3eb0a6d7d78" + ] + }, + { + "id": "8cbba979-f760-4155-ae3e-9262e38456bc", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_created": "2024-09-24T22:07:43.216Z", + "user_updated": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "date_updated": "2024-09-24T22:29:28.701Z", + "name": "GreenGrove Eco-Packaging", + "owner": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "logo": "604c60f9-1d3d-4a0d-be38-547f08391b1c", + "website": null, + "organization_notes": null, + "is_active": true, + "annual_revenue": null, + "number_of_employees": null, + "industry": null, + "contacts": [], + "activities": [ + "560799d2-6017-46d8-becb-4f0501fef95e", + "b61f7430-6500-4521-bead-2f9ea3535d5d" + ], + "deals": [ + "7bbc60c7-6cc6-460d-a767-2943038ef408" + ], + "addresses": [], + "tags": [] + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/content/tags.json b/simple-crm/directus/template/src/content/tags.json new file mode 100644 index 00000000..7be7fac1 --- /dev/null +++ b/simple-crm/directus/template/src/content/tags.json @@ -0,0 +1,18 @@ +[ + { + "id": "4e48ad3a-fc2f-4ea7-b757-b8e97d3112cb", + "name": "VIP", + "tag_collections": [ + "contacts" + ], + "color": "#3399FF" + }, + { + "id": "a24f3ea2-35d6-4557-9ba6-3a0908ca56c9", + "name": "Key Account", + "tag_collections": [ + "organizations" + ], + "color": "#E35169" + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/dashboards.json b/simple-crm/directus/template/src/dashboards.json new file mode 100644 index 00000000..c67281bc --- /dev/null +++ b/simple-crm/directus/template/src/dashboards.json @@ -0,0 +1,12 @@ +[ + { + "id": "f1bea1ac-2060-4edd-bc4d-a21f1776b340", + "name": "Sales Pipeline", + "icon": "view_kanban", + "note": "Dashboard for tracking sales performance", + "date_created": "2024-09-25T12:17:11.958Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "color": null, + "panels": null + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/extensions.json b/simple-crm/directus/template/src/extensions.json new file mode 100644 index 00000000..6dea5c7b --- /dev/null +++ b/simple-crm/directus/template/src/extensions.json @@ -0,0 +1,42 @@ +[ + { + "id": "c53d1496-ab3b-4a23-9b0c-9fb8ce85800f", + "bundle": null, + "meta": { + "enabled": true, + "id": "c53d1496-ab3b-4a23-9b0c-9fb8ce85800f", + "folder": "e77fd62a-c9f5-4937-b153-cf10d8d13264", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/e77fd62a-c9f5-4937-b153-cf10d8d13264", + "name": "@directus-labs/command-palette-module", + "version": "1.0.1", + "type": "module", + "entrypoint": "dist/index.js", + "host": "^11.0.0", + "local": true + } + }, + { + "id": "dab2c341-5ce5-42da-872f-40e596c4db16", + "bundle": null, + "meta": { + "enabled": true, + "id": "dab2c341-5ce5-42da-872f-40e596c4db16", + "folder": "9621987d-012d-475a-bd7f-e293cac7b077", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/9621987d-012d-475a-bd7f-e293cac7b077", + "name": "directus-extension-group-tabs-interface", + "version": "2.1.0", + "type": "interface", + "entrypoint": "dist/index.js", + "host": "^10.1.0", + "local": true + } + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/fields.json b/simple-crm/directus/template/src/fields.json new file mode 100644 index 00000000..644cdf44 --- /dev/null +++ b/simple-crm/directus/template/src/fields.json @@ -0,0 +1,5745 @@ +[ + { + "collection": "activities", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "activities", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activities", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "activities", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "activities", + "field": "user_created", + "special": [ + "user-created" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 2, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "activities", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activities", + "field": "date_created", + "special": [ + "date-created" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "activities", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "activities", + "field": "user_updated", + "special": [ + "user-updated" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "activities", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activities", + "field": "date_updated", + "special": [ + "date-updated" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "name", + "type": "string", + "schema": { + "name": "name", + "table": "activities", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activities", + "field": "name", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "owner", + "type": "uuid", + "schema": { + "name": "owner", + "table": "activities", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "activities", + "field": "owner", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "deal", + "type": "uuid", + "schema": { + "name": "deal", + "table": "activities", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "deals", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "activities", + "field": "deal", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{name}} • {{deal_stage}}" + }, + "display": "related-values", + "display_options": { + "template": "{{name}} • {{deal_stage}}" + }, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "organization", + "type": "uuid", + "schema": { + "name": "organization", + "table": "activities", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "activities", + "field": "organization", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{logo}} {{name}}" + }, + "display": "related-values", + "display_options": { + "template": "{{logo}} {{name}}" + }, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "activity_type", + "type": "string", + "schema": { + "name": "activity_type", + "table": "activities", + "data_type": "character varying", + "default_value": "call", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activities", + "field": "activity_type", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "$t:call", + "value": "call", + "icon": "call", + "color": "#3399FF" + }, + { + "text": "$t:meeting", + "value": "meeting", + "icon": "calendar_today", + "color": "#2ECDA7" + }, + { + "text": "$t:email", + "value": "email", + "icon": "send", + "color": "#FFA439" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "$t:call", + "value": "call", + "icon": "call", + "color": "#3399FF" + }, + { + "text": "$t:meeting", + "value": "meeting", + "icon": "calendar_today", + "color": "#2ECDA7" + }, + { + "text": "$t:email", + "value": "email", + "icon": "send", + "color": "#FFA439" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "activity_notes", + "type": "text", + "schema": { + "name": "activity_notes", + "table": "activities", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activities", + "field": "activity_notes", + "special": null, + "interface": "input-rich-text-html", + "options": null, + "display": "formatted-value", + "display_options": { + "format": true + }, + "readonly": false, + "hidden": false, + "sort": 17, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "start_date", + "type": "dateTime", + "schema": { + "name": "start_date", + "table": "activities", + "data_type": "timestamp without time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activities", + "field": "start_date", + "special": null, + "interface": "datetime", + "options": { + "use24": false + }, + "display": "datetime", + "display_options": { + "format": "short" + }, + "readonly": false, + "hidden": false, + "sort": 13, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "end_date", + "type": "dateTime", + "schema": { + "name": "end_date", + "table": "activities", + "data_type": "timestamp without time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activities", + "field": "end_date", + "special": null, + "interface": "datetime", + "options": { + "use24": false + }, + "display": "datetime", + "display_options": { + "format": "short" + }, + "readonly": false, + "hidden": false, + "sort": 14, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "location", + "type": "string", + "schema": { + "name": "location", + "table": "activities", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activities", + "field": "location", + "special": null, + "interface": "input", + "options": { + "iconLeft": "pin_drop" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 15, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "is_completed", + "type": "boolean", + "schema": { + "name": "is_completed", + "table": "activities", + "data_type": "boolean", + "default_value": false, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activities", + "field": "is_completed", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Completed" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 16, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "date_completed", + "type": "timestamp", + "schema": { + "name": "date_completed", + "table": "activities", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activities", + "field": "date_completed", + "special": null, + "interface": "datetime", + "options": { + "use24": false + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 18, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activity_contacts", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "activity_contacts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activity_contacts", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activity_contacts", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "activity_contacts", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "activity_contacts", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activity_contacts", + "field": "activity", + "type": "uuid", + "schema": { + "name": "activity", + "table": "activity_contacts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "activities", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "activity_contacts", + "field": "activity", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activity_contacts", + "field": "contact", + "type": "uuid", + "schema": { + "name": "contact", + "table": "activity_contacts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "contacts", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "activity_contacts", + "field": "contact", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 4, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contact_tags", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "contact_tags", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "contact_tags", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contact_tags", + "field": "contact", + "type": "uuid", + "schema": { + "name": "contact", + "table": "contact_tags", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "contacts", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "contact_tags", + "field": "contact", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contact_tags", + "field": "tag", + "type": "uuid", + "schema": { + "name": "tag", + "table": "contact_tags", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "tags", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "contact_tags", + "field": "tag", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contact_tags", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "contact_tags", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "contact_tags", + "field": "sort", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 4, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "contacts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "contacts", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "contacts", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "contacts", + "field": "date_created", + "special": [ + "date-created" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "contacts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "contacts", + "field": "user_updated", + "special": [ + "user-updated" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "contacts", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "contacts", + "field": "date_updated", + "special": [ + "date-updated" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "contacts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "contacts", + "field": "user_created", + "special": [ + "m2o", + "user-created" + ], + "interface": "select-dropdown-m2o", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "first_name", + "type": "string", + "schema": { + "name": "first_name", + "table": "contacts", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "contacts", + "field": "first_name", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "last_name", + "type": "string", + "schema": { + "name": "last_name", + "table": "contacts", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "contacts", + "field": "last_name", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "email", + "type": "string", + "schema": { + "name": "email", + "table": "contacts", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "contacts", + "field": "email", + "special": null, + "interface": "input", + "options": { + "iconLeft": "alternate_email" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "phone", + "type": "string", + "schema": { + "name": "phone", + "table": "contacts", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "contacts", + "field": "phone", + "special": null, + "interface": "input", + "options": { + "iconLeft": "phone_enabled" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "is_active", + "type": "boolean", + "schema": { + "name": "is_active", + "table": "contacts", + "data_type": "boolean", + "default_value": true, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "contacts", + "field": "is_active", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Active" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "contact_notes", + "type": "text", + "schema": { + "name": "contact_notes", + "table": "contacts", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "contacts", + "field": "contact_notes", + "special": null, + "interface": "input-rich-text-html", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_profile", + "validation": null, + "validation_message": null + } + }, + { + "collection": "deal_contacts", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "deal_contacts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deal_contacts", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deal_contacts", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "deal_contacts", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deal_contacts", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deal_contacts", + "field": "deal", + "type": "uuid", + "schema": { + "name": "deal", + "table": "deal_contacts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "deals", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "deal_contacts", + "field": "deal", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deal_contacts", + "field": "contact", + "type": "uuid", + "schema": { + "name": "contact", + "table": "deal_contacts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "contacts", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "deal_contacts", + "field": "contact", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 4, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deal_stages", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "deal_stages", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deal_stages", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deal_stages", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "deal_stages", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deal_stages", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deal_stages", + "field": "name", + "type": "string", + "schema": { + "name": "name", + "table": "deal_stages", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deal_stages", + "field": "name", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deal_stages", + "field": "color", + "type": "string", + "schema": { + "name": "color", + "table": "deal_stages", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deal_stages", + "field": "color", + "special": null, + "interface": "select-color", + "options": null, + "display": "color", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deal_stages", + "field": "icon", + "type": "string", + "schema": { + "name": "icon", + "table": "deal_stages", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deal_stages", + "field": "icon", + "special": null, + "interface": "select-icon", + "options": null, + "display": "icon", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deal_stages", + "field": "is_won", + "type": "boolean", + "schema": { + "name": "is_won", + "table": "deal_stages", + "data_type": "boolean", + "default_value": false, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deal_stages", + "field": "is_won", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Deal Won Stage" + }, + "display": "boolean", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "half", + "translations": null, + "note": "Does this stage mean the deal is won?", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deal_stages", + "field": "is_lost", + "type": "boolean", + "schema": { + "name": "is_lost", + "table": "deal_stages", + "data_type": "boolean", + "default_value": false, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deal_stages", + "field": "is_lost", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Deal Lost Stage" + }, + "display": "boolean", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": "Does this stage mean the deal is lost?", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "deals", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deals", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "deals", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "deals", + "field": "user_created", + "special": [ + "user-created" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 2, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "deals", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deals", + "field": "date_created", + "special": [ + "date-created" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "deals", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "deals", + "field": "user_updated", + "special": [ + "user-updated" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "deals", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deals", + "field": "date_updated", + "special": [ + "date-updated" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "name", + "type": "string", + "schema": { + "name": "name", + "table": "deals", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deals", + "field": "name", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "owner", + "type": "uuid", + "schema": { + "name": "owner", + "table": "deals", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "deals", + "field": "owner", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "organization", + "type": "uuid", + "schema": { + "name": "organization", + "table": "deals", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "deals", + "field": "organization", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{logo}} {{name}}" + }, + "display": "related-values", + "display_options": { + "template": "{{logo}} {{name}}" + }, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "deal_value", + "type": "integer", + "schema": { + "name": "deal_value", + "table": "deals", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deals", + "field": "deal_value", + "special": null, + "interface": "input", + "options": { + "iconLeft": "attach_money" + }, + "display": "formatted-value", + "display_options": { + "prefix": "$", + "format": true + }, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "deal_stage", + "type": "uuid", + "schema": { + "name": "deal_stage", + "table": "deals", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "deal_stages", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "deals", + "field": "deal_stage", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{color}} {{icon}} {{name}}" + }, + "display": "related-values", + "display_options": { + "template": "{{color}} {{icon}} {{name}}" + }, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "deal_notes", + "type": "text", + "schema": { + "name": "deal_notes", + "table": "deals", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deals", + "field": "deal_notes", + "special": null, + "interface": "input-rich-text-html", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 15, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "next_contact_date", + "type": "timestamp", + "schema": { + "name": "next_contact_date", + "table": "deals", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deals", + "field": "next_contact_date", + "special": null, + "interface": "datetime", + "options": { + "use24": false + }, + "display": "datetime", + "display_options": { + "format": "short" + }, + "readonly": false, + "hidden": false, + "sort": 13, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "expected_close_date", + "type": "timestamp", + "schema": { + "name": "expected_close_date", + "table": "deals", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "deals", + "field": "expected_close_date", + "special": null, + "interface": "datetime", + "options": { + "use24": false + }, + "display": "datetime", + "display_options": { + "format": "short", + "relative": true + }, + "readonly": false, + "hidden": false, + "sort": 14, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "directus_settings", + "field": "command_palette_settings", + "type": "json", + "schema": { + "name": "command_palette_settings", + "table": "directus_settings", + "data_type": "json", + "default_value": {}, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "directus_settings", + "field": "command_palette_settings", + "special": [ + "cast-json" + ], + "interface": "input-code", + "options": null, + "display": "raw", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "organization_addresses", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "organization_addresses", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "organization_addresses", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "user_created", + "special": [ + "user-created" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "organization_addresses", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "date_created", + "special": [ + "date-created" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "organization_addresses", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "user_updated", + "special": [ + "user-updated" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "organization_addresses", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "date_updated", + "special": [ + "date-updated" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "name", + "type": "string", + "schema": { + "name": "name", + "table": "organization_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "name", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "address_type", + "type": "string", + "schema": { + "name": "address_type", + "table": "organization_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "address_type", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "Primary", + "value": "primary", + "icon": "star" + }, + { + "text": "Shipping", + "value": "shipping", + "icon": "markunread_mailbox", + "color": null + }, + { + "text": "Billing", + "value": "billing", + "icon": "attach_money" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "Primary", + "value": "primary", + "icon": "star" + }, + { + "text": "Shipping", + "value": "shipping", + "icon": "markunread_mailbox", + "color": null + }, + { + "text": "Billing", + "value": "billing", + "icon": "attach_money" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "address_line_1", + "type": "string", + "schema": { + "name": "address_line_1", + "table": "organization_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "address_line_1", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "address_line_2", + "type": "string", + "schema": { + "name": "address_line_2", + "table": "organization_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "address_line_2", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "city", + "type": "string", + "schema": { + "name": "city", + "table": "organization_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "city", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "state", + "type": "string", + "schema": { + "name": "state", + "table": "organization_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "state", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "postal_code", + "type": "string", + "schema": { + "name": "postal_code", + "table": "organization_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "postal_code", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 13, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "country", + "type": "string", + "schema": { + "name": "country", + "table": "organization_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "country", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 14, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "organization", + "type": "uuid", + "schema": { + "name": "organization", + "table": "organization_addresses", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "organization", + "special": null, + "interface": "select-dropdown-m2o", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 16, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_addresses", + "field": "geo_location", + "type": "geometry", + "schema": { + "name": "geo_location", + "table": "organization_addresses", + "data_type": "GEOMETRY", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_addresses", + "field": "geo_location", + "special": [ + "geometry" + ], + "interface": "map", + "options": { + "defaultView": { + "center": { + "lng": 0, + "lat": 0 + }, + "zoom": 0, + "bearing": 0, + "pitch": 0 + }, + "geometryType": "Point" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 15, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_contacts", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "organization_contacts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_contacts", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_contacts", + "field": "contact", + "type": "uuid", + "schema": { + "name": "contact", + "table": "organization_contacts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "contacts", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "organization_contacts", + "field": "contact", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_contacts", + "field": "organization", + "type": "uuid", + "schema": { + "name": "organization", + "table": "organization_contacts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "organization_contacts", + "field": "organization", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_contacts", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "organization_contacts", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_contacts", + "field": "sort", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 4, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_tags", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "organization_tags", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_tags", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_tags", + "field": "organization", + "type": "uuid", + "schema": { + "name": "organization", + "table": "organization_tags", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "organization_tags", + "field": "organization", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_tags", + "field": "tag", + "type": "uuid", + "schema": { + "name": "tag", + "table": "organization_tags", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "tags", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "organization_tags", + "field": "tag", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organization_tags", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "organization_tags", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organization_tags", + "field": "sort", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 4, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "organizations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "organizations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "user_created", + "special": [ + "user-created" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "organizations", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "date_created", + "special": [ + "date-created" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "organizations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "user_updated", + "special": [ + "user-updated" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "organizations", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "date_updated", + "special": [ + "date-updated" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "name", + "type": "string", + "schema": { + "name": "name", + "table": "organizations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "name", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "owner", + "type": "uuid", + "schema": { + "name": "owner", + "table": "organizations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "owner", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "logo", + "type": "uuid", + "schema": { + "name": "logo", + "table": "organizations", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "logo", + "special": [ + "file" + ], + "interface": "file-image", + "options": { + "crop": false + }, + "display": "image", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_profile", + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "website", + "type": "string", + "schema": { + "name": "website", + "table": "organizations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "website", + "special": null, + "interface": "input", + "options": { + "iconLeft": "link" + }, + "display": "raw", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "organization_notes", + "type": "text", + "schema": { + "name": "organization_notes", + "table": "organizations", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "organization_notes", + "special": null, + "interface": "input-rich-text-html", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_profile", + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "is_active", + "type": "boolean", + "schema": { + "name": "is_active", + "table": "organizations", + "data_type": "boolean", + "default_value": true, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "is_active", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Active" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "annual_revenue", + "type": "string", + "schema": { + "name": "annual_revenue", + "table": "organizations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "annual_revenue", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "Less than $100k", + "value": "Less than $100k", + "color": "#D0EFFF" + }, + { + "text": "$100k - $250k", + "value": "$100k - $250k", + "color": "#A3DBFF" + }, + { + "text": "$250k - $500k", + "value": "$250k - $500k", + "color": "#76C7FF" + }, + { + "text": "$500k - $1mil", + "value": "$500k - $1mil", + "color": "#49B3FF" + }, + { + "text": "$1mil - $2mil", + "value": "$1mil - $2mil", + "color": "#1CA0FF" + }, + { + "text": "$2mil - $5mil", + "value": "$2mil - $5mil", + "color": "#008CFF" + }, + { + "text": "$5mil - $10mil", + "value": "$5mil - $10mil", + "color": "#0070CC" + }, + { + "text": "More than $10mil", + "value": "More than $10mil", + "color": "#005499" + } + ] + }, + "display": "labels", + "display_options": { + "format": false, + "choices": [ + { + "text": "Less than $100k", + "value": "Less than $100k", + "color": "#D0EFFF" + }, + { + "text": "$100k - $250k", + "value": "$100k - $250k", + "color": "#A3DBFF" + }, + { + "text": "$250k - $500k", + "value": "$250k - $500k", + "color": "#76C7FF" + }, + { + "text": "$500k - $1mil", + "value": "$500k - $1mil", + "color": "#49B3FF" + }, + { + "text": "$1mil - $2mil", + "value": "$1mil - $2mil", + "color": "#1CA0FF" + }, + { + "text": "$2mil - $5mil", + "value": "$2mil - $5mil", + "color": "#008CFF" + }, + { + "text": "$5mil - $10mil", + "value": "$5mil - $10mil", + "color": "#0070CC" + }, + { + "text": "More than $10mil", + "value": "More than $10mil", + "color": "#005499" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_profile", + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "number_of_employees", + "type": "string", + "schema": { + "name": "number_of_employees", + "table": "organizations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "number_of_employees", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "1-5 employees", + "value": "1-5 employees", + "color": "#E6E0F8" + }, + { + "text": "6-10 employees", + "value": "6-10 employees", + "color": "#D4C4F1" + }, + { + "text": "11-20 employees", + "value": "11-20 employees", + "color": "#C2A7EB" + }, + { + "text": "21-50 employees", + "value": "21-50 employees", + "color": "#B08AE5" + }, + { + "text": "51-100 employees", + "value": "51-100 employees", + "color": "#9E6DDF" + }, + { + "text": "101-200 employees", + "value": "101-200 employees", + "color": "#8C50D9" + }, + { + "text": "201-500 employees", + "value": "201-500 employees", + "color": "#7A33D3" + }, + { + "text": "More than 500 employees", + "value": "More than 500 employees", + "color": "#6816CC" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "1-5 employees", + "value": "1-5 employees", + "color": "#E6E0F8" + }, + { + "text": "6-10 employees", + "value": "6-10 employees", + "color": "#D4C4F1" + }, + { + "text": "11-20 employees", + "value": "11-20 employees", + "color": "#C2A7EB" + }, + { + "text": "21-50 employees", + "value": "21-50 employees", + "color": "#B08AE5" + }, + { + "text": "51-100 employees", + "value": "51-100 employees", + "color": "#9E6DDF" + }, + { + "text": "101-200 employees", + "value": "101-200 employees", + "color": "#8C50D9" + }, + { + "text": "201-500 employees", + "value": "201-500 employees", + "color": "#7A33D3" + }, + { + "text": "More than 500 employees", + "value": "More than 500 employees", + "color": "#6816CC" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_profile", + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "industry", + "type": "string", + "schema": { + "name": "industry", + "table": "organizations", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "organizations", + "field": "industry", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_profile", + "validation": null, + "validation_message": null + } + }, + { + "collection": "tags", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "tags", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "tags", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "tags", + "field": "name", + "type": "string", + "schema": { + "name": "name", + "table": "tags", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "tags", + "field": "name", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "tags", + "field": "tag_collections", + "type": "csv", + "schema": { + "name": "tag_collections", + "table": "tags", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "tags", + "field": "tag_collections", + "special": [ + "cast-csv" + ], + "interface": "select-multiple-checkbox", + "options": { + "choices": [ + { + "text": "$t:organizations", + "value": "organizations" + }, + { + "text": "$t:contacts", + "value": "contacts" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "$t:organizations", + "value": "organizations" + }, + { + "text": "$t:contacts", + "value": "contacts" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "tags", + "field": "color", + "type": "string", + "schema": { + "name": "color", + "table": "tags", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "tags", + "field": "color", + "special": null, + "interface": "select-color", + "options": null, + "display": "color", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "contacts", + "type": "alias", + "schema": null, + "meta": { + "collection": "organizations", + "field": "contacts", + "special": [ + "m2m" + ], + "interface": "list-m2m", + "options": { + "enableLink": true, + "template": "{{contact.first_name}} {{contact.last_name}} <{{contact.email}}>" + }, + "display": "related-values", + "display_options": { + "template": "{{contact.first_name}} {{contact.last_name}} <{{contact.email}}>" + }, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "organizations", + "type": "alias", + "schema": null, + "meta": { + "collection": "contacts", + "field": "organizations", + "special": [ + "m2m" + ], + "interface": "list-m2m", + "options": { + "enableLink": true, + "template": "{{organization.logo}} {{organization.name}}" + }, + "display": "related-values", + "display_options": { + "template": "{{organization.logo}} {{organization.name}}" + }, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "meta_tabs", + "type": "alias", + "schema": null, + "meta": { + "collection": "contacts", + "field": "meta_tabs", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-tabs", + "options": { + "fillWidth": true + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "activities", + "type": "alias", + "schema": null, + "meta": { + "collection": "organizations", + "field": "activities", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "enableLink": true, + "layout": "table", + "enableSearchFilter": true, + "sort": "start_date", + "fields": [ + "name", + "activity_type", + "start_date" + ] + }, + "display": "related-values", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "fill", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "contacts", + "type": "alias", + "schema": null, + "meta": { + "collection": "deals", + "field": "contacts", + "special": [ + "m2m" + ], + "interface": "list-m2m", + "options": { + "enableLink": true, + "filter": { + "_and": [ + { + "organizations": { + "organization": { + "_eq": "{{organization}}" + } + } + } + ] + } + }, + "display": "related-values", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "meta_profile", + "type": "alias", + "schema": null, + "meta": { + "collection": "contacts", + "field": "meta_profile", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-raw", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Profile" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "deals", + "type": "alias", + "schema": null, + "meta": { + "collection": "organizations", + "field": "deals", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "sort": "next_contact_date", + "enableLink": true, + "layout": "table", + "enableSearchFilter": true, + "fields": [ + "name", + "deal_value", + "expected_close_date", + "deal_stage" + ], + "filter": { + "_and": [ + { + "deal_stage": { + "name": { + "_ncontains": "Closed" + } + } + } + ] + } + }, + "display": "related-values", + "display_options": { + "template": "{{name}} • {{deal_stage}}" + }, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "fill", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "deals", + "type": "alias", + "schema": null, + "meta": { + "collection": "contacts", + "field": "deals", + "special": [ + "m2m" + ], + "interface": "list-m2m", + "options": { + "layout": "table", + "fields": [ + "deal.name", + "deal.owner", + "deal.deal_value", + "deal.deal_stage" + ] + }, + "display": "related-values", + "display_options": { + "template": "{{deal.name}} • {{deal.deal_stage}}" + }, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "fill", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "contacts", + "type": "alias", + "schema": null, + "meta": { + "collection": "activities", + "field": "contacts", + "special": [ + "m2m" + ], + "interface": "list-m2m", + "options": { + "enableLink": true, + "template": "{{contact.first_name}} {{contact.last_name}} <{{contact.email}}>" + }, + "display": "related-values", + "display_options": { + "template": "{{contact.first_name}} {{contact.last_name}} <{{contact.email}}>" + }, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "activities", + "type": "alias", + "schema": null, + "meta": { + "collection": "contacts", + "field": "activities", + "special": [ + "m2m" + ], + "interface": "list-m2m", + "options": { + "layout": "table", + "enableSearchFilter": true, + "enableLink": true, + "fields": [ + "activity.name", + "activity.activity_type", + "activity.start_date" + ] + }, + "display": "related-values", + "display_options": { + "template": "{{activity.name}} • {{activity.activity_type}} • {{activity.start_date}}" + }, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "fill", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "meta_profile", + "type": "alias", + "schema": null, + "meta": { + "collection": "organizations", + "field": "meta_profile", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-raw", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Profile" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "activities", + "type": "alias", + "schema": null, + "meta": { + "collection": "deals", + "field": "activities", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "enableLink": true, + "fields": [ + "name", + "activity_type", + "start_date" + ], + "sort": "start_date", + "filter": null, + "layout": "table", + "enableSearchFilter": true + }, + "display": "related-values", + "display_options": { + "template": "{{name}} • {{activity_type}} • {{start_date}}" + }, + "readonly": false, + "hidden": false, + "sort": 16, + "width": "fill", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "meta_tabs", + "type": "alias", + "schema": null, + "meta": { + "collection": "organizations", + "field": "meta_tabs", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-tabs", + "options": { + "fillWidth": true + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "addresses", + "type": "alias", + "schema": null, + "meta": { + "collection": "organizations", + "field": "addresses", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "sort": "sort", + "template": "{{name}} • {{address_line_1}}", + "enableLink": true + }, + "display": "related-values", + "display_options": { + "template": "{{name}} • {{address_line_1}}" + }, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "contacts", + "field": "tags", + "type": "alias", + "schema": null, + "meta": { + "collection": "contacts", + "field": "tags", + "special": [ + "m2m" + ], + "interface": "list-m2m", + "options": { + "enableLink": true, + "filter": { + "_and": [ + { + "tag_collections": { + "_eq": "contacts" + } + } + ] + } + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_profile", + "validation": null, + "validation_message": null + } + }, + { + "collection": "deals", + "field": "divider_deal", + "type": "alias", + "schema": null, + "meta": { + "collection": "deals", + "field": "divider_deal", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "inlineTitle": true, + "color": "#A2B5CD", + "icon": "calendar_today" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "activities", + "field": "divider_activity", + "type": "alias", + "schema": null, + "meta": { + "collection": "activities", + "field": "divider_activity", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "title": null, + "color": "#A2B5CD", + "icon": "info", + "inlineTitle": true + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "organizations", + "field": "tags", + "type": "alias", + "schema": null, + "meta": { + "collection": "organizations", + "field": "tags", + "special": [ + "m2m" + ], + "interface": "list-m2m", + "options": { + "enableLink": true, + "filter": { + "_and": [ + { + "tag_collections": { + "_contains": "organizations" + } + } + ] + }, + "template": "{{tag.color}} {{tag.name}}" + }, + "display": "related-values", + "display_options": { + "template": "{{tag.color}} {{tag.name}}" + }, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_profile", + "validation": null, + "validation_message": null + } + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/files.json b/simple-crm/directus/template/src/files.json new file mode 100644 index 00000000..39dbfcbe --- /dev/null +++ b/simple-crm/directus/template/src/files.json @@ -0,0 +1,198 @@ +[ + { + "id": "079fb4b8-925e-4bd9-b674-76d517b94073", + "storage": "cloud", + "filename_disk": "079fb4b8-925e-4bd9-b674-76d517b94073.webp", + "filename_download": "replicate-prediction-15mkdyhj7hrm60cj4rk80pt23w.webp", + "title": "Replicate Prediction 15mkdyhj7hrm60cj4rk80pt23w", + "type": "image/webp", + "folder": "6b7f8b65-885d-401f-914d-b3576cf357a3", + "uploaded_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "created_on": "2024-09-24T22:29:08.507Z", + "modified_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "modified_on": "2024-09-24T22:29:35.983Z", + "charset": null, + "filesize": "34014", + "width": 1024, + "height": 1024, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-24T22:29:08.521Z" + }, + { + "id": "13cdfde4-bcc8-489e-ac86-d47698e684f8", + "storage": "cloud", + "filename_disk": "13cdfde4-bcc8-489e-ac86-d47698e684f8.com", + "filename_download": "tesla.com", + "title": "Tesla.com", + "type": "image/png", + "folder": "6b7f8b65-885d-401f-914d-b3576cf357a3", + "uploaded_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "created_on": "2024-09-24T19:23:37.207Z", + "modified_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "modified_on": "2024-09-24T20:22:00.335Z", + "charset": null, + "filesize": "6223", + "width": 128, + "height": 128, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-24T19:23:37.231Z" + }, + { + "id": "17ac8a25-1ba0-4d92-90a1-2403a3107ce0", + "storage": "cloud", + "filename_disk": "17ac8a25-1ba0-4d92-90a1-2403a3107ce0.webp", + "filename_download": "replicate-prediction-ben49m4mj5rm20cj4rhtqg6dwr.webp", + "title": "Replicate Prediction Ben49m4mj5rm20cj4rhtqg6dwr", + "type": "image/webp", + "folder": "6b7f8b65-885d-401f-914d-b3576cf357a3", + "uploaded_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "created_on": "2024-09-24T22:28:40.852Z", + "modified_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "modified_on": "2024-09-24T22:29:35.983Z", + "charset": null, + "filesize": "9528", + "width": 1024, + "height": 1024, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-24T22:28:40.873Z" + }, + { + "id": "3ed710b0-1a72-4064-bd00-c6e534a291f6", + "storage": "cloud", + "filename_disk": "3ed710b0-1a72-4064-bd00-c6e534a291f6.png", + "filename_download": "1691871730624", + "title": "1691871730624", + "type": "image/png", + "folder": "6b7f8b65-885d-401f-914d-b3576cf357a3", + "uploaded_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "created_on": "2024-09-24T18:44:07.578Z", + "modified_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "modified_on": "2024-09-24T20:22:00.335Z", + "charset": null, + "filesize": "737488", + "width": 1280, + "height": 719, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-24T18:44:07.712Z" + }, + { + "id": "604c60f9-1d3d-4a0d-be38-547f08391b1c", + "storage": "cloud", + "filename_disk": "604c60f9-1d3d-4a0d-be38-547f08391b1c.webp", + "filename_download": "replicate-prediction-07sqf85929rm40cj4rjtd28550.webp", + "title": "Replicate Prediction 07sqf85929rm40cj4rjtd28550", + "type": "image/webp", + "folder": "6b7f8b65-885d-401f-914d-b3576cf357a3", + "uploaded_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "created_on": "2024-09-24T22:29:27.473Z", + "modified_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "modified_on": "2024-09-24T22:29:35.983Z", + "charset": null, + "filesize": "16816", + "width": 1024, + "height": 1024, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-24T22:29:27.491Z" + }, + { + "id": "b742d3fe-952c-4215-bbe7-42fee88e992a", + "storage": "cloud", + "filename_disk": "b742d3fe-952c-4215-bbe7-42fee88e992a.webp", + "filename_download": "replicate-prediction-y5zf1zwq7srm00cj4rj8wkn27m.webp", + "title": "Replicate Prediction Y5zf1zwq7srm00cj4rj8wkn27m", + "type": "image/webp", + "folder": "6b7f8b65-885d-401f-914d-b3576cf357a3", + "uploaded_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "created_on": "2024-09-24T22:29:17.083Z", + "modified_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "modified_on": "2024-09-24T22:29:35.983Z", + "charset": null, + "filesize": "17126", + "width": 1024, + "height": 1024, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-24T22:29:17.102Z" + }, + { + "id": "d01d4ff6-c319-4e31-b574-aa84368d31e8", + "storage": "cloud", + "filename_disk": "d01d4ff6-c319-4e31-b574-aa84368d31e8.webp", + "filename_download": "replicate-prediction-pn43nxj6q9rm60cj4rhrr734sc.webp", + "title": "Replicate Prediction Pn43nxj6q9rm60cj4rhrr734sc", + "type": "image/webp", + "folder": "6b7f8b65-885d-401f-914d-b3576cf357a3", + "uploaded_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "created_on": "2024-09-24T22:28:30.061Z", + "modified_by": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "modified_on": "2024-09-24T22:29:35.983Z", + "charset": null, + "filesize": "11880", + "width": 1024, + "height": 1024, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-24T22:28:30.097Z" + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/flows.json b/simple-crm/directus/template/src/flows.json new file mode 100644 index 00000000..970ce325 --- /dev/null +++ b/simple-crm/directus/template/src/flows.json @@ -0,0 +1,181 @@ +[ + { + "id": "395d7d3e-7b59-4e27-b074-879c69b65736", + "name": "New Activity", + "icon": "playlist_add_check", + "color": null, + "description": "Quickly create a new activity for a contact, deal, or organization", + "status": "active", + "trigger": "manual", + "accountability": "all", + "options": { + "collections": [ + "deals", + "organizations", + "contacts" + ], + "requireConfirmation": true, + "confirmationDescription": "Create New Activity", + "fields": [ + { + "field": "name", + "type": "string", + "name": "Name", + "meta": { + "interface": "input", + "note": "Label for this activity", + "width": "full", + "required": true, + "options": { + "trim": true + } + } + }, + { + "field": "activity_type", + "type": "string", + "name": "Activity Type", + "meta": { + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "$t:call", + "value": "call", + "icon": "call", + "color": "#3399FF" + }, + { + "text": "$t:meeting", + "value": "meeting", + "icon": "calendar_today", + "color": "#2ECDA7" + }, + { + "text": "$t:email", + "value": "email", + "icon": "send", + "color": "#FFA439" + } + ] + }, + "width": "half", + "note": "What kind of activity?", + "required": true + } + }, + { + "field": "start_date", + "type": "timestamp", + "name": "Start Date", + "meta": { + "interface": "datetime", + "note": "When should this start or be completed?", + "width": "half", + "required": true, + "options": { + "use24": false + } + } + }, + { + "field": "activity_notes", + "type": "text", + "name": "Activity Notes", + "meta": { + "interface": "input-rich-text-html", + "note": "Do you have any important comments or notes about this activity?", + "width": "full" + } + }, + { + "field": "is_completed", + "type": "boolean", + "name": "Completed", + "meta": { + "interface": "boolean", + "note": "Has this activity already been done? (ie logging a call)", + "width": "full", + "options": { + "label": "Completed" + }, + "required": false + } + } + ] + }, + "operation": "c29d4e82-c607-4ea2-9272-582de40c5660", + "date_created": "2024-09-24T19:28:17.169Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "operations": null + }, + { + "id": "e18e75d2-06b3-4252-b5f6-d0aad2d960e8", + "name": "Send Email", + "icon": "send", + "color": null, + "description": "Quickly send an email to a specific contact or all contacts tied to a deal.", + "status": "active", + "trigger": "manual", + "accountability": "all", + "options": { + "collections": [ + "contacts", + "deals" + ], + "requireConfirmation": true, + "fields": [ + { + "field": "to", + "type": "csv", + "name": "To", + "meta": { + "interface": "tags", + "note": "Add an address and press enter to save. Note:Will default to the contact email if left blank.", + "width": "full", + "required": true + } + }, + { + "field": "subject", + "type": "string", + "name": "Subject", + "meta": { + "interface": "input", + "width": "full", + "required": true + } + }, + { + "field": "body", + "type": "text", + "name": "Body", + "meta": { + "interface": "input-rich-text-html", + "required": true, + "options": { + "toolbar": [ + "bold", + "italic", + "h2", + "numlist", + "bullist", + "removeformat", + "blockquote", + "customLink", + "customImage", + "hr", + "code" + ] + } + } + } + ], + "confirmationDescription": "Send An Email" + }, + "operation": null, + "date_created": "2024-09-24T20:12:53.445Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "operations": null + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/folders.json b/simple-crm/directus/template/src/folders.json new file mode 100644 index 00000000..a9199272 --- /dev/null +++ b/simple-crm/directus/template/src/folders.json @@ -0,0 +1,7 @@ +[ + { + "id": "6b7f8b65-885d-401f-914d-b3576cf357a3", + "name": "Uploads", + "parent": null + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/operations.json b/simple-crm/directus/template/src/operations.json new file mode 100644 index 00000000..6d91adae --- /dev/null +++ b/simple-crm/directus/template/src/operations.json @@ -0,0 +1,35 @@ +[ + { + "id": "0bd6c898-6bec-49c6-bf8c-3f411ab71e89", + "name": "Create Activity", + "key": "create_activity", + "type": "item-create", + "position_x": 37, + "position_y": 1, + "options": { + "collection": "activities", + "payload": "{{format_activity}}" + }, + "resolve": null, + "reject": null, + "flow": "395d7d3e-7b59-4e27-b074-879c69b65736", + "date_created": "2024-09-25T11:52:46.962Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3" + }, + { + "id": "c29d4e82-c607-4ea2-9272-582de40c5660", + "name": "Format Activity", + "key": "format_activity", + "type": "exec", + "position_x": 19, + "position_y": 1, + "options": { + "code": "/* \n This function takes accepts a Directus Flow data object and formats it into a proper activity object.\n @param {object} data - The Directus Flow data object\n @returns {object} - The formatted activity object\n*/\nfunction formatActivity(data) {\n const trigger = data.$trigger;\n const acct = data.$accountability;\n\n const {\n activity_type,\n start_date,\n name,\n activity_notes,\n is_completed,\n collection,\n keys,\n } = trigger.body;\n\n // Default the owner of the activity to the user who created the activity\n const owner = acct.user;\n\n const formattedActivity = {\n activity_type,\n start_date,\n name,\n activity_notes,\n is_completed,\n owner,\n };\n\n switch (collection) {\n case \"contacts\":\n // Contacts is a many to many relationship, so we need to format the keys as an array of objects\n formattedActivity.contacts = keys.map((key) => ({ contact: key }));\n break;\n case \"organizations\":\n formattedActivity.organization = keys[0];\n break;\n case \"deals\":\n formattedActivity.deal = keys[0];\n break;\n default:\n throw new Error(`Unsupported collection type: ${collection}`);\n }\n\n return formattedActivity;\n}\n\nmodule.exports = function (data) {\n return formatActivity(data);\n};\n" + }, + "resolve": "0bd6c898-6bec-49c6-bf8c-3f411ab71e89", + "reject": null, + "flow": "395d7d3e-7b59-4e27-b074-879c69b65736", + "date_created": "2024-09-25T11:50:16.517Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3" + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/panels.json b/simple-crm/directus/template/src/panels.json new file mode 100644 index 00000000..37f50a46 --- /dev/null +++ b/simple-crm/directus/template/src/panels.json @@ -0,0 +1,192 @@ +[ + { + "id": "4ab5bda5-4cdf-46e1-920e-e4a2f8b3e209", + "dashboard": "f1bea1ac-2060-4edd-bc4d-a21f1776b340", + "name": null, + "icon": null, + "color": null, + "show_header": false, + "note": null, + "type": "label", + "position_x": 1, + "position_y": 26, + "width": 32, + "height": 3, + "options": { + "text": "Open Deals" + }, + "date_created": "2024-09-25T12:25:29.989Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3" + }, + { + "id": "53273f43-c5f1-4430-a17f-57afc9691915", + "dashboard": "f1bea1ac-2060-4edd-bc4d-a21f1776b340", + "name": "Percentage of Goal ($500k)", + "icon": "percent", + "color": null, + "show_header": true, + "note": null, + "type": "meter", + "position_x": 17, + "position_y": 8, + "width": 16, + "height": 13, + "options": { + "collection": "deals", + "field": "deal_value", + "fn": "sum", + "max": 500000, + "filter": { + "_and": [ + { + "deal_stage": { + "is_won": { + "_eq": true + } + } + } + ] + } + }, + "date_created": "2024-09-25T12:19:02.979Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3" + }, + { + "id": "78f4323c-3721-4ec4-9e7c-11f3f260e991", + "dashboard": "f1bea1ac-2060-4edd-bc4d-a21f1776b340", + "name": null, + "icon": null, + "color": null, + "show_header": false, + "note": null, + "type": "label", + "position_x": 1, + "position_y": 5, + "width": 32, + "height": 3, + "options": { + "text": "Sales Performance" + }, + "date_created": "2024-09-25T12:19:02.973Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3" + }, + { + "id": "8ecb0b8f-808a-412c-b685-98c01d3246dc", + "dashboard": "f1bea1ac-2060-4edd-bc4d-a21f1776b340", + "name": "Won Deals ($)", + "icon": "check_circle", + "color": null, + "show_header": true, + "note": null, + "type": "metric", + "position_x": 1, + "position_y": 8, + "width": 16, + "height": 13, + "options": { + "collection": "deals", + "field": "deal_value", + "function": "sum", + "sortField": "id", + "filter": { + "_and": [ + { + "deal_stage": { + "is_won": { + "_eq": true + } + } + } + ] + }, + "prefix": "$ ", + "unit": "," + }, + "date_created": "2024-09-25T12:19:38.423Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3" + }, + { + "id": "b4fa60f6-059e-4b77-811b-f700b6a82ed1", + "dashboard": "f1bea1ac-2060-4edd-bc4d-a21f1776b340", + "name": "Open Deal Value", + "icon": "attach_money", + "color": null, + "show_header": true, + "note": null, + "type": "metric-list", + "position_x": 1, + "position_y": 45, + "width": 32, + "height": 16, + "options": { + "collection": "deals", + "limit": 100, + "groupByField": "name", + "aggregateField": "deal_value", + "aggregateFunction": "sum", + "filter": { + "_and": [ + { + "deal_stage": { + "is_won": { + "_neq": true + } + } + }, + { + "deal_stage": { + "is_lost": { + "_neq": true + } + } + } + ] + }, + "prefix": "$ " + }, + "date_created": "2024-09-25T12:29:05.441Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3" + }, + { + "id": "d8a77e05-eee5-453c-a979-e65eb63ef4d3", + "dashboard": "f1bea1ac-2060-4edd-bc4d-a21f1776b340", + "name": "Open Deals", + "icon": "downloading", + "color": null, + "show_header": true, + "note": null, + "type": "list", + "position_x": 1, + "position_y": 29, + "width": 32, + "height": 16, + "options": { + "collection": "deals", + "limit": 100, + "linkToItem": true, + "displayTemplate": "{{name}} • {{deal_stage}} • Expected close {{expected_close_date}}", + "sortField": "expected_close_date", + "sortDirection": "asc", + "filter": { + "_and": [ + { + "deal_stage": { + "is_won": { + "_neq": true + } + } + }, + { + "deal_stage": { + "is_lost": { + "_neq": true + } + } + } + ] + } + }, + "date_created": "2024-09-25T12:25:29.980Z", + "user_created": "b9c003ce-e839-463a-99da-b98fc33ef4f3" + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/permissions.json b/simple-crm/directus/template/src/permissions.json new file mode 100644 index 00000000..0637a088 --- /dev/null +++ b/simple-crm/directus/template/src/permissions.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/simple-crm/directus/template/src/policies.json b/simple-crm/directus/template/src/policies.json new file mode 100644 index 00000000..015152d4 --- /dev/null +++ b/simple-crm/directus/template/src/policies.json @@ -0,0 +1,22 @@ +[ + { + "id": "abf8a154-5b1c-4a46-ac9c-7300570f4f17", + "name": "$t:public_label", + "icon": "public", + "description": "$t:public_description", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false + }, + { + "id": "b8d5840c-59d7-40e8-b788-ad7131d5e20a", + "name": "Administrator", + "icon": "verified", + "description": "$t:admin_description", + "ip_access": null, + "enforce_tfa": false, + "admin_access": true, + "app_access": true + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/presets.json b/simple-crm/directus/template/src/presets.json new file mode 100644 index 00000000..d100ced6 --- /dev/null +++ b/simple-crm/directus/template/src/presets.json @@ -0,0 +1,479 @@ +[ + { + "bookmark": null, + "user": null, + "role": null, + "collection": "contacts", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "first_name", + "last_name", + "email", + "phone", + "organizations" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "first_name": 123.7578125, + "last_name": 143.00390625, + "email": 274.296875 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "organizations", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "logo", + "name", + "contacts", + "deals", + "addresses", + "owner", + "tags" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "logo": 56.13671875, + "name": 202.7109375 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "deal_stages", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "color", + "icon", + "name" + ], + "sort": [ + "sort" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "color": 32, + "icon": 32, + "name": 222.51953125 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "deals", + "search": null, + "layout": "tabular", + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "name", + "deal_stage", + "deal_value", + "owner", + "expected_close_date" + ], + "sort": [ + "expected_close_date" + ] + } + }, + "layout_options": { + "kanban": { + "groupField": "deal_stage", + "groupTitle": "name", + "dateField": "next_contact_date", + "crop": false, + "userField": "owner", + "showUngrouped": false + }, + "tabular": { + "widths": { + "name": 275.328125, + "deal_stage": 213.3671875, + "expected_close_date": 192.921875 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "activities", + "search": null, + "layout": "tabular", + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "name", + "activity_type", + "organization", + "start_date", + "contacts", + "deal", + "owner", + "is_completed" + ] + }, + "editable-layout": { + "fields": [ + "name", + "due_date", + "activity_notes", + "activity_type" + ], + "sort": [ + "-due_date" + ], + "page": 1 + } + }, + "layout_options": { + "editable-layout": { + "widths": { + "due_date": 170.92578125 + } + }, + "tabular": { + "widths": { + "name": 235.76953125, + "activity_type": 143.11328125, + "start_date": 207.00390625, + "deal": 251.37890625 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "tags", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "color", + "name", + "tag_collections" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "color": 38.30859375 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "directus_files", + "search": null, + "layout": "cards", + "layout_query": { + "cards": { + "sort": [ + "-uploaded_on" + ], + "page": 1 + } + }, + "layout_options": { + "cards": { + "icon": "insert_drive_file", + "title": "{{ title }}", + "subtitle": "{{ type }} • {{ filesize }}", + "size": 4, + "imageFit": "crop" + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": "1. My Pipeline", + "user": null, + "role": null, + "collection": "deals", + "search": null, + "layout": "kanban", + "layout_query": { + "kanban": { + "page": 1 + } + }, + "layout_options": { + "kanban": { + "groupField": "deal_stage", + "groupTitle": "name", + "dateField": "next_contact_date", + "crop": false, + "userField": "owner", + "showUngrouped": false, + "textField": null + } + }, + "refresh_interval": null, + "filter": { + "_and": [ + { + "owner": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "icon": "view_kanban", + "color": "var(--theme--foreground-subdued)" + }, + { + "bookmark": "1. My Next 7 Days", + "user": null, + "role": null, + "collection": "activities", + "search": null, + "layout": "tabular", + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "name", + "activity_type", + "deal", + "owner" + ] + }, + "editable-layout": { + "fields": [ + "name", + "due_date", + "activity_notes", + "activity_type" + ], + "sort": [ + "-due_date" + ], + "page": 1 + } + }, + "layout_options": { + "editable-layout": { + "widths": { + "due_date": 170.92578125 + } + }, + "tabular": { + "widths": { + "name": 348.12109375 + } + } + }, + "refresh_interval": null, + "filter": { + "_and": [ + { + "is_completed": { + "_eq": false + } + }, + { + "start_date": { + "_lte": "$NOW(+7d)" + } + } + ] + }, + "icon": "auto_schedule", + "color": "var(--theme--foreground-subdued)" + }, + { + "bookmark": "1. My Accounts", + "user": null, + "role": null, + "collection": "organizations", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "name", + "contacts", + "addresses", + "owner", + "tags" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "tags.tag": 454.125 + } + } + }, + "refresh_interval": null, + "filter": { + "_and": [ + { + "owner": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "icon": "store", + "color": "var(--theme--foreground-subdued)" + }, + { + "bookmark": "1. My Contacts", + "user": null, + "role": null, + "collection": "contacts", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1 + } + }, + "layout_options": null, + "refresh_interval": null, + "filter": { + "_and": [ + { + "organizations": { + "organization": { + "owner": { + "_eq": "$CURRENT_USER" + } + } + } + } + ] + }, + "icon": "supervised_user_circle", + "color": "var(--theme--foreground-subdued)" + }, + { + "bookmark": "2. Completed", + "user": null, + "role": null, + "collection": "activities", + "search": null, + "layout": "tabular", + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "name", + "activity_type", + "deal", + "owner" + ] + }, + "editable-layout": { + "fields": [ + "name", + "due_date", + "activity_notes", + "activity_type" + ], + "sort": [ + "-due_date" + ], + "page": 1 + } + }, + "layout_options": { + "editable-layout": { + "widths": { + "due_date": 170.92578125 + } + }, + "tabular": { + "widths": { + "name": 348.12109375 + } + } + }, + "refresh_interval": null, + "filter": { + "_and": [ + { + "is_completed": { + "_eq": true + } + } + ] + }, + "icon": "flag_circle", + "color": "var(--theme--foreground-subdued)" + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/relations.json b/simple-crm/directus/template/src/relations.json new file mode 100644 index 00000000..df177937 --- /dev/null +++ b/simple-crm/directus/template/src/relations.json @@ -0,0 +1,756 @@ +[ + { + "collection": "organizations", + "field": "logo", + "related_collection": "directus_files", + "schema": { + "constraint_name": "organizations_logo_foreign", + "table": "organizations", + "column": "logo", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "organizations", + "many_field": "logo", + "one_collection": "directus_files", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "organizations", + "field": "user_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "organizations_user_created_foreign", + "table": "organizations", + "column": "user_created", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "organizations", + "many_field": "user_created", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "organizations", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "organizations_user_updated_foreign", + "table": "organizations", + "column": "user_updated", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "organizations", + "many_field": "user_updated", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "organizations", + "field": "owner", + "related_collection": "directus_users", + "schema": { + "constraint_name": "organizations_owner_foreign", + "table": "organizations", + "column": "owner", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "organizations", + "many_field": "owner", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "deals", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "deals_user_updated_foreign", + "table": "deals", + "column": "user_updated", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "deals", + "many_field": "user_updated", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "deals", + "field": "user_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "deals_user_created_foreign", + "table": "deals", + "column": "user_created", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "deals", + "many_field": "user_created", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "deals", + "field": "owner", + "related_collection": "directus_users", + "schema": { + "constraint_name": "deals_owner_foreign", + "table": "deals", + "column": "owner", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "deals", + "many_field": "owner", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "contacts", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "contacts_user_updated_foreign", + "table": "contacts", + "column": "user_updated", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "contacts", + "many_field": "user_updated", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "contacts", + "field": "user_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "contacts_user_created_foreign", + "table": "contacts", + "column": "user_created", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "contacts", + "many_field": "user_created", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "activities", + "field": "user_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "activities_user_created_foreign", + "table": "activities", + "column": "user_created", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "activities", + "many_field": "user_created", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "activities", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "activities_user_updated_foreign", + "table": "activities", + "column": "user_updated", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "activities", + "many_field": "user_updated", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "activities", + "field": "owner", + "related_collection": "directus_users", + "schema": { + "constraint_name": "activities_owner_foreign", + "table": "activities", + "column": "owner", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "activities", + "many_field": "owner", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "organization_addresses", + "field": "user_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "organization_addresses_user_created_foreign", + "table": "organization_addresses", + "column": "user_created", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "organization_addresses", + "many_field": "user_created", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "organization_addresses", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "organization_addresses_user_updated_foreign", + "table": "organization_addresses", + "column": "user_updated", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "organization_addresses", + "many_field": "user_updated", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "activity_contacts", + "field": "activity", + "related_collection": "activities", + "schema": { + "constraint_name": "activity_contacts_activity_foreign", + "table": "activity_contacts", + "column": "activity", + "foreign_key_schema": "public", + "foreign_key_table": "activities", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "activity_contacts", + "many_field": "activity", + "one_collection": "activities", + "one_field": "contacts", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "contact", + "sort_field": null, + "one_deselect_action": "delete" + } + }, + { + "collection": "contact_tags", + "field": "contact", + "related_collection": "contacts", + "schema": { + "constraint_name": "contact_tags_contact_foreign", + "table": "contact_tags", + "column": "contact", + "foreign_key_schema": "public", + "foreign_key_table": "contacts", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "contact_tags", + "many_field": "contact", + "one_collection": "contacts", + "one_field": "tags", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "tag", + "sort_field": "sort", + "one_deselect_action": "delete" + } + }, + { + "collection": "deal_contacts", + "field": "contact", + "related_collection": "contacts", + "schema": { + "constraint_name": "deal_contacts_contact_foreign", + "table": "deal_contacts", + "column": "contact", + "foreign_key_schema": "public", + "foreign_key_table": "contacts", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "deal_contacts", + "many_field": "contact", + "one_collection": "contacts", + "one_field": "deals", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "deal", + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "organization_contacts", + "field": "contact", + "related_collection": "contacts", + "schema": { + "constraint_name": "organization_contacts_contact_foreign", + "table": "organization_contacts", + "column": "contact", + "foreign_key_schema": "public", + "foreign_key_table": "contacts", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "organization_contacts", + "many_field": "contact", + "one_collection": "contacts", + "one_field": "organizations", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "organization", + "sort_field": "sort", + "one_deselect_action": "delete" + } + }, + { + "collection": "activity_contacts", + "field": "contact", + "related_collection": "contacts", + "schema": { + "constraint_name": "activity_contacts_contact_foreign", + "table": "activity_contacts", + "column": "contact", + "foreign_key_schema": "public", + "foreign_key_table": "contacts", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "activity_contacts", + "many_field": "contact", + "one_collection": "contacts", + "one_field": "activities", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "activity", + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "deals", + "field": "deal_stage", + "related_collection": "deal_stages", + "schema": { + "constraint_name": "deals_deal_stage_foreign", + "table": "deals", + "column": "deal_stage", + "foreign_key_schema": "public", + "foreign_key_table": "deal_stages", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "deals", + "many_field": "deal_stage", + "one_collection": "deal_stages", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "activities", + "field": "deal", + "related_collection": "deals", + "schema": { + "constraint_name": "activities_deal_foreign", + "table": "activities", + "column": "deal", + "foreign_key_schema": "public", + "foreign_key_table": "deals", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "activities", + "many_field": "deal", + "one_collection": "deals", + "one_field": "activities", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "deal_contacts", + "field": "deal", + "related_collection": "deals", + "schema": { + "constraint_name": "deal_contacts_deal_foreign", + "table": "deal_contacts", + "column": "deal", + "foreign_key_schema": "public", + "foreign_key_table": "deals", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "deal_contacts", + "many_field": "deal", + "one_collection": "deals", + "one_field": "contacts", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "contact", + "sort_field": "sort", + "one_deselect_action": "delete" + } + }, + { + "collection": "organization_tags", + "field": "organization", + "related_collection": "organizations", + "schema": { + "constraint_name": "organization_tags_organization_foreign", + "table": "organization_tags", + "column": "organization", + "foreign_key_schema": "public", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "organization_tags", + "many_field": "organization", + "one_collection": "organizations", + "one_field": "tags", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "tag", + "sort_field": "sort", + "one_deselect_action": "delete" + } + }, + { + "collection": "deals", + "field": "organization", + "related_collection": "organizations", + "schema": { + "constraint_name": "deals_organization_foreign", + "table": "deals", + "column": "organization", + "foreign_key_schema": "public", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "deals", + "many_field": "organization", + "one_collection": "organizations", + "one_field": "deals", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "activities", + "field": "organization", + "related_collection": "organizations", + "schema": { + "constraint_name": "activities_organization_foreign", + "table": "activities", + "column": "organization", + "foreign_key_schema": "public", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "activities", + "many_field": "organization", + "one_collection": "organizations", + "one_field": "activities", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "organization_contacts", + "field": "organization", + "related_collection": "organizations", + "schema": { + "constraint_name": "organization_contacts_organization_foreign", + "table": "organization_contacts", + "column": "organization", + "foreign_key_schema": "public", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "organization_contacts", + "many_field": "organization", + "one_collection": "organizations", + "one_field": "contacts", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "contact", + "sort_field": "sort", + "one_deselect_action": "nullify" + } + }, + { + "collection": "organization_addresses", + "field": "organization", + "related_collection": "organizations", + "schema": { + "constraint_name": "organization_addresses_organization_foreign", + "table": "organization_addresses", + "column": "organization", + "foreign_key_schema": "public", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "organization_addresses", + "many_field": "organization", + "one_collection": "organizations", + "one_field": "addresses", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": "sort", + "one_deselect_action": "nullify" + } + }, + { + "collection": "organization_tags", + "field": "tag", + "related_collection": "tags", + "schema": { + "constraint_name": "organization_tags_tag_foreign", + "table": "organization_tags", + "column": "tag", + "foreign_key_schema": "public", + "foreign_key_table": "tags", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "organization_tags", + "many_field": "tag", + "one_collection": "tags", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "organization", + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "contact_tags", + "field": "tag", + "related_collection": "tags", + "schema": { + "constraint_name": "contact_tags_tag_foreign", + "table": "contact_tags", + "column": "tag", + "foreign_key_schema": "public", + "foreign_key_table": "tags", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "contact_tags", + "many_field": "tag", + "one_collection": "tags", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "contact", + "sort_field": null, + "one_deselect_action": "nullify" + } + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/roles.json b/simple-crm/directus/template/src/roles.json new file mode 100644 index 00000000..5c00fadb --- /dev/null +++ b/simple-crm/directus/template/src/roles.json @@ -0,0 +1,12 @@ +[ + { + "id": "b4e8ed16-5db1-4d0e-85bc-54ffd79248c8", + "name": "Administrator", + "icon": "verified", + "description": "$t:admin_description", + "parent": null, + "children": null, + "policies": null, + "users": null + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/schema/snapshot.json b/simple-crm/directus/template/src/schema/snapshot.json new file mode 100644 index 00000000..f8a5e1d9 --- /dev/null +++ b/simple-crm/directus/template/src/schema/snapshot.json @@ -0,0 +1,6653 @@ +{ + "version": 1, + "directus": "11.2.2", + "vendor": "postgres", + "collections": [ + { + "collection": "activities", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "activities", + "color": null, + "display_template": "{{name}} • {{activity_type}} • {{start_date}}", + "group": "crm", + "hidden": false, + "icon": "playlist_add_check", + "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": "activities" + } + }, + { + "collection": "activity_contacts", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "activity_contacts", + "color": null, + "display_template": null, + "group": "activities", + "hidden": true, + "icon": null, + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": "sort", + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "activity_contacts" + } + }, + { + "collection": "contact_tags", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "contact_tags", + "color": null, + "display_template": null, + "group": "contacts", + "hidden": true, + "icon": null, + "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": "contact_tags" + } + }, + { + "collection": "contacts", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": "is_active", + "archive_value": "false", + "collapse": "open", + "collection": "contacts", + "color": null, + "display_template": "{{first_name}} {{last_name}} <{{email}}>", + "group": "crm", + "hidden": false, + "icon": "emoji_people", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 2, + "sort_field": null, + "translations": null, + "unarchive_value": "true", + "versioning": false + }, + "schema": { + "name": "contacts" + } + }, + { + "collection": "crm", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "crm", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "view_kanban", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "translation": "CRM" + } + ], + "unarchive_value": null, + "versioning": false + } + }, + { + "collection": "crm_settings", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "crm_settings", + "color": null, + "display_template": null, + "group": "crm", + "hidden": false, + "icon": "perm_data_setting", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 5, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "translation": "CRM Settings" + } + ], + "unarchive_value": null, + "versioning": false + } + }, + { + "collection": "deal_contacts", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "deal_contacts", + "color": null, + "display_template": null, + "group": "deals", + "hidden": true, + "icon": null, + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": "sort", + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "deal_contacts" + } + }, + { + "collection": "deal_stages", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "deal_stages", + "color": null, + "display_template": "{{color}} {{icon}} {{name}}", + "group": "crm_settings", + "hidden": false, + "icon": "flag", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 2, + "sort_field": "sort", + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "deal_stages" + } + }, + { + "collection": "deals", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "deals", + "color": null, + "display_template": "{{name}} • {{deal_stage}}", + "group": "crm", + "hidden": false, + "icon": "handshake", + "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": "deals" + } + }, + { + "collection": "organization_addresses", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "organization_addresses", + "color": null, + "display_template": null, + "group": "organizations", + "hidden": true, + "icon": null, + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 2, + "sort_field": "sort", + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "organization_addresses" + } + }, + { + "collection": "organization_contacts", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "organization_contacts", + "color": null, + "display_template": null, + "group": "organizations", + "hidden": true, + "icon": null, + "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": "organization_contacts" + } + }, + { + "collection": "organization_tags", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "organization_tags", + "color": null, + "display_template": null, + "group": "organizations", + "hidden": true, + "icon": null, + "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": "organization_tags" + } + }, + { + "collection": "organizations", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": "is_active", + "archive_value": "false", + "collapse": "open", + "collection": "organizations", + "color": null, + "display_template": "{{logo}} {{name}}", + "group": "crm", + "hidden": false, + "icon": "storefront", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": null, + "unarchive_value": "true", + "versioning": false + }, + "schema": { + "name": "organizations" + } + }, + { + "collection": "tags", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "tags", + "color": null, + "display_template": "{{color}} {{name}}", + "group": "crm_settings", + "hidden": false, + "icon": "tag", + "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": "tags" + } + } + ], + "fields": [ + { + "collection": "activities", + "field": "id", + "type": "uuid", + "meta": { + "collection": "activities", + "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": "activities", + "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 + } + }, + { + "collection": "activities", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "activities", + "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": "activities", + "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" + } + }, + { + "collection": "activities", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "activities", + "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": "activities", + "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 + } + }, + { + "collection": "activities", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "activities", + "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": "activities", + "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" + } + }, + { + "collection": "activities", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "activities", + "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": "activities", + "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 + } + }, + { + "collection": "activities", + "field": "name", + "type": "string", + "meta": { + "collection": "activities", + "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": "half" + }, + "schema": { + "name": "name", + "table": "activities", + "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 + } + }, + { + "collection": "activities", + "field": "owner", + "type": "uuid", + "meta": { + "collection": "activities", + "conditions": null, + "display": "user", + "display_options": null, + "field": "owner", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "owner", + "table": "activities", + "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" + } + }, + { + "collection": "activities", + "field": "deal", + "type": "uuid", + "meta": { + "collection": "activities", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{name}} • {{deal_stage}}" + }, + "field": "deal", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{name}} • {{deal_stage}}" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "deal", + "table": "activities", + "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": "deals", + "foreign_key_column": "id" + } + }, + { + "collection": "activities", + "field": "organization", + "type": "uuid", + "meta": { + "collection": "activities", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{logo}} {{name}}" + }, + "field": "organization", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{logo}} {{name}}" + }, + "readonly": false, + "required": false, + "sort": 10, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "organization", + "table": "activities", + "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": "organizations", + "foreign_key_column": "id" + } + }, + { + "collection": "activities", + "field": "activity_type", + "type": "string", + "meta": { + "collection": "activities", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "color": "#3399FF", + "icon": "call", + "text": "$t:call", + "value": "call" + }, + { + "color": "#2ECDA7", + "icon": "calendar_today", + "text": "$t:meeting", + "value": "meeting" + }, + { + "color": "#FFA439", + "icon": "send", + "text": "$t:email", + "value": "email" + } + ] + }, + "field": "activity_type", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "color": "#3399FF", + "icon": "call", + "text": "$t:call", + "value": "call" + }, + { + "color": "#2ECDA7", + "icon": "calendar_today", + "text": "$t:meeting", + "value": "meeting" + }, + { + "color": "#FFA439", + "icon": "send", + "text": "$t:email", + "value": "email" + } + ] + }, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "activity_type", + "table": "activities", + "data_type": "character varying", + "default_value": "call", + "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 + } + }, + { + "collection": "activities", + "field": "activity_notes", + "type": "text", + "meta": { + "collection": "activities", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true + }, + "field": "activity_notes", + "group": null, + "hidden": false, + "interface": "input-rich-text-html", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 17, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "activity_notes", + "table": "activities", + "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 + } + }, + { + "collection": "activities", + "field": "contacts", + "type": "alias", + "meta": { + "collection": "activities", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{contact.first_name}} {{contact.last_name}} <{{contact.email}}>" + }, + "field": "contacts", + "group": null, + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "enableLink": true, + "template": "{{contact.first_name}} {{contact.last_name}} <{{contact.email}}>" + }, + "readonly": false, + "required": false, + "sort": 11, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + } + }, + { + "collection": "activities", + "field": "start_date", + "type": "dateTime", + "meta": { + "collection": "activities", + "conditions": null, + "display": "datetime", + "display_options": { + "format": "short" + }, + "field": "start_date", + "group": null, + "hidden": false, + "interface": "datetime", + "note": null, + "options": { + "use24": false + }, + "readonly": false, + "required": false, + "sort": 13, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "start_date", + "table": "activities", + "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 + } + }, + { + "collection": "activities", + "field": "end_date", + "type": "dateTime", + "meta": { + "collection": "activities", + "conditions": null, + "display": "datetime", + "display_options": { + "format": "short" + }, + "field": "end_date", + "group": null, + "hidden": false, + "interface": "datetime", + "note": null, + "options": { + "use24": false + }, + "readonly": false, + "required": false, + "sort": 14, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "end_date", + "table": "activities", + "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 + } + }, + { + "collection": "activities", + "field": "location", + "type": "string", + "meta": { + "collection": "activities", + "conditions": null, + "display": null, + "display_options": null, + "field": "location", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "iconLeft": "pin_drop" + }, + "readonly": false, + "required": false, + "sort": 15, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "location", + "table": "activities", + "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 + } + }, + { + "collection": "activities", + "field": "is_completed", + "type": "boolean", + "meta": { + "collection": "activities", + "conditions": null, + "display": null, + "display_options": null, + "field": "is_completed", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": { + "label": "Completed" + }, + "readonly": false, + "required": false, + "sort": 16, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "is_completed", + "table": "activities", + "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 + } + }, + { + "collection": "activities", + "field": "date_completed", + "type": "timestamp", + "meta": { + "collection": "activities", + "conditions": null, + "display": null, + "display_options": null, + "field": "date_completed", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": { + "use24": false + }, + "readonly": false, + "required": false, + "sort": 18, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_completed", + "table": "activities", + "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 + } + }, + { + "collection": "activities", + "field": "divider_activity", + "type": "alias", + "meta": { + "collection": "activities", + "conditions": null, + "display": null, + "display_options": null, + "field": "divider_activity", + "group": null, + "hidden": false, + "interface": "presentation-divider", + "note": null, + "options": { + "color": "#A2B5CD", + "icon": "info", + "inlineTitle": true, + "title": null + }, + "readonly": false, + "required": false, + "sort": 12, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "activity_contacts", + "field": "id", + "type": "uuid", + "meta": { + "collection": "activity_contacts", + "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": "activity_contacts", + "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 + } + }, + { + "collection": "activity_contacts", + "field": "sort", + "type": "integer", + "meta": { + "collection": "activity_contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "activity_contacts", + "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 + } + }, + { + "collection": "activity_contacts", + "field": "activity", + "type": "uuid", + "meta": { + "collection": "activity_contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "activity", + "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": "activity", + "table": "activity_contacts", + "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": "activities", + "foreign_key_column": "id" + } + }, + { + "collection": "activity_contacts", + "field": "contact", + "type": "uuid", + "meta": { + "collection": "activity_contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "contact", + "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": "contact", + "table": "activity_contacts", + "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": "contacts", + "foreign_key_column": "id" + } + }, + { + "collection": "contact_tags", + "field": "id", + "type": "uuid", + "meta": { + "collection": "contact_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": "contact_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 + } + }, + { + "collection": "contact_tags", + "field": "contact", + "type": "uuid", + "meta": { + "collection": "contact_tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "contact", + "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": "contact", + "table": "contact_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": "contacts", + "foreign_key_column": "id" + } + }, + { + "collection": "contact_tags", + "field": "tag", + "type": "uuid", + "meta": { + "collection": "contact_tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "tag", + "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": "tag", + "table": "contact_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" + } + }, + { + "collection": "contact_tags", + "field": "sort", + "type": "integer", + "meta": { + "collection": "contact_tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "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": "sort", + "table": "contact_tags", + "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 + } + }, + { + "collection": "contacts", + "field": "id", + "type": "uuid", + "meta": { + "collection": "contacts", + "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": "contacts", + "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 + } + }, + { + "collection": "contacts", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "contacts", + "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": "contacts", + "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 + } + }, + { + "collection": "contacts", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "contacts", + "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": "contacts", + "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" + } + }, + { + "collection": "contacts", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "contacts", + "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": "contacts", + "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 + } + }, + { + "collection": "contacts", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "user_created", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 6, + "special": [ + "m2o", + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "contacts", + "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" + } + }, + { + "collection": "contacts", + "field": "first_name", + "type": "string", + "meta": { + "collection": "contacts", + "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": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "first_name", + "table": "contacts", + "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 + } + }, + { + "collection": "contacts", + "field": "last_name", + "type": "string", + "meta": { + "collection": "contacts", + "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": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "last_name", + "table": "contacts", + "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 + } + }, + { + "collection": "contacts", + "field": "email", + "type": "string", + "meta": { + "collection": "contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "email", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "iconLeft": "alternate_email" + }, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "email", + "table": "contacts", + "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 + } + }, + { + "collection": "contacts", + "field": "phone", + "type": "string", + "meta": { + "collection": "contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "phone", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "iconLeft": "phone_enabled" + }, + "readonly": false, + "required": false, + "sort": 10, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "phone", + "table": "contacts", + "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 + } + }, + { + "collection": "contacts", + "field": "organizations", + "type": "alias", + "meta": { + "collection": "contacts", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{organization.logo}} {{organization.name}}" + }, + "field": "organizations", + "group": null, + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "enableLink": true, + "template": "{{organization.logo}} {{organization.name}}" + }, + "readonly": false, + "required": false, + "sort": 11, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "contacts", + "field": "is_active", + "type": "boolean", + "meta": { + "collection": "contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "is_active", + "group": null, + "hidden": true, + "interface": "boolean", + "note": null, + "options": { + "label": "Active" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "is_active", + "table": "contacts", + "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 + } + }, + { + "collection": "contacts", + "field": "activities", + "type": "alias", + "meta": { + "collection": "contacts", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{activity.name}} • {{activity.activity_type}} • {{activity.start_date}}" + }, + "field": "activities", + "group": "meta_tabs", + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "enableLink": true, + "enableSearchFilter": true, + "fields": [ + "activity.name", + "activity.activity_type", + "activity.start_date" + ], + "layout": "table" + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "fill" + } + }, + { + "collection": "contacts", + "field": "deals", + "type": "alias", + "meta": { + "collection": "contacts", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{deal.name}} • {{deal.deal_stage}}" + }, + "field": "deals", + "group": "meta_tabs", + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "fields": [ + "deal.name", + "deal.owner", + "deal.deal_value", + "deal.deal_stage" + ], + "layout": "table" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "fill" + } + }, + { + "collection": "contacts", + "field": "meta_tabs", + "type": "alias", + "meta": { + "collection": "contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_tabs", + "group": null, + "hidden": false, + "interface": "group-tabs", + "note": null, + "options": { + "fillWidth": true + }, + "readonly": false, + "required": false, + "sort": 12, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "contacts", + "field": "contact_notes", + "type": "text", + "meta": { + "collection": "contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "contact_notes", + "group": "meta_profile", + "hidden": false, + "interface": "input-rich-text-html", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "contact_notes", + "table": "contacts", + "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 + } + }, + { + "collection": "contacts", + "field": "meta_profile", + "type": "alias", + "meta": { + "collection": "contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_profile", + "group": "meta_tabs", + "hidden": false, + "interface": "group-raw", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "Profile" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "contacts", + "field": "tags", + "type": "alias", + "meta": { + "collection": "contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "tags", + "group": "meta_profile", + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "enableLink": true, + "filter": { + "_and": [ + { + "tag_collections": { + "_eq": "contacts" + } + } + ] + } + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "deal_contacts", + "field": "id", + "type": "uuid", + "meta": { + "collection": "deal_contacts", + "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": "deal_contacts", + "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 + } + }, + { + "collection": "deal_contacts", + "field": "sort", + "type": "integer", + "meta": { + "collection": "deal_contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "deal_contacts", + "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 + } + }, + { + "collection": "deal_contacts", + "field": "deal", + "type": "uuid", + "meta": { + "collection": "deal_contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "deal", + "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": "deal", + "table": "deal_contacts", + "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": "deals", + "foreign_key_column": "id" + } + }, + { + "collection": "deal_contacts", + "field": "contact", + "type": "uuid", + "meta": { + "collection": "deal_contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "contact", + "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": "contact", + "table": "deal_contacts", + "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": "contacts", + "foreign_key_column": "id" + } + }, + { + "collection": "deal_stages", + "field": "id", + "type": "uuid", + "meta": { + "collection": "deal_stages", + "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": "deal_stages", + "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 + } + }, + { + "collection": "deal_stages", + "field": "sort", + "type": "integer", + "meta": { + "collection": "deal_stages", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "deal_stages", + "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 + } + }, + { + "collection": "deal_stages", + "field": "name", + "type": "string", + "meta": { + "collection": "deal_stages", + "conditions": null, + "display": null, + "display_options": null, + "field": "name", + "group": null, + "hidden": false, + "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": "name", + "table": "deal_stages", + "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 + } + }, + { + "collection": "deal_stages", + "field": "color", + "type": "string", + "meta": { + "collection": "deal_stages", + "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": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "color", + "table": "deal_stages", + "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 + } + }, + { + "collection": "deal_stages", + "field": "icon", + "type": "string", + "meta": { + "collection": "deal_stages", + "conditions": null, + "display": "icon", + "display_options": null, + "field": "icon", + "group": null, + "hidden": false, + "interface": "select-icon", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "icon", + "table": "deal_stages", + "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 + } + }, + { + "collection": "deal_stages", + "field": "is_won", + "type": "boolean", + "meta": { + "collection": "deal_stages", + "conditions": null, + "display": "boolean", + "display_options": null, + "field": "is_won", + "group": null, + "hidden": false, + "interface": "boolean", + "note": "Does this stage mean the deal is won?", + "options": { + "label": "Deal Won Stage" + }, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "is_won", + "table": "deal_stages", + "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 + } + }, + { + "collection": "deal_stages", + "field": "is_lost", + "type": "boolean", + "meta": { + "collection": "deal_stages", + "conditions": null, + "display": "boolean", + "display_options": null, + "field": "is_lost", + "group": null, + "hidden": false, + "interface": "boolean", + "note": "Does this stage mean the deal is lost?", + "options": { + "label": "Deal Lost Stage" + }, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "is_lost", + "table": "deal_stages", + "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 + } + }, + { + "collection": "deals", + "field": "id", + "type": "uuid", + "meta": { + "collection": "deals", + "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": "deals", + "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 + } + }, + { + "collection": "deals", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "deals", + "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": "deals", + "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" + } + }, + { + "collection": "deals", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "deals", + "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": "deals", + "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 + } + }, + { + "collection": "deals", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "deals", + "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": "deals", + "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" + } + }, + { + "collection": "deals", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "deals", + "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": "deals", + "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 + } + }, + { + "collection": "deals", + "field": "name", + "type": "string", + "meta": { + "collection": "deals", + "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": "half" + }, + "schema": { + "name": "name", + "table": "deals", + "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 + } + }, + { + "collection": "deals", + "field": "owner", + "type": "uuid", + "meta": { + "collection": "deals", + "conditions": null, + "display": "user", + "display_options": null, + "field": "owner", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "owner", + "table": "deals", + "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" + } + }, + { + "collection": "deals", + "field": "organization", + "type": "uuid", + "meta": { + "collection": "deals", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{logo}} {{name}}" + }, + "field": "organization", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{logo}} {{name}}" + }, + "readonly": false, + "required": false, + "sort": 10, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "organization", + "table": "deals", + "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": "organizations", + "foreign_key_column": "id" + } + }, + { + "collection": "deals", + "field": "deal_value", + "type": "integer", + "meta": { + "collection": "deals", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "field": "deal_value", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "iconLeft": "attach_money" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "deal_value", + "table": "deals", + "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 + } + }, + { + "collection": "deals", + "field": "deal_stage", + "type": "uuid", + "meta": { + "collection": "deals", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{color}} {{icon}} {{name}}" + }, + "field": "deal_stage", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{color}} {{icon}} {{name}}" + }, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "deal_stage", + "table": "deals", + "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": "deal_stages", + "foreign_key_column": "id" + } + }, + { + "collection": "deals", + "field": "deal_notes", + "type": "text", + "meta": { + "collection": "deals", + "conditions": null, + "display": null, + "display_options": null, + "field": "deal_notes", + "group": null, + "hidden": false, + "interface": "input-rich-text-html", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 15, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "deal_notes", + "table": "deals", + "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 + } + }, + { + "collection": "deals", + "field": "next_contact_date", + "type": "timestamp", + "meta": { + "collection": "deals", + "conditions": null, + "display": "datetime", + "display_options": { + "format": "short" + }, + "field": "next_contact_date", + "group": null, + "hidden": false, + "interface": "datetime", + "note": null, + "options": { + "use24": false + }, + "readonly": false, + "required": false, + "sort": 13, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "next_contact_date", + "table": "deals", + "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 + } + }, + { + "collection": "deals", + "field": "activities", + "type": "alias", + "meta": { + "collection": "deals", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{name}} • {{activity_type}} • {{start_date}}" + }, + "field": "activities", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": null, + "options": { + "enableLink": true, + "enableSearchFilter": true, + "fields": [ + "name", + "activity_type", + "start_date" + ], + "filter": null, + "layout": "table", + "sort": "start_date" + }, + "readonly": false, + "required": false, + "sort": 16, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "fill" + } + }, + { + "collection": "deals", + "field": "contacts", + "type": "alias", + "meta": { + "collection": "deals", + "conditions": null, + "display": "related-values", + "display_options": null, + "field": "contacts", + "group": null, + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "enableLink": true, + "filter": { + "_and": [ + { + "organizations": { + "organization": { + "_eq": "{{organization}}" + } + } + } + ] + } + }, + "readonly": false, + "required": false, + "sort": 11, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + } + }, + { + "collection": "deals", + "field": "expected_close_date", + "type": "timestamp", + "meta": { + "collection": "deals", + "conditions": null, + "display": "datetime", + "display_options": { + "format": "short", + "relative": true + }, + "field": "expected_close_date", + "group": null, + "hidden": false, + "interface": "datetime", + "note": null, + "options": { + "use24": false + }, + "readonly": false, + "required": false, + "sort": 14, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "expected_close_date", + "table": "deals", + "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 + } + }, + { + "collection": "deals", + "field": "divider_deal", + "type": "alias", + "meta": { + "collection": "deals", + "conditions": null, + "display": null, + "display_options": null, + "field": "divider_deal", + "group": null, + "hidden": false, + "interface": "presentation-divider", + "note": null, + "options": { + "color": "#A2B5CD", + "icon": "calendar_today", + "inlineTitle": true + }, + "readonly": false, + "required": false, + "sort": 12, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "directus_settings", + "field": "command_palette_settings", + "type": "json", + "meta": { + "collection": "directus_settings", + "conditions": null, + "display": "raw", + "display_options": null, + "field": "command_palette_settings", + "group": null, + "hidden": false, + "interface": "input-code", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "command_palette_settings", + "table": "directus_settings", + "data_type": "json", + "default_value": {}, + "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 + } + }, + { + "collection": "organization_addresses", + "field": "id", + "type": "uuid", + "meta": { + "collection": "organization_addresses", + "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": "organization_addresses", + "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 + } + }, + { + "collection": "organization_addresses", + "field": "sort", + "type": "integer", + "meta": { + "collection": "organization_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "organization_addresses", + "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 + } + }, + { + "collection": "organization_addresses", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "organization_addresses", + "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": 3, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "organization_addresses", + "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" + } + }, + { + "collection": "organization_addresses", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "organization_addresses", + "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": 4, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "organization_addresses", + "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 + } + }, + { + "collection": "organization_addresses", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "organization_addresses", + "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": 5, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "organization_addresses", + "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" + } + }, + { + "collection": "organization_addresses", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "organization_addresses", + "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": 6, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "organization_addresses", + "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 + } + }, + { + "collection": "organization_addresses", + "field": "name", + "type": "string", + "meta": { + "collection": "organization_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "name", + "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": "half" + }, + "schema": { + "name": "name", + "table": "organization_addresses", + "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 + } + }, + { + "collection": "organization_addresses", + "field": "address_type", + "type": "string", + "meta": { + "collection": "organization_addresses", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "icon": "star", + "text": "Primary", + "value": "primary" + }, + { + "color": null, + "icon": "markunread_mailbox", + "text": "Shipping", + "value": "shipping" + }, + { + "icon": "attach_money", + "text": "Billing", + "value": "billing" + } + ] + }, + "field": "address_type", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "icon": "star", + "text": "Primary", + "value": "primary" + }, + { + "color": null, + "icon": "markunread_mailbox", + "text": "Shipping", + "value": "shipping" + }, + { + "icon": "attach_money", + "text": "Billing", + "value": "billing" + } + ] + }, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "address_type", + "table": "organization_addresses", + "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 + } + }, + { + "collection": "organization_addresses", + "field": "address_line_1", + "type": "string", + "meta": { + "collection": "organization_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "address_line_1", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "address_line_1", + "table": "organization_addresses", + "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 + } + }, + { + "collection": "organization_addresses", + "field": "address_line_2", + "type": "string", + "meta": { + "collection": "organization_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "address_line_2", + "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": "half" + }, + "schema": { + "name": "address_line_2", + "table": "organization_addresses", + "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 + } + }, + { + "collection": "organization_addresses", + "field": "city", + "type": "string", + "meta": { + "collection": "organization_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "city", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 11, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "city", + "table": "organization_addresses", + "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 + } + }, + { + "collection": "organization_addresses", + "field": "state", + "type": "string", + "meta": { + "collection": "organization_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "state", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 12, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "state", + "table": "organization_addresses", + "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 + } + }, + { + "collection": "organization_addresses", + "field": "postal_code", + "type": "string", + "meta": { + "collection": "organization_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "postal_code", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 13, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "postal_code", + "table": "organization_addresses", + "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 + } + }, + { + "collection": "organization_addresses", + "field": "country", + "type": "string", + "meta": { + "collection": "organization_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "country", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 14, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "country", + "table": "organization_addresses", + "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 + } + }, + { + "collection": "organization_addresses", + "field": "organization", + "type": "uuid", + "meta": { + "collection": "organization_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "organization", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 16, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "organization", + "table": "organization_addresses", + "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": "organizations", + "foreign_key_column": "id" + } + }, + { + "collection": "organization_addresses", + "field": "geo_location", + "type": "geometry", + "meta": { + "collection": "organization_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "geo_location", + "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": 15, + "special": [ + "geometry" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "geo_location", + "table": "organization_addresses", + "data_type": "GEOMETRY", + "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 + } + }, + { + "collection": "organization_contacts", + "field": "id", + "type": "uuid", + "meta": { + "collection": "organization_contacts", + "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": "organization_contacts", + "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 + } + }, + { + "collection": "organization_contacts", + "field": "contact", + "type": "uuid", + "meta": { + "collection": "organization_contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "contact", + "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": "contact", + "table": "organization_contacts", + "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": "contacts", + "foreign_key_column": "id" + } + }, + { + "collection": "organization_contacts", + "field": "organization", + "type": "uuid", + "meta": { + "collection": "organization_contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "organization", + "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": "organization", + "table": "organization_contacts", + "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": "organizations", + "foreign_key_column": "id" + } + }, + { + "collection": "organization_contacts", + "field": "sort", + "type": "integer", + "meta": { + "collection": "organization_contacts", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "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": "sort", + "table": "organization_contacts", + "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 + } + }, + { + "collection": "organization_tags", + "field": "id", + "type": "uuid", + "meta": { + "collection": "organization_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": "organization_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 + } + }, + { + "collection": "organization_tags", + "field": "organization", + "type": "uuid", + "meta": { + "collection": "organization_tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "organization", + "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": "organization", + "table": "organization_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": "organizations", + "foreign_key_column": "id" + } + }, + { + "collection": "organization_tags", + "field": "tag", + "type": "uuid", + "meta": { + "collection": "organization_tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "tag", + "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": "tag", + "table": "organization_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" + } + }, + { + "collection": "organization_tags", + "field": "sort", + "type": "integer", + "meta": { + "collection": "organization_tags", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "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": "sort", + "table": "organization_tags", + "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 + } + }, + { + "collection": "organizations", + "field": "id", + "type": "uuid", + "meta": { + "collection": "organizations", + "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": "organizations", + "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 + } + }, + { + "collection": "organizations", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "organizations", + "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": 3, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "organizations", + "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" + } + }, + { + "collection": "organizations", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "organizations", + "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": 4, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "organizations", + "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 + } + }, + { + "collection": "organizations", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "organizations", + "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": 5, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "organizations", + "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" + } + }, + { + "collection": "organizations", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "organizations", + "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": 6, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "organizations", + "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 + } + }, + { + "collection": "organizations", + "field": "name", + "type": "string", + "meta": { + "collection": "organizations", + "conditions": null, + "display": null, + "display_options": null, + "field": "name", + "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": "half" + }, + "schema": { + "name": "name", + "table": "organizations", + "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 + } + }, + { + "collection": "organizations", + "field": "owner", + "type": "uuid", + "meta": { + "collection": "organizations", + "conditions": null, + "display": "user", + "display_options": null, + "field": "owner", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{avatar}} {{first_name}} {{last_name}}" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "owner", + "table": "organizations", + "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" + } + }, + { + "collection": "organizations", + "field": "logo", + "type": "uuid", + "meta": { + "collection": "organizations", + "conditions": null, + "display": "image", + "display_options": null, + "field": "logo", + "group": "meta_profile", + "hidden": false, + "interface": "file-image", + "note": null, + "options": { + "crop": false + }, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "logo", + "table": "organizations", + "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" + } + }, + { + "collection": "organizations", + "field": "contacts", + "type": "alias", + "meta": { + "collection": "organizations", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{contact.first_name}} {{contact.last_name}} <{{contact.email}}>" + }, + "field": "contacts", + "group": null, + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "enableLink": true, + "template": "{{contact.first_name}} {{contact.last_name}} <{{contact.email}}>" + }, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + } + }, + { + "collection": "organizations", + "field": "website", + "type": "string", + "meta": { + "collection": "organizations", + "conditions": null, + "display": "raw", + "display_options": null, + "field": "website", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "iconLeft": "link" + }, + "readonly": false, + "required": false, + "sort": 11, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "website", + "table": "organizations", + "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 + } + }, + { + "collection": "organizations", + "field": "organization_notes", + "type": "text", + "meta": { + "collection": "organizations", + "conditions": null, + "display": null, + "display_options": null, + "field": "organization_notes", + "group": "meta_profile", + "hidden": false, + "interface": "input-rich-text-html", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "organization_notes", + "table": "organizations", + "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 + } + }, + { + "collection": "organizations", + "field": "addresses", + "type": "alias", + "meta": { + "collection": "organizations", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{name}} • {{address_line_1}}" + }, + "field": "addresses", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": null, + "options": { + "enableLink": true, + "sort": "sort", + "template": "{{name}} • {{address_line_1}}" + }, + "readonly": false, + "required": false, + "sort": 10, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + } + }, + { + "collection": "organizations", + "field": "meta_tabs", + "type": "alias", + "meta": { + "collection": "organizations", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_tabs", + "group": null, + "hidden": false, + "interface": "group-tabs", + "note": null, + "options": { + "fillWidth": true + }, + "readonly": false, + "required": false, + "sort": 12, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "organizations", + "field": "is_active", + "type": "boolean", + "meta": { + "collection": "organizations", + "conditions": null, + "display": null, + "display_options": null, + "field": "is_active", + "group": null, + "hidden": true, + "interface": "boolean", + "note": null, + "options": { + "label": "Active" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "is_active", + "table": "organizations", + "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 + } + }, + { + "collection": "organizations", + "field": "meta_profile", + "type": "alias", + "meta": { + "collection": "organizations", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_profile", + "group": "meta_tabs", + "hidden": false, + "interface": "group-raw", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "Profile" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "organizations", + "field": "deals", + "type": "alias", + "meta": { + "collection": "organizations", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{name}} • {{deal_stage}}" + }, + "field": "deals", + "group": "meta_tabs", + "hidden": false, + "interface": "list-o2m", + "note": null, + "options": { + "enableLink": true, + "enableSearchFilter": true, + "fields": [ + "name", + "deal_value", + "expected_close_date", + "deal_stage" + ], + "filter": { + "_and": [ + { + "deal_stage": { + "name": { + "_ncontains": "Closed" + } + } + } + ] + }, + "layout": "table", + "sort": "next_contact_date" + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "fill" + } + }, + { + "collection": "organizations", + "field": "activities", + "type": "alias", + "meta": { + "collection": "organizations", + "conditions": null, + "display": "related-values", + "display_options": null, + "field": "activities", + "group": "meta_tabs", + "hidden": false, + "interface": "list-o2m", + "note": null, + "options": { + "enableLink": true, + "enableSearchFilter": true, + "fields": [ + "name", + "activity_type", + "start_date" + ], + "layout": "table", + "sort": "start_date" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "fill" + } + }, + { + "collection": "organizations", + "field": "annual_revenue", + "type": "string", + "meta": { + "collection": "organizations", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "color": "#D0EFFF", + "text": "Less than $100k", + "value": "Less than $100k" + }, + { + "color": "#A3DBFF", + "text": "$100k - $250k", + "value": "$100k - $250k" + }, + { + "color": "#76C7FF", + "text": "$250k - $500k", + "value": "$250k - $500k" + }, + { + "color": "#49B3FF", + "text": "$500k - $1mil", + "value": "$500k - $1mil" + }, + { + "color": "#1CA0FF", + "text": "$1mil - $2mil", + "value": "$1mil - $2mil" + }, + { + "color": "#008CFF", + "text": "$2mil - $5mil", + "value": "$2mil - $5mil" + }, + { + "color": "#0070CC", + "text": "$5mil - $10mil", + "value": "$5mil - $10mil" + }, + { + "color": "#005499", + "text": "More than $10mil", + "value": "More than $10mil" + } + ], + "format": false + }, + "field": "annual_revenue", + "group": "meta_profile", + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "color": "#D0EFFF", + "text": "Less than $100k", + "value": "Less than $100k" + }, + { + "color": "#A3DBFF", + "text": "$100k - $250k", + "value": "$100k - $250k" + }, + { + "color": "#76C7FF", + "text": "$250k - $500k", + "value": "$250k - $500k" + }, + { + "color": "#49B3FF", + "text": "$500k - $1mil", + "value": "$500k - $1mil" + }, + { + "color": "#1CA0FF", + "text": "$1mil - $2mil", + "value": "$1mil - $2mil" + }, + { + "color": "#008CFF", + "text": "$2mil - $5mil", + "value": "$2mil - $5mil" + }, + { + "color": "#0070CC", + "text": "$5mil - $10mil", + "value": "$5mil - $10mil" + }, + { + "color": "#005499", + "text": "More than $10mil", + "value": "More than $10mil" + } + ] + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "annual_revenue", + "table": "organizations", + "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 + } + }, + { + "collection": "organizations", + "field": "number_of_employees", + "type": "string", + "meta": { + "collection": "organizations", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "color": "#E6E0F8", + "text": "1-5 employees", + "value": "1-5 employees" + }, + { + "color": "#D4C4F1", + "text": "6-10 employees", + "value": "6-10 employees" + }, + { + "color": "#C2A7EB", + "text": "11-20 employees", + "value": "11-20 employees" + }, + { + "color": "#B08AE5", + "text": "21-50 employees", + "value": "21-50 employees" + }, + { + "color": "#9E6DDF", + "text": "51-100 employees", + "value": "51-100 employees" + }, + { + "color": "#8C50D9", + "text": "101-200 employees", + "value": "101-200 employees" + }, + { + "color": "#7A33D3", + "text": "201-500 employees", + "value": "201-500 employees" + }, + { + "color": "#6816CC", + "text": "More than 500 employees", + "value": "More than 500 employees" + } + ] + }, + "field": "number_of_employees", + "group": "meta_profile", + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "color": "#E6E0F8", + "text": "1-5 employees", + "value": "1-5 employees" + }, + { + "color": "#D4C4F1", + "text": "6-10 employees", + "value": "6-10 employees" + }, + { + "color": "#C2A7EB", + "text": "11-20 employees", + "value": "11-20 employees" + }, + { + "color": "#B08AE5", + "text": "21-50 employees", + "value": "21-50 employees" + }, + { + "color": "#9E6DDF", + "text": "51-100 employees", + "value": "51-100 employees" + }, + { + "color": "#8C50D9", + "text": "101-200 employees", + "value": "101-200 employees" + }, + { + "color": "#7A33D3", + "text": "201-500 employees", + "value": "201-500 employees" + }, + { + "color": "#6816CC", + "text": "More than 500 employees", + "value": "More than 500 employees" + } + ] + }, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "number_of_employees", + "table": "organizations", + "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 + } + }, + { + "collection": "organizations", + "field": "tags", + "type": "alias", + "meta": { + "collection": "organizations", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{tag.color}} {{tag.name}}" + }, + "field": "tags", + "group": "meta_profile", + "hidden": false, + "interface": "list-m2m", + "note": null, + "options": { + "enableLink": true, + "filter": { + "_and": [ + { + "tag_collections": { + "_contains": "organizations" + } + } + ] + }, + "template": "{{tag.color}} {{tag.name}}" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "m2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "organizations", + "field": "industry", + "type": "string", + "meta": { + "collection": "organizations", + "conditions": null, + "display": null, + "display_options": null, + "field": "industry", + "group": "meta_profile", + "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": "industry", + "table": "organizations", + "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 + } + }, + { + "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 + } + }, + { + "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 + } + }, + { + "collection": "tags", + "field": "tag_collections", + "type": "csv", + "meta": { + "collection": "tags", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "$t:organizations", + "value": "organizations" + }, + { + "text": "$t:contacts", + "value": "contacts" + } + ] + }, + "field": "tag_collections", + "group": null, + "hidden": false, + "interface": "select-multiple-checkbox", + "note": null, + "options": { + "choices": [ + { + "text": "$t:organizations", + "value": "organizations" + }, + { + "text": "$t:contacts", + "value": "contacts" + } + ] + }, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "cast-csv" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tag_collections", + "table": "tags", + "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 + } + }, + { + "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 + } + } + ], + "relations": [ + { + "collection": "activities", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "activities", + "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": "activities", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "activities_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "activities", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "activities", + "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": "activities", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "activities_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "activities", + "field": "owner", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "activities", + "many_field": "owner", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "activities", + "column": "owner", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "activities_owner_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "activities", + "field": "deal", + "related_collection": "deals", + "meta": { + "junction_field": null, + "many_collection": "activities", + "many_field": "deal", + "one_allowed_collections": null, + "one_collection": "deals", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "activities", + "sort_field": null + }, + "schema": { + "table": "activities", + "column": "deal", + "foreign_key_table": "deals", + "foreign_key_column": "id", + "constraint_name": "activities_deal_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "activities", + "field": "organization", + "related_collection": "organizations", + "meta": { + "junction_field": null, + "many_collection": "activities", + "many_field": "organization", + "one_allowed_collections": null, + "one_collection": "organizations", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "activities", + "sort_field": null + }, + "schema": { + "table": "activities", + "column": "organization", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "constraint_name": "activities_organization_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "activity_contacts", + "field": "contact", + "related_collection": "contacts", + "meta": { + "junction_field": "activity", + "many_collection": "activity_contacts", + "many_field": "contact", + "one_allowed_collections": null, + "one_collection": "contacts", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "activities", + "sort_field": null + }, + "schema": { + "table": "activity_contacts", + "column": "contact", + "foreign_key_table": "contacts", + "foreign_key_column": "id", + "constraint_name": "activity_contacts_contact_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "activity_contacts", + "field": "activity", + "related_collection": "activities", + "meta": { + "junction_field": "contact", + "many_collection": "activity_contacts", + "many_field": "activity", + "one_allowed_collections": null, + "one_collection": "activities", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": "contacts", + "sort_field": null + }, + "schema": { + "table": "activity_contacts", + "column": "activity", + "foreign_key_table": "activities", + "foreign_key_column": "id", + "constraint_name": "activity_contacts_activity_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "contact_tags", + "field": "tag", + "related_collection": "tags", + "meta": { + "junction_field": "contact", + "many_collection": "contact_tags", + "many_field": "tag", + "one_allowed_collections": null, + "one_collection": "tags", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "contact_tags", + "column": "tag", + "foreign_key_table": "tags", + "foreign_key_column": "id", + "constraint_name": "contact_tags_tag_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "contact_tags", + "field": "contact", + "related_collection": "contacts", + "meta": { + "junction_field": "tag", + "many_collection": "contact_tags", + "many_field": "contact", + "one_allowed_collections": null, + "one_collection": "contacts", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": "tags", + "sort_field": "sort" + }, + "schema": { + "table": "contact_tags", + "column": "contact", + "foreign_key_table": "contacts", + "foreign_key_column": "id", + "constraint_name": "contact_tags_contact_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "contacts", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "contacts", + "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": "contacts", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "contacts_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "contacts", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "contacts", + "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": "contacts", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "contacts_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "deal_contacts", + "field": "contact", + "related_collection": "contacts", + "meta": { + "junction_field": "deal", + "many_collection": "deal_contacts", + "many_field": "contact", + "one_allowed_collections": null, + "one_collection": "contacts", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "deals", + "sort_field": null + }, + "schema": { + "table": "deal_contacts", + "column": "contact", + "foreign_key_table": "contacts", + "foreign_key_column": "id", + "constraint_name": "deal_contacts_contact_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "deal_contacts", + "field": "deal", + "related_collection": "deals", + "meta": { + "junction_field": "contact", + "many_collection": "deal_contacts", + "many_field": "deal", + "one_allowed_collections": null, + "one_collection": "deals", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": "contacts", + "sort_field": "sort" + }, + "schema": { + "table": "deal_contacts", + "column": "deal", + "foreign_key_table": "deals", + "foreign_key_column": "id", + "constraint_name": "deal_contacts_deal_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "deals", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "deals", + "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": "deals", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "deals_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "deals", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "deals", + "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": "deals", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "deals_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "deals", + "field": "owner", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "deals", + "many_field": "owner", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "deals", + "column": "owner", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "deals_owner_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "deals", + "field": "organization", + "related_collection": "organizations", + "meta": { + "junction_field": null, + "many_collection": "deals", + "many_field": "organization", + "one_allowed_collections": null, + "one_collection": "organizations", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "deals", + "sort_field": null + }, + "schema": { + "table": "deals", + "column": "organization", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "constraint_name": "deals_organization_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "deals", + "field": "deal_stage", + "related_collection": "deal_stages", + "meta": { + "junction_field": null, + "many_collection": "deals", + "many_field": "deal_stage", + "one_allowed_collections": null, + "one_collection": "deal_stages", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "deals", + "column": "deal_stage", + "foreign_key_table": "deal_stages", + "foreign_key_column": "id", + "constraint_name": "deals_deal_stage_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "organization_addresses", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "organization_addresses", + "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": "organization_addresses", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "organization_addresses_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "organization_addresses", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "organization_addresses", + "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": "organization_addresses", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "organization_addresses_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "organization_addresses", + "field": "organization", + "related_collection": "organizations", + "meta": { + "junction_field": null, + "many_collection": "organization_addresses", + "many_field": "organization", + "one_allowed_collections": null, + "one_collection": "organizations", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "addresses", + "sort_field": "sort" + }, + "schema": { + "table": "organization_addresses", + "column": "organization", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "constraint_name": "organization_addresses_organization_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "organization_contacts", + "field": "organization", + "related_collection": "organizations", + "meta": { + "junction_field": "contact", + "many_collection": "organization_contacts", + "many_field": "organization", + "one_allowed_collections": null, + "one_collection": "organizations", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "contacts", + "sort_field": "sort" + }, + "schema": { + "table": "organization_contacts", + "column": "organization", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "constraint_name": "organization_contacts_organization_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "organization_contacts", + "field": "contact", + "related_collection": "contacts", + "meta": { + "junction_field": "organization", + "many_collection": "organization_contacts", + "many_field": "contact", + "one_allowed_collections": null, + "one_collection": "contacts", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": "organizations", + "sort_field": "sort" + }, + "schema": { + "table": "organization_contacts", + "column": "contact", + "foreign_key_table": "contacts", + "foreign_key_column": "id", + "constraint_name": "organization_contacts_contact_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "organization_tags", + "field": "tag", + "related_collection": "tags", + "meta": { + "junction_field": "organization", + "many_collection": "organization_tags", + "many_field": "tag", + "one_allowed_collections": null, + "one_collection": "tags", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "organization_tags", + "column": "tag", + "foreign_key_table": "tags", + "foreign_key_column": "id", + "constraint_name": "organization_tags_tag_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "organization_tags", + "field": "organization", + "related_collection": "organizations", + "meta": { + "junction_field": "tag", + "many_collection": "organization_tags", + "many_field": "organization", + "one_allowed_collections": null, + "one_collection": "organizations", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": "tags", + "sort_field": "sort" + }, + "schema": { + "table": "organization_tags", + "column": "organization", + "foreign_key_table": "organizations", + "foreign_key_column": "id", + "constraint_name": "organization_tags_organization_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "organizations", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "organizations", + "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": "organizations", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "organizations_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "organizations", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "organizations", + "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": "organizations", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "organizations_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "organizations", + "field": "owner", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "organizations", + "many_field": "owner", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "organizations", + "column": "owner", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "organizations_owner_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "organizations", + "field": "logo", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "organizations", + "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": "organizations", + "column": "logo", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "organizations_logo_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + } + ] +} \ No newline at end of file diff --git a/simple-crm/directus/template/src/settings.json b/simple-crm/directus/template/src/settings.json new file mode 100644 index 00000000..ecc76af3 --- /dev/null +++ b/simple-crm/directus/template/src/settings.json @@ -0,0 +1,187 @@ +{ + "id": 1, + "project_name": "Simple CRM", + "project_url": null, + "project_color": "#6644FF", + "project_logo": null, + "public_foreground": null, + "public_background": null, + "public_note": null, + "auth_login_attempts": 25, + "auth_password_policy": null, + "storage_asset_transform": "all", + "storage_asset_presets": null, + "custom_css": ".v-divider.inlineTitle.large.add-margin-top {\n margin-top: 0 !important;\n}\n\n.actions.list .v-button .button {\n background-color: var(--theme--background);\n color: var(--theme--primary);\n border-color: var(--theme--primary);\n \n &:hover {\n border-color: color-mix(in srgb, var(--theme--primary), #000 20%);\n color: color-mix(in srgb, var(--theme--primary), #000 20%) !important;\n }\n}\n\n.drawer-item-content {\n --theme--form--row-gap: 24px;\n --theme--form--column-gap: 32px;\n}\n", + "storage_default_folder": null, + "basemaps": null, + "mapbox_key": null, + "module_bar": [ + { + "type": "module", + "id": "global-search", + "enabled": true + }, + { + "type": "module", + "id": "content", + "enabled": true + }, + { + "type": "module", + "id": "users", + "enabled": true + }, + { + "type": "module", + "id": "files", + "enabled": true + }, + { + "type": "module", + "id": "insights", + "enabled": true + }, + { + "type": "link", + "id": "docs", + "name": "Documentation", + "url": "https://docs.directus.io", + "icon": "help", + "enabled": true + }, + { + "type": "module", + "id": "settings", + "enabled": true, + "locked": true + } + ], + "project_descriptor": null, + "default_language": "en-US", + "custom_aspect_ratios": null, + "public_favicon": null, + "default_appearance": "auto", + "default_theme_light": null, + "theme_light_overrides": { + "form": { + "rowGap": "24px", + "field": { + "input": { + "height": "52px", + "background": "#ffffff" + } + } + }, + "borderWidth": "1px", + "navigation": { + "modules": { + "background": "color-mix(in srgb, #000000, var(--theme--primary) 80%)", + "button": { + "foreground": "color-mix(in srgb, #FFFFFF, var(--theme--primary) 20%)", + "foregroundActive": "var(--theme--primary)", + "backgroundActive": "#FFFFFF" + } + }, + "background": "#fff", + "project": { + "background": "transparent" + }, + "borderColor": "color-mix(in srgb, #000000, var(--theme--background) 95%)", + "borderWidth": "1px", + "list": { + "divider": { + "borderColor": "var(--theme--border-color-subdued)" + }, + "backgroundHover": "color-mix(in srgb, #FFFFFF, var(--theme--primary) 10%)", + "backgroundActive": "color-mix(in srgb, #FFFFFF, var(--theme--primary) 15%)" + } + }, + "fonts": { + "display": { + "fontFamily": "\"Space Grotesk\", system-ui", + "fontWeight": "600" + }, + "sans": { + "fontFamily": "\"DM Sans\", system-ui" + } + }, + "borderRadius": "6px", + "sidebar": { + "background": "#FFFFFF", + "borderWidth": "1px", + "borderColor": "var(--theme--border-color-subdued)", + "section": { + "toggle": { + "borderColor": "var(--theme--border-color-subdued)", + "borderWidth": "1px", + "background": "#FFFFFF", + "foreground": "var(--theme--foreground)", + "foregroundHover": "var(--theme--foreground)", + "icon": { + "foreground": "var(--theme--foreground)", + "foregroundHover": "var(--theme--foreground)", + "foregroundActive": "var(--theme--foreground-accent)" + } + } + } + }, + "backgroundAccent": "color-mix(in srgb, #FFFFFF, var(--theme--primary) 10%)" + }, + "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, + "command_palette_settings": { + "searchMode": "as_you_type", + "collections": [ + { + "collection": "deals", + "displayTemplate": "{{name}}", + "descriptionField": "deal_value", + "fields": [ + "name", + "contacts.contact.first_name", + "contacts.contact.last_name", + "contacts.contact.email", + "contacts.contact.phone" + ], + "limit": 10, + "availableGlobally": false + }, + { + "collection": "organizations", + "displayTemplate": "{{name}}", + "descriptionField": null, + "fields": [ + "name", + "contacts.contact.first_name", + "contacts.contact.last_name", + "contacts.contact.email", + "contacts.contact.phone" + ], + "limit": 10, + "availableGlobally": false + }, + { + "collection": "contacts", + "displayTemplate": "{{first_name}} {{last_name}} <{{email}}>", + "fields": [ + "first_name", + "last_name", + "email", + "phone", + "organizations.organization.name" + ], + "limit": 10, + "availableGlobally": false + } + ], + "triggerRate": 100, + "commandPaletteEnabled": true + } +} \ No newline at end of file diff --git a/simple-crm/directus/template/src/translations.json b/simple-crm/directus/template/src/translations.json new file mode 100644 index 00000000..17516789 --- /dev/null +++ b/simple-crm/directus/template/src/translations.json @@ -0,0 +1,32 @@ +[ + { + "id": "0bea41d8-6c0a-4bdc-aa92-58257c81ae13", + "language": "en-US", + "key": "meeting", + "value": "Meeting" + }, + { + "id": "2e6a8509-b48f-4ef1-91ba-9859a9b96127", + "language": "en-US", + "key": "contacts", + "value": "Contacts" + }, + { + "id": "7142a75a-6119-46b1-98e8-bb8ba0a60de8", + "language": "en-US", + "key": "organizations", + "value": "Organizations" + }, + { + "id": "bc2b66d5-01a7-40e7-8da9-4e31f5b7fed4", + "language": "en-US", + "key": "call", + "value": "Call" + }, + { + "id": "e309a1fc-d9b2-4f4a-849f-16d926ac7c80", + "language": "en-US", + "key": "crm", + "value": "CRM" + } +] \ No newline at end of file diff --git a/simple-crm/directus/template/src/users.json b/simple-crm/directus/template/src/users.json new file mode 100644 index 00000000..9346e70f --- /dev/null +++ b/simple-crm/directus/template/src/users.json @@ -0,0 +1,31 @@ +[ + { + "id": "b9c003ce-e839-463a-99da-b98fc33ef4f3", + "first_name": "Mike Scott", + "last_name": null, + "email": "crm@example.com", + "password": "**********", + "location": null, + "title": null, + "description": null, + "tags": null, + "avatar": "3ed710b0-1a72-4064-bd00-c6e534a291f6", + "language": null, + "tfa_secret": null, + "status": "active", + "role": "b4e8ed16-5db1-4d0e-85bc-54ffd79248c8", + "token": "**********", + "last_access": "2024-12-27T13:30:27.034Z", + "last_page": "/content/deals/5f3599bf-1947-4315-91c3-b01d11edc81a", + "provider": "default", + "external_identifier": null, + "auth_data": null, + "email_notifications": true, + "appearance": null, + "theme_dark": null, + "theme_light": null, + "theme_light_overrides": null, + "theme_dark_overrides": null, + "policies": null + } +] \ No newline at end of file diff --git a/simple-crm/directus/uploads/.gitkeep b/simple-crm/directus/uploads/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/simple-crm/package.json b/simple-crm/package.json new file mode 100644 index 00000000..f95c659e --- /dev/null +++ b/simple-crm/package.json @@ -0,0 +1,11 @@ +{ + "name": "directus-simple-crm-starter", + "version": "1.0.0", + "description": "A simple CRM for managing contacts, organizations, and deals.", + "directus:template": { + "name": "Simple CRM", + "description": "A simple CRM for managing contacts, organizations, and deals.", + "template": "./directus/template", + "frontends": {} + } +} diff --git a/simple-ecommerce/README.md b/simple-ecommerce/README.md new file mode 100644 index 00000000..63f58963 --- /dev/null +++ b/simple-ecommerce/README.md @@ -0,0 +1,27 @@ +# Simple eCommerce + +A simple eCommerce template for Directus. Manage products, orders, and customers. + +## Getting Started + +### Using Directus Cloud + +1. Create a new project at [Directus Cloud](https://directus.io/cloud/) and select the **Simple eCommerce** template. +2. Generate a static token for the admin user. + +### Using Docker (Local) + +```bash +npx directus-template-cli@latest init +``` + +Select **Simple eCommerce** from the template list and follow the prompts. + +## What's Included + +- Products with variants and images +- Categories +- Customers and addresses +- Orders and order items +- Tax rates +- Dashboards diff --git a/simple-ecommerce/directus/.env.example b/simple-ecommerce/directus/.env.example new file mode 100644 index 00000000..541c74fe --- /dev/null +++ b/simple-ecommerce/directus/.env.example @@ -0,0 +1,48 @@ +# Database Configuration +DB_USER=directus +DB_PASSWORD=directus +DB_DATABASE=directus + +# Directus Configuration +DIRECTUS_PORT=8055 +DIRECTUS_SECRET=6116487b-cda1-52c2-b5b5-c8022c45e263 + +# Cache Configuration +CACHE_ENABLED=true +CACHE_AUTO_PURGE=true + +# Admin Configuration +ADMIN_EMAIL=admin@example.com +ADMIN_PASSWORD=d1r3ctu5 + +# WebSocket Configuration +WEBSOCKETS_ENABLED=true + +# URL Configuration +PUBLIC_URL=http://localhost:8055 + +# CORS Configuration: +# Development: It's ok to use "*" or "http://localhost:3000" for local testing +# Production: Specify exact origins like: +# - Single origin: "https://your-domain.com" +# - Multiple origins: "https://app.domain.com,https://admin.domain.com" +# Warning: Using "*" in production is a security risk - always specify allowed origins +CORS_ENABLED=true +CORS_ORIGIN=* + +# Cookie Configuration +REFRESH_TOKEN_COOKIE_SECURE=false +REFRESH_TOKEN_COOKIE_SAME_SITE=lax +REFRESH_TOKEN_COOKIE_DOMAIN=localhost + +SESSION_COOKIE_SECURE=false +SESSION_COOKIE_SAME_SITE=lax +SESSION_COOKIE_DOMAIN=localhost + +# Extensions Configuration +EXTENSIONS_PATH=./extensions +EXTENSIONS_AUTO_RELOAD=true +EXTENSIONS_ROLLDOWN=true + +# Content Security Policy +CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC=http://localhost:3000,http://localhost:4321,http://localhost:5173,https://*.youtube.com,https://*.vimeo.com,https://*.wistia.net,https://*.loom.com diff --git a/simple-ecommerce/directus/docker-compose.yaml b/simple-ecommerce/directus/docker-compose.yaml new file mode 100644 index 00000000..4a51c1a7 --- /dev/null +++ b/simple-ecommerce/directus/docker-compose.yaml @@ -0,0 +1,86 @@ +name: directus-simple-ecommerce-template +services: + database: + image: postgis/postgis:16-master + platform: linux/amd64 + volumes: + - ./data/database:/var/lib/postgresql/data + environment: + POSTGRES_USER: ${DB_USER} + POSTGRES_PASSWORD: ${DB_PASSWORD} + POSTGRES_DB: ${DB_DATABASE} + healthcheck: + test: ['CMD', 'pg_isready', '-U', '${DB_USER}', '-d', '${DB_DATABASE}', '-h', 'localhost'] + interval: 10s + timeout: 5s + retries: 5 + start_interval: 5s + start_period: 30s + + cache: + image: redis:6 + healthcheck: + test: ['CMD-SHELL', "[ $$(redis-cli ping) = 'PONG' ]"] + interval: 10s + timeout: 5s + retries: 5 + start_interval: 5s + start_period: 30s + + directus: + image: directus/directus:11.17.4 + ports: + - ${DIRECTUS_PORT}:8055 + volumes: + - ./uploads:/directus/uploads + - ./extensions:/directus/extensions + depends_on: + database: + condition: service_healthy + cache: + condition: service_healthy + environment: + SECRET: ${DIRECTUS_SECRET} + + DB_CLIENT: 'pg' + DB_HOST: 'database' + DB_PORT: '5432' + DB_DATABASE: ${DB_DATABASE} + DB_USER: ${DB_USER} + DB_PASSWORD: ${DB_PASSWORD} + + CACHE_ENABLED: ${CACHE_ENABLED} + CACHE_AUTO_PURGE: ${CACHE_AUTO_PURGE} + CACHE_STORE: 'redis' + REDIS: 'redis://cache:6379' + + ADMIN_EMAIL: ${ADMIN_EMAIL} + ADMIN_PASSWORD: ${ADMIN_PASSWORD} + + WEBSOCKETS_ENABLED: ${WEBSOCKETS_ENABLED} + + PUBLIC_URL: ${PUBLIC_URL} + + CORS_ENABLED: ${CORS_ENABLED} + CORS_ORIGIN: ${CORS_ORIGIN} + + REFRESH_TOKEN_COOKIE_SECURE: ${REFRESH_TOKEN_COOKIE_SECURE} + REFRESH_TOKEN_COOKIE_SAME_SITE: ${REFRESH_TOKEN_COOKIE_SAME_SITE} + REFRESH_TOKEN_DOMAIN: ${REFRESH_TOKEN_COOKIE_DOMAIN} + + SESSION_COOKIE_SECURE: ${SESSION_COOKIE_SECURE} + SESSION_COOKIE_SAME_SITE: ${SESSION_COOKIE_SAME_SITE} + SESSION_COOKIE_DOMAIN: ${SESSION_COOKIE_DOMAIN} + + EXTENSIONS_PATH: ${EXTENSIONS_PATH} + EXTENSIONS_AUTO_RELOAD: ${EXTENSIONS_AUTO_RELOAD} + EXTENSIONS_ROLLDOWN: ${EXTENSIONS_ROLLDOWN} + + CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC: ${CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC} + + EMAIL_TRANSPORT: ${EMAIL_TRANSPORT} + EMAIL_FROM: ${EMAIL_FROM} + EMAIL_SMTP_HOST: ${EMAIL_SMTP_HOST} + EMAIL_SMTP_PORT: ${EMAIL_SMTP_PORT} + EMAIL_SMTP_USER: ${EMAIL_SMTP_USER} + EMAIL_SMTP_PASSWORD: ${EMAIL_SMTP_PASSWORD} diff --git a/simple-ecommerce/directus/extensions/.gitkeep b/simple-ecommerce/directus/extensions/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/simple-ecommerce/directus/template/README.md b/simple-ecommerce/directus/template/README.md new file mode 100644 index 00000000..939baa88 --- /dev/null +++ b/simple-ecommerce/directus/template/README.md @@ -0,0 +1,10 @@ +# Simple eCommerce Template + +This is a template for [Directus](https://directus.io/) - an open-source headless CMS and API. Use the template-cli to load / apply this template to a blank instance. + +## Why + +## What + +## License + diff --git a/simple-ecommerce/directus/template/package.json b/simple-ecommerce/directus/template/package.json new file mode 100644 index 00000000..15091259 --- /dev/null +++ b/simple-ecommerce/directus/template/package.json @@ -0,0 +1,11 @@ +{ + "author": "", + "description": "", + "directusTemplate": true, + "files": [ + "src" + ], + "name": "directus-template-simple-ecommerce", + "templateName": "Simple eCommerce", + "version": "1.0.0" +} \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/access.json b/simple-ecommerce/directus/template/src/access.json new file mode 100644 index 00000000..10eafe29 --- /dev/null +++ b/simple-ecommerce/directus/template/src/access.json @@ -0,0 +1,16 @@ +[ + { + "id": "d629f971-d0ff-491f-99bb-7d060055b960", + "role": null, + "user": null, + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17", + "sort": 1 + }, + { + "id": "e1be4619-9c51-4c2b-be9d-abfc6d1a037d", + "role": "c537905b-a75c-4a35-be45-74cd696d789e", + "user": null, + "policy": "611daef9-b88f-4af7-94f2-45017149fb6c", + "sort": null + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/assets/2c9ff5bc-4644-4a97-800a-a7fda87ac2e0.webp b/simple-ecommerce/directus/template/src/assets/2c9ff5bc-4644-4a97-800a-a7fda87ac2e0.webp new file mode 100644 index 00000000..f58da246 Binary files /dev/null and b/simple-ecommerce/directus/template/src/assets/2c9ff5bc-4644-4a97-800a-a7fda87ac2e0.webp differ diff --git a/simple-ecommerce/directus/template/src/assets/638bf080-5ec6-4d55-a29e-267f4022b3e7.png b/simple-ecommerce/directus/template/src/assets/638bf080-5ec6-4d55-a29e-267f4022b3e7.png new file mode 100644 index 00000000..1defbc1c Binary files /dev/null and b/simple-ecommerce/directus/template/src/assets/638bf080-5ec6-4d55-a29e-267f4022b3e7.png differ diff --git a/simple-ecommerce/directus/template/src/assets/6a0656da-1da8-46d5-92e1-817052fc67eb.png b/simple-ecommerce/directus/template/src/assets/6a0656da-1da8-46d5-92e1-817052fc67eb.png new file mode 100644 index 00000000..1261e1c9 Binary files /dev/null and b/simple-ecommerce/directus/template/src/assets/6a0656da-1da8-46d5-92e1-817052fc67eb.png differ diff --git a/simple-ecommerce/directus/template/src/collections.json b/simple-ecommerce/directus/template/src/collections.json new file mode 100644 index 00000000..1d724fde --- /dev/null +++ b/simple-ecommerce/directus/template/src/collections.json @@ -0,0 +1,334 @@ +[ + { + "collection": "categories", + "meta": { + "collection": "categories", + "icon": "local_offer", + "note": null, + "display_template": "{{title}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": "is_active", + "archive_app_filter": true, + "archive_value": "false", + "unarchive_value": "true", + "sort_field": "sort", + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "ecommerce_settings", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "categories", + "comment": null + } + }, + { + "collection": "customer_addresses", + "meta": { + "collection": "customer_addresses", + "icon": null, + "note": null, + "display_template": "{{address_line_1}} • {{address_line_2}}", + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": "is_active", + "archive_app_filter": true, + "archive_value": "false", + "unarchive_value": "true", + "sort_field": "sort", + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "customers", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "customer_addresses", + "comment": null + } + }, + { + "collection": "customers", + "meta": { + "collection": "customers", + "icon": "person_pin", + "note": null, + "display_template": "{{first_name}} {{last_name}} <{{email}}>", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": "archived", + "unarchive_value": "draft", + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 2, + "group": "ecommerce", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "customers", + "comment": null + } + }, + { + "collection": "ecommerce", + "meta": { + "collection": "ecommerce", + "icon": "shopping_basket", + "note": null, + "display_template": null, + "hidden": false, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "eCommerce" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": null, + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": null + }, + { + "collection": "ecommerce_settings", + "meta": { + "collection": "ecommerce_settings", + "icon": "settings_suggest", + "note": null, + "display_template": null, + "hidden": false, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "Settings" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 4, + "group": "ecommerce", + "collapse": "closed", + "preview_url": null, + "versioning": false + }, + "schema": null + }, + { + "collection": "order_items", + "meta": { + "collection": "order_items", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": "archived", + "unarchive_value": "draft", + "sort_field": "sort", + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "orders", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "order_items", + "comment": null + } + }, + { + "collection": "orders", + "meta": { + "collection": "orders", + "icon": "data_check", + "note": null, + "display_template": "{{order_number}} • {{status}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": "status", + "archive_app_filter": true, + "archive_value": "archived", + "unarchive_value": "pending", + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "ecommerce", + "collapse": "closed", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "orders", + "comment": null + } + }, + { + "collection": "product_images", + "meta": { + "collection": "product_images", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 3, + "group": "products", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "product_images", + "comment": null + } + }, + { + "collection": "products", + "meta": { + "collection": "products", + "icon": "sports_esports", + "note": null, + "display_template": "{{title}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": "status", + "archive_app_filter": true, + "archive_value": "inactive", + "unarchive_value": "active", + "sort_field": "sort", + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 3, + "group": "ecommerce", + "collapse": "closed", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "products", + "comment": null + } + }, + { + "collection": "product_variants", + "meta": { + "collection": "product_variants", + "icon": "gamepad", + "note": null, + "display_template": "{{color}} • {{size}} • {{price}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 2, + "group": "products", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "product_variants", + "comment": null + } + }, + { + "collection": "tax_rates", + "meta": { + "collection": "tax_rates", + "icon": "percent", + "note": null, + "display_template": "{{code}} • {{rate}} ({{title}})", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 2, + "group": "ecommerce_settings", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "tax_rates", + "comment": null + } + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/content/categories.json b/simple-ecommerce/directus/template/src/content/categories.json new file mode 100644 index 00000000..cae74480 --- /dev/null +++ b/simple-ecommerce/directus/template/src/content/categories.json @@ -0,0 +1,37 @@ +[ + { + "id": "46106587-26cf-4d38-9726-f9b4c4a32ec1", + "sort": 1, + "title": "Apparel", + "parent_category": null, + "is_active": true, + "sub_categories": [ + "c0e32ecb-2c7d-42cc-a7c8-776085b8d359", + "5c2b07e6-e07c-4181-8b17-30b1a846f166" + ] + }, + { + "id": "c0e32ecb-2c7d-42cc-a7c8-776085b8d359", + "sort": 2, + "title": "Shirts", + "parent_category": "46106587-26cf-4d38-9726-f9b4c4a32ec1", + "is_active": true, + "sub_categories": [] + }, + { + "id": "5c2b07e6-e07c-4181-8b17-30b1a846f166", + "sort": 3, + "title": "Hoodies", + "parent_category": "46106587-26cf-4d38-9726-f9b4c4a32ec1", + "is_active": true, + "sub_categories": [] + }, + { + "id": "b777f13f-e503-43ea-86eb-7bbecd8d8b08", + "sort": null, + "title": "Drinkware", + "parent_category": null, + "is_active": true, + "sub_categories": [] + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/content/customer_addresses.json b/simple-ecommerce/directus/template/src/content/customer_addresses.json new file mode 100644 index 00000000..a14821d1 --- /dev/null +++ b/simple-ecommerce/directus/template/src/content/customer_addresses.json @@ -0,0 +1,16 @@ +[ + { + "id": "1f78c46d-4db5-4d5e-b757-a160e2df4a90", + "sort": null, + "customer": "9abce8fa-15c5-4167-931d-bb90e199a378", + "address_line_1": "123 Main St", + "address_line_2": null, + "city": "Los Angeles", + "state": "CA", + "postal_code": "55555", + "country_code": "US", + "is_shipping": true, + "is_billing": false, + "is_active": false + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/content/customers.json b/simple-ecommerce/directus/template/src/content/customers.json new file mode 100644 index 00000000..17944371 --- /dev/null +++ b/simple-ecommerce/directus/template/src/content/customers.json @@ -0,0 +1,21 @@ +[ + { + "id": "9abce8fa-15c5-4167-931d-bb90e199a378", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23", + "date_created": "2024-09-25T15:07:20.980Z", + "user_updated": "71639435-1dc5-4f21-8c11-603deee67b23", + "date_updated": "2024-09-26T12:03:56.532Z", + "first_name": "Snoop", + "last_name": "Catt", + "email": "snoop@example.com", + "phone": null, + "password": null, + "is_subscribed": false, + "orders": [ + "5df850a6-20e1-4619-8341-7f8f4d09fe8a" + ], + "addresses": [ + "1f78c46d-4db5-4d5e-b757-a160e2df4a90" + ] + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/content/order_items.json b/simple-ecommerce/directus/template/src/content/order_items.json new file mode 100644 index 00000000..e2783e15 --- /dev/null +++ b/simple-ecommerce/directus/template/src/content/order_items.json @@ -0,0 +1,24 @@ +[ + { + "id": "ce2d532a-6e01-4904-b0f7-9fef7d970791", + "sort": null, + "quantity": 1, + "product": "949797a2-2c71-471a-bfac-c2dec68fdeb1", + "subtotal": "29.99", + "total": "29.99", + "order": "5df850a6-20e1-4619-8341-7f8f4d09fe8a", + "price": "29.99", + "product_variant": "2086ece8-bd1d-47b6-ae70-cd7ba9b0e2f4" + }, + { + "id": "c8b92c31-1d37-42ac-88a8-05b3cff56b29", + "sort": null, + "quantity": 1, + "product": "ce31bbeb-3f60-4853-98f0-ac87c37175bc", + "subtotal": "19.99", + "total": "19.99", + "order": "5df850a6-20e1-4619-8341-7f8f4d09fe8a", + "price": "19.99", + "product_variant": "17f75217-ab99-4229-ba58-4dbe5e93849f" + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/content/orders.json b/simple-ecommerce/directus/template/src/content/orders.json new file mode 100644 index 00000000..ff479f58 --- /dev/null +++ b/simple-ecommerce/directus/template/src/content/orders.json @@ -0,0 +1,26 @@ +[ + { + "id": "5df850a6-20e1-4619-8341-7f8f4d09fe8a", + "status": "pending", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23", + "date_created": "2024-09-25T15:07:21.005Z", + "user_updated": "71639435-1dc5-4f21-8c11-603deee67b23", + "date_updated": "2024-09-26T06:03:21.478Z", + "customer": "9abce8fa-15c5-4167-931d-bb90e199a378", + "fulfillment_status": "in_progress", + "payment_status": "awaiting", + "billing_address": "1f78c46d-4db5-4d5e-b757-a160e2df4a90", + "shipping_address": "1f78c46d-4db5-4d5e-b757-a160e2df4a90", + "completed_at": null, + "canceled_at": null, + "order_number": "1000-A", + "subtotal": "29.99", + "total": "36.49", + "tax_total": "1.50", + "shipping_total": "5.00", + "line_items": [ + "ce2d532a-6e01-4904-b0f7-9fef7d970791", + "c8b92c31-1d37-42ac-88a8-05b3cff56b29" + ] + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/content/product_images.json b/simple-ecommerce/directus/template/src/content/product_images.json new file mode 100644 index 00000000..01c655ea --- /dev/null +++ b/simple-ecommerce/directus/template/src/content/product_images.json @@ -0,0 +1,14 @@ +[ + { + "id": "6876d083-bf01-4986-9e0e-74233c43f68b", + "product": "949797a2-2c71-471a-bfac-c2dec68fdeb1", + "file": "6a0656da-1da8-46d5-92e1-817052fc67eb", + "sort": 1 + }, + { + "id": "9a4fbc00-b6b9-4a8c-9b01-aec10eb549c8", + "product": "ce31bbeb-3f60-4853-98f0-ac87c37175bc", + "file": "638bf080-5ec6-4d55-a29e-267f4022b3e7", + "sort": 1 + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/content/product_variants.json b/simple-ecommerce/directus/template/src/content/product_variants.json new file mode 100644 index 00000000..2130056c --- /dev/null +++ b/simple-ecommerce/directus/template/src/content/product_variants.json @@ -0,0 +1,57 @@ +[ + { + "id": "17f75217-ab99-4229-ba58-4dbe5e93849f", + "product": "ce31bbeb-3f60-4853-98f0-ac87c37175bc", + "price": "19.99000", + "sku": "TUMBLER-20", + "image": null, + "color": "White", + "size": null, + "weight": "4.00000", + "weight_unit": "oz" + }, + { + "id": "2086ece8-bd1d-47b6-ae70-cd7ba9b0e2f4", + "product": "949797a2-2c71-471a-bfac-c2dec68fdeb1", + "price": "20.00000", + "sku": "BLACK-S", + "image": null, + "color": "Black", + "size": "S", + "weight": "3.00000", + "weight_unit": "oz" + }, + { + "id": "29a0e1a9-ea0b-4ac2-9223-3e68fa8885dd", + "product": "949797a2-2c71-471a-bfac-c2dec68fdeb1", + "price": "20.00000", + "sku": "BLACK-M", + "image": null, + "color": "Black", + "size": "M", + "weight": "3.00000", + "weight_unit": "oz" + }, + { + "id": "8dee98e4-ded3-4939-8e9a-86c0f5c4d27f", + "product": "949797a2-2c71-471a-bfac-c2dec68fdeb1", + "price": "20.00000", + "sku": "BLACK-L", + "image": null, + "color": "Black", + "size": "L", + "weight": "3.00000", + "weight_unit": "oz" + }, + { + "id": "d2c9728d-f149-4ceb-b208-8914032be9de", + "product": "949797a2-2c71-471a-bfac-c2dec68fdeb1", + "price": "20.00000", + "sku": "BLACK-XL", + "image": null, + "color": "Black", + "size": "XL", + "weight": "3.00000", + "weight_unit": "oz" + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/content/products.json b/simple-ecommerce/directus/template/src/content/products.json new file mode 100644 index 00000000..9c839d35 --- /dev/null +++ b/simple-ecommerce/directus/template/src/content/products.json @@ -0,0 +1,58 @@ +[ + { + "id": "ce31bbeb-3f60-4853-98f0-ac87c37175bc", + "status": "active", + "sort": null, + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23", + "date_created": "2024-09-26T04:46:26.868Z", + "user_updated": "71639435-1dc5-4f21-8c11-603deee67b23", + "date_updated": "2024-09-26T05:01:20.555Z", + "title": "Directus Tumbler", + "slug": "20oz-tumbler", + "description": "

Behold, the Directus Tumbler 20oz - the perfect vessel for your caffeine addiction, because let's face it, you're not sleeping anyway. This sleek white tumbler features our majestic leaping rabbit logo, symbolizing how quickly you'll hop to fix that production bug at 2 AM.

\n

With 20 ounces of liquid capacity, it holds enough coffee to fuel your coding sprints or drown your sorrows after a failed deployment. The insulated design keeps your beverage hot, unlike your CPU after running that inefficient nested loop you swore was optimized.

\n

Sturdy enough to withstand your desk-flipping tantrums and sealed tight to prevent spills on your precious mechanical keyboard. Remember, caffeine is cheaper than therapy, and this tumbler is your new best friend in the digital trenches.

\n

Warning: May cause excessive productivity and sarcastic code comments. Directus is not responsible for any \"rabbit hole\" debugging sessions that occur while using this product.

", + "thumbnail": "638bf080-5ec6-4d55-a29e-267f4022b3e7", + "color": [ + "White" + ], + "size": null, + "category": "b777f13f-e503-43ea-86eb-7bbecd8d8b08", + "variants": [ + "17f75217-ab99-4229-ba58-4dbe5e93849f" + ], + "images": [ + "9a4fbc00-b6b9-4a8c-9b01-aec10eb549c8" + ] + }, + { + "id": "949797a2-2c71-471a-bfac-c2dec68fdeb1", + "status": "active", + "sort": null, + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23", + "date_created": "2024-09-25T15:11:41.905Z", + "user_updated": "71639435-1dc5-4f21-8c11-603deee67b23", + "date_updated": "2024-09-26T06:08:38.984Z", + "title": "Directus Super Soft T-Shirt", + "slug": "directus-super-soft-tee", + "description": "

Ah, the Directus Super Soft Tee - for when you want to look professional while feeling like you're still in your pajamas.

\n

Behold, the ultimate developer camouflage: a shirt that says \"I'm a serious techie\" while whispering \"I haven't changed in three days.\" This charcoal grey tee features our leaping rabbit logo, symbolizing how quickly you'll hop from \"just one more commit\" to \"oops, it's 3 AM.\"
Crafted from fabric so soft, you'll forget you're wearing it - perfect for those 48-hour coding marathons.

\n

The minimalist design screams \"I care about UX\" while the comfortable fit says \"I prioritize function over form in my wardrobe choices.\"

\n

Warning: May cause an irresistible urge to explain headless CMS architecture to strangers. Side effects include increased confidence in code reviews and a sudden affinity for rabbit-related puns.

\n

Disclaimer: Directus is not responsible for any job offers, envious glances, or impromptu whiteboard sessions that may result from wearing this shirt. Hand wash cold, or just wear it in the shower - we know you're going to anyway.

", + "thumbnail": "6a0656da-1da8-46d5-92e1-817052fc67eb", + "color": [ + "Black" + ], + "size": [ + "S", + "M", + "L", + "XL" + ], + "category": "c0e32ecb-2c7d-42cc-a7c8-776085b8d359", + "variants": [ + "2086ece8-bd1d-47b6-ae70-cd7ba9b0e2f4", + "29a0e1a9-ea0b-4ac2-9223-3e68fa8885dd", + "8dee98e4-ded3-4939-8e9a-86c0f5c4d27f", + "d2c9728d-f149-4ceb-b208-8914032be9de" + ], + "images": [ + "6876d083-bf01-4986-9e0e-74233c43f68b" + ] + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/content/tax_rates.json b/simple-ecommerce/directus/template/src/content/tax_rates.json new file mode 100644 index 00000000..5d9fafb4 --- /dev/null +++ b/simple-ecommerce/directus/template/src/content/tax_rates.json @@ -0,0 +1,14 @@ +[ + { + "id": "3d192a11-b855-498a-a8a3-e98300f87b46", + "title": "West Virginia Sales Tax", + "rate": "6.500", + "code": "WV" + }, + { + "id": "db1903cf-976a-481c-87ca-7747ca8b52e2", + "title": "Non-Taxable", + "rate": "0.000", + "code": "NON" + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/dashboards.json b/simple-ecommerce/directus/template/src/dashboards.json new file mode 100644 index 00000000..c8977c55 --- /dev/null +++ b/simple-ecommerce/directus/template/src/dashboards.json @@ -0,0 +1,12 @@ +[ + { + "id": "82a3c7d2-5cf7-408b-ad5d-9f1dd73e64a2", + "name": "Sales", + "icon": "money", + "note": "Dashboard for tracking store performance", + "date_created": "2024-09-26T13:35:51.196Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23", + "color": null, + "panels": null + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/extensions.json b/simple-ecommerce/directus/template/src/extensions.json new file mode 100644 index 00000000..cbb00997 --- /dev/null +++ b/simple-ecommerce/directus/template/src/extensions.json @@ -0,0 +1,120 @@ +[ + { + "id": "41ca762d-e56a-4377-87c2-73ca6f77cca2", + "bundle": null, + "meta": { + "enabled": true, + "id": "41ca762d-e56a-4377-87c2-73ca6f77cca2", + "folder": "a4cd622d-0861-4ae5-8b39-7fc67bfa48c1", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/a4cd622d-0861-4ae5-8b39-7fc67bfa48c1", + "name": "@directus-labs/table-view-panel", + "version": "1.0.0", + "type": "panel", + "entrypoint": "dist/index.js", + "host": "^10.10.0", + "local": true + } + }, + { + "id": "9244f25b-c61a-4702-96ae-1cda6610f9d9", + "bundle": null, + "meta": { + "enabled": true, + "id": "9244f25b-c61a-4702-96ae-1cda6610f9d9", + "folder": "1334d624-b000-4b82-a783-1926450d1feb", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/1334d624-b000-4b82-a783-1926450d1feb", + "name": "directus-extension-classified-group", + "version": "1.0.5", + "type": "interface", + "entrypoint": "dist/index.js", + "host": "^10.1.11", + "local": true + } + }, + { + "id": "a2587ead-a73a-4718-88e2-02de0c78d57a", + "bundle": null, + "meta": { + "enabled": true, + "id": "a2587ead-a73a-4718-88e2-02de0c78d57a", + "folder": "64489dc4-ae84-472d-a9f8-fad653d43ba5", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/64489dc4-ae84-472d-a9f8-fad653d43ba5", + "name": "@directus-labs/liquidjs-operation", + "version": "1.0.1", + "type": "operation", + "entrypoint": { + "app": "dist/app.js", + "api": "dist/api.js" + }, + "host": "^10.10.0", + "sandbox": { + "enabled": true, + "requestedScopes": { + "request": { + "urls": [ + "http://*", + "https://*" + ], + "methods": [ + "GET" + ] + }, + "log": {} + } + }, + "local": true + } + }, + { + "id": "c53d1496-ab3b-4a23-9b0c-9fb8ce85800f", + "bundle": null, + "meta": { + "enabled": true, + "id": "c53d1496-ab3b-4a23-9b0c-9fb8ce85800f", + "folder": "e77fd62a-c9f5-4937-b153-cf10d8d13264", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/e77fd62a-c9f5-4937-b153-cf10d8d13264", + "name": "@directus-labs/command-palette-module", + "version": "1.0.1", + "type": "module", + "entrypoint": "dist/index.js", + "host": "^11.0.0", + "local": true + } + }, + { + "id": "dab2c341-5ce5-42da-872f-40e596c4db16", + "bundle": null, + "meta": { + "enabled": true, + "id": "dab2c341-5ce5-42da-872f-40e596c4db16", + "folder": "9621987d-012d-475a-bd7f-e293cac7b077", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/9621987d-012d-475a-bd7f-e293cac7b077", + "name": "directus-extension-group-tabs-interface", + "version": "2.1.0", + "type": "interface", + "entrypoint": "dist/index.js", + "host": "^10.1.0", + "local": true + } + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/fields.json b/simple-ecommerce/directus/template/src/fields.json new file mode 100644 index 00000000..61e0d3c0 --- /dev/null +++ b/simple-ecommerce/directus/template/src/fields.json @@ -0,0 +1,4842 @@ +[ + { + "collection": "categories", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "categories", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "categories", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "categories", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "categories", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "categories", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "categories", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "categories", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "categories", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "categories", + "field": "parent_category", + "type": "uuid", + "schema": { + "name": "parent_category", + "table": "categories", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "categories", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "categories", + "field": "parent_category", + "special": null, + "interface": "select-dropdown-m2o", + "options": { + "template": "{{title}}" + }, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "readonly": false, + "hidden": true, + "sort": 6, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "categories", + "field": "is_active", + "type": "boolean", + "schema": { + "name": "is_active", + "table": "categories", + "data_type": "boolean", + "default_value": true, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "categories", + "field": "is_active", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Active" + }, + "display": "boolean", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customer_addresses", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "customer_addresses", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customer_addresses", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customer_addresses", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "customer_addresses", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customer_addresses", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customer_addresses", + "field": "customer", + "type": "uuid", + "schema": { + "name": "customer", + "table": "customer_addresses", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "customers", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "customer_addresses", + "field": "customer", + "special": null, + "interface": "select-dropdown-m2o", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customer_addresses", + "field": "address_line_1", + "type": "string", + "schema": { + "name": "address_line_1", + "table": "customer_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customer_addresses", + "field": "address_line_1", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customer_addresses", + "field": "address_line_2", + "type": "string", + "schema": { + "name": "address_line_2", + "table": "customer_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customer_addresses", + "field": "address_line_2", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customer_addresses", + "field": "city", + "type": "string", + "schema": { + "name": "city", + "table": "customer_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customer_addresses", + "field": "city", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customer_addresses", + "field": "state", + "type": "string", + "schema": { + "name": "state", + "table": "customer_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customer_addresses", + "field": "state", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customer_addresses", + "field": "postal_code", + "type": "string", + "schema": { + "name": "postal_code", + "table": "customer_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customer_addresses", + "field": "postal_code", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customer_addresses", + "field": "country_code", + "type": "string", + "schema": { + "name": "country_code", + "table": "customer_addresses", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customer_addresses", + "field": "country_code", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customer_addresses", + "field": "is_shipping", + "type": "boolean", + "schema": { + "name": "is_shipping", + "table": "customer_addresses", + "data_type": "boolean", + "default_value": false, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customer_addresses", + "field": "is_shipping", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Shipping Address" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customer_addresses", + "field": "is_billing", + "type": "boolean", + "schema": { + "name": "is_billing", + "table": "customer_addresses", + "data_type": "boolean", + "default_value": false, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customer_addresses", + "field": "is_billing", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Billing Address" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customer_addresses", + "field": "is_active", + "type": "boolean", + "schema": { + "name": "is_active", + "table": "customer_addresses", + "data_type": "boolean", + "default_value": false, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customer_addresses", + "field": "is_active", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Active" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 4, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "customers", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customers", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": false, + "sort": 2, + "width": "half", + "translations": null, + "note": "Unique identifier for customer", + "conditions": null, + "required": false, + "group": "meta_profile", + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "customers", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "customers", + "field": "user_created", + "special": [ + "user-created" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "customers", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customers", + "field": "date_created", + "special": [ + "date-created" + ], + "interface": "datetime", + "options": { + "use24": false + }, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 2, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "customers", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "customers", + "field": "user_updated", + "special": [ + "user-updated" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "customers", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customers", + "field": "date_updated", + "special": [ + "date-updated" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "first_name", + "type": "string", + "schema": { + "name": "first_name", + "table": "customers", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customers", + "field": "first_name", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "last_name", + "type": "string", + "schema": { + "name": "last_name", + "table": "customers", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customers", + "field": "last_name", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "email", + "type": "string", + "schema": { + "name": "email", + "table": "customers", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": true, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customers", + "field": "email", + "special": null, + "interface": "input", + "options": { + "iconLeft": "mark_email_unread" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "phone", + "type": "string", + "schema": { + "name": "phone", + "table": "customers", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customers", + "field": "phone", + "special": null, + "interface": "input", + "options": { + "iconLeft": "phone_in_talk" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "password", + "type": "hash", + "schema": { + "name": "password", + "table": "customers", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customers", + "field": "password", + "special": [ + "hash" + ], + "interface": "input-hash", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_profile", + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "is_subscribed", + "type": "boolean", + "schema": { + "name": "is_subscribed", + "table": "customers", + "data_type": "boolean", + "default_value": false, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "customers", + "field": "is_subscribed", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Marketing Emails" + }, + "display": "boolean", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": "Is customer subscribed to marketing emails?", + "conditions": null, + "required": false, + "group": "meta_profile", + "validation": null, + "validation_message": null + } + }, + { + "collection": "directus_settings", + "field": "command_palette_settings", + "type": "json", + "schema": { + "name": "command_palette_settings", + "table": "directus_settings", + "data_type": "json", + "default_value": {}, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "directus_settings", + "field": "command_palette_settings", + "special": [ + "cast-json" + ], + "interface": "input-code", + "options": null, + "display": "raw", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "order_items", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "order_items", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "order_items", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "order_items", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "order_items", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "order_items", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "order_items", + "field": "quantity", + "type": "integer", + "schema": { + "name": "quantity", + "table": "order_items", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "order_items", + "field": "quantity", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "order_items", + "field": "product", + "type": "uuid", + "schema": { + "name": "product", + "table": "order_items", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "products", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "order_items", + "field": "product", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{title}}" + }, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "order_items", + "field": "subtotal", + "type": "decimal", + "schema": { + "name": "subtotal", + "table": "order_items", + "data_type": "numeric", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "order_items", + "field": "subtotal", + "special": null, + "interface": "input", + "options": { + "iconLeft": "attach_money" + }, + "display": "formatted-value", + "display_options": { + "prefix": "$", + "format": true + }, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "order_items", + "field": "total", + "type": "decimal", + "schema": { + "name": "total", + "table": "order_items", + "data_type": "numeric", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "order_items", + "field": "total", + "special": null, + "interface": "input", + "options": { + "iconLeft": "attach_money" + }, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "order_items", + "field": "order", + "type": "uuid", + "schema": { + "name": "order", + "table": "order_items", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "orders", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "order_items", + "field": "order", + "special": null, + "interface": "select-dropdown-m2o", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "order_items", + "field": "price", + "type": "decimal", + "schema": { + "name": "price", + "table": "order_items", + "data_type": "numeric", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "order_items", + "field": "price", + "special": null, + "interface": "input", + "options": { + "iconLeft": "attach_money" + }, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "order_items", + "field": "product_variant", + "type": "uuid", + "schema": { + "name": "product_variant", + "table": "order_items", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "product_variants", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "order_items", + "field": "product_variant", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "filter": { + "_and": [ + { + "product": { + "_eq": "{{product}}" + } + } + ] + } + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "orders", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "status", + "type": "string", + "schema": { + "name": "status", + "table": "orders", + "data_type": "character varying", + "default_value": "pending", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "status", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "$t:pending", + "value": "pending", + "color": "#A2B5CD" + }, + { + "text": "$t:completed", + "value": "completed", + "color": "var(--theme--primary)" + }, + { + "text": "$t:archived", + "value": "archived", + "color": "#18222F" + }, + { + "text": "$t:canceled", + "value": "canceled", + "color": "#E35169" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "$t:pending", + "value": "pending", + "color": "#A2B5CD" + }, + { + "text": "$t:completed", + "value": "completed", + "color": "var(--theme--primary)" + }, + { + "text": "$t:archived", + "value": "archived", + "color": "#A2B5CD" + }, + { + "text": "$t:canceled", + "value": "canceled", + "color": "#E35169" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "orders", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "orders", + "field": "user_created", + "special": [ + "user-created" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 2, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "orders", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "date_created", + "special": [ + "date-created" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "orders", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "orders", + "field": "user_updated", + "special": [ + "user-updated" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "orders", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "date_updated", + "special": [ + "date-updated" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "customer", + "type": "uuid", + "schema": { + "name": "customer", + "table": "orders", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": true, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "customers", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "orders", + "field": "customer", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 13, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "fulfillment_status", + "type": "string", + "schema": { + "name": "fulfillment_status", + "table": "orders", + "data_type": "character varying", + "default_value": "open", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "fulfillment_status", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "$t:open", + "value": "open", + "icon": "fiber_new", + "color": "#3399FF" + }, + { + "text": "$t:in_progress", + "value": "in_progress", + "icon": "downloading", + "color": "#FFC23B" + }, + { + "text": "$t:fulfilled", + "value": "fulfilled", + "icon": "check", + "color": "#2ECDA7" + }, + { + "text": "$t:on_hold", + "value": "on_hold", + "icon": "stop_circle", + "color": "#E35169" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "$t:open", + "value": "open", + "icon": "fiber_new", + "color": "#3399FF" + }, + { + "text": "$t:in_progress", + "value": "in_progress", + "icon": "downloading", + "color": "#FFC23B" + }, + { + "text": "$t:fulfilled", + "value": "fulfilled", + "icon": "check", + "color": "#2ECDA7" + }, + { + "text": "$t:on_hold", + "value": "on_hold", + "icon": "stop_circle", + "color": "#E35169" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "payment_status", + "type": "string", + "schema": { + "name": "payment_status", + "table": "orders", + "data_type": "character varying", + "default_value": "not_paid", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "payment_status", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "$t:not_paid", + "value": "not_paid", + "icon": "warning", + "color": "#FFA439" + }, + { + "text": "$t:awaiting", + "value": "awaiting", + "icon": "hourglass_bottom", + "color": "#FFC23B" + }, + { + "text": "$t:paid", + "value": "paid", + "icon": "check_box", + "color": "#2ECDA7" + }, + { + "text": "$t:refunded", + "value": "refunded", + "icon": "keyboard_return", + "color": "#E35169" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "$t:not_paid", + "value": "not_paid", + "icon": "warning", + "color": "#FFA439" + }, + { + "text": "$t:awaiting", + "value": "awaiting", + "icon": "hourglass_bottom", + "color": "#FFC23B" + }, + { + "text": "$t:paid", + "value": "paid", + "icon": "check_box", + "color": "#2ECDA7" + }, + { + "text": "$t:refunded", + "value": "refunded", + "icon": "keyboard_return", + "color": "#E35169" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "billing_address", + "type": "uuid", + "schema": { + "name": "billing_address", + "table": "orders", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "customer_addresses", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "orders", + "field": "billing_address", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "filter": { + "_and": [ + { + "customer": { + "_eq": "{{customer}}" + } + } + ] + } + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 14, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "shipping_address", + "type": "uuid", + "schema": { + "name": "shipping_address", + "table": "orders", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "customer_addresses", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "orders", + "field": "shipping_address", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "filter": { + "_and": [ + { + "customer": { + "_eq": "{{customer}}" + } + } + ] + } + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 15, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "completed_at", + "type": "timestamp", + "schema": { + "name": "completed_at", + "table": "orders", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "completed_at", + "special": null, + "interface": "datetime", + "options": { + "use24": false + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 7, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "canceled_at", + "type": "timestamp", + "schema": { + "name": "canceled_at", + "table": "orders", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "canceled_at", + "special": null, + "interface": "datetime", + "options": { + "use24": false + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "order_number", + "type": "string", + "schema": { + "name": "order_number", + "table": "orders", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "order_number", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "subtotal", + "type": "decimal", + "schema": { + "name": "subtotal", + "table": "orders", + "data_type": "numeric", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "subtotal", + "special": null, + "interface": "input", + "options": { + "iconLeft": "attach_money" + }, + "display": "formatted-value", + "display_options": { + "prefix": "$", + "format": true + }, + "readonly": false, + "hidden": false, + "sort": 18, + "width": "full", + "translations": null, + "note": "Subtotal for entire order before taxes and shipping", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "total", + "type": "decimal", + "schema": { + "name": "total", + "table": "orders", + "data_type": "numeric", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "total", + "special": null, + "interface": "input", + "options": { + "iconLeft": "attach_money" + }, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "readonly": false, + "hidden": false, + "sort": 21, + "width": "full", + "translations": null, + "note": "Total amount for the entire order", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "tax_total", + "type": "decimal", + "schema": { + "name": "tax_total", + "table": "orders", + "data_type": "numeric", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "tax_total", + "special": null, + "interface": "input", + "options": { + "iconLeft": "attach_money" + }, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "readonly": false, + "hidden": false, + "sort": 19, + "width": "half", + "translations": null, + "note": "Tax amount owed for entire order", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "shipping_total", + "type": "decimal", + "schema": { + "name": "shipping_total", + "table": "orders", + "data_type": "numeric", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "orders", + "field": "shipping_total", + "special": null, + "interface": "input", + "options": { + "iconLeft": "attach_money" + }, + "display": "formatted-value", + "display_options": { + "prefix": "$", + "format": true + }, + "readonly": false, + "hidden": false, + "sort": 20, + "width": "half", + "translations": null, + "note": "Shipping amount owed for entire order", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_images", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "product_images", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "product_images", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_images", + "field": "product", + "type": "uuid", + "schema": { + "name": "product", + "table": "product_images", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "products", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "product_images", + "field": "product", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_images", + "field": "file", + "type": "uuid", + "schema": { + "name": "file", + "table": "product_images", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "product_images", + "field": "file", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_images", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "product_images", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "product_images", + "field": "sort", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 4, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_variants", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "product_variants", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "product_variants", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_variants", + "field": "product", + "type": "uuid", + "schema": { + "name": "product", + "table": "product_variants", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "products", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "product_variants", + "field": "product", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{title}}" + }, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_variants", + "field": "price", + "type": "decimal", + "schema": { + "name": "price", + "table": "product_variants", + "data_type": "numeric", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 5, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "product_variants", + "field": "price", + "special": null, + "interface": "input", + "options": { + "iconLeft": "attach_money" + }, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_variants", + "field": "sku", + "type": "string", + "schema": { + "name": "sku", + "table": "product_variants", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "product_variants", + "field": "sku", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_variants", + "field": "image", + "type": "uuid", + "schema": { + "name": "image", + "table": "product_variants", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "product_variants", + "field": "image", + "special": [ + "file" + ], + "interface": "file-image", + "options": { + "crop": false + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_variants", + "field": "color", + "type": "string", + "schema": { + "name": "color", + "table": "product_variants", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "product_variants", + "field": "color", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_variants", + "field": "size", + "type": "string", + "schema": { + "name": "size", + "table": "product_variants", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "product_variants", + "field": "size", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": false, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_variants", + "field": "weight", + "type": "decimal", + "schema": { + "name": "weight", + "table": "product_variants", + "data_type": "numeric", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 5, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "product_variants", + "field": "weight", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "product_variants", + "field": "weight_unit", + "type": "string", + "schema": { + "name": "weight_unit", + "table": "product_variants", + "data_type": "character varying", + "default_value": "oz", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "product_variants", + "field": "weight_unit", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "g", + "value": "g" + }, + { + "text": "kg", + "value": "kg" + }, + { + "text": "lb", + "value": "lb" + }, + { + "text": "oz", + "value": "oz" + } + ] + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "products", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "products", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "status", + "type": "string", + "schema": { + "name": "status", + "table": "products", + "data_type": "character varying", + "default_value": "draft", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "products", + "field": "status", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "$t:active", + "value": "active", + "color": "#2ECDA7" + }, + { + "text": "$t:out_of_stock", + "value": "out_of_stock", + "color": "#18222F" + }, + { + "text": "$t:backordered", + "value": "backordered", + "color": "#18222F" + }, + { + "text": "$t:hidden", + "value": "hidden", + "color": "#A2B5CD" + }, + { + "text": "$t:inactive", + "value": "inactive", + "color": "#A2B5CD" + } + ] + }, + "display": "labels", + "display_options": { + "showAsDot": true, + "choices": [ + { + "text": "$t:published", + "value": "published", + "color": "var(--theme--primary)", + "foreground": "var(--theme--primary)", + "background": "var(--theme--primary-background)" + }, + { + "text": "$t:draft", + "value": "draft", + "color": "var(--theme--foreground)", + "foreground": "var(--theme--foreground)", + "background": "var(--theme--background-normal)" + }, + { + "text": "$t:archived", + "value": "archived", + "color": "var(--theme--warning)", + "foreground": "var(--theme--warning)", + "background": "var(--theme--warning-background)" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "products", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "products", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "user_created", + "type": "uuid", + "schema": { + "name": "user_created", + "table": "products", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "products", + "field": "user_created", + "special": [ + "user-created" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "date_created", + "type": "timestamp", + "schema": { + "name": "date_created", + "table": "products", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "products", + "field": "date_created", + "special": [ + "date-created" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "user_updated", + "type": "uuid", + "schema": { + "name": "user_updated", + "table": "products", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "products", + "field": "user_updated", + "special": [ + "user-updated" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "date_updated", + "type": "timestamp", + "schema": { + "name": "date_updated", + "table": "products", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "products", + "field": "date_updated", + "special": [ + "date-updated" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": true, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "products", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "products", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": "Name of this product", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "slug", + "type": "string", + "schema": { + "name": "slug", + "table": "products", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": true, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "products", + "field": "slug", + "special": null, + "interface": "input", + "options": { + "slug": true + }, + "display": "formatted-value", + "display_options": { + "font": "monospace" + }, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": "Unique URL for this product", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "description", + "type": "text", + "schema": { + "name": "description", + "table": "products", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "products", + "field": "description", + "special": null, + "interface": "input-rich-text-html", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "thumbnail", + "type": "uuid", + "schema": { + "name": "thumbnail", + "table": "products", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "products", + "field": "thumbnail", + "special": [ + "file" + ], + "interface": "file-image", + "options": { + "crop": false + }, + "display": "image", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 13, + "width": "half", + "translations": null, + "note": "Main thumbnail used for this product", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "color", + "type": "csv", + "schema": { + "name": "color", + "table": "products", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "products", + "field": "color", + "special": [ + "cast-csv" + ], + "interface": "tags", + "options": { + "allowOther": true, + "choices": [ + { + "text": "Gray", + "value": "gray" + } + ], + "whitespace": null, + "capitalization": null, + "iconRight": "invert_colors" + }, + "display": "labels", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 16, + "width": "half", + "translations": null, + "note": "What colors are available?", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "size", + "type": "csv", + "schema": { + "name": "size", + "table": "products", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "products", + "field": "size", + "special": [ + "cast-csv" + ], + "interface": "tags", + "options": { + "allowOther": true, + "choices": [ + { + "text": "Gray", + "value": "gray" + } + ], + "whitespace": null, + "capitalization": null, + "iconRight": "height", + "presets": [ + "XS", + "S", + "M", + "L", + "XL", + "2XL" + ] + }, + "display": "labels", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 17, + "width": "half", + "translations": null, + "note": "What sizes are available?", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "category", + "type": "uuid", + "schema": { + "name": "category", + "table": "products", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "categories", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "products", + "field": "category", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{title}}" + }, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "tax_rates", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "tax_rates", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "tax_rates", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "tax_rates", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "tax_rates", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "tax_rates", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "tax_rates", + "field": "rate", + "type": "decimal", + "schema": { + "name": "rate", + "table": "tax_rates", + "data_type": "numeric", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 3, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "tax_rates", + "field": "rate", + "special": null, + "interface": "input", + "options": { + "iconRight": "percent" + }, + "display": "formatted-value", + "display_options": { + "suffix": "%", + "format": true + }, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "tax_rates", + "field": "code", + "type": "string", + "schema": { + "name": "code", + "table": "tax_rates", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "tax_rates", + "field": "code", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "divider_images", + "type": "alias", + "schema": null, + "meta": { + "collection": "products", + "field": "divider_images", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "inlineTitle": true, + "color": "#A2B5CD", + "icon": "image", + "title": "Images" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "variants", + "type": "alias", + "schema": null, + "meta": { + "collection": "products", + "field": "variants", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "sort": null, + "enableLink": true, + "template": "{{color}} • {{size}} • {{price}} • {{sku}}", + "enableCreate": false, + "enableSelect": false + }, + "display": "related-values", + "display_options": { + "template": "{{color}} • {{size}} • {{price}} • {{sku}}" + }, + "readonly": false, + "hidden": false, + "sort": 18, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "meta_profile", + "type": "alias", + "schema": null, + "meta": { + "collection": "customers", + "field": "meta_profile", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-raw", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Profile" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "orders", + "type": "alias", + "schema": null, + "meta": { + "collection": "customers", + "field": "orders", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "sort": null, + "enableLink": true, + "layout": "table", + "fields": [ + "status", + "order_number", + "line_items", + "subtotal", + "tax_total", + "shipping_total", + "total" + ] + }, + "display": "related-values", + "display_options": { + "template": "{{order_number}} • {{status}} • {{date_created}}" + }, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "fill", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "divider_status", + "type": "alias", + "schema": null, + "meta": { + "collection": "orders", + "field": "divider_status", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "inlineTitle": true, + "color": "#A2B5CD", + "icon": "info", + "title": "Customer" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "divider_items", + "type": "alias", + "schema": null, + "meta": { + "collection": "orders", + "field": "divider_items", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "inlineTitle": true, + "color": "#A2B5CD", + "icon": "local_shipping", + "title": "Items" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 16, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "addresses", + "type": "alias", + "schema": null, + "meta": { + "collection": "customers", + "field": "addresses", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "enableLink": true + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "categories", + "field": "sub_categories", + "type": "alias", + "schema": null, + "meta": { + "collection": "categories", + "field": "sub_categories", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "sort": "sort", + "enableLink": true, + "displayTemplate": "{{title}}", + "template": "{{title}}" + }, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "customers", + "field": "meta_tabs", + "type": "alias", + "schema": null, + "meta": { + "collection": "customers", + "field": "meta_tabs", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-tabs", + "options": { + "fillWidth": true + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "images", + "type": "alias", + "schema": null, + "meta": { + "collection": "products", + "field": "images", + "special": [ + "files" + ], + "interface": "files", + "options": null, + "display": "related-values", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 14, + "width": "half", + "translations": null, + "note": "Gallery of images featured on the product page", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "divider_variants", + "type": "alias", + "schema": null, + "meta": { + "collection": "products", + "field": "divider_variants", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "inlineTitle": true, + "color": "#A2B5CD", + "icon": "variables", + "title": "Variants" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 15, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "products", + "field": "notice_variants", + "type": "alias", + "schema": null, + "meta": { + "collection": "products", + "field": "notice_variants", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-notice", + "options": { + "icon": "info", + "text": "Creating and updating variants is handled for you automatically on save. Update the colors and sizes and hit Ctrl + S or Cmd + S (Mac) to save and stay on the page." + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 19, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "orders", + "field": "line_items", + "type": "alias", + "schema": null, + "meta": { + "collection": "orders", + "field": "line_items", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "layout": "table", + "enableSearchFilter": true, + "enableLink": true, + "fields": [ + "product", + "quantity", + "total", + "product_variant.color", + "product_variant.size" + ] + }, + "display": "related-values", + "display_options": { + "template": "{{product}} • {{quantity}} • {{total}}" + }, + "readonly": false, + "hidden": false, + "sort": 17, + "width": "fill", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/files.json b/simple-ecommerce/directus/template/src/files.json new file mode 100644 index 00000000..44b1c5a3 --- /dev/null +++ b/simple-ecommerce/directus/template/src/files.json @@ -0,0 +1,86 @@ +[ + { + "id": "2c9ff5bc-4644-4a97-800a-a7fda87ac2e0", + "storage": "cloud", + "filename_disk": "2c9ff5bc-4644-4a97-800a-a7fda87ac2e0.webp", + "filename_download": "villy-vonka-.webp", + "title": "Villy Vonka", + "type": "image/webp", + "folder": null, + "uploaded_by": "71639435-1dc5-4f21-8c11-603deee67b23", + "created_on": "2024-09-26T12:03:31.502Z", + "modified_by": "71639435-1dc5-4f21-8c11-603deee67b23", + "modified_on": "2024-09-26T12:04:22.996Z", + "charset": null, + "filesize": "103710", + "width": 1024, + "height": 1024, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-26T12:03:31.540Z" + }, + { + "id": "638bf080-5ec6-4d55-a29e-267f4022b3e7", + "storage": "cloud", + "filename_disk": "638bf080-5ec6-4d55-a29e-267f4022b3e7.png", + "filename_download": "6539c2a1367327eede1cd751.png", + "title": "6539c2a1367327eede1cd751.png", + "type": "image/png", + "folder": "495b5868-481a-428e-a7eb-648b6b9c3c7d", + "uploaded_by": "71639435-1dc5-4f21-8c11-603deee67b23", + "created_on": "2024-09-26T04:45:34.738Z", + "modified_by": "71639435-1dc5-4f21-8c11-603deee67b23", + "modified_on": "2024-09-26T05:01:35.345Z", + "charset": null, + "filesize": "78504", + "width": 1626, + "height": 1589, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-26T04:45:34.775Z" + }, + { + "id": "6a0656da-1da8-46d5-92e1-817052fc67eb", + "storage": "cloud", + "filename_disk": "6a0656da-1da8-46d5-92e1-817052fc67eb.png", + "filename_download": "6539b3d036732785e91cd332.png", + "title": "6539b3d036732785e91cd332.png", + "type": "image/png", + "folder": "495b5868-481a-428e-a7eb-648b6b9c3c7d", + "uploaded_by": "71639435-1dc5-4f21-8c11-603deee67b23", + "created_on": "2024-09-26T04:45:07.619Z", + "modified_by": "71639435-1dc5-4f21-8c11-603deee67b23", + "modified_on": "2024-09-26T05:01:35.345Z", + "charset": null, + "filesize": "2163333", + "width": 1626, + "height": 1589, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-26T04:45:07.890Z" + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/flows.json b/simple-ecommerce/directus/template/src/flows.json new file mode 100644 index 00000000..8edd5b7a --- /dev/null +++ b/simple-ecommerce/directus/template/src/flows.json @@ -0,0 +1,50 @@ +[ + { + "id": "49ed6f64-7494-41f7-8c04-cfc7f32c5824", + "name": "Util -> Create Variants", + "icon": "fiber_new", + "color": null, + "description": "Create variants whenever creating a new product", + "status": "active", + "trigger": "event", + "accountability": "all", + "options": { + "type": "filter", + "scope": [ + "items.create" + ], + "collections": [ + "products" + ], + "return": "$last" + }, + "operation": "bd0a0a62-44b8-4faf-9b46-33a881b95b19", + "date_created": "2024-09-26T05:14:07.472Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23", + "operations": null + }, + { + "id": "fd406c19-b52c-4037-b14a-914234714c2c", + "name": "Util -> Update Variants", + "icon": "update", + "color": null, + "description": "Updates the variants whenever the color or size attributes change", + "status": "active", + "trigger": "event", + "accountability": "all", + "options": { + "type": "filter", + "scope": [ + "items.update" + ], + "collections": [ + "products" + ], + "return": "$last" + }, + "operation": "95d18982-fd6d-479b-9b40-82988e24a362", + "date_created": "2024-09-26T05:30:25.187Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23", + "operations": null + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/folders.json b/simple-ecommerce/directus/template/src/folders.json new file mode 100644 index 00000000..b87430fa --- /dev/null +++ b/simple-ecommerce/directus/template/src/folders.json @@ -0,0 +1,12 @@ +[ + { + "id": "0be58f4c-c5d8-430b-95f3-ab6a5d72b963", + "name": "2. Private", + "parent": null + }, + { + "id": "495b5868-481a-428e-a7eb-648b6b9c3c7d", + "name": "1. Products", + "parent": null + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/operations.json b/simple-ecommerce/directus/template/src/operations.json new file mode 100644 index 00000000..bf92974a --- /dev/null +++ b/simple-ecommerce/directus/template/src/operations.json @@ -0,0 +1,89 @@ +[ + { + "id": "5c01060f-51d2-4d83-9cc5-273b4db13321", + "name": "Product", + "key": "product", + "type": "item-read", + "position_x": 37, + "position_y": 1, + "options": { + "collection": "products", + "key": "{{$trigger.keys}}", + "query": { + "fields": [ + "*", + "variants.*" + ] + } + }, + "resolve": "a12502bb-2daa-4ca7-b4af-998d600a9f32", + "reject": null, + "flow": "fd406c19-b52c-4037-b14a-914234714c2c", + "date_created": "2024-09-26T05:32:23.265Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "86307250-be0e-43a1-bed1-d20b014d08f6", + "name": "Return", + "key": "return", + "type": "exec", + "position_x": 37, + "position_y": 17, + "options": { + "code": "module.exports = function(data) {\n\t// If color or size aren't updated, then just return payload\n\treturn data.$trigger.payload\n}" + }, + "resolve": null, + "reject": null, + "flow": "fd406c19-b52c-4037-b14a-914234714c2c", + "date_created": "2024-09-26T05:43:33.302Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "95d18982-fd6d-479b-9b40-82988e24a362", + "name": "Update", + "key": "update", + "type": "exec", + "position_x": 19, + "position_y": 1, + "options": { + "code": "module.exports = function(data) {\n\t// Check if color or size are present\n\tconst payload = data.$trigger.payload\n \n if(!payload.color && !payload.size) {\n throw new Error('No color or size in payload. Returning payload')\n }\n}" + }, + "resolve": "5c01060f-51d2-4d83-9cc5-273b4db13321", + "reject": "86307250-be0e-43a1-bed1-d20b014d08f6", + "flow": "fd406c19-b52c-4037-b14a-914234714c2c", + "date_created": "2024-09-26T05:43:33.306Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "a12502bb-2daa-4ca7-b4af-998d600a9f32", + "name": "Variants", + "key": "variants", + "type": "exec", + "position_x": 55, + "position_y": 1, + "options": { + "code": "const generateCombinations = (arrays) => {\n return arrays.reduce((acc, curr) => \n curr.length ? acc.flatMap(x => curr.map(y => [...x, y])) : acc,\n [[]]\n );\n};\n\nconst createVariant = (productId, combination) => {\n const [c, s] = combination;\n const sku = [c, s].filter(Boolean).map(v => v.toUpperCase()).join('-');\n \n return {\n product: productId,\n color: c,\n size: s,\n sku\n };\n};\n\nconst handleProductUpdate = (triggerPayload, currentProduct) => {\n if (!currentProduct || typeof currentProduct !== 'object') {\n throw new Error('Invalid or missing currentProduct data');\n }\n\n const productId = currentProduct.id;\n if (!productId) {\n throw new Error('Missing product ID in currentProduct data');\n }\n\n // Safely access payload and current product properties\n const payload = triggerPayload?.payload || {};\n const newColors = Array.isArray(payload.color) ? payload.color : currentProduct.color || [];\n const newSizes = Array.isArray(payload.size) ? payload.size : currentProduct.size || [];\n\n // If no colors or sizes available, return early\n if (newColors.length === 0 && newSizes.length === 0) {\n return { variants: {} };\n }\n\n const currentVariants = Array.isArray(currentProduct.variants) ? currentProduct.variants : [];\n\n // Generate new variants based on updated or existing colors and sizes\n const newCombinations = generateCombinations([newColors, newSizes]);\n const potentialNewVariants = newCombinations.map(combo => createVariant(productId, combo));\n\n // Identify variants to create, update, or delete\n const variantsToCreate = [];\n const variantsToUpdate = [];\n const variantsToDelete = [];\n\n potentialNewVariants.forEach(newVariant => {\n const existingVariant = currentVariants.find(v => \n v.color === newVariant.color && v.size === newVariant.size\n );\n\n if (existingVariant) {\n if (existingVariant.sku !== newVariant.sku) {\n variantsToUpdate.push({ ...newVariant, id: existingVariant.id });\n }\n } else {\n variantsToCreate.push(newVariant);\n }\n });\n\n currentVariants.forEach(currentVariant => {\n const stillExists = potentialNewVariants.some(v => \n v.color === currentVariant.color && v.size === currentVariant.size\n );\n\n if (!stillExists) {\n variantsToDelete.push(currentVariant.id);\n }\n });\n\n // Prepare the result in the required format\n const result = {\n variants: {}\n };\n\n if (variantsToCreate.length > 0) result.variants.create = variantsToCreate;\n if (variantsToUpdate.length > 0) result.variants.update = variantsToUpdate;\n if (variantsToDelete.length > 0) result.variants.delete = variantsToDelete;\n\n return result;\n};\n\n\nmodule.exports = function(data) {\n\tconst variants = handleProductUpdate(data.$trigger, data.product)\n // Since color or size have been updated, return modified payload\n\treturn {\n ...data.$trigger.payload,\n ...variants\n }\n}" + }, + "resolve": null, + "reject": null, + "flow": "fd406c19-b52c-4037-b14a-914234714c2c", + "date_created": "2024-09-26T05:43:33.274Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "bd0a0a62-44b8-4faf-9b46-33a881b95b19", + "name": "Variants", + "key": "variants", + "type": "exec", + "position_x": 19, + "position_y": 1, + "options": { + "code": "const generateCombinations = (arrays) => {\n return arrays.reduce((acc, curr) => \n curr.length ? acc.flatMap(x => curr.map(y => [...x, y])) : acc,\n [[]]\n );\n};\n\nconst createVariant = (id, combination) => {\n const [c, s] = combination;\n let sku = [c, s].filter(Boolean).map(v => v.toUpperCase()).join('-');\n \n if (!sku && id === undefined) {\n sku = 'NEW-PRODUCT';\n } else if (!sku && id !== undefined) {\n sku = id.toUpperCase();\n }\n \n const variant = {\n sku\n };\n\n if (c !== undefined) variant.color = c;\n if (s !== undefined) variant.size = s;\n\n return variant;\n};\n\nconst createVariants = (data) => {\n const { id, color = [], size = [] } = data;\n\n const attributes = [color, size].filter(attr => attr.length > 0);\n const combinations = generateCombinations(attributes);\n \n const variants = combinations.length \n ? combinations.map(combo => createVariant(id, combo))\n : [createVariant(id, [])];\n\n return {\n variants: {\n create: variants\n }\n };\n};\n\nmodule.exports = function(data) {\n\tconst variants = createVariants(data.$trigger.payload)\n return {\n ...data.$trigger.payload,\n ...variants\n }\n}" + }, + "resolve": null, + "reject": null, + "flow": "49ed6f64-7494-41f7-8c04-cfc7f32c5824", + "date_created": "2024-09-26T05:15:53.142Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/panels.json b/simple-ecommerce/directus/template/src/panels.json new file mode 100644 index 00000000..1cbd8037 --- /dev/null +++ b/simple-ecommerce/directus/template/src/panels.json @@ -0,0 +1,335 @@ +[ + { + "id": "03fc9b26-ab08-41ff-aa25-9609f09556ac", + "dashboard": "82a3c7d2-5cf7-408b-ad5d-9f1dd73e64a2", + "name": "Total Orders", + "icon": "numbers", + "color": null, + "show_header": true, + "note": null, + "type": "metric", + "position_x": 13, + "position_y": 18, + "width": 12, + "height": 5, + "options": { + "collection": "orders", + "field": "id", + "function": "count", + "filter": { + "_and": [ + { + "date_created": { + "_between": [ + "{{dateFrom}}", + "{{dateTo}}" + ] + } + } + ] + } + }, + "date_created": "2024-09-26T13:43:32.907Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "07cfb335-ef0a-407d-92d8-64d42fd94273", + "dashboard": "82a3c7d2-5cf7-408b-ad5d-9f1dd73e64a2", + "name": null, + "icon": null, + "color": null, + "show_header": false, + "note": null, + "type": "label", + "position_x": 1, + "position_y": 5, + "width": 36, + "height": 3, + "options": { + "text": "Sales" + }, + "date_created": "2024-09-26T13:43:32.861Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "2aa251a1-c98c-4ac3-8677-10636889b5a1", + "dashboard": "82a3c7d2-5cf7-408b-ad5d-9f1dd73e64a2", + "name": null, + "icon": null, + "color": null, + "show_header": false, + "note": null, + "type": "label", + "position_x": 1, + "position_y": 38, + "width": 36, + "height": 3, + "options": { + "text": "Needs Attention", + "color": "#E35169" + }, + "date_created": "2024-09-26T13:46:00.365Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "4b610f1d-0717-40d5-8290-825d35dc7423", + "dashboard": "82a3c7d2-5cf7-408b-ad5d-9f1dd73e64a2", + "name": "To", + "icon": "date_range", + "color": null, + "show_header": true, + "note": null, + "type": "variable", + "position_x": 25, + "position_y": 8, + "width": 12, + "height": 6, + "options": { + "field": "dateTo", + "type": "timestamp", + "inter": "datetime", + "options": { + "use24": false + }, + "defaultValue": "2025-12-31T12:00:00-05:00" + }, + "date_created": "2024-09-26T13:43:32.898Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "9858e58f-2d74-4c6a-bb65-47e6c50c227c", + "dashboard": "82a3c7d2-5cf7-408b-ad5d-9f1dd73e64a2", + "name": "Orders with Issues", + "icon": "sentiment_sad", + "color": null, + "show_header": true, + "note": null, + "type": "directus-panel-table", + "position_x": 1, + "position_y": 41, + "width": 36, + "height": 13, + "options": { + "collection": "orders", + "sort_field": "date_created", + "filter": { + "_and": [ + { + "_or": [ + { + "fulfillment_status": { + "_eq": "on_hold" + } + }, + { + "payment_status": { + "_eq": "not_paid" + } + } + ] + } + ] + }, + "fields": [ + "order_number", + "status", + "fulfillment_status", + "payment_status", + "customer" + ], + "limit": 100 + }, + "date_created": "2024-09-26T13:48:01.647Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "9c87ede9-b891-4fd5-996a-12531ca8f505", + "dashboard": "82a3c7d2-5cf7-408b-ad5d-9f1dd73e64a2", + "name": "Sales ($) over Time", + "icon": "attach_money", + "color": null, + "show_header": true, + "note": null, + "type": "time-series", + "position_x": 19, + "position_y": 23, + "width": 18, + "height": 11, + "options": { + "collection": "orders", + "precision": "day", + "function": "sum", + "range": "auto", + "dateField": "date_created", + "valueField": "total", + "filter": { + "_and": [ + { + "date_created": { + "_between": [ + "{{dateFrom}}", + "{{dateTo}}" + ] + } + } + ] + } + }, + "date_created": "2024-09-26T13:43:32.891Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "afe41ce8-ec12-439e-8ae1-1b14a804b0c4", + "dashboard": "82a3c7d2-5cf7-408b-ad5d-9f1dd73e64a2", + "name": null, + "icon": null, + "color": null, + "show_header": false, + "note": null, + "type": "label", + "position_x": 1, + "position_y": 8, + "width": 12, + "height": 6, + "options": { + "text": "Use this dashboard to track store performance.\nYou can filter orders by adjusting the date range to the right.", + "whiteSpace": "normal", + "fontWeight": 300, + "color": "#A2B5CD", + "textAlign": "left" + }, + "date_created": "2024-09-26T13:50:46.781Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "b2ec7d9b-7037-4a6f-ad5d-0049c6dae979", + "dashboard": "82a3c7d2-5cf7-408b-ad5d-9f1dd73e64a2", + "name": "# Orders over Time", + "icon": "av_timer", + "color": null, + "show_header": true, + "note": null, + "type": "time-series", + "position_x": 1, + "position_y": 23, + "width": 18, + "height": 11, + "options": { + "collection": "orders", + "precision": "day", + "function": "count", + "range": "auto", + "dateField": "date_created", + "valueField": "id", + "filter": { + "_and": [ + { + "date_created": { + "_between": [ + "{{dateFrom}}", + "{{dateTo}}" + ] + } + } + ] + } + }, + "date_created": "2024-09-26T13:43:32.885Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "dfcb5159-7413-4302-90e1-c3742f5ccac1", + "dashboard": "82a3c7d2-5cf7-408b-ad5d-9f1dd73e64a2", + "name": "Average Order ($)", + "icon": "attach_money", + "color": null, + "show_header": true, + "note": null, + "type": "metric", + "position_x": 25, + "position_y": 18, + "width": 12, + "height": 5, + "options": { + "collection": "orders", + "field": "total", + "function": "avg", + "filter": { + "_and": [ + { + "date_created": { + "_between": [ + "{{dateFrom}}", + "{{dateTo}}" + ] + } + } + ] + }, + "prefix": "$", + "maximumFractionDigits": 2 + }, + "date_created": "2024-09-26T13:43:32.909Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "e0348409-5b03-4fe6-a301-38bca12a1d47", + "dashboard": "82a3c7d2-5cf7-408b-ad5d-9f1dd73e64a2", + "name": "Total Sales ($)", + "icon": "attach_money", + "color": null, + "show_header": true, + "note": null, + "type": "metric", + "position_x": 1, + "position_y": 18, + "width": 12, + "height": 5, + "options": { + "collection": "orders", + "field": "total", + "function": "sum", + "filter": { + "_and": [ + { + "date_created": { + "_between": [ + "{{dateFrom}}", + "{{dateTo}}" + ] + } + } + ] + }, + "prefix": "$", + "maximumFractionDigits": 2 + }, + "date_created": "2024-09-26T13:43:32.904Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + }, + { + "id": "f464520a-a223-48cb-b350-2e461727d39a", + "dashboard": "82a3c7d2-5cf7-408b-ad5d-9f1dd73e64a2", + "name": "From", + "icon": "date_range", + "color": null, + "show_header": true, + "note": null, + "type": "variable", + "position_x": 13, + "position_y": 8, + "width": 12, + "height": 6, + "options": { + "field": "dateFrom", + "type": "timestamp", + "inter": "datetime", + "options": { + "use24": false + }, + "defaultValue": "2024-01-01T12:00:00-05:00" + }, + "date_created": "2024-09-26T13:43:32.895Z", + "user_created": "71639435-1dc5-4f21-8c11-603deee67b23" + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/permissions.json b/simple-ecommerce/directus/template/src/permissions.json new file mode 100644 index 00000000..3698864b --- /dev/null +++ b/simple-ecommerce/directus/template/src/permissions.json @@ -0,0 +1,290 @@ +[ + { + "collection": "order_items", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "orders", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "tax_rates", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "products", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "product_variants", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "customers", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "customers", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "customer_addresses", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "customer_addresses", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "customer_addresses", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "customers", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "order_items", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "orders", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "order_items", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "orders", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "categories", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "5de308ad-5280-47d1-9684-c58e03dda627" + }, + { + "collection": "product_images", + "action": "read", + "permissions": { + "_and": [ + { + "product": { + "status": { + "_neq": "inactive" + } + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "product_variants", + "action": "read", + "permissions": { + "_and": [ + { + "product": { + "status": { + "_neq": "inactive" + } + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "products", + "action": "read", + "permissions": { + "_and": [ + { + "status": { + "_neq": "inactive" + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "tax_rates", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "categories", + "action": "read", + "permissions": { + "_and": [ + { + "is_active": { + "_eq": true + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "directus_files", + "action": "read", + "permissions": { + "_and": [ + { + "folder": { + "name": { + "_ncontains": "Private" + } + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/policies.json b/simple-ecommerce/directus/template/src/policies.json new file mode 100644 index 00000000..61b2c185 --- /dev/null +++ b/simple-ecommerce/directus/template/src/policies.json @@ -0,0 +1,32 @@ +[ + { + "id": "5de308ad-5280-47d1-9684-c58e03dda627", + "name": "Submit Orders", + "icon": "add_shopping_cart", + "description": "Allows order creation. Best for use on server side for security reasons.", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false + }, + { + "id": "611daef9-b88f-4af7-94f2-45017149fb6c", + "name": "Administrator", + "icon": "verified", + "description": "$t:admin_description", + "ip_access": null, + "enforce_tfa": false, + "admin_access": true, + "app_access": true + }, + { + "id": "abf8a154-5b1c-4a46-ac9c-7300570f4f17", + "name": "Read Products and Content", + "icon": "public", + "description": "Grants access to read published products, content, and assets", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/presets.json b/simple-ecommerce/directus/template/src/presets.json new file mode 100644 index 00000000..744d234f --- /dev/null +++ b/simple-ecommerce/directus/template/src/presets.json @@ -0,0 +1,316 @@ +[ + { + "bookmark": null, + "user": null, + "role": null, + "collection": "orders", + "search": null, + "layout": "tabular", + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "order_number", + "date_created", + "status", + "fulfillment_status", + "payment_status", + "line_items" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "order_number": 137.59375, + "fulfillment_status": 154.71484375, + "payment_status": 146.67578125 + } + }, + "kanban": { + "groupField": "fulfillment_status", + "groupTitle": null, + "userField": null, + "showUngrouped": false + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "products", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "status", + "thumbnail", + "title", + "slug", + "category" + ], + "sort": [ + "-description" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "status": 44.881256103515625, + "thumbnail": 70.375, + "title": 253.40625 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "customers", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "email", + "first_name", + "last_name", + "phone" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "email": 187.82421875 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "tax_rates", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "code", + "rate", + "title" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "code": 93.07528686523438, + "rate": 102.741455078125 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "directus_translations", + "search": null, + "layout": "tabular", + "layout_query": { + "editable-layout": { + "fields": [ + "language", + "key", + "value" + ] + } + }, + "layout_options": { + "editable-layout": { + "widths": { + "language": 120.01278686523438 + }, + "autosave": false + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "product_variants", + "search": null, + "layout": "tabular", + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "product", + "sku", + "color", + "size", + "price", + "weight", + "weight_unit" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "product": 224.54296875, + "color": 108.77734375, + "size": 96.15234375, + "price": 106.81640625, + "weight": 96.03515625, + "weight_unit": 57.2578125 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "categories", + "search": null, + "layout": "tabular", + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "title", + "sub_categories", + "parent_category" + ], + "sort": [ + "-parent_category" + ] + }, + "dcb-tree-view": { + "page": 1 + } + }, + "layout_options": { + "tabular": { + "widths": { + "title": 138.80859375, + "is_active": 94.1640625 + } + }, + "dcb-tree-view": { + "labelPrimary": "{{title}}", + "metaCollectionName": "categories_meta", + "slugifyFieldName": null, + "debug": false + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": "1. Fulfillment", + "user": null, + "role": null, + "collection": "orders", + "search": null, + "layout": "kanban", + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "order_number", + "date_created", + "status", + "fulfillment_status", + "payment_status", + "line_items" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "order_number": 137.59375, + "fulfillment_status": 154.71484375, + "payment_status": 146.67578125 + } + }, + "kanban": { + "groupField": "fulfillment_status", + "groupTitle": null, + "userField": null, + "showUngrouped": false + } + }, + "refresh_interval": null, + "filter": null, + "icon": "view_kanban", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "directus_files", + "search": null, + "layout": "cards", + "layout_query": { + "cards": { + "sort": [ + "-uploaded_on" + ], + "page": 1 + } + }, + "layout_options": { + "cards": { + "icon": "insert_drive_file", + "title": "{{ title }}", + "subtitle": "{{ type }} • {{ filesize }}", + "size": 4, + "imageFit": "crop" + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/relations.json b/simple-ecommerce/directus/template/src/relations.json new file mode 100644 index 00000000..fdbb995d --- /dev/null +++ b/simple-ecommerce/directus/template/src/relations.json @@ -0,0 +1,522 @@ +[ + { + "collection": "product_variants", + "field": "image", + "related_collection": "directus_files", + "schema": { + "constraint_name": "product_variants_image_foreign", + "table": "product_variants", + "column": "image", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "product_variants", + "many_field": "image", + "one_collection": "directus_files", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "products", + "field": "thumbnail", + "related_collection": "directus_files", + "schema": { + "constraint_name": "products_thumbnail_foreign", + "table": "products", + "column": "thumbnail", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "products", + "many_field": "thumbnail", + "one_collection": "directus_files", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "product_images", + "field": "file", + "related_collection": "directus_files", + "schema": { + "constraint_name": "product_images_file_foreign", + "table": "product_images", + "column": "file", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "product_images", + "many_field": "file", + "one_collection": "directus_files", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "product", + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "orders", + "field": "user_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "orders_user_created_foreign", + "table": "orders", + "column": "user_created", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "orders", + "many_field": "user_created", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "orders", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "orders_user_updated_foreign", + "table": "orders", + "column": "user_updated", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "orders", + "many_field": "user_updated", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "products", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "products_user_updated_foreign", + "table": "products", + "column": "user_updated", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "products", + "many_field": "user_updated", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "products", + "field": "user_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "products_user_created_foreign", + "table": "products", + "column": "user_created", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "products", + "many_field": "user_created", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "customers", + "field": "user_created", + "related_collection": "directus_users", + "schema": { + "constraint_name": "customers_user_created_foreign", + "table": "customers", + "column": "user_created", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "customers", + "many_field": "user_created", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "customers", + "field": "user_updated", + "related_collection": "directus_users", + "schema": { + "constraint_name": "customers_user_updated_foreign", + "table": "customers", + "column": "user_updated", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "customers", + "many_field": "user_updated", + "one_collection": "directus_users", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "orders", + "field": "billing_address", + "related_collection": "customer_addresses", + "schema": { + "constraint_name": "orders_billing_address_foreign", + "table": "orders", + "column": "billing_address", + "foreign_key_schema": "public", + "foreign_key_table": "customer_addresses", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "orders", + "many_field": "billing_address", + "one_collection": "customer_addresses", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "orders", + "field": "shipping_address", + "related_collection": "customer_addresses", + "schema": { + "constraint_name": "orders_shipping_address_foreign", + "table": "orders", + "column": "shipping_address", + "foreign_key_schema": "public", + "foreign_key_table": "customer_addresses", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "orders", + "many_field": "shipping_address", + "one_collection": "customer_addresses", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "orders", + "field": "customer", + "related_collection": "customers", + "schema": { + "constraint_name": "orders_customer_foreign", + "table": "orders", + "column": "customer", + "foreign_key_schema": "public", + "foreign_key_table": "customers", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "orders", + "many_field": "customer", + "one_collection": "customers", + "one_field": "orders", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "customer_addresses", + "field": "customer", + "related_collection": "customers", + "schema": { + "constraint_name": "customer_addresses_customer_foreign", + "table": "customer_addresses", + "column": "customer", + "foreign_key_schema": "public", + "foreign_key_table": "customers", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "customer_addresses", + "many_field": "customer", + "one_collection": "customers", + "one_field": "addresses", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "product_variants", + "field": "product", + "related_collection": "products", + "schema": { + "constraint_name": "product_variants_product_foreign", + "table": "product_variants", + "column": "product", + "foreign_key_schema": "public", + "foreign_key_table": "products", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "product_variants", + "many_field": "product", + "one_collection": "products", + "one_field": "variants", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "delete" + } + }, + { + "collection": "product_images", + "field": "product", + "related_collection": "products", + "schema": { + "constraint_name": "product_images_product_foreign", + "table": "product_images", + "column": "product", + "foreign_key_schema": "public", + "foreign_key_table": "products", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "product_images", + "many_field": "product", + "one_collection": "products", + "one_field": "images", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "file", + "sort_field": "sort", + "one_deselect_action": "delete" + } + }, + { + "collection": "order_items", + "field": "product", + "related_collection": "products", + "schema": { + "constraint_name": "order_items_product_foreign", + "table": "order_items", + "column": "product", + "foreign_key_schema": "public", + "foreign_key_table": "products", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "order_items", + "many_field": "product", + "one_collection": "products", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "order_items", + "field": "order", + "related_collection": "orders", + "schema": { + "constraint_name": "order_items_order_foreign", + "table": "order_items", + "column": "order", + "foreign_key_schema": "public", + "foreign_key_table": "orders", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "order_items", + "many_field": "order", + "one_collection": "orders", + "one_field": "line_items", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "order_items", + "field": "product_variant", + "related_collection": "product_variants", + "schema": { + "constraint_name": "order_items_product_variant_foreign", + "table": "order_items", + "column": "product_variant", + "foreign_key_schema": "public", + "foreign_key_table": "product_variants", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "order_items", + "many_field": "product_variant", + "one_collection": "product_variants", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "categories", + "field": "parent_category", + "related_collection": "categories", + "schema": { + "constraint_name": "categories_parent_category_foreign", + "table": "categories", + "column": "parent_category", + "foreign_key_schema": "public", + "foreign_key_table": "categories", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "categories", + "many_field": "parent_category", + "one_collection": "categories", + "one_field": "sub_categories", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": "sort", + "one_deselect_action": "nullify" + } + }, + { + "collection": "products", + "field": "category", + "related_collection": "categories", + "schema": { + "constraint_name": "products_category_foreign", + "table": "products", + "column": "category", + "foreign_key_schema": "public", + "foreign_key_table": "categories", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "products", + "many_field": "category", + "one_collection": "categories", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/roles.json b/simple-ecommerce/directus/template/src/roles.json new file mode 100644 index 00000000..2f66e680 --- /dev/null +++ b/simple-ecommerce/directus/template/src/roles.json @@ -0,0 +1,12 @@ +[ + { + "id": "c537905b-a75c-4a35-be45-74cd696d789e", + "name": "Administrator", + "icon": "verified", + "description": "$t:admin_description", + "parent": null, + "children": null, + "policies": null, + "users": null + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/schema/snapshot.json b/simple-ecommerce/directus/template/src/schema/snapshot.json new file mode 100644 index 00000000..21d24d17 --- /dev/null +++ b/simple-ecommerce/directus/template/src/schema/snapshot.json @@ -0,0 +1,5476 @@ +{ + "version": 1, + "directus": "11.1.2", + "vendor": "postgres", + "collections": [ + { + "collection": "categories", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": "is_active", + "archive_value": "false", + "collapse": "open", + "collection": "categories", + "color": null, + "display_template": "{{title}}", + "group": "ecommerce_settings", + "hidden": false, + "icon": "local_offer", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": "sort", + "translations": null, + "unarchive_value": "true", + "versioning": false + }, + "schema": { + "name": "categories" + } + }, + { + "collection": "customer_addresses", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": "is_active", + "archive_value": "false", + "collapse": "open", + "collection": "customer_addresses", + "color": null, + "display_template": "{{address_line_1}} • {{address_line_2}}", + "group": "customers", + "hidden": true, + "icon": null, + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": "sort", + "translations": null, + "unarchive_value": "true", + "versioning": false + }, + "schema": { + "name": "customer_addresses" + } + }, + { + "collection": "customers", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": "archived", + "collapse": "open", + "collection": "customers", + "color": null, + "display_template": "{{first_name}} {{last_name}} <{{email}}>", + "group": "ecommerce", + "hidden": false, + "icon": "person_pin", + "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": "customers" + } + }, + { + "collection": "ecommerce", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "ecommerce", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "shopping_basket", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "translation": "eCommerce" + } + ], + "unarchive_value": null, + "versioning": false + } + }, + { + "collection": "ecommerce_settings", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "closed", + "collection": "ecommerce_settings", + "color": null, + "display_template": null, + "group": "ecommerce", + "hidden": false, + "icon": "settings_suggest", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 4, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "translation": "Settings" + } + ], + "unarchive_value": null, + "versioning": false + } + }, + { + "collection": "order_items", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": "archived", + "collapse": "open", + "collection": "order_items", + "color": null, + "display_template": null, + "group": "orders", + "hidden": true, + "icon": null, + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": "sort", + "translations": null, + "unarchive_value": "draft", + "versioning": false + }, + "schema": { + "name": "order_items" + } + }, + { + "collection": "orders", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": "status", + "archive_value": "archived", + "collapse": "closed", + "collection": "orders", + "color": null, + "display_template": "{{order_number}} • {{status}}", + "group": "ecommerce", + "hidden": false, + "icon": "data_check", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": null, + "unarchive_value": "pending", + "versioning": false + }, + "schema": { + "name": "orders" + } + }, + { + "collection": "product_images", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "product_images", + "color": null, + "display_template": null, + "group": "products", + "hidden": true, + "icon": null, + "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": "product_images" + } + }, + { + "collection": "product_variants", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "product_variants", + "color": null, + "display_template": "{{color}} • {{size}} • {{price}}", + "group": "products", + "hidden": false, + "icon": "gamepad", + "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": "product_variants" + } + }, + { + "collection": "products", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": "status", + "archive_value": "inactive", + "collapse": "closed", + "collection": "products", + "color": null, + "display_template": "{{title}}", + "group": "ecommerce", + "hidden": false, + "icon": "sports_esports", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 3, + "sort_field": "sort", + "translations": null, + "unarchive_value": "active", + "versioning": false + }, + "schema": { + "name": "products" + } + }, + { + "collection": "tax_rates", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "tax_rates", + "color": null, + "display_template": "{{code}} • {{rate}} ({{title}})", + "group": "ecommerce_settings", + "hidden": false, + "icon": "percent", + "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": "tax_rates" + } + } + ], + "fields": [ + { + "collection": "categories", + "field": "id", + "type": "uuid", + "meta": { + "collection": "categories", + "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": "categories", + "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 + } + }, + { + "collection": "categories", + "field": "sort", + "type": "integer", + "meta": { + "collection": "categories", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "categories", + "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 + } + }, + { + "collection": "categories", + "field": "title", + "type": "string", + "meta": { + "collection": "categories", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": null, + "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": "title", + "table": "categories", + "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 + } + }, + { + "collection": "categories", + "field": "sub_categories", + "type": "alias", + "meta": { + "collection": "categories", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "field": "sub_categories", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": null, + "options": { + "displayTemplate": "{{title}}", + "enableLink": true, + "sort": "sort", + "template": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "categories", + "field": "parent_category", + "type": "uuid", + "meta": { + "collection": "categories", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "field": "parent_category", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "parent_category", + "table": "categories", + "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": "categories", + "foreign_key_column": "id" + } + }, + { + "collection": "categories", + "field": "is_active", + "type": "boolean", + "meta": { + "collection": "categories", + "conditions": null, + "display": "boolean", + "display_options": null, + "field": "is_active", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": { + "label": "Active" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "is_active", + "table": "categories", + "data_type": "boolean", + "default_value": true, + "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 + } + }, + { + "collection": "customer_addresses", + "field": "id", + "type": "uuid", + "meta": { + "collection": "customer_addresses", + "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": "customer_addresses", + "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 + } + }, + { + "collection": "customer_addresses", + "field": "sort", + "type": "integer", + "meta": { + "collection": "customer_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "customer_addresses", + "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 + } + }, + { + "collection": "customer_addresses", + "field": "customer", + "type": "uuid", + "meta": { + "collection": "customer_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "customer", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "customer", + "table": "customer_addresses", + "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": "customers", + "foreign_key_column": "id" + } + }, + { + "collection": "customer_addresses", + "field": "address_line_1", + "type": "string", + "meta": { + "collection": "customer_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "address_line_1", + "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": "half" + }, + "schema": { + "name": "address_line_1", + "table": "customer_addresses", + "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 + } + }, + { + "collection": "customer_addresses", + "field": "address_line_2", + "type": "string", + "meta": { + "collection": "customer_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "address_line_2", + "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": "address_line_2", + "table": "customer_addresses", + "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 + } + }, + { + "collection": "customer_addresses", + "field": "city", + "type": "string", + "meta": { + "collection": "customer_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "city", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "city", + "table": "customer_addresses", + "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 + } + }, + { + "collection": "customer_addresses", + "field": "state", + "type": "string", + "meta": { + "collection": "customer_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "state", + "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": "half" + }, + "schema": { + "name": "state", + "table": "customer_addresses", + "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 + } + }, + { + "collection": "customer_addresses", + "field": "postal_code", + "type": "string", + "meta": { + "collection": "customer_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "postal_code", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 11, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "postal_code", + "table": "customer_addresses", + "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 + } + }, + { + "collection": "customer_addresses", + "field": "country_code", + "type": "string", + "meta": { + "collection": "customer_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "country_code", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 12, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "country_code", + "table": "customer_addresses", + "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 + } + }, + { + "collection": "customer_addresses", + "field": "is_shipping", + "type": "boolean", + "meta": { + "collection": "customer_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "is_shipping", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": { + "label": "Shipping Address" + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "is_shipping", + "table": "customer_addresses", + "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 + } + }, + { + "collection": "customer_addresses", + "field": "is_billing", + "type": "boolean", + "meta": { + "collection": "customer_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "is_billing", + "group": null, + "hidden": false, + "interface": "boolean", + "note": null, + "options": { + "label": "Billing Address" + }, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "is_billing", + "table": "customer_addresses", + "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 + } + }, + { + "collection": "customer_addresses", + "field": "is_active", + "type": "boolean", + "meta": { + "collection": "customer_addresses", + "conditions": null, + "display": null, + "display_options": null, + "field": "is_active", + "group": null, + "hidden": true, + "interface": "boolean", + "note": null, + "options": { + "label": "Active" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "is_active", + "table": "customer_addresses", + "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 + } + }, + { + "collection": "customers", + "field": "id", + "type": "uuid", + "meta": { + "collection": "customers", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": "meta_profile", + "hidden": false, + "interface": "input", + "note": "Unique identifier for customer", + "options": null, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "id", + "table": "customers", + "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 + } + }, + { + "collection": "customers", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "customers", + "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": 1, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "customers", + "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" + } + }, + { + "collection": "customers", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "customers", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "date_created", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": { + "use24": false + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "customers", + "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 + } + }, + { + "collection": "customers", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "customers", + "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": 3, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "customers", + "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" + } + }, + { + "collection": "customers", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "customers", + "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": "customers", + "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 + } + }, + { + "collection": "customers", + "field": "first_name", + "type": "string", + "meta": { + "collection": "customers", + "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": "customers", + "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 + } + }, + { + "collection": "customers", + "field": "last_name", + "type": "string", + "meta": { + "collection": "customers", + "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": "customers", + "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 + } + }, + { + "collection": "customers", + "field": "email", + "type": "string", + "meta": { + "collection": "customers", + "conditions": null, + "display": null, + "display_options": null, + "field": "email", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "iconLeft": "mark_email_unread" + }, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "email", + "table": "customers", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": false, + "is_unique": true, + "is_indexed": true, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": null, + "foreign_key_column": null + } + }, + { + "collection": "customers", + "field": "phone", + "type": "string", + "meta": { + "collection": "customers", + "conditions": null, + "display": null, + "display_options": null, + "field": "phone", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "iconLeft": "phone_in_talk" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "phone", + "table": "customers", + "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 + } + }, + { + "collection": "customers", + "field": "password", + "type": "hash", + "meta": { + "collection": "customers", + "conditions": null, + "display": null, + "display_options": null, + "field": "password", + "group": "meta_profile", + "hidden": false, + "interface": "input-hash", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "hash" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "password", + "table": "customers", + "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 + } + }, + { + "collection": "customers", + "field": "orders", + "type": "alias", + "meta": { + "collection": "customers", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{order_number}} • {{status}} • {{date_created}}" + }, + "field": "orders", + "group": "meta_tabs", + "hidden": false, + "interface": "list-o2m", + "note": null, + "options": { + "enableLink": true, + "fields": [ + "status", + "order_number", + "line_items", + "subtotal", + "tax_total", + "shipping_total", + "total" + ], + "layout": "table", + "sort": null + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "fill" + } + }, + { + "collection": "customers", + "field": "addresses", + "type": "alias", + "meta": { + "collection": "customers", + "conditions": null, + "display": null, + "display_options": null, + "field": "addresses", + "group": "meta_tabs", + "hidden": false, + "interface": "list-o2m", + "note": null, + "options": { + "enableLink": true + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "customers", + "field": "meta_tabs", + "type": "alias", + "meta": { + "collection": "customers", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_tabs", + "group": null, + "hidden": false, + "interface": "group-tabs", + "note": null, + "options": { + "fillWidth": true + }, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "customers", + "field": "meta_profile", + "type": "alias", + "meta": { + "collection": "customers", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_profile", + "group": "meta_tabs", + "hidden": false, + "interface": "group-raw", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "Profile" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "customers", + "field": "is_subscribed", + "type": "boolean", + "meta": { + "collection": "customers", + "conditions": null, + "display": "boolean", + "display_options": null, + "field": "is_subscribed", + "group": "meta_profile", + "hidden": false, + "interface": "boolean", + "note": "Is customer subscribed to marketing emails?", + "options": { + "label": "Marketing Emails" + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "is_subscribed", + "table": "customers", + "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 + } + }, + { + "collection": "directus_settings", + "field": "command_palette_settings", + "type": "json", + "meta": { + "collection": "directus_settings", + "conditions": null, + "display": "raw", + "display_options": null, + "field": "command_palette_settings", + "group": null, + "hidden": false, + "interface": "input-code", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "command_palette_settings", + "table": "directus_settings", + "data_type": "json", + "default_value": {}, + "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 + } + }, + { + "collection": "order_items", + "field": "id", + "type": "uuid", + "meta": { + "collection": "order_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": "order_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 + } + }, + { + "collection": "order_items", + "field": "sort", + "type": "integer", + "meta": { + "collection": "order_items", + "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": "order_items", + "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 + } + }, + { + "collection": "order_items", + "field": "quantity", + "type": "integer", + "meta": { + "collection": "order_items", + "conditions": null, + "display": null, + "display_options": null, + "field": "quantity", + "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": "quantity", + "table": "order_items", + "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 + } + }, + { + "collection": "order_items", + "field": "product", + "type": "uuid", + "meta": { + "collection": "order_items", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "field": "product", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "product", + "table": "order_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": "products", + "foreign_key_column": "id" + } + }, + { + "collection": "order_items", + "field": "subtotal", + "type": "decimal", + "meta": { + "collection": "order_items", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "field": "subtotal", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "iconLeft": "attach_money" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "subtotal", + "table": "order_items", + "data_type": "numeric", + "default_value": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "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 + } + }, + { + "collection": "order_items", + "field": "total", + "type": "decimal", + "meta": { + "collection": "order_items", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "field": "total", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "iconLeft": "attach_money" + }, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "total", + "table": "order_items", + "data_type": "numeric", + "default_value": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "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 + } + }, + { + "collection": "order_items", + "field": "order", + "type": "uuid", + "meta": { + "collection": "order_items", + "conditions": null, + "display": null, + "display_options": null, + "field": "order", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "order", + "table": "order_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": "orders", + "foreign_key_column": "id" + } + }, + { + "collection": "order_items", + "field": "price", + "type": "decimal", + "meta": { + "collection": "order_items", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "field": "price", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "iconLeft": "attach_money" + }, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "price", + "table": "order_items", + "data_type": "numeric", + "default_value": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "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 + } + }, + { + "collection": "order_items", + "field": "product_variant", + "type": "uuid", + "meta": { + "collection": "order_items", + "conditions": null, + "display": null, + "display_options": null, + "field": "product_variant", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "filter": { + "_and": [ + { + "product": { + "_eq": "{{product}}" + } + } + ] + } + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "product_variant", + "table": "order_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": "product_variants", + "foreign_key_column": "id" + } + }, + { + "collection": "orders", + "field": "id", + "type": "uuid", + "meta": { + "collection": "orders", + "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": "orders", + "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 + } + }, + { + "collection": "orders", + "field": "status", + "type": "string", + "meta": { + "collection": "orders", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "color": "#A2B5CD", + "text": "$t:pending", + "value": "pending" + }, + { + "color": "var(--theme--primary)", + "text": "$t:completed", + "value": "completed" + }, + { + "color": "#A2B5CD", + "text": "$t:archived", + "value": "archived" + }, + { + "color": "#E35169", + "text": "$t:canceled", + "value": "canceled" + } + ] + }, + "field": "status", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "color": "#A2B5CD", + "text": "$t:pending", + "value": "pending" + }, + { + "color": "var(--theme--primary)", + "text": "$t:completed", + "value": "completed" + }, + { + "color": "#18222F", + "text": "$t:archived", + "value": "archived" + }, + { + "color": "#E35169", + "text": "$t:canceled", + "value": "canceled" + } + ] + }, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "status", + "table": "orders", + "data_type": "character varying", + "default_value": "pending", + "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 + } + }, + { + "collection": "orders", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "orders", + "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": "orders", + "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" + } + }, + { + "collection": "orders", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "orders", + "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": "orders", + "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 + } + }, + { + "collection": "orders", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "orders", + "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": "orders", + "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" + } + }, + { + "collection": "orders", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "orders", + "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": "orders", + "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 + } + }, + { + "collection": "orders", + "field": "customer", + "type": "uuid", + "meta": { + "collection": "orders", + "conditions": null, + "display": null, + "display_options": null, + "field": "customer", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 13, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "customer", + "table": "orders", + "data_type": "uuid", + "default_value": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": false, + "is_indexed": true, + "is_primary_key": false, + "is_generated": false, + "generation_expression": null, + "has_auto_increment": false, + "foreign_key_table": "customers", + "foreign_key_column": "id" + } + }, + { + "collection": "orders", + "field": "fulfillment_status", + "type": "string", + "meta": { + "collection": "orders", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "color": "#3399FF", + "icon": "fiber_new", + "text": "$t:open", + "value": "open" + }, + { + "color": "#FFC23B", + "icon": "downloading", + "text": "$t:in_progress", + "value": "in_progress" + }, + { + "color": "#2ECDA7", + "icon": "check", + "text": "$t:fulfilled", + "value": "fulfilled" + }, + { + "color": "#E35169", + "icon": "stop_circle", + "text": "$t:on_hold", + "value": "on_hold" + } + ] + }, + "field": "fulfillment_status", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "color": "#3399FF", + "icon": "fiber_new", + "text": "$t:open", + "value": "open" + }, + { + "color": "#FFC23B", + "icon": "downloading", + "text": "$t:in_progress", + "value": "in_progress" + }, + { + "color": "#2ECDA7", + "icon": "check", + "text": "$t:fulfilled", + "value": "fulfilled" + }, + { + "color": "#E35169", + "icon": "stop_circle", + "text": "$t:on_hold", + "value": "on_hold" + } + ] + }, + "readonly": false, + "required": false, + "sort": 10, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "fulfillment_status", + "table": "orders", + "data_type": "character varying", + "default_value": "open", + "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 + } + }, + { + "collection": "orders", + "field": "payment_status", + "type": "string", + "meta": { + "collection": "orders", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "color": "#FFA439", + "icon": "warning", + "text": "$t:not_paid", + "value": "not_paid" + }, + { + "color": "#FFC23B", + "icon": "hourglass_bottom", + "text": "$t:awaiting", + "value": "awaiting" + }, + { + "color": "#2ECDA7", + "icon": "check_box", + "text": "$t:paid", + "value": "paid" + }, + { + "color": "#E35169", + "icon": "keyboard_return", + "text": "$t:refunded", + "value": "refunded" + } + ] + }, + "field": "payment_status", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "color": "#FFA439", + "icon": "warning", + "text": "$t:not_paid", + "value": "not_paid" + }, + { + "color": "#FFC23B", + "icon": "hourglass_bottom", + "text": "$t:awaiting", + "value": "awaiting" + }, + { + "color": "#2ECDA7", + "icon": "check_box", + "text": "$t:paid", + "value": "paid" + }, + { + "color": "#E35169", + "icon": "keyboard_return", + "text": "$t:refunded", + "value": "refunded" + } + ] + }, + "readonly": false, + "required": false, + "sort": 11, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "payment_status", + "table": "orders", + "data_type": "character varying", + "default_value": "not_paid", + "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 + } + }, + { + "collection": "orders", + "field": "billing_address", + "type": "uuid", + "meta": { + "collection": "orders", + "conditions": null, + "display": null, + "display_options": null, + "field": "billing_address", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "filter": { + "_and": [ + { + "customer": { + "_eq": "{{customer}}" + } + } + ] + } + }, + "readonly": false, + "required": false, + "sort": 14, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "billing_address", + "table": "orders", + "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": "customer_addresses", + "foreign_key_column": "id" + } + }, + { + "collection": "orders", + "field": "shipping_address", + "type": "uuid", + "meta": { + "collection": "orders", + "conditions": null, + "display": null, + "display_options": null, + "field": "shipping_address", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "filter": { + "_and": [ + { + "customer": { + "_eq": "{{customer}}" + } + } + ] + } + }, + "readonly": false, + "required": false, + "sort": 15, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "shipping_address", + "table": "orders", + "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": "customer_addresses", + "foreign_key_column": "id" + } + }, + { + "collection": "orders", + "field": "completed_at", + "type": "timestamp", + "meta": { + "collection": "orders", + "conditions": null, + "display": null, + "display_options": null, + "field": "completed_at", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": { + "use24": false + }, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "completed_at", + "table": "orders", + "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 + } + }, + { + "collection": "orders", + "field": "canceled_at", + "type": "timestamp", + "meta": { + "collection": "orders", + "conditions": null, + "display": null, + "display_options": null, + "field": "canceled_at", + "group": null, + "hidden": true, + "interface": "datetime", + "note": null, + "options": { + "use24": false + }, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "canceled_at", + "table": "orders", + "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 + } + }, + { + "collection": "orders", + "field": "line_items", + "type": "alias", + "meta": { + "collection": "orders", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{product}} • {{quantity}} • {{total}}" + }, + "field": "line_items", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": null, + "options": { + "enableLink": true, + "enableSearchFilter": true, + "fields": [ + "product", + "quantity", + "total", + "product_variant.color", + "product_variant.size" + ], + "layout": "table" + }, + "readonly": false, + "required": false, + "sort": 17, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "fill" + } + }, + { + "collection": "orders", + "field": "order_number", + "type": "string", + "meta": { + "collection": "orders", + "conditions": null, + "display": null, + "display_options": null, + "field": "order_number", + "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": "order_number", + "table": "orders", + "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 + } + }, + { + "collection": "orders", + "field": "divider_status", + "type": "alias", + "meta": { + "collection": "orders", + "conditions": null, + "display": null, + "display_options": null, + "field": "divider_status", + "group": null, + "hidden": false, + "interface": "presentation-divider", + "note": null, + "options": { + "color": "#A2B5CD", + "icon": "info", + "inlineTitle": true, + "title": "Customer" + }, + "readonly": false, + "required": false, + "sort": 12, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "orders", + "field": "divider_items", + "type": "alias", + "meta": { + "collection": "orders", + "conditions": null, + "display": null, + "display_options": null, + "field": "divider_items", + "group": null, + "hidden": false, + "interface": "presentation-divider", + "note": null, + "options": { + "color": "#A2B5CD", + "icon": "local_shipping", + "inlineTitle": true, + "title": "Items" + }, + "readonly": false, + "required": false, + "sort": 16, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "orders", + "field": "subtotal", + "type": "decimal", + "meta": { + "collection": "orders", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "field": "subtotal", + "group": null, + "hidden": false, + "interface": "input", + "note": "Subtotal for entire order before taxes and shipping", + "options": { + "iconLeft": "attach_money" + }, + "readonly": false, + "required": false, + "sort": 18, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "subtotal", + "table": "orders", + "data_type": "numeric", + "default_value": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "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 + } + }, + { + "collection": "orders", + "field": "total", + "type": "decimal", + "meta": { + "collection": "orders", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "field": "total", + "group": null, + "hidden": false, + "interface": "input", + "note": "Total amount for the entire order", + "options": { + "iconLeft": "attach_money" + }, + "readonly": false, + "required": false, + "sort": 21, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "total", + "table": "orders", + "data_type": "numeric", + "default_value": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "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 + } + }, + { + "collection": "orders", + "field": "tax_total", + "type": "decimal", + "meta": { + "collection": "orders", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "field": "tax_total", + "group": null, + "hidden": false, + "interface": "input", + "note": "Tax amount owed for entire order", + "options": { + "iconLeft": "attach_money" + }, + "readonly": false, + "required": false, + "sort": 19, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "tax_total", + "table": "orders", + "data_type": "numeric", + "default_value": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "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 + } + }, + { + "collection": "orders", + "field": "shipping_total", + "type": "decimal", + "meta": { + "collection": "orders", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "field": "shipping_total", + "group": null, + "hidden": false, + "interface": "input", + "note": "Shipping amount owed for entire order", + "options": { + "iconLeft": "attach_money" + }, + "readonly": false, + "required": false, + "sort": 20, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "shipping_total", + "table": "orders", + "data_type": "numeric", + "default_value": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 2, + "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 + } + }, + { + "collection": "product_images", + "field": "id", + "type": "uuid", + "meta": { + "collection": "product_images", + "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": "product_images", + "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 + } + }, + { + "collection": "product_images", + "field": "product", + "type": "uuid", + "meta": { + "collection": "product_images", + "conditions": null, + "display": null, + "display_options": null, + "field": "product", + "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": "product", + "table": "product_images", + "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": "products", + "foreign_key_column": "id" + } + }, + { + "collection": "product_images", + "field": "file", + "type": "uuid", + "meta": { + "collection": "product_images", + "conditions": null, + "display": null, + "display_options": null, + "field": "file", + "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": "file", + "table": "product_images", + "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" + } + }, + { + "collection": "product_images", + "field": "sort", + "type": "integer", + "meta": { + "collection": "product_images", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "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": "sort", + "table": "product_images", + "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 + } + }, + { + "collection": "product_variants", + "field": "id", + "type": "uuid", + "meta": { + "collection": "product_variants", + "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": "product_variants", + "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 + } + }, + { + "collection": "product_variants", + "field": "product", + "type": "uuid", + "meta": { + "collection": "product_variants", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "field": "product", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "product", + "table": "product_variants", + "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": "products", + "foreign_key_column": "id" + } + }, + { + "collection": "product_variants", + "field": "price", + "type": "decimal", + "meta": { + "collection": "product_variants", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true, + "prefix": "$" + }, + "field": "price", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "iconLeft": "attach_money" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "price", + "table": "product_variants", + "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 + } + }, + { + "collection": "product_variants", + "field": "sku", + "type": "string", + "meta": { + "collection": "product_variants", + "conditions": null, + "display": null, + "display_options": null, + "field": "sku", + "group": null, + "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": "sku", + "table": "product_variants", + "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 + } + }, + { + "collection": "product_variants", + "field": "image", + "type": "uuid", + "meta": { + "collection": "product_variants", + "conditions": null, + "display": null, + "display_options": null, + "field": "image", + "group": null, + "hidden": false, + "interface": "file-image", + "note": null, + "options": { + "crop": false + }, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "image", + "table": "product_variants", + "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" + } + }, + { + "collection": "product_variants", + "field": "color", + "type": "string", + "meta": { + "collection": "product_variants", + "conditions": null, + "display": null, + "display_options": null, + "field": "color", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "color", + "table": "product_variants", + "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 + } + }, + { + "collection": "product_variants", + "field": "size", + "type": "string", + "meta": { + "collection": "product_variants", + "conditions": null, + "display": null, + "display_options": null, + "field": "size", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": null, + "readonly": true, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "size", + "table": "product_variants", + "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 + } + }, + { + "collection": "product_variants", + "field": "weight", + "type": "decimal", + "meta": { + "collection": "product_variants", + "conditions": null, + "display": null, + "display_options": null, + "field": "weight", + "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": "half" + }, + "schema": { + "name": "weight", + "table": "product_variants", + "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 + } + }, + { + "collection": "product_variants", + "field": "weight_unit", + "type": "string", + "meta": { + "collection": "product_variants", + "conditions": null, + "display": null, + "display_options": null, + "field": "weight_unit", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "text": "g", + "value": "g" + }, + { + "text": "kg", + "value": "kg" + }, + { + "text": "lb", + "value": "lb" + }, + { + "text": "oz", + "value": "oz" + } + ] + }, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "weight_unit", + "table": "product_variants", + "data_type": "character varying", + "default_value": "oz", + "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 + } + }, + { + "collection": "products", + "field": "id", + "type": "uuid", + "meta": { + "collection": "products", + "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": "products", + "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 + } + }, + { + "collection": "products", + "field": "status", + "type": "string", + "meta": { + "collection": "products", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "background": "var(--theme--primary-background)", + "color": "var(--theme--primary)", + "foreground": "var(--theme--primary)", + "text": "$t:published", + "value": "published" + }, + { + "background": "var(--theme--background-normal)", + "color": "var(--theme--foreground)", + "foreground": "var(--theme--foreground)", + "text": "$t:draft", + "value": "draft" + }, + { + "background": "var(--theme--warning-background)", + "color": "var(--theme--warning)", + "foreground": "var(--theme--warning)", + "text": "$t:archived", + "value": "archived" + } + ], + "showAsDot": true + }, + "field": "status", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": null, + "options": { + "choices": [ + { + "color": "#2ECDA7", + "text": "$t:active", + "value": "active" + }, + { + "color": "#18222F", + "text": "$t:out_of_stock", + "value": "out_of_stock" + }, + { + "color": "#18222F", + "text": "$t:backordered", + "value": "backordered" + }, + { + "color": "#A2B5CD", + "text": "$t:hidden", + "value": "hidden" + }, + { + "color": "#A2B5CD", + "text": "$t:inactive", + "value": "inactive" + } + ] + }, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "status", + "table": "products", + "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 + } + }, + { + "collection": "products", + "field": "sort", + "type": "integer", + "meta": { + "collection": "products", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "products", + "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 + } + }, + { + "collection": "products", + "field": "user_created", + "type": "uuid", + "meta": { + "collection": "products", + "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": 3, + "special": [ + "user-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_created", + "table": "products", + "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" + } + }, + { + "collection": "products", + "field": "date_created", + "type": "timestamp", + "meta": { + "collection": "products", + "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": 4, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_created", + "table": "products", + "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 + } + }, + { + "collection": "products", + "field": "user_updated", + "type": "uuid", + "meta": { + "collection": "products", + "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": 5, + "special": [ + "user-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "user_updated", + "table": "products", + "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" + } + }, + { + "collection": "products", + "field": "date_updated", + "type": "timestamp", + "meta": { + "collection": "products", + "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": 6, + "special": [ + "date-updated" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "date_updated", + "table": "products", + "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 + } + }, + { + "collection": "products", + "field": "title", + "type": "string", + "meta": { + "collection": "products", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": null, + "hidden": false, + "interface": "input", + "note": "Name of this product", + "options": null, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "title", + "table": "products", + "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 + } + }, + { + "collection": "products", + "field": "slug", + "type": "string", + "meta": { + "collection": "products", + "conditions": null, + "display": "formatted-value", + "display_options": { + "font": "monospace" + }, + "field": "slug", + "group": null, + "hidden": false, + "interface": "input", + "note": "Unique URL for this product", + "options": { + "slug": true + }, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "slug", + "table": "products", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": true, + "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 + } + }, + { + "collection": "products", + "field": "description", + "type": "text", + "meta": { + "collection": "products", + "conditions": null, + "display": null, + "display_options": null, + "field": "description", + "group": null, + "hidden": false, + "interface": "input-rich-text-html", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 11, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "description", + "table": "products", + "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 + } + }, + { + "collection": "products", + "field": "thumbnail", + "type": "uuid", + "meta": { + "collection": "products", + "conditions": null, + "display": "image", + "display_options": null, + "field": "thumbnail", + "group": null, + "hidden": false, + "interface": "file-image", + "note": "Main thumbnail used for this product", + "options": { + "crop": false + }, + "readonly": false, + "required": false, + "sort": 13, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "thumbnail", + "table": "products", + "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" + } + }, + { + "collection": "products", + "field": "variants", + "type": "alias", + "meta": { + "collection": "products", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{color}} • {{size}} • {{price}} • {{sku}}" + }, + "field": "variants", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": null, + "options": { + "enableCreate": false, + "enableLink": true, + "enableSelect": false, + "sort": null, + "template": "{{color}} • {{size}} • {{price}} • {{sku}}" + }, + "readonly": false, + "required": false, + "sort": 18, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "products", + "field": "color", + "type": "csv", + "meta": { + "collection": "products", + "conditions": null, + "display": "labels", + "display_options": null, + "field": "color", + "group": null, + "hidden": false, + "interface": "tags", + "note": "What colors are available?", + "options": { + "allowOther": true, + "capitalization": null, + "choices": [ + { + "text": "Gray", + "value": "gray" + } + ], + "iconRight": "invert_colors", + "whitespace": null + }, + "readonly": false, + "required": false, + "sort": 16, + "special": [ + "cast-csv" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "color", + "table": "products", + "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 + } + }, + { + "collection": "products", + "field": "size", + "type": "csv", + "meta": { + "collection": "products", + "conditions": null, + "display": "labels", + "display_options": null, + "field": "size", + "group": null, + "hidden": false, + "interface": "tags", + "note": "What sizes are available?", + "options": { + "allowOther": true, + "capitalization": null, + "choices": [ + { + "text": "Gray", + "value": "gray" + } + ], + "iconRight": "height", + "presets": [ + "XS", + "S", + "M", + "L", + "XL", + "2XL" + ], + "whitespace": null + }, + "readonly": false, + "required": false, + "sort": 17, + "special": [ + "cast-csv" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "size", + "table": "products", + "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 + } + }, + { + "collection": "products", + "field": "divider_variants", + "type": "alias", + "meta": { + "collection": "products", + "conditions": null, + "display": null, + "display_options": null, + "field": "divider_variants", + "group": null, + "hidden": false, + "interface": "presentation-divider", + "note": null, + "options": { + "color": "#A2B5CD", + "icon": "variables", + "inlineTitle": true, + "title": "Variants" + }, + "readonly": false, + "required": false, + "sort": 15, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "products", + "field": "category", + "type": "uuid", + "meta": { + "collection": "products", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "field": "category", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 10, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "category", + "table": "products", + "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": "categories", + "foreign_key_column": "id" + } + }, + { + "collection": "products", + "field": "images", + "type": "alias", + "meta": { + "collection": "products", + "conditions": null, + "display": "related-values", + "display_options": null, + "field": "images", + "group": null, + "hidden": false, + "interface": "files", + "note": "Gallery of images featured on the product page", + "options": null, + "readonly": false, + "required": false, + "sort": 14, + "special": [ + "files" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + } + }, + { + "collection": "products", + "field": "divider_images", + "type": "alias", + "meta": { + "collection": "products", + "conditions": null, + "display": null, + "display_options": null, + "field": "divider_images", + "group": null, + "hidden": false, + "interface": "presentation-divider", + "note": null, + "options": { + "color": "#A2B5CD", + "icon": "image", + "inlineTitle": true, + "title": "Images" + }, + "readonly": false, + "required": false, + "sort": 12, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "products", + "field": "notice_variants", + "type": "alias", + "meta": { + "collection": "products", + "conditions": null, + "display": null, + "display_options": null, + "field": "notice_variants", + "group": null, + "hidden": false, + "interface": "presentation-notice", + "note": null, + "options": { + "icon": "info", + "text": "Creating and updating variants is handled for you automatically on save. Update the colors and sizes and hit Ctrl + S or Cmd + S (Mac) to save and stay on the page." + }, + "readonly": false, + "required": false, + "sort": 19, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "tax_rates", + "field": "id", + "type": "uuid", + "meta": { + "collection": "tax_rates", + "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": "tax_rates", + "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 + } + }, + { + "collection": "tax_rates", + "field": "title", + "type": "string", + "meta": { + "collection": "tax_rates", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "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": "title", + "table": "tax_rates", + "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 + } + }, + { + "collection": "tax_rates", + "field": "rate", + "type": "decimal", + "meta": { + "collection": "tax_rates", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true, + "suffix": "%" + }, + "field": "rate", + "group": null, + "hidden": false, + "interface": "input", + "note": null, + "options": { + "iconRight": "percent" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "rate", + "table": "tax_rates", + "data_type": "numeric", + "default_value": null, + "max_length": null, + "numeric_precision": 10, + "numeric_scale": 3, + "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 + } + }, + { + "collection": "tax_rates", + "field": "code", + "type": "string", + "meta": { + "collection": "tax_rates", + "conditions": null, + "display": null, + "display_options": null, + "field": "code", + "group": null, + "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": "code", + "table": "tax_rates", + "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 + } + } + ], + "relations": [ + { + "collection": "categories", + "field": "parent_category", + "related_collection": "categories", + "meta": { + "junction_field": null, + "many_collection": "categories", + "many_field": "parent_category", + "one_allowed_collections": null, + "one_collection": "categories", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "sub_categories", + "sort_field": "sort" + }, + "schema": { + "table": "categories", + "column": "parent_category", + "foreign_key_table": "categories", + "foreign_key_column": "id", + "constraint_name": "categories_parent_category_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "customer_addresses", + "field": "customer", + "related_collection": "customers", + "meta": { + "junction_field": null, + "many_collection": "customer_addresses", + "many_field": "customer", + "one_allowed_collections": null, + "one_collection": "customers", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "addresses", + "sort_field": null + }, + "schema": { + "table": "customer_addresses", + "column": "customer", + "foreign_key_table": "customers", + "foreign_key_column": "id", + "constraint_name": "customer_addresses_customer_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "customers", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "customers", + "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": "customers", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "customers_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "customers", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "customers", + "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": "customers", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "customers_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "order_items", + "field": "product", + "related_collection": "products", + "meta": { + "junction_field": null, + "many_collection": "order_items", + "many_field": "product", + "one_allowed_collections": null, + "one_collection": "products", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "order_items", + "column": "product", + "foreign_key_table": "products", + "foreign_key_column": "id", + "constraint_name": "order_items_product_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "order_items", + "field": "order", + "related_collection": "orders", + "meta": { + "junction_field": null, + "many_collection": "order_items", + "many_field": "order", + "one_allowed_collections": null, + "one_collection": "orders", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "line_items", + "sort_field": null + }, + "schema": { + "table": "order_items", + "column": "order", + "foreign_key_table": "orders", + "foreign_key_column": "id", + "constraint_name": "order_items_order_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "order_items", + "field": "product_variant", + "related_collection": "product_variants", + "meta": { + "junction_field": null, + "many_collection": "order_items", + "many_field": "product_variant", + "one_allowed_collections": null, + "one_collection": "product_variants", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "order_items", + "column": "product_variant", + "foreign_key_table": "product_variants", + "foreign_key_column": "id", + "constraint_name": "order_items_product_variant_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "orders", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "orders", + "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": "orders", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "orders_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "orders", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "orders", + "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": "orders", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "orders_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "orders", + "field": "customer", + "related_collection": "customers", + "meta": { + "junction_field": null, + "many_collection": "orders", + "many_field": "customer", + "one_allowed_collections": null, + "one_collection": "customers", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "orders", + "sort_field": null + }, + "schema": { + "table": "orders", + "column": "customer", + "foreign_key_table": "customers", + "foreign_key_column": "id", + "constraint_name": "orders_customer_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "orders", + "field": "billing_address", + "related_collection": "customer_addresses", + "meta": { + "junction_field": null, + "many_collection": "orders", + "many_field": "billing_address", + "one_allowed_collections": null, + "one_collection": "customer_addresses", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "orders", + "column": "billing_address", + "foreign_key_table": "customer_addresses", + "foreign_key_column": "id", + "constraint_name": "orders_billing_address_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "orders", + "field": "shipping_address", + "related_collection": "customer_addresses", + "meta": { + "junction_field": null, + "many_collection": "orders", + "many_field": "shipping_address", + "one_allowed_collections": null, + "one_collection": "customer_addresses", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "orders", + "column": "shipping_address", + "foreign_key_table": "customer_addresses", + "foreign_key_column": "id", + "constraint_name": "orders_shipping_address_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "product_images", + "field": "file", + "related_collection": "directus_files", + "meta": { + "junction_field": "product", + "many_collection": "product_images", + "many_field": "file", + "one_allowed_collections": null, + "one_collection": "directus_files", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "product_images", + "column": "file", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "product_images_file_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "product_images", + "field": "product", + "related_collection": "products", + "meta": { + "junction_field": "file", + "many_collection": "product_images", + "many_field": "product", + "one_allowed_collections": null, + "one_collection": "products", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": "images", + "sort_field": "sort" + }, + "schema": { + "table": "product_images", + "column": "product", + "foreign_key_table": "products", + "foreign_key_column": "id", + "constraint_name": "product_images_product_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "product_variants", + "field": "product", + "related_collection": "products", + "meta": { + "junction_field": null, + "many_collection": "product_variants", + "many_field": "product", + "one_allowed_collections": null, + "one_collection": "products", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": "variants", + "sort_field": null + }, + "schema": { + "table": "product_variants", + "column": "product", + "foreign_key_table": "products", + "foreign_key_column": "id", + "constraint_name": "product_variants_product_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "product_variants", + "field": "image", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "product_variants", + "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": "product_variants", + "column": "image", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "product_variants_image_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "products", + "field": "user_updated", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "products", + "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": "products", + "column": "user_updated", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "products_user_updated_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "products", + "field": "user_created", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "products", + "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": "products", + "column": "user_created", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "products_user_created_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "products", + "field": "thumbnail", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "products", + "many_field": "thumbnail", + "one_allowed_collections": null, + "one_collection": "directus_files", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "products", + "column": "thumbnail", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "products_thumbnail_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "products", + "field": "category", + "related_collection": "categories", + "meta": { + "junction_field": null, + "many_collection": "products", + "many_field": "category", + "one_allowed_collections": null, + "one_collection": "categories", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "products", + "column": "category", + "foreign_key_table": "categories", + "foreign_key_column": "id", + "constraint_name": "products_category_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + } + ] +} \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/settings.json b/simple-ecommerce/directus/template/src/settings.json new file mode 100644 index 00000000..01244233 --- /dev/null +++ b/simple-ecommerce/directus/template/src/settings.json @@ -0,0 +1,179 @@ +{ + "id": 1, + "project_name": "Simple eCommerce", + "project_url": null, + "project_color": "#0BB19E", + "project_logo": null, + "public_foreground": null, + "public_background": null, + "public_note": null, + "auth_login_attempts": 25, + "auth_password_policy": null, + "storage_asset_transform": "all", + "storage_asset_presets": null, + "custom_css": ".v-divider.inlineTitle.large.add-margin-top {\n margin-top: 0 !important;\n}\n\n.actions.list .v-button .button {\n background-color: var(--theme--background);\n color: var(--theme--primary);\n border-color: var(--theme--primary);\n \n &:hover {\n border-color: color-mix(in srgb, var(--theme--primary), #000 20%);\n color: color-mix(in srgb, var(--theme--primary), #000 20%) !important;\n }\n}\n\n.drawer-item-content {\n --theme--form--row-gap: 24px;\n --theme--form--column-gap: 32px;\n}\n", + "storage_default_folder": null, + "basemaps": null, + "mapbox_key": null, + "module_bar": [ + { + "type": "module", + "id": "global-search", + "enabled": true + }, + { + "type": "module", + "id": "content", + "enabled": true + }, + { + "type": "module", + "id": "users", + "enabled": true + }, + { + "type": "module", + "id": "files", + "enabled": true + }, + { + "type": "module", + "id": "insights", + "enabled": true + }, + { + "type": "link", + "id": "docs", + "name": "Documentation", + "url": "https://docs.directus.io", + "icon": "help", + "enabled": true + }, + { + "type": "module", + "id": "settings", + "enabled": true, + "locked": true + } + ], + "project_descriptor": null, + "default_language": "en-US", + "custom_aspect_ratios": null, + "public_favicon": null, + "default_appearance": "auto", + "default_theme_light": null, + "theme_light_overrides": { + "form": { + "rowGap": "24px", + "field": { + "input": { + "height": "52px", + "background": "#ffffff" + } + } + }, + "borderWidth": "1px", + "navigation": { + "modules": { + "background": "color-mix(in srgb, #000000, var(--theme--primary) 80%)", + "button": { + "foreground": "color-mix(in srgb, #FFFFFF, var(--theme--primary) 20%)", + "foregroundActive": "var(--theme--primary)", + "backgroundActive": "#FFFFFF" + } + }, + "background": "#fff", + "project": { + "background": "transparent" + }, + "borderColor": "color-mix(in srgb, #000000, var(--theme--background) 95%)", + "borderWidth": "1px", + "list": { + "divider": { + "borderColor": "var(--theme--border-color-subdued)" + }, + "backgroundHover": "color-mix(in srgb, #FFFFFF, var(--theme--primary) 10%)", + "backgroundActive": "color-mix(in srgb, #FFFFFF, var(--theme--primary) 15%)" + } + }, + "fonts": { + "display": { + "fontFamily": "\"Space Grotesk\", system-ui", + "fontWeight": "600" + }, + "sans": { + "fontFamily": "\"DM Sans\", system-ui" + } + }, + "borderRadius": "6px", + "sidebar": { + "background": "#FFFFFF", + "borderWidth": "1px", + "borderColor": "var(--theme--border-color-subdued)", + "section": { + "toggle": { + "borderColor": "var(--theme--border-color-subdued)", + "borderWidth": "1px", + "background": "#FFFFFF", + "foreground": "var(--theme--foreground)", + "foregroundHover": "var(--theme--foreground)", + "icon": { + "foreground": "var(--theme--foreground)", + "foregroundHover": "var(--theme--foreground)", + "foregroundActive": "var(--theme--foreground-accent)" + } + } + } + }, + "backgroundAccent": "color-mix(in srgb, #FFFFFF, var(--theme--primary) 10%)" + }, + "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, + "command_palette_settings": { + "searchMode": "as_you_type", + "collections": [ + { + "collection": "products", + "displayTemplate": "{{title}}", + "fields": [ + "title", + "category.title" + ], + "limit": 10, + "availableGlobally": false + }, + { + "collection": "customers", + "displayTemplate": "{{first_name}} {{last_name}} <{{email}}>", + "fields": [ + "first_name", + "last_name", + "email" + ], + "limit": 10, + "availableGlobally": false + }, + { + "collection": "orders", + "displayTemplate": "{{order_number}} • {{status}} • {{date_created}}", + "fields": [ + "order_number", + "customer.first_name", + "customer.last_name", + "customer.email" + ], + "limit": 10, + "availableGlobally": false + } + ], + "triggerRate": 250, + "commandPaletteEnabled": true + } +} \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/translations.json b/simple-ecommerce/directus/template/src/translations.json new file mode 100644 index 00000000..4e400725 --- /dev/null +++ b/simple-ecommerce/directus/template/src/translations.json @@ -0,0 +1,80 @@ +[ + { + "id": "2c693bcb-39b4-4211-b19a-372820429dd1", + "language": "en-US", + "key": "pending", + "value": "Pending" + }, + { + "id": "37104e3a-d808-4507-8d30-822dcd2e605c", + "language": "en-US", + "key": "fulfilled", + "value": "Fulfilled" + }, + { + "id": "5a32fd5c-ff44-43a8-8c4a-e220f2c7f563", + "language": "en-US", + "key": "paid", + "value": "Paid" + }, + { + "id": "8471c5de-520e-4fdc-a26f-2c32b0492fa4", + "language": "en-US", + "key": "in_progress", + "value": "In Progress" + }, + { + "id": "86c59a98-f7c7-4564-abb7-1e9bbd9076a3", + "language": "en-US", + "key": "on_hold", + "value": "On Hold" + }, + { + "id": "99390097-227b-4937-9175-5e02dbf03bbe", + "language": "en-US", + "key": "completed", + "value": "Completed" + }, + { + "id": "cf7070ad-3c7a-4fca-97b3-a5589c898d2d", + "language": "en-US", + "key": "backordered", + "value": "Backordered" + }, + { + "id": "d11b87b6-3b85-465a-aabb-b72c39f199e5", + "language": "en-US", + "key": "canceled", + "value": "Canceled" + }, + { + "id": "dc3f1e25-b2c9-4cec-8c0f-588cf50ace83", + "language": "en-US", + "key": "refunded", + "value": "Refunded" + }, + { + "id": "e3d0c690-a95b-4322-9754-a22e22aff731", + "language": "en-US", + "key": "not_paid", + "value": "Not Paid" + }, + { + "id": "f174c411-a6f1-480c-a998-523328c51834", + "language": "en-US", + "key": "awaiting", + "value": "Awaiting Payment" + }, + { + "id": "f4d53980-ea01-444f-9e7b-4b61665929fc", + "language": "en-US", + "key": "out_of_stock", + "value": "Out of Stock" + }, + { + "id": "f5686d06-0e31-44d5-97c0-e152f4226f12", + "language": "en-US", + "key": "open", + "value": "Open" + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/template/src/users.json b/simple-ecommerce/directus/template/src/users.json new file mode 100644 index 00000000..4307390c --- /dev/null +++ b/simple-ecommerce/directus/template/src/users.json @@ -0,0 +1,31 @@ +[ + { + "id": "71639435-1dc5-4f21-8c11-603deee67b23", + "first_name": "Villy", + "last_name": "Vonka", + "email": "ecommerce@example.com", + "password": "**********", + "location": null, + "title": null, + "description": null, + "tags": null, + "avatar": "2c9ff5bc-4644-4a97-800a-a7fda87ac2e0", + "language": null, + "tfa_secret": null, + "status": "active", + "role": "c537905b-a75c-4a35-be45-74cd696d789e", + "token": "**********", + "last_access": "2024-12-27T13:33:16.486Z", + "last_page": "/content/products/ce31bbeb-3f60-4853-98f0-ac87c37175bc", + "provider": "default", + "external_identifier": null, + "auth_data": null, + "email_notifications": true, + "appearance": null, + "theme_dark": null, + "theme_light": null, + "theme_light_overrides": null, + "theme_dark_overrides": null, + "policies": null + } +] \ No newline at end of file diff --git a/simple-ecommerce/directus/uploads/.gitkeep b/simple-ecommerce/directus/uploads/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/simple-ecommerce/package.json b/simple-ecommerce/package.json new file mode 100644 index 00000000..40b329e9 --- /dev/null +++ b/simple-ecommerce/package.json @@ -0,0 +1,11 @@ +{ + "name": "directus-simple-ecommerce-starter", + "version": "1.0.0", + "description": "A simple eCommerce template for products, orders, and customers.", + "directus:template": { + "name": "Simple eCommerce", + "description": "A simple eCommerce template for products, orders, and customers.", + "template": "./directus/template", + "frontends": {} + } +} diff --git a/simple-website-cms/README.md b/simple-website-cms/README.md new file mode 100644 index 00000000..f534693e --- /dev/null +++ b/simple-website-cms/README.md @@ -0,0 +1,27 @@ +# Simple Website CMS + +A simple website CMS template for Directus with pages, posts, and a block builder. + +## Getting Started + +### Using Directus Cloud + +1. Create a new project at [Directus Cloud](https://directus.io/cloud/) and select the **Simple Website CMS** template. +2. Generate a static token for the admin user. + +### Using Docker (Local) + +```bash +npx directus-template-cli@latest init +``` + +Select **Simple Website CMS** from the template list and follow the prompts. + +## What's Included + +- Pages with block builder (hero, gallery, rich text, pricing, forms) +- Blog posts +- Navigation management +- Global settings +- Form submissions +- Dashboards diff --git a/simple-website-cms/directus/.env.example b/simple-website-cms/directus/.env.example new file mode 100644 index 00000000..541c74fe --- /dev/null +++ b/simple-website-cms/directus/.env.example @@ -0,0 +1,48 @@ +# Database Configuration +DB_USER=directus +DB_PASSWORD=directus +DB_DATABASE=directus + +# Directus Configuration +DIRECTUS_PORT=8055 +DIRECTUS_SECRET=6116487b-cda1-52c2-b5b5-c8022c45e263 + +# Cache Configuration +CACHE_ENABLED=true +CACHE_AUTO_PURGE=true + +# Admin Configuration +ADMIN_EMAIL=admin@example.com +ADMIN_PASSWORD=d1r3ctu5 + +# WebSocket Configuration +WEBSOCKETS_ENABLED=true + +# URL Configuration +PUBLIC_URL=http://localhost:8055 + +# CORS Configuration: +# Development: It's ok to use "*" or "http://localhost:3000" for local testing +# Production: Specify exact origins like: +# - Single origin: "https://your-domain.com" +# - Multiple origins: "https://app.domain.com,https://admin.domain.com" +# Warning: Using "*" in production is a security risk - always specify allowed origins +CORS_ENABLED=true +CORS_ORIGIN=* + +# Cookie Configuration +REFRESH_TOKEN_COOKIE_SECURE=false +REFRESH_TOKEN_COOKIE_SAME_SITE=lax +REFRESH_TOKEN_COOKIE_DOMAIN=localhost + +SESSION_COOKIE_SECURE=false +SESSION_COOKIE_SAME_SITE=lax +SESSION_COOKIE_DOMAIN=localhost + +# Extensions Configuration +EXTENSIONS_PATH=./extensions +EXTENSIONS_AUTO_RELOAD=true +EXTENSIONS_ROLLDOWN=true + +# Content Security Policy +CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC=http://localhost:3000,http://localhost:4321,http://localhost:5173,https://*.youtube.com,https://*.vimeo.com,https://*.wistia.net,https://*.loom.com diff --git a/simple-website-cms/directus/docker-compose.yaml b/simple-website-cms/directus/docker-compose.yaml new file mode 100644 index 00000000..57ce3ac7 --- /dev/null +++ b/simple-website-cms/directus/docker-compose.yaml @@ -0,0 +1,86 @@ +name: directus-simple-website-cms-template +services: + database: + image: postgis/postgis:16-master + platform: linux/amd64 + volumes: + - ./data/database:/var/lib/postgresql/data + environment: + POSTGRES_USER: ${DB_USER} + POSTGRES_PASSWORD: ${DB_PASSWORD} + POSTGRES_DB: ${DB_DATABASE} + healthcheck: + test: ['CMD', 'pg_isready', '-U', '${DB_USER}', '-d', '${DB_DATABASE}', '-h', 'localhost'] + interval: 10s + timeout: 5s + retries: 5 + start_interval: 5s + start_period: 30s + + cache: + image: redis:6 + healthcheck: + test: ['CMD-SHELL', "[ $$(redis-cli ping) = 'PONG' ]"] + interval: 10s + timeout: 5s + retries: 5 + start_interval: 5s + start_period: 30s + + directus: + image: directus/directus:11.17.4 + ports: + - ${DIRECTUS_PORT}:8055 + volumes: + - ./uploads:/directus/uploads + - ./extensions:/directus/extensions + depends_on: + database: + condition: service_healthy + cache: + condition: service_healthy + environment: + SECRET: ${DIRECTUS_SECRET} + + DB_CLIENT: 'pg' + DB_HOST: 'database' + DB_PORT: '5432' + DB_DATABASE: ${DB_DATABASE} + DB_USER: ${DB_USER} + DB_PASSWORD: ${DB_PASSWORD} + + CACHE_ENABLED: ${CACHE_ENABLED} + CACHE_AUTO_PURGE: ${CACHE_AUTO_PURGE} + CACHE_STORE: 'redis' + REDIS: 'redis://cache:6379' + + ADMIN_EMAIL: ${ADMIN_EMAIL} + ADMIN_PASSWORD: ${ADMIN_PASSWORD} + + WEBSOCKETS_ENABLED: ${WEBSOCKETS_ENABLED} + + PUBLIC_URL: ${PUBLIC_URL} + + CORS_ENABLED: ${CORS_ENABLED} + CORS_ORIGIN: ${CORS_ORIGIN} + + REFRESH_TOKEN_COOKIE_SECURE: ${REFRESH_TOKEN_COOKIE_SECURE} + REFRESH_TOKEN_COOKIE_SAME_SITE: ${REFRESH_TOKEN_COOKIE_SAME_SITE} + REFRESH_TOKEN_DOMAIN: ${REFRESH_TOKEN_COOKIE_DOMAIN} + + SESSION_COOKIE_SECURE: ${SESSION_COOKIE_SECURE} + SESSION_COOKIE_SAME_SITE: ${SESSION_COOKIE_SAME_SITE} + SESSION_COOKIE_DOMAIN: ${SESSION_COOKIE_DOMAIN} + + EXTENSIONS_PATH: ${EXTENSIONS_PATH} + EXTENSIONS_AUTO_RELOAD: ${EXTENSIONS_AUTO_RELOAD} + EXTENSIONS_ROLLDOWN: ${EXTENSIONS_ROLLDOWN} + + CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC: ${CONTENT_SECURITY_POLICY_DIRECTIVES__FRAME_SRC} + + EMAIL_TRANSPORT: ${EMAIL_TRANSPORT} + EMAIL_FROM: ${EMAIL_FROM} + EMAIL_SMTP_HOST: ${EMAIL_SMTP_HOST} + EMAIL_SMTP_PORT: ${EMAIL_SMTP_PORT} + EMAIL_SMTP_USER: ${EMAIL_SMTP_USER} + EMAIL_SMTP_PASSWORD: ${EMAIL_SMTP_PASSWORD} diff --git a/simple-website-cms/directus/extensions/.gitkeep b/simple-website-cms/directus/extensions/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/simple-website-cms/directus/template/README.md b/simple-website-cms/directus/template/README.md new file mode 100644 index 00000000..3125c86d --- /dev/null +++ b/simple-website-cms/directus/template/README.md @@ -0,0 +1,10 @@ +# CMS Template + +This is a template for [Directus](https://directus.io/) - an open-source headless CMS and API. Use the template-cli to load / apply this template to a blank instance. + +## Why + +## What + +## License + diff --git a/simple-website-cms/directus/template/package.json b/simple-website-cms/directus/template/package.json new file mode 100644 index 00000000..7888aeea --- /dev/null +++ b/simple-website-cms/directus/template/package.json @@ -0,0 +1,11 @@ +{ + "author": "", + "description": "", + "directusTemplate": true, + "files": [ + "src" + ], + "name": "directus-template-cms", + "templateName": "CMS", + "version": "1.0.0" +} \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/access.json b/simple-website-cms/directus/template/src/access.json new file mode 100644 index 00000000..78763447 --- /dev/null +++ b/simple-website-cms/directus/template/src/access.json @@ -0,0 +1,86 @@ +[ + { + "id": "60941652-9d10-45c0-aefa-be5e65ce54a0", + "role": "d70780bd-f3ed-418b-98c2-f5354fd3fa68", + "user": null, + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928", + "sort": 1 + }, + { + "id": "17616f4c-8b7f-4084-a34f-4089d5bcfba2", + "role": "3a4464fb-2189-4710-a164-2503eed88ae7", + "user": null, + "policy": "a15b697e-29d5-4164-8d24-eb228ba901e3", + "sort": 1 + }, + { + "id": "7233bfd6-e3f9-4573-81a0-f50bc497ba3f", + "role": null, + "user": null, + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17", + "sort": 1 + }, + { + "id": "188a6dce-ddf2-4d7d-98b7-02accab9803b", + "role": null, + "user": "88a6e8cf-f0f8-41db-a3a2-8a9741c086cc", + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17", + "sort": 1 + }, + { + "id": "6de77eee-b06c-4665-97a9-2e54467483f9", + "role": "ef049c8b-546b-4bbc-9cd7-b05d77e58b66", + "user": null, + "policy": "ef049c8b-546b-4bbc-9cd7-b05d77e58b66", + "sort": 1 + }, + { + "id": "17fce6a0-06cb-4bdf-b0c7-cc789f131d17", + "role": "4516009c-8a04-49e4-b4ac-fd4883da6064", + "user": null, + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928", + "sort": 1 + }, + { + "id": "9fbb829a-7cbd-4132-b22c-9a3bc89be671", + "role": "3a4464fb-2189-4710-a164-2503eed88ae7", + "user": null, + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17", + "sort": 2 + }, + { + "id": "6f680545-4a81-4422-bef4-ba2553b51418", + "role": null, + "user": "88a6e8cf-f0f8-41db-a3a2-8a9741c086cc", + "policy": "ee1055a2-7c03-4b0b-9b65-ca68491b6329", + "sort": 2 + }, + { + "id": "4de285fa-4a1a-4f65-b424-bdc8f02f7800", + "role": "3a4464fb-2189-4710-a164-2503eed88ae7", + "user": null, + "policy": "52598a64-071d-4071-96fa-4b620d6189b5", + "sort": 3 + }, + { + "id": "0d7b1ae1-d7e3-4479-b716-8ac4aad8288a", + "role": "4516009c-8a04-49e4-b4ac-fd4883da6064", + "user": null, + "policy": "52598a64-071d-4071-96fa-4b620d6189b5", + "sort": 3 + }, + { + "id": "eadeac2d-6517-4a7b-a270-4a05f1136f82", + "role": "d70780bd-f3ed-418b-98c2-f5354fd3fa68", + "user": null, + "policy": "52598a64-071d-4071-96fa-4b620d6189b5", + "sort": 3 + }, + { + "id": "2e5fd214-d94a-4290-b22e-f494a8b09f17", + "role": null, + "user": "88a6e8cf-f0f8-41db-a3a2-8a9741c086cc", + "policy": "3ba01681-3a5f-4fe3-8e95-4706b39f7dc5", + "sort": 4 + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/assets/03a7d1c7-81e2-432f-9561-9df2691189c8.png b/simple-website-cms/directus/template/src/assets/03a7d1c7-81e2-432f-9561-9df2691189c8.png new file mode 100644 index 00000000..9f4b4c0e Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/03a7d1c7-81e2-432f-9561-9df2691189c8.png differ diff --git a/simple-website-cms/directus/template/src/assets/12e02b82-b4a4-4aaf-8ca4-e73c20a41c26.jpeg b/simple-website-cms/directus/template/src/assets/12e02b82-b4a4-4aaf-8ca4-e73c20a41c26.jpeg new file mode 100644 index 00000000..ff978674 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/12e02b82-b4a4-4aaf-8ca4-e73c20a41c26.jpeg differ diff --git a/simple-website-cms/directus/template/src/assets/14594872-a805-4251-8dfd-b93bb2effbc0.png b/simple-website-cms/directus/template/src/assets/14594872-a805-4251-8dfd-b93bb2effbc0.png new file mode 100644 index 00000000..baa7befd Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/14594872-a805-4251-8dfd-b93bb2effbc0.png differ diff --git a/simple-website-cms/directus/template/src/assets/1d3d2bd3-ff59-4626-bef5-9d5eef6510b3.png b/simple-website-cms/directus/template/src/assets/1d3d2bd3-ff59-4626-bef5-9d5eef6510b3.png new file mode 100644 index 00000000..e94d26eb Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/1d3d2bd3-ff59-4626-bef5-9d5eef6510b3.png differ diff --git a/simple-website-cms/directus/template/src/assets/2b4a0ba0-52c7-4e10-b191-c803d8da6a36.png b/simple-website-cms/directus/template/src/assets/2b4a0ba0-52c7-4e10-b191-c803d8da6a36.png new file mode 100644 index 00000000..e29141ea Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/2b4a0ba0-52c7-4e10-b191-c803d8da6a36.png differ diff --git a/simple-website-cms/directus/template/src/assets/35a67f1b-d401-4300-a503-b8e583186f2a.svg b/simple-website-cms/directus/template/src/assets/35a67f1b-d401-4300-a503-b8e583186f2a.svg new file mode 100644 index 00000000..3c1de35b --- /dev/null +++ b/simple-website-cms/directus/template/src/assets/35a67f1b-d401-4300-a503-b8e583186f2a.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/simple-website-cms/directus/template/src/assets/3eff7dc2-445a-47c5-9503-3f600ecdb5c6.jpeg b/simple-website-cms/directus/template/src/assets/3eff7dc2-445a-47c5-9503-3f600ecdb5c6.jpeg new file mode 100644 index 00000000..33539cad Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/3eff7dc2-445a-47c5-9503-3f600ecdb5c6.jpeg differ diff --git a/simple-website-cms/directus/template/src/assets/43ddd7b8-9b2f-4aa1-b63c-933b4ae81ca2.svg b/simple-website-cms/directus/template/src/assets/43ddd7b8-9b2f-4aa1-b63c-933b4ae81ca2.svg new file mode 100644 index 00000000..6bc07a80 --- /dev/null +++ b/simple-website-cms/directus/template/src/assets/43ddd7b8-9b2f-4aa1-b63c-933b4ae81ca2.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/simple-website-cms/directus/template/src/assets/440df429-4715-42a0-afcd-569f5cdfb145.svg b/simple-website-cms/directus/template/src/assets/440df429-4715-42a0-afcd-569f5cdfb145.svg new file mode 100644 index 00000000..7dd49210 --- /dev/null +++ b/simple-website-cms/directus/template/src/assets/440df429-4715-42a0-afcd-569f5cdfb145.svg @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/assets/44a4e780-d59b-4fa5-9b26-1c4b447474d2.jpg b/simple-website-cms/directus/template/src/assets/44a4e780-d59b-4fa5-9b26-1c4b447474d2.jpg new file mode 100644 index 00000000..9e3a7896 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/44a4e780-d59b-4fa5-9b26-1c4b447474d2.jpg differ diff --git a/simple-website-cms/directus/template/src/assets/50570a31-a990-453c-bdfc-0ad7175dd8bf.png b/simple-website-cms/directus/template/src/assets/50570a31-a990-453c-bdfc-0ad7175dd8bf.png new file mode 100644 index 00000000..a84f6633 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/50570a31-a990-453c-bdfc-0ad7175dd8bf.png differ diff --git a/simple-website-cms/directus/template/src/assets/535f1284-dbc4-4e4e-9e50-b44a1df130bd.webp b/simple-website-cms/directus/template/src/assets/535f1284-dbc4-4e4e-9e50-b44a1df130bd.webp new file mode 100644 index 00000000..55cda4a8 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/535f1284-dbc4-4e4e-9e50-b44a1df130bd.webp differ diff --git a/simple-website-cms/directus/template/src/assets/5e93050a-6f17-4314-a7e5-f78bda425fea.png b/simple-website-cms/directus/template/src/assets/5e93050a-6f17-4314-a7e5-f78bda425fea.png new file mode 100644 index 00000000..14d2e600 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/5e93050a-6f17-4314-a7e5-f78bda425fea.png differ diff --git a/simple-website-cms/directus/template/src/assets/5f35b7e3-0357-47c3-807f-f132cca95e3f.png b/simple-website-cms/directus/template/src/assets/5f35b7e3-0357-47c3-807f-f132cca95e3f.png new file mode 100644 index 00000000..099a6293 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/5f35b7e3-0357-47c3-807f-f132cca95e3f.png differ diff --git a/simple-website-cms/directus/template/src/assets/6464e61f-455a-4b47-b623-bb12e5251dfe.jpeg b/simple-website-cms/directus/template/src/assets/6464e61f-455a-4b47-b623-bb12e5251dfe.jpeg new file mode 100644 index 00000000..7d26c17c Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/6464e61f-455a-4b47-b623-bb12e5251dfe.jpeg differ diff --git a/simple-website-cms/directus/template/src/assets/68103296-6634-4d66-918a-04b09afe6621.jpeg b/simple-website-cms/directus/template/src/assets/68103296-6634-4d66-918a-04b09afe6621.jpeg new file mode 100644 index 00000000..ee77f90f Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/68103296-6634-4d66-918a-04b09afe6621.jpeg differ diff --git a/simple-website-cms/directus/template/src/assets/6964d750-1c00-4b9c-81e4-0c81cfa82bbb.png b/simple-website-cms/directus/template/src/assets/6964d750-1c00-4b9c-81e4-0c81cfa82bbb.png new file mode 100644 index 00000000..7443335f Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/6964d750-1c00-4b9c-81e4-0c81cfa82bbb.png differ diff --git a/simple-website-cms/directus/template/src/assets/7775c53a-6c2c-453d-8c22-8b5445121d10.jpeg b/simple-website-cms/directus/template/src/assets/7775c53a-6c2c-453d-8c22-8b5445121d10.jpeg new file mode 100644 index 00000000..1d5cd4a9 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/7775c53a-6c2c-453d-8c22-8b5445121d10.jpeg differ diff --git a/simple-website-cms/directus/template/src/assets/8a652e52-a275-4dde-9fc5-edf2188afe56.jpg b/simple-website-cms/directus/template/src/assets/8a652e52-a275-4dde-9fc5-edf2188afe56.jpg new file mode 100644 index 00000000..6710d07a Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/8a652e52-a275-4dde-9fc5-edf2188afe56.jpg differ diff --git a/simple-website-cms/directus/template/src/assets/8f748634-d77b-4985-b27e-7e1f3559881a.jpeg b/simple-website-cms/directus/template/src/assets/8f748634-d77b-4985-b27e-7e1f3559881a.jpeg new file mode 100644 index 00000000..4c1a6a1a Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/8f748634-d77b-4985-b27e-7e1f3559881a.jpeg differ diff --git a/simple-website-cms/directus/template/src/assets/9a52e835-e131-4290-81bb-5a512599f93e.png b/simple-website-cms/directus/template/src/assets/9a52e835-e131-4290-81bb-5a512599f93e.png new file mode 100644 index 00000000..c8cdbfbb Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/9a52e835-e131-4290-81bb-5a512599f93e.png differ diff --git a/simple-website-cms/directus/template/src/assets/a051ea01-07a5-45cb-bcc6-411af9560be5.png b/simple-website-cms/directus/template/src/assets/a051ea01-07a5-45cb-bcc6-411af9560be5.png new file mode 100644 index 00000000..9f8e6ad7 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/a051ea01-07a5-45cb-bcc6-411af9560be5.png differ diff --git a/simple-website-cms/directus/template/src/assets/ac905071-0643-4337-8f53-48ed45b1ccf2.jpg b/simple-website-cms/directus/template/src/assets/ac905071-0643-4337-8f53-48ed45b1ccf2.jpg new file mode 100644 index 00000000..e32b4346 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/ac905071-0643-4337-8f53-48ed45b1ccf2.jpg differ diff --git a/simple-website-cms/directus/template/src/assets/ae390ba1-fcff-4b99-a445-5f19257095d1.svg b/simple-website-cms/directus/template/src/assets/ae390ba1-fcff-4b99-a445-5f19257095d1.svg new file mode 100644 index 00000000..6447600f --- /dev/null +++ b/simple-website-cms/directus/template/src/assets/ae390ba1-fcff-4b99-a445-5f19257095d1.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/simple-website-cms/directus/template/src/assets/b9db00d9-535f-4e24-8a46-5f7e5fc65bf2.jpg b/simple-website-cms/directus/template/src/assets/b9db00d9-535f-4e24-8a46-5f7e5fc65bf2.jpg new file mode 100644 index 00000000..a4538d5c Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/b9db00d9-535f-4e24-8a46-5f7e5fc65bf2.jpg differ diff --git a/simple-website-cms/directus/template/src/assets/c2a301bd-74ed-4a50-9b85-3cb1f40f8dee.png b/simple-website-cms/directus/template/src/assets/c2a301bd-74ed-4a50-9b85-3cb1f40f8dee.png new file mode 100644 index 00000000..79503c94 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/c2a301bd-74ed-4a50-9b85-3cb1f40f8dee.png differ diff --git a/simple-website-cms/directus/template/src/assets/d4fd6edc-4cc5-48c1-8bc7-e646924bbdca.jpeg b/simple-website-cms/directus/template/src/assets/d4fd6edc-4cc5-48c1-8bc7-e646924bbdca.jpeg new file mode 100644 index 00000000..a3c8d276 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/d4fd6edc-4cc5-48c1-8bc7-e646924bbdca.jpeg differ diff --git a/simple-website-cms/directus/template/src/assets/d5a1290f-8819-4e7c-b292-bffe5b1c8274.jpg b/simple-website-cms/directus/template/src/assets/d5a1290f-8819-4e7c-b292-bffe5b1c8274.jpg new file mode 100644 index 00000000..dc640067 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/d5a1290f-8819-4e7c-b292-bffe5b1c8274.jpg differ diff --git a/simple-website-cms/directus/template/src/assets/d627d585-2c14-4bbf-89ca-34581083cc1d.png b/simple-website-cms/directus/template/src/assets/d627d585-2c14-4bbf-89ca-34581083cc1d.png new file mode 100644 index 00000000..116b3507 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/d627d585-2c14-4bbf-89ca-34581083cc1d.png differ diff --git a/simple-website-cms/directus/template/src/assets/dc258f02-d1a3-47f4-9f3e-2a71a0010c56.png b/simple-website-cms/directus/template/src/assets/dc258f02-d1a3-47f4-9f3e-2a71a0010c56.png new file mode 100644 index 00000000..a4214757 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/dc258f02-d1a3-47f4-9f3e-2a71a0010c56.png differ diff --git a/simple-website-cms/directus/template/src/assets/dea64c65-de50-4d86-abea-6dee3d5256b2.webp b/simple-website-cms/directus/template/src/assets/dea64c65-de50-4d86-abea-6dee3d5256b2.webp new file mode 100644 index 00000000..df6e5b28 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/dea64c65-de50-4d86-abea-6dee3d5256b2.webp differ diff --git a/simple-website-cms/directus/template/src/assets/df0745c2-b6e3-4b37-b64d-55a4eb0033ab.avif b/simple-website-cms/directus/template/src/assets/df0745c2-b6e3-4b37-b64d-55a4eb0033ab.avif new file mode 100644 index 00000000..1aa4878d Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/df0745c2-b6e3-4b37-b64d-55a4eb0033ab.avif differ diff --git a/simple-website-cms/directus/template/src/assets/ea743e20-e6e9-4be8-a949-3771cd182810.png b/simple-website-cms/directus/template/src/assets/ea743e20-e6e9-4be8-a949-3771cd182810.png new file mode 100644 index 00000000..89b73064 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/ea743e20-e6e9-4be8-a949-3771cd182810.png differ diff --git a/simple-website-cms/directus/template/src/assets/fd6440c2-dd48-4792-9d08-3124cd99b40f.png b/simple-website-cms/directus/template/src/assets/fd6440c2-dd48-4792-9d08-3124cd99b40f.png new file mode 100644 index 00000000..900dfa67 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/fd6440c2-dd48-4792-9d08-3124cd99b40f.png differ diff --git a/simple-website-cms/directus/template/src/assets/fe7c7e04-5aac-4370-8bbd-6fd578d26ea1.jpg b/simple-website-cms/directus/template/src/assets/fe7c7e04-5aac-4370-8bbd-6fd578d26ea1.jpg new file mode 100644 index 00000000..a4747a83 Binary files /dev/null and b/simple-website-cms/directus/template/src/assets/fe7c7e04-5aac-4370-8bbd-6fd578d26ea1.jpg differ diff --git a/simple-website-cms/directus/template/src/collections.json b/simple-website-cms/directus/template/src/collections.json new file mode 100644 index 00000000..1effb53c --- /dev/null +++ b/simple-website-cms/directus/template/src/collections.json @@ -0,0 +1,922 @@ +[ + { + "collection": "block_button", + "meta": { + "collection": "block_button", + "icon": null, + "note": null, + "display_template": "{{label}} - {{type}}", + "hidden": true, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "Button", + "singular": "Button", + "plural": "Buttons" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": "archived", + "unarchive_value": "draft", + "sort_field": "sort", + "accountability": "all", + "color": null, + "item_duplication_fields": [ + "sort", + "type", + "page", + "post", + "url", + "label", + "variant" + ], + "sort": 1, + "group": "block_button_group", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "block_button", + "comment": null + } + }, + { + "collection": "block_button_group", + "meta": { + "collection": "block_button_group", + "icon": "smart_button", + "note": null, + "display_template": "{{buttons.label}}", + "hidden": true, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "Button Group", + "singular": "Button Group", + "plural": "Button Groups" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": "archived", + "unarchive_value": "draft", + "sort_field": null, + "accountability": "all", + "color": "#18222F", + "item_duplication_fields": [ + "sort", + "buttons.sort", + "buttons.type", + "buttons.page", + "buttons.post", + "buttons.url", + "buttons.label", + "buttons.variant" + ], + "sort": 8, + "group": "blocks", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "block_button_group", + "comment": null + } + }, + { + "collection": "block_form", + "meta": { + "collection": "block_form", + "icon": "format_shapes", + "note": null, + "display_template": "{{form.title}}", + "hidden": true, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "Form" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": [ + "tagline", + "headline", + "form" + ], + "sort": 3, + "group": "blocks", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "block_form", + "comment": null + } + }, + { + "collection": "block_gallery", + "meta": { + "collection": "block_gallery", + "icon": "grid_view", + "note": null, + "display_template": "{{headline}}", + "hidden": true, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "Gallery", + "singular": "Gallery", + "plural": "Gallery" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": "#1A212C", + "item_duplication_fields": [ + "tagline", + "headline", + "items.block_gallery", + "items.directus_file", + "items.sort" + ], + "sort": 5, + "group": "blocks", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "block_gallery", + "comment": null + } + }, + { + "collection": "block_gallery_items", + "meta": { + "collection": "block_gallery_items", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "block_gallery", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "block_gallery_items", + "comment": null + } + }, + { + "collection": "block_hero", + "meta": { + "collection": "block_hero", + "icon": "aspect_ratio", + "note": null, + "display_template": "{{headline}}", + "hidden": true, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "Hero", + "singular": "Hero", + "plural": "Hero" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": "#1A212C", + "item_duplication_fields": [ + "tagline", + "description", + "headline", + "image", + "layout", + "button_group.sort", + "button_group.buttons.sort", + "button_group.buttons.type", + "button_group.buttons.page", + "button_group.buttons.post", + "button_group.buttons.url", + "button_group.buttons.label", + "button_group.buttons.variant" + ], + "sort": 1, + "group": "blocks", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "block_hero", + "comment": null + } + }, + { + "collection": "block_posts", + "meta": { + "collection": "block_posts", + "icon": "signpost", + "note": null, + "display_template": "{{headline}}", + "hidden": true, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "Posts" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": [ + "tagline", + "headline", + "collection", + "limit" + ], + "sort": 4, + "group": "blocks", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "block_posts", + "comment": null + } + }, + { + "collection": "block_pricing", + "meta": { + "collection": "block_pricing", + "icon": "attach_money", + "note": null, + "display_template": "{{headline}}", + "hidden": true, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "Pricing" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": [ + "tagline", + "headline", + "pricing_cards.title", + "pricing_cards.badge", + "pricing_cards.price", + "pricing_cards.is_highlighted", + "pricing_cards.features", + "pricing_cards.description", + "pricing_cards.sort", + "pricing_cards.button.type", + "pricing_cards.button.sort", + "pricing_cards.button.page", + "pricing_cards.button.post", + "pricing_cards.button.url", + "pricing_cards.button.label", + "pricing_cards.button.variant" + ], + "sort": 7, + "group": "blocks", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "block_pricing", + "comment": null + } + }, + { + "collection": "block_pricing_cards", + "meta": { + "collection": "block_pricing_cards", + "icon": null, + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "block_pricing", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "block_pricing_cards", + "comment": null + } + }, + { + "collection": "block_richtext", + "meta": { + "collection": "block_richtext", + "icon": "format_color_text", + "note": null, + "display_template": "{{headline}}", + "hidden": true, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "Rich Text", + "singular": "Rich Text", + "plural": "Rich Text" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": "#1A212C", + "item_duplication_fields": [ + "tagline", + "headline", + "content", + "alignment" + ], + "sort": 2, + "group": "blocks", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "block_richtext", + "comment": null + } + }, + { + "collection": "blocks", + "meta": { + "collection": "blocks", + "icon": "content_copy", + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": "#1A212C", + "item_duplication_fields": null, + "sort": 2, + "group": null, + "collapse": "closed", + "preview_url": null, + "versioning": false + }, + "schema": null + }, + { + "collection": "form_fields", + "meta": { + "collection": "form_fields", + "icon": null, + "note": "Individual fields for each form", + "display_template": "{{name}} • {{type}}", + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "forms", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "form_fields", + "comment": null + } + }, + { + "collection": "forms", + "meta": { + "collection": "forms", + "icon": "text_format", + "note": "Dynamic forms", + "display_template": "{{title}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": "is_active", + "archive_app_filter": true, + "archive_value": "false", + "unarchive_value": "true", + "sort_field": "sort", + "accountability": "all", + "color": null, + "item_duplication_fields": [ + "title", + "submit_label", + "on_success", + "success_message", + "success_redirect_url", + "status", + "fields", + "emails" + ], + "sort": 3, + "group": "website", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "forms", + "comment": null + } + }, + { + "collection": "form_submissions", + "meta": { + "collection": "form_submissions", + "icon": "inbox", + "note": "Data for all form responses", + "display_template": "{{timestamp}} • {{form}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 4, + "group": "website", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "form_submissions", + "comment": null + } + }, + { + "collection": "form_submission_values", + "meta": { + "collection": "form_submission_values", + "icon": "list", + "note": "Individual responses to each form field within a form submission", + "display_template": null, + "hidden": true, + "singleton": false, + "translations": [ + { + "language": "en-US", + "translation": "Submission Values" + } + ], + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": "form_submissions", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "form_submission_values", + "comment": null + } + }, + { + "collection": "globals", + "meta": { + "collection": "globals", + "icon": "south_america", + "note": "Site-wide settings", + "display_template": null, + "hidden": false, + "singleton": true, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 6, + "group": "website", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "globals", + "comment": null + } + }, + { + "collection": "navigation", + "meta": { + "collection": "navigation", + "icon": "menu_open", + "note": "Dynamic menus for your site", + "display_template": null, + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": "is_active", + "archive_app_filter": true, + "archive_value": "false", + "unarchive_value": "true", + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": [ + "title", + "status", + "items.title", + "items.type", + "items.url", + "items.children", + "items.parent", + "items.page", + "items.post" + ], + "sort": 5, + "group": "website", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "navigation", + "comment": null + } + }, + { + "collection": "navigation_items", + "meta": { + "collection": "navigation_items", + "icon": "navigate_next", + "note": "Individual menu items", + "display_template": "{{title}}", + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": "#18222F", + "item_duplication_fields": [ + "children", + "has_children", + "image", + "label", + "navigation", + "open_in_new_tab", + "title", + "type", + "url", + "post", + "page", + "sort" + ], + "sort": 1, + "group": "navigation", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "navigation_items", + "comment": null + } + }, + { + "collection": "page_blocks", + "meta": { + "collection": "page_blocks", + "icon": "code_blocks", + "note": null, + "display_template": null, + "hidden": true, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": false, + "archive_value": null, + "unarchive_value": null, + "sort_field": "sort", + "accountability": "all", + "color": "#18222F", + "item_duplication_fields": [ + "page", + "sort", + "item:block_hero.tagline", + "item:block_hero.headline", + "item:block_hero.description", + "item:block_hero.button_group.sort", + "item:block_hero.button_group.buttons.sort", + "item:block_hero.button_group.buttons.type", + "item:block_hero.button_group.buttons.page", + "item:block_hero.button_group.buttons.post", + "item:block_hero.button_group.buttons.url", + "item:block_hero.button_group.buttons.label", + "item:block_hero.button_group.buttons.variant", + "item:block_hero.image", + "item:block_richtext.tagline", + "item:block_richtext.headline", + "item:block_richtext.content", + "item:block_richtext.alignment", + "item:block_form.tagline", + "item:block_form.headline", + "item:block_form.form", + "item:block_posts.tagline", + "item:block_posts.headline", + "item:block_posts.collection", + "item:block_gallery.tagline", + "item:block_gallery.headline", + "item:block_gallery.items", + "item:block_pricing.tagline", + "item:block_pricing.headline", + "item:block_pricing.pricing_cards.title", + "item:block_pricing.pricing_cards.badge", + "item:block_pricing.pricing_cards.price", + "item:block_pricing.pricing_cards.is_highlighted", + "item:block_pricing.pricing_cards.description", + "item:block_pricing.pricing_cards.features", + "item:block_pricing.pricing_cards.button.sort", + "item:block_pricing.pricing_cards.button.type", + "item:block_pricing.pricing_cards.button.page", + "item:block_pricing.pricing_cards.button.post", + "item:block_pricing.pricing_cards.button.url", + "item:block_pricing.pricing_cards.button.variant", + "item:block_pricing.pricing_cards.button.label", + "item:block_pricing.pricing_cards.sort", + "collection", + "hide_block", + "background" + ], + "sort": 3, + "group": "pages", + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": { + "schema": "public", + "name": "page_blocks", + "comment": null + } + }, + { + "collection": "pages", + "meta": { + "collection": "pages", + "icon": "web_asset", + "note": "Dynamic page builder", + "display_template": "{{title}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": "status", + "archive_app_filter": true, + "archive_value": "archived", + "unarchive_value": "draft", + "sort_field": "sort", + "accountability": "all", + "color": null, + "item_duplication_fields": [ + "sort", + "title", + "permalink", + "status", + "published_at", + "seo", + "blocks.sort", + "blocks.page", + "blocks.item:block_hero.tagline", + "blocks.item:block_hero.headline", + "blocks.item:block_hero.description", + "blocks.item:block_hero.button_group.sort", + "blocks.item:block_hero.button_group.buttons.sort", + "blocks.item:block_hero.button_group.buttons.type", + "blocks.item:block_hero.button_group.buttons.page", + "blocks.item:block_hero.button_group.buttons.post", + "blocks.item:block_hero.button_group.buttons.url", + "blocks.item:block_hero.button_group.buttons.label", + "blocks.item:block_hero.button_group.buttons.variant", + "blocks.item:block_hero.image", + "blocks.item:block_hero.layout", + "blocks.item:block_richtext.tagline", + "blocks.item:block_richtext.headline", + "blocks.item:block_richtext.content", + "blocks.item:block_richtext.alignment", + "blocks.item:block_form.tagline", + "blocks.item:block_form.headline", + "blocks.item:block_form.form", + "blocks.item:block_posts.tagline", + "blocks.item:block_posts.headline", + "blocks.item:block_posts.collection", + "blocks.item:block_posts.limit", + "blocks.item:block_gallery.tagline", + "blocks.item:block_gallery.headline", + "blocks.item:block_gallery.items.block_gallery", + "blocks.item:block_gallery.items.directus_file", + "blocks.item:block_gallery.items.sort", + "blocks.item:block_pricing.tagline", + "blocks.item:block_pricing.headline", + "blocks.item:block_pricing.pricing_cards.title", + "blocks.item:block_pricing.pricing_cards.badge", + "blocks.item:block_pricing.pricing_cards.price", + "blocks.item:block_pricing.pricing_cards.is_highlighted", + "blocks.item:block_pricing.pricing_cards.description", + "blocks.item:block_pricing.pricing_cards.features", + "blocks.item:block_pricing.pricing_cards.button.sort", + "blocks.item:block_pricing.pricing_cards.button.type", + "blocks.item:block_pricing.pricing_cards.button.page", + "blocks.item:block_pricing.pricing_cards.button.post", + "blocks.item:block_pricing.pricing_cards.button.url", + "blocks.item:block_pricing.pricing_cards.button.label", + "blocks.item:block_pricing.pricing_cards.button.variant", + "blocks.item:block_pricing.pricing_cards.sort", + "blocks.collection", + "blocks.hide_block", + "blocks.background" + ], + "sort": 1, + "group": "website", + "collapse": "open", + "preview_url": "http://localhost:3000{{permalink}}?preview=true&version={{$version}}", + "versioning": true + }, + "schema": { + "schema": "public", + "name": "pages", + "comment": null + } + }, + { + "collection": "posts", + "meta": { + "collection": "posts", + "icon": "article", + "note": "Individual blog posts", + "display_template": "{{title}}", + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": "status", + "archive_app_filter": true, + "archive_value": "archived", + "unarchive_value": "draft", + "sort_field": "sort", + "accountability": "all", + "color": null, + "item_duplication_fields": [ + "title", + "slug", + "author", + "status", + "image", + "description", + "content", + "seo" + ], + "sort": 2, + "group": "website", + "collapse": "open", + "preview_url": "http://localhost:3000/blog/{{slug}}?preview=true&version={{$version}}", + "versioning": true + }, + "schema": { + "schema": "public", + "name": "posts", + "comment": null + } + }, + { + "collection": "website", + "meta": { + "collection": "website", + "icon": "folder_special", + "note": null, + "display_template": null, + "hidden": false, + "singleton": false, + "translations": null, + "archive_field": null, + "archive_app_filter": true, + "archive_value": null, + "unarchive_value": null, + "sort_field": null, + "accountability": "all", + "color": null, + "item_duplication_fields": null, + "sort": 1, + "group": null, + "collapse": "open", + "preview_url": null, + "versioning": false + }, + "schema": null + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/block_button.json b/simple-website-cms/directus/template/src/content/block_button.json new file mode 100644 index 00000000..16fbca88 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/block_button.json @@ -0,0 +1,123 @@ +[ + { + "id": "9f5eacab-a8ca-43f4-9830-22009d68cbe5", + "sort": 1, + "type": "page", + "page": "9821199f-4b05-49fb-8407-fbfe9b866ef0", + "post": null, + "label": "Get A Demo", + "variant": "default", + "button_group": null, + "url": null + }, + { + "id": "8259a95e-c996-4880-9d6b-9d0d66848c67", + "sort": 1, + "type": "page", + "page": "9821199f-4b05-49fb-8407-fbfe9b866ef0", + "post": null, + "label": "Get A Demo", + "variant": "default", + "button_group": null, + "url": null + }, + { + "id": "bfab2064-5de2-4e8a-90f1-c4f00d21577f", + "sort": 1, + "type": "page", + "page": "9821199f-4b05-49fb-8407-fbfe9b866ef0", + "post": null, + "label": "Get A Demo", + "variant": "default", + "button_group": null, + "url": null + }, + { + "id": "132ee173-ee97-42ca-be68-f368b763b69f", + "sort": 1, + "type": "page", + "page": "9821199f-4b05-49fb-8407-fbfe9b866ef0", + "post": null, + "label": "Get A Demo", + "variant": "default", + "button_group": null, + "url": null + }, + { + "id": "899acdeb-3ecd-4a85-bd5e-9b4ca47ee3ce", + "sort": 1, + "type": "page", + "page": "9821199f-4b05-49fb-8407-fbfe9b866ef0", + "post": null, + "label": "Get A Demo", + "variant": "default", + "button_group": null, + "url": null + }, + { + "id": "91bf487e-7fb8-4b80-ab35-d46c73d21464", + "sort": 1, + "type": "page", + "page": "9821199f-4b05-49fb-8407-fbfe9b866ef0", + "post": null, + "label": "Get A Demo", + "variant": "default", + "button_group": "00024c32-7123-4342-8350-44d09ca6827a", + "url": null + }, + { + "id": "5f902715-6e50-491b-b29c-b947a11a10f1", + "sort": 1, + "type": "page", + "page": "9821199f-4b05-49fb-8407-fbfe9b866ef0", + "post": null, + "label": "Get A Demo", + "variant": "default", + "button_group": null, + "url": null + }, + { + "id": "dda7d91c-b449-4ab3-9d9d-84d4e8c09caf", + "sort": null, + "type": "url", + "page": null, + "post": null, + "label": "Get Started", + "variant": "default", + "button_group": null, + "url": "/your-stripe-checkout-link" + }, + { + "id": "efb97ae9-d95e-4f9d-bf00-9df9966c65ec", + "sort": null, + "type": "url", + "page": null, + "post": null, + "label": "Talk to Sales", + "variant": "solid", + "button_group": null, + "url": "/get-a-demo" + }, + { + "id": "8f540697-9056-4569-b9ea-c612c4f03eb0", + "sort": null, + "type": "url", + "page": null, + "post": null, + "label": "Talk to Sales", + "variant": "solid", + "button_group": null, + "url": "/get-a-demo" + }, + { + "id": "a61575d0-2028-432f-b76a-1a851526833d", + "sort": null, + "type": "url", + "page": null, + "post": null, + "label": "Get Started", + "variant": "default", + "button_group": null, + "url": "/your-stripe-checkout-link" + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/block_button_group.json b/simple-website-cms/directus/template/src/content/block_button_group.json new file mode 100644 index 00000000..dd06e835 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/block_button_group.json @@ -0,0 +1,9 @@ +[ + { + "id": "00024c32-7123-4342-8350-44d09ca6827a", + "sort": null, + "buttons": [ + "91bf487e-7fb8-4b80-ab35-d46c73d21464" + ] + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/block_form.json b/simple-website-cms/directus/template/src/content/block_form.json new file mode 100644 index 00000000..0e9c6aae --- /dev/null +++ b/simple-website-cms/directus/template/src/content/block_form.json @@ -0,0 +1,26 @@ +[ + { + "id": "1419faec-e263-431c-bd5f-a57f394c39f6", + "form": "5da3d356-d818-434f-b225-db35c418bbb6", + "headline": "Get all the goodness, right in your inbox", + "tagline": "Newsletter" + }, + { + "id": "185eca12-4af1-4a1c-bfd7-4bc2fab52097", + "form": "36493b64-2bad-4c58-9d70-785ccb12ee26", + "headline": "Let's talk about your project", + "tagline": "Contact" + }, + { + "id": "388fb972-bb44-4eac-a2d6-89c99927a4cb", + "form": "5da3d356-d818-434f-b225-db35c418bbb6", + "headline": "Get all the goodness, right in your inbox", + "tagline": "Newsletter" + }, + { + "id": "3e262b2d-48fc-4816-b5e8-c991817d56fc", + "form": "5da3d356-d818-434f-b225-db35c418bbb6", + "headline": "Subscribe to get updates", + "tagline": "Newsletter" + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/block_gallery.json b/simple-website-cms/directus/template/src/content/block_gallery.json new file mode 100644 index 00000000..0af03777 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/block_gallery.json @@ -0,0 +1,15 @@ +[ + { + "headline": "Check out some of our latest templates", + "id": "34fdcf0e-cc5d-4c40-b61f-4f0a5e167306", + "tagline": "Template Gallery", + "items": [ + "1dbac868-e2cc-4930-9f21-5e0dd1b40e52", + "2a0369dc-1b43-4d5a-9832-d180a0aa0295", + "46f226f4-6d13-4783-878f-3ae0eafcfd5d", + "02bb1bbf-c10d-462e-be09-c4556b3ea087", + "d3481aae-7dc4-446f-8b68-50e77aab58da", + "1f520e55-4054-47f9-896a-baf2787ec007" + ] + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/block_gallery_items.json b/simple-website-cms/directus/template/src/content/block_gallery_items.json new file mode 100644 index 00000000..7f175fa4 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/block_gallery_items.json @@ -0,0 +1,38 @@ +[ + { + "id": "02bb1bbf-c10d-462e-be09-c4556b3ea087", + "block_gallery": "34fdcf0e-cc5d-4c40-b61f-4f0a5e167306", + "directus_file": "a051ea01-07a5-45cb-bcc6-411af9560be5", + "sort": 10 + }, + { + "id": "1dbac868-e2cc-4930-9f21-5e0dd1b40e52", + "block_gallery": "34fdcf0e-cc5d-4c40-b61f-4f0a5e167306", + "directus_file": "03a7d1c7-81e2-432f-9561-9df2691189c8", + "sort": 7 + }, + { + "id": "1f520e55-4054-47f9-896a-baf2787ec007", + "block_gallery": "34fdcf0e-cc5d-4c40-b61f-4f0a5e167306", + "directus_file": "dc258f02-d1a3-47f4-9f3e-2a71a0010c56", + "sort": 12 + }, + { + "id": "2a0369dc-1b43-4d5a-9832-d180a0aa0295", + "block_gallery": "34fdcf0e-cc5d-4c40-b61f-4f0a5e167306", + "directus_file": "c2a301bd-74ed-4a50-9b85-3cb1f40f8dee", + "sort": 8 + }, + { + "id": "46f226f4-6d13-4783-878f-3ae0eafcfd5d", + "block_gallery": "34fdcf0e-cc5d-4c40-b61f-4f0a5e167306", + "directus_file": "6964d750-1c00-4b9c-81e4-0c81cfa82bbb", + "sort": 9 + }, + { + "id": "d3481aae-7dc4-446f-8b68-50e77aab58da", + "block_gallery": "34fdcf0e-cc5d-4c40-b61f-4f0a5e167306", + "directus_file": "50570a31-a990-453c-bdfc-0ad7175dd8bf", + "sort": 11 + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/block_hero.json b/simple-website-cms/directus/template/src/content/block_hero.json new file mode 100644 index 00000000..b97d00df --- /dev/null +++ b/simple-website-cms/directus/template/src/content/block_hero.json @@ -0,0 +1,11 @@ +[ + { + "headline": "Headless but not brainless", + "id": "0e09d473-7f86-4e70-a199-e81e6c04c3c6", + "image": "ea743e20-e6e9-4be8-a949-3771cd182810", + "button_group": "00024c32-7123-4342-8350-44d09ca6827a", + "description": "Directus gives you a backend that is perfect for Headless CMS use cases but also everything beyond. Authentication, user permissions.", + "tagline": "Backend + CMS", + "layout": null + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/block_posts.json b/simple-website-cms/directus/template/src/content/block_posts.json new file mode 100644 index 00000000..90c9d0e9 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/block_posts.json @@ -0,0 +1,9 @@ +[ + { + "id": "060b632d-d70d-4db1-8b95-4fbab7a52ae8", + "headline": "All rabbits, all the time", + "collection": "posts", + "tagline": "Blog", + "limit": 6 + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/block_pricing.json b/simple-website-cms/directus/template/src/content/block_pricing.json new file mode 100644 index 00000000..cfbadb92 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/block_pricing.json @@ -0,0 +1,17 @@ +[ + { + "id": "48cf2543-15e0-454f-9b31-cbf3c2406712", + "headline": "Plans to fit every budget", + "tagline": "Pricing", + "pricing_cards": [ + "83972d2a-742e-4a6c-8698-563d01dde54d", + "388404db-1703-4b10-b12b-e5d4385f1530" + ] + }, + { + "id": "a15ef6f7-4f44-4705-820e-5fc76e9489f1", + "headline": "Plans to fit every budget", + "tagline": "Pricing", + "pricing_cards": [] + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/block_pricing_cards.json b/simple-website-cms/directus/template/src/content/block_pricing_cards.json new file mode 100644 index 00000000..bc4020c1 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/block_pricing_cards.json @@ -0,0 +1,33 @@ +[ + { + "id": "388404db-1703-4b10-b12b-e5d4385f1530", + "title": "Starter Plan", + "description": "Perfect for your small busines", + "price": "$199 /month", + "badge": "Most Popular", + "features": [ + "One seat", + "Unlimited", + "Lifetime access" + ], + "button": "dda7d91c-b449-4ab3-9d9d-84d4e8c09caf", + "pricing": "48cf2543-15e0-454f-9b31-cbf3c2406712", + "is_highlighted": false, + "sort": null + }, + { + "id": "83972d2a-742e-4a6c-8698-563d01dde54d", + "title": "Enterprise Plan", + "description": "The best plan with all the best features", + "price": "$599 /month", + "badge": null, + "features": [ + "All of them", + "Yes all of them" + ], + "button": "efb97ae9-d95e-4f9d-bf00-9df9966c65ec", + "pricing": "48cf2543-15e0-454f-9b31-cbf3c2406712", + "is_highlighted": true, + "sort": null + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/block_richtext.json b/simple-website-cms/directus/template/src/content/block_richtext.json new file mode 100644 index 00000000..a857ccec --- /dev/null +++ b/simple-website-cms/directus/template/src/content/block_richtext.json @@ -0,0 +1,30 @@ +[ + { + "content": "

Welcome to our website solution - where simplicity meets power. While we've made content management beautifully simple, there's a lot more under the hood when you need it.

\n

Built on Directus, our platform starts as an intuitive CMS that anyone can use. Update your website, manage blog posts, handle forms, and organize media files with ease - no coding required. It's perfect for content creators, marketing teams, and business owners who want to focus on their message, not technical details.

\n

But here's the exciting part: when your needs grow, so can your platform. Directus isn't just a CMS - it's a full-featured backend that can power everything from mobile apps to complex digital experiences. Think of it as future-proofing your digital presence while keeping things simple today.

\n

What you'll love:

\n\n

And when you're ready for more than just CMS:

\n\n

Start simple, grow seamlessly. That's our promise to you. Ready to make your website work better for you?

", + "headline": "Our promise to you", + "id": "1134799b-3fd1-47ea-963f-13d8ac1b9e3a", + "alignment": "center", + "tagline": "About Us" + }, + { + "content": "

We were tired of solutions that were super friendly for content editors but were challenging for developers to work with. Conversely, what good is DX if the content editors don't enjoy using the CMS?

", + "headline": "Make your entire team happy", + "id": "129625db-433f-4104-9922-3b803ba4599d", + "alignment": "center", + "tagline": "Why Us?" + }, + { + "content": "

At our digital agency, we believe that standing out in the crowded digital landscape requires a unique approach. That's why we take a holistic approach to digital marketing, focusing on building a strong brand identity and developing strategies that are tailored to our clients' specific needs.

\n

Test Button

\n

H1

\n
\n

Our team of experts brings a diverse range of skills and experiences to the table, including web design, content creation, SEO, social media marketing, and more. We're not just interested in getting quick results; we're invested in helping our clients build sustainable, long-term success.

\n
\n
    \n
  1. Number 1
  2. \n
  3. Number 2 (Who does number 2 work for)
  4. \n
  5. Number 3
  6. \n
\n\n

H2

\n

Some text

\n
\n

H3

\n

Some text

\n

From the initial consultation to ongoing support, we're dedicated to providing personalized attention and exceptional service. At our digital agency, we're not just different from the rest - we're better.

", + "headline": "We're different than all the rest.", + "id": "1619b2fe-ce09-4a78-8c47-1428995c7c1c", + "alignment": "center", + "tagline": null + }, + { + "content": "

Last updated: [Date]

\n

Welcome to [Your Website Name] (\"we\", \"us\", \"our\"). We are committed to protecting your personal information and your right to privacy. If you have any questions or concerns about our policy, or our practices with regards to your personal information, please contact us at [Contact Information].

\n

By using our website, [Your Website URL], you consent to the collection and use of your personal information as described in this privacy policy.

\n

Information We Collect

\n

We collect personal information that you voluntarily provide to us when registering at the website, expressing an interest in obtaining information about us or our products and services, when participating in activities on the website, or otherwise contacting us.

\n

The personal information that we collect depends on the context of your interactions with us and the website, the choices you make, and the products and features you use. The personal information we collect can include the following:

\n\n

How We Use Your Information

\n

We use personal information collected via our website for a variety of business purposes described below:

\n\n

Sharing Your Information

\n

We may share or disclose your personal information in the following situations:

\n\n

Retention of Your Information

\n

We will retain your personal information only for as long as is necessary for the purposes set out in this privacy policy, and to the extent necessary to comply with our legal obligations, resolve disputes, and enforce our legal agreements and policies.

\n

Security of Your Information

\n

We use administrative, technical, and physical security measures to help protect your personal information. While we have taken reasonable steps to secure the personal information you provide to us, please be aware that despite our efforts, no security measures are perfect or impenetrable, and no method of data transmission can be guaranteed against any interception or other type of misuse.

\n

Your Privacy Rights

\n

Depending on your location, you may have certain rights under applicable data protection laws. These may include the right (i) to request access and obtain a copy of your personal information, (ii) to request rectification or erasure; (iii) to restrict the processing of your personal information; and (iv) if applicable, to data portability.

\n

Updates to Our Privacy Policy

\n

We may update our privacy policy from time to time. The updated version will be indicated by an updated \"Revised\" date and the updated version will be effective as soon as it is accessible. We encourage you to review this privacy policy frequently to be informed of how we are protecting your information.

", + "headline": "We take privacy very seriously", + "id": "a6275645-16b7-4994-8100-8c43ca07ab06", + "alignment": "center", + "tagline": null + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/form_fields.json b/simple-website-cms/directus/template/src/content/form_fields.json new file mode 100644 index 00000000..6b9ca462 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/form_fields.json @@ -0,0 +1,109 @@ +[ + { + "id": "0f3deba1-9d6b-44a0-aa87-a9b38e834beb", + "name": "first-name", + "type": "text", + "label": "First Name", + "placeholder": null, + "help": null, + "validation": null, + "width": "50", + "choices": null, + "form": "5da3d356-d818-434f-b225-db35c418bbb6", + "sort": 1, + "required": true + }, + { + "id": "56c64efd-520f-4578-acca-e0565e247681", + "name": "comments", + "type": "textarea", + "label": "How can we help?", + "placeholder": "Give us the scoop right here.", + "help": null, + "validation": null, + "width": "100", + "choices": null, + "form": "36493b64-2bad-4c58-9d70-785ccb12ee26", + "sort": 5, + "required": false + }, + { + "id": "a3d87bc0-f143-44ca-bea0-9eaf56b67783", + "name": "email", + "type": "text", + "label": "Email", + "placeholder": "john@example.com", + "help": null, + "validation": null, + "width": "100", + "choices": null, + "form": "36493b64-2bad-4c58-9d70-785ccb12ee26", + "sort": 3, + "required": true + }, + { + "id": "a5222af8-f9a2-4d1a-9713-7ce0e2d5edc5", + "name": "department", + "type": "select", + "label": "Which team would you like to speak with?", + "placeholder": null, + "help": null, + "validation": null, + "width": "100", + "choices": [ + { + "text": "Sales", + "value": "sales" + }, + { + "text": "Support", + "value": "support" + } + ], + "form": "36493b64-2bad-4c58-9d70-785ccb12ee26", + "sort": 4, + "required": false + }, + { + "id": "bbc7b1c6-304e-4ee1-9afa-c5cffda6af27", + "name": "last-name", + "type": "text", + "label": "Last Name", + "placeholder": "Doe", + "help": null, + "validation": null, + "width": "50", + "choices": null, + "form": "36493b64-2bad-4c58-9d70-785ccb12ee26", + "sort": 2, + "required": true + }, + { + "id": "d37bc00f-bfb5-4496-85c3-70190b21b707", + "name": "email", + "type": "text", + "label": "Email", + "placeholder": null, + "help": null, + "validation": null, + "width": "50", + "choices": null, + "form": "5da3d356-d818-434f-b225-db35c418bbb6", + "sort": 2, + "required": true + }, + { + "id": "eef0eb77-ecab-4fba-9903-c46d6ad6d85b", + "name": "first-name", + "type": "text", + "label": "First Name", + "placeholder": "John", + "help": null, + "validation": null, + "width": "50", + "choices": null, + "form": "36493b64-2bad-4c58-9d70-785ccb12ee26", + "sort": 1, + "required": true + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/form_submission_values.json b/simple-website-cms/directus/template/src/content/form_submission_values.json new file mode 100644 index 00000000..64709b32 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/form_submission_values.json @@ -0,0 +1,18 @@ +[ + { + "id": "28f8820f-def4-4b3b-b35d-b79fc7f731a1", + "form_submission": "3805e2c0-ebba-4070-a1b3-b39ba1b4932b", + "field": "0f3deba1-9d6b-44a0-aa87-a9b38e834beb", + "value": "Steve", + "sort": 1, + "file": null + }, + { + "id": "54e554ef-82e7-463e-8542-624352cdb5ca", + "form_submission": "3805e2c0-ebba-4070-a1b3-b39ba1b4932b", + "field": "a3d87bc0-f143-44ca-bea0-9eaf56b67783", + "value": "steve@example.com", + "sort": 2, + "file": null + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/form_submissions.json b/simple-website-cms/directus/template/src/content/form_submissions.json new file mode 100644 index 00000000..24d56263 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/form_submissions.json @@ -0,0 +1,11 @@ +[ + { + "id": "3805e2c0-ebba-4070-a1b3-b39ba1b4932b", + "timestamp": "2024-09-24T16:31:02.467Z", + "form": "5da3d356-d818-434f-b225-db35c418bbb6", + "values": [ + "28f8820f-def4-4b3b-b35d-b79fc7f731a1", + "54e554ef-82e7-463e-8542-624352cdb5ca" + ] + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/forms.json b/simple-website-cms/directus/template/src/content/forms.json new file mode 100644 index 00000000..4b006b4b --- /dev/null +++ b/simple-website-cms/directus/template/src/content/forms.json @@ -0,0 +1,47 @@ +[ + { + "id": "36493b64-2bad-4c58-9d70-785ccb12ee26", + "on_success": "message", + "sort": null, + "submit_label": "Get Started", + "success_message": null, + "title": "Contact Us", + "success_redirect_url": null, + "is_active": true, + "emails": null, + "fields": [ + "eef0eb77-ecab-4fba-9903-c46d6ad6d85b", + "bbc7b1c6-304e-4ee1-9afa-c5cffda6af27", + "a3d87bc0-f143-44ca-bea0-9eaf56b67783", + "a5222af8-f9a2-4d1a-9713-7ce0e2d5edc5", + "56c64efd-520f-4578-acca-e0565e247681" + ], + "submissions": [] + }, + { + "id": "5da3d356-d818-434f-b225-db35c418bbb6", + "on_success": "message", + "sort": null, + "submit_label": "Subscribe", + "success_message": "Thanks for subscribing to our newsletter! Please check your inbox for confirmation.", + "title": "Newsletter", + "success_redirect_url": null, + "is_active": true, + "emails": [ + { + "to": [ + "sales@example.com" + ], + "subject": "Newsletter Signup", + "message": "

Newsletter Sign Up

\n\n\n\n\n\n\n\n\n\n\n\n
Name{# first-name #}
Email{# email #}
" + } + ], + "fields": [ + "0f3deba1-9d6b-44a0-aa87-a9b38e834beb", + "d37bc00f-bfb5-4496-85c3-70190b21b707" + ], + "submissions": [ + "3805e2c0-ebba-4070-a1b3-b39ba1b4932b" + ] + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/globals.json b/simple-website-cms/directus/template/src/content/globals.json new file mode 100644 index 00000000..bd5285c1 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/globals.json @@ -0,0 +1,35 @@ +{ + "description": "We empower you to build the best site possible", + "id": "ab89c489-faea-4310-8b59-7ddb3caf279a", + "social_links": [ + { + "service": "github", + "url": "https://github.com/directus/directus" + }, + { + "service": "linkedin", + "url": "https://www.linkedin.com/company/directus-io" + }, + { + "service": "youtube", + "url": "https://www.youtube.com/c/DirectusVideos" + }, + { + "url": "https://directus.chat/", + "service": "discord" + }, + { + "url": "https://x.com/directus", + "service": "x" + } + ], + "tagline": "The best site ever", + "title": "Your Site", + "url": "https://www.yoururl.com", + "favicon": "2b4a0ba0-52c7-4e10-b191-c803d8da6a36", + "logo": "43ddd7b8-9b2f-4aa1-b63c-933b4ae81ca2", + "openai_api_key": null, + "directus_url": "http://0.0.0.0:8055", + "logo_dark_mode": "ae390ba1-fcff-4b99-a445-5f19257095d1", + "accent_color": "#6644FF" +} \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/navigation.json b/simple-website-cms/directus/template/src/content/navigation.json new file mode 100644 index 00000000..bfe95319 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/navigation.json @@ -0,0 +1,21 @@ +[ + { + "id": "footer", + "title": "Footer Navigation", + "is_active": true, + "items": [ + "dc0870f8-e316-48b0-b34d-ca5c4394344c", + "e096f25c-a549-4fe5-a284-17b0a347037a", + "c732b100-1f5a-4ce1-8fde-b0072d09623f" + ] + }, + { + "id": "main", + "title": "Main Navigation", + "is_active": true, + "items": [ + "192a490a-bbb9-4794-b82f-619a01463723", + "0ca39155-c212-4b6e-8156-5a4322731c07" + ] + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/navigation_items.json b/simple-website-cms/directus/template/src/content/navigation_items.json new file mode 100644 index 00000000..f9e55cff --- /dev/null +++ b/simple-website-cms/directus/template/src/content/navigation_items.json @@ -0,0 +1,89 @@ +[ + { + "id": "0ca39155-c212-4b6e-8156-5a4322731c07", + "navigation": "main", + "page": null, + "parent": null, + "sort": 2, + "title": "About", + "type": "group", + "url": null, + "post": null, + "children": [ + "28fde01b-647b-4151-96e5-6d876d3f3329", + "717b30fd-1bf6-46eb-a0cd-81923c17fcf6" + ] + }, + { + "id": "192a490a-bbb9-4794-b82f-619a01463723", + "navigation": "main", + "page": "9821199f-4b05-49fb-8407-fbfe9b866ef0", + "parent": null, + "sort": 1, + "title": "Contact Us", + "type": "page", + "url": null, + "post": null, + "children": [] + }, + { + "id": "28fde01b-647b-4151-96e5-6d876d3f3329", + "navigation": null, + "page": "93023385-f574-4040-9ead-42b717db2015", + "parent": "0ca39155-c212-4b6e-8156-5a4322731c07", + "sort": 1, + "title": "Privacy Policy", + "type": "page", + "url": null, + "post": null, + "children": [] + }, + { + "id": "717b30fd-1bf6-46eb-a0cd-81923c17fcf6", + "navigation": null, + "page": "1ce02298-817a-46bc-ac92-6a6c10c20f88", + "parent": "0ca39155-c212-4b6e-8156-5a4322731c07", + "sort": 2, + "title": "Blog", + "type": "page", + "url": null, + "post": null, + "children": [] + }, + { + "id": "c732b100-1f5a-4ce1-8fde-b0072d09623f", + "navigation": "footer", + "page": "1ce02298-817a-46bc-ac92-6a6c10c20f88", + "parent": null, + "sort": 5, + "title": "Blog", + "type": "page", + "url": "/posts", + "post": null, + "children": [] + }, + { + "id": "dc0870f8-e316-48b0-b34d-ca5c4394344c", + "navigation": "footer", + "page": "93023385-f574-4040-9ead-42b717db2015", + "parent": null, + "sort": 1, + "title": "Privacy Policy", + "type": "page", + "url": null, + "post": null, + "children": [] + }, + { + "id": "e096f25c-a549-4fe5-a284-17b0a347037a", + "navigation": "footer", + "page": "9821199f-4b05-49fb-8407-fbfe9b866ef0", + "parent": null, + "sort": 2, + "title": "Contact Us", + "type": "page", + "url": null, + "post": null, + "children": [] + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/page_blocks.json b/simple-website-cms/directus/template/src/content/page_blocks.json new file mode 100644 index 00000000..1020d421 --- /dev/null +++ b/simple-website-cms/directus/template/src/content/page_blocks.json @@ -0,0 +1,92 @@ +[ + { + "id": "45227f61-5ff1-431c-8dee-1a50d369325f", + "sort": 1, + "page": "1ce02298-817a-46bc-ac92-6a6c10c20f88", + "item": "060b632d-d70d-4db1-8b95-4fbab7a52ae8", + "collection": "block_posts", + "hide_block": false, + "background": "light" + }, + { + "id": "2b757f25-9c2f-446c-980f-87fb138c6766", + "sort": 1, + "page": "636dc283-e634-4d5d-aada-e6743db46036", + "item": "0e09d473-7f86-4e70-a199-e81e6c04c3c6", + "collection": "block_hero", + "hide_block": false, + "background": "light" + }, + { + "id": "bc826e30-4988-4035-98bd-5ffc4799e5fc", + "sort": 1, + "page": "93023385-f574-4040-9ead-42b717db2015", + "item": "a6275645-16b7-4994-8100-8c43ca07ab06", + "collection": "block_richtext", + "hide_block": false, + "background": "light" + }, + { + "id": "1f774f44-3e33-4b0f-93f4-fdd6df898438", + "sort": 1, + "page": "9821199f-4b05-49fb-8407-fbfe9b866ef0", + "item": "185eca12-4af1-4a1c-bfd7-4bc2fab52097", + "collection": "block_form", + "hide_block": false, + "background": "light" + }, + { + "id": "2b017efb-ce7c-4b90-9f59-a39236ffe571", + "sort": 2, + "page": "1ce02298-817a-46bc-ac92-6a6c10c20f88", + "item": "3e262b2d-48fc-4816-b5e8-c991817d56fc", + "collection": "block_form", + "hide_block": false, + "background": "light" + }, + { + "id": "0ff1d6c4-ff77-46c6-ad02-f9ae31484505", + "sort": 2, + "page": "2a62887e-2384-4bd2-a919-7665d85fed07", + "item": "1134799b-3fd1-47ea-963f-13d8ac1b9e3a", + "collection": "block_richtext", + "hide_block": false, + "background": "light" + }, + { + "id": "2d9abe8f-a7ad-480d-8fc7-603c712e2f40", + "sort": 2, + "page": "636dc283-e634-4d5d-aada-e6743db46036", + "item": "129625db-433f-4104-9922-3b803ba4599d", + "collection": "block_richtext", + "hide_block": false, + "background": "light" + }, + { + "id": "529e6408-7372-4195-b82d-e444c06ac492", + "sort": 3, + "page": "636dc283-e634-4d5d-aada-e6743db46036", + "item": "34fdcf0e-cc5d-4c40-b61f-4f0a5e167306", + "collection": "block_gallery", + "hide_block": false, + "background": "dark" + }, + { + "id": "39d02b18-18d2-4c29-9268-038f72ea05fe", + "sort": 4, + "page": "636dc283-e634-4d5d-aada-e6743db46036", + "item": "48cf2543-15e0-454f-9b31-cbf3c2406712", + "collection": "block_pricing", + "hide_block": false, + "background": "light" + }, + { + "id": "7e1ce212-3f8a-43b4-aff7-131bf4241e30", + "sort": 5, + "page": "636dc283-e634-4d5d-aada-e6743db46036", + "item": "1419faec-e263-431c-bd5f-a57f394c39f6", + "collection": "block_form", + "hide_block": false, + "background": "light" + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/pages.json b/simple-website-cms/directus/template/src/content/pages.json new file mode 100644 index 00000000..8b4ddd8f --- /dev/null +++ b/simple-website-cms/directus/template/src/content/pages.json @@ -0,0 +1,84 @@ +[ + { + "id": "636dc283-e634-4d5d-aada-e6743db46036", + "sort": 1, + "title": "Home", + "permalink": "/", + "status": "published", + "published_at": "2025-04-07T18:17:00.000Z", + "seo": { + "meta_description": "Directus is a great choice for your headless CMS. I'm also padding out the meta description here just to get a check on the SEO score.", + "title": "Build your next website faster with our CMS Template", + "no_index": false, + "no_follow": false + }, + "blocks": [ + "2b757f25-9c2f-446c-980f-87fb138c6766", + "2d9abe8f-a7ad-480d-8fc7-603c712e2f40", + "529e6408-7372-4195-b82d-e444c06ac492", + "39d02b18-18d2-4c29-9268-038f72ea05fe", + "7e1ce212-3f8a-43b4-aff7-131bf4241e30" + ] + }, + { + "id": "1ce02298-817a-46bc-ac92-6a6c10c20f88", + "sort": 2, + "title": "Blog", + "permalink": "/blog", + "status": "published", + "published_at": "2024-09-01T16:00:00.000Z", + "seo": { + "title": "Learn from our team | Blog", + "meta_description": "All the tips and advice we've learned about working with headless CMS over the years." + }, + "blocks": [ + "45227f61-5ff1-431c-8dee-1a50d369325f", + "2b017efb-ce7c-4b90-9f59-a39236ffe571" + ] + }, + { + "id": "9821199f-4b05-49fb-8407-fbfe9b866ef0", + "sort": 3, + "title": "Contact", + "permalink": "/contact", + "status": "published", + "published_at": "2024-07-01T16:00:00.000Z", + "seo": { + "no_index": false, + "title": "Contact Us | Reach out to our team if you need help" + }, + "blocks": [ + "1f774f44-3e33-4b0f-93f4-fdd6df898438" + ] + }, + { + "id": "2a62887e-2384-4bd2-a919-7665d85fed07", + "sort": 4, + "title": "About Us", + "permalink": "/about-us", + "status": "published", + "published_at": "2024-12-01T17:00:00.000Z", + "seo": { + "title": "About Us", + "no_index": true + }, + "blocks": [ + "0ff1d6c4-ff77-46c6-ad02-f9ae31484505" + ] + }, + { + "id": "93023385-f574-4040-9ead-42b717db2015", + "sort": 5, + "title": "Privacy Policy", + "permalink": "/privacy-policy", + "status": "published", + "published_at": "2024-05-01T16:00:00.000Z", + "seo": { + "title": "Privacy Policy for Simple Website CMS template", + "meta_description": "Here's all the fine print for our website. You can read it all. There's nothing secret. It's just words to fill up the page. You'll want to change them later." + }, + "blocks": [ + "bc826e30-4988-4035-98bd-5ffc4799e5fc" + ] + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/content/posts.json b/simple-website-cms/directus/template/src/content/posts.json new file mode 100644 index 00000000..6d70237d --- /dev/null +++ b/simple-website-cms/directus/template/src/content/posts.json @@ -0,0 +1,103 @@ +[ + { + "content": "

Rabbit grooming is an essential aspect of pet care that ensures the overall health, happiness, and well-being of your furry friend. Regular grooming not only keeps your bunny looking their best but also helps to prevent health issues, strengthens the bond between you and your pet, and maintains a clean environment. In this blog post, we'll explore some essential rabbit grooming tips and techniques to help you keep your bunny looking and feeling their best.

\n

1. Brushing

\n

One of the most critical aspects of rabbit grooming is regular brushing. Rabbits have a thick, soft coat that can easily become matted, tangled, or accumulate excess hair. This is especially important during the shedding season when rabbits lose their fur.

\n

To brush your rabbit, use a soft-bristle brush or a comb specifically designed for rabbits. Gently brush in the direction of the fur growth, taking extra care around sensitive areas like the face, ears, and belly. Brushing should be done at least once a week, or more frequently during shedding season.

\n

2. Nail Trimming

\n

Just like humans, rabbits need their nails trimmed regularly to prevent overgrowth and potential injury. Rabbit nails can become sharp and curl, making it difficult for them to move and causing discomfort.

\n

To trim your rabbit's nails, use a pair of small animal nail clippers. Hold your rabbit securely, but gently, and expose the nail by gently pressing on the surrounding fur. Clip the nail at a 45-degree angle, avoiding the quick, the pink part of the nail containing blood vessels and nerves. If you accidentally cut the quick, apply styptic powder or cornstarch to stop the bleeding. Trim your rabbit's nails every 4-6 weeks or as needed.

\n

3. Ear Cleaning

\n

Rabbits are prone to ear infections, which can lead to severe complications if left untreated. Regular ear cleaning helps to prevent infections and ensure that your rabbit's ears remain healthy.

\n

To clean your rabbit's ears, use a soft, damp cloth or cotton ball moistened with warm water. Gently wipe the outer part of the ear, avoiding the ear canal. Never insert anything into the ear canal, as this can cause damage or push debris further in. Clean your rabbit's ears every 2-4 weeks or as needed.

\n

4. Dental Care

\n

Rabbits have continuously growing teeth that need to be worn down to prevent dental problems. Providing your rabbit with hay, wooden chew toys, and other materials to gnaw on will help keep their teeth in check.

\n

Monitor your rabbit's teeth regularly to ensure they're not becoming too long or misaligned. If you notice any issues, consult with a veterinarian experienced in rabbit care, as they may need to trim or file the teeth.

\n

5. Bathing

\n

Unlike cats and dogs, rabbits do not require frequent baths. In fact, bathing your rabbit can cause stress and lead to health issues. Instead, spot clean your rabbit using a damp cloth or unscented baby wipes to remove any dirt or debris. If your rabbit becomes soiled and requires a more thorough cleaning, consult with a veterinarian for guidance.

\n

In conclusion, maintaining a regular grooming routine is essential for your rabbit's overall health and well-being. By implementing these tips and techniques, you can ensure that your bunny stays clean, comfortable, and happy. Remember to always handle your rabbit gently and with care during grooming sessions to help build trust and strengthen the bond between you and your pet.

", + "id": "c96b64b4-9567-46f6-8eb5-ac2f37c4918d", + "image": "d4fd6edc-4cc5-48c1-8bc7-e646924bbdca", + "slug": "rabbit-grooming-essential-tips", + "sort": 2, + "status": "in_review", + "title": "Essential Tips for Keeping Your Bunny Looking and Feeling Their Best", + "description": "Rabbit grooming, encompassing brushing, nail trimming, ear cleaning, dental care, and spot cleaning, is vital for your bunny's health, appearance, and well-being.", + "author": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "published_at": null, + "seo": { + "title": "Essential Tips for Keeping Your Bunny Feeling Their Best", + "meta_description": "Rabbit grooming, encompassing brushing, nail trimming, ear cleaning, and dental care is vital for your bunny's health, appearance, and well-being.", + "og_image": "fe7c7e04-5aac-4370-8bbd-6fd578d26ea1.jpg", + "additional_fields": { + "super_advanced_seo_metadata": "this plugin rocks" + } + } + }, + { + "content": "

Ladies and Gentlemen, it is my great pleasure to introduce you to the future of work. And no, I'm not talking about drones, AI, or even cyborgs. The future of work is none other than the stylish, dapper and oh-so-cool steampunk rabbits!

\n

What are Steampunk Rabbits?

\n

Yes, you heard it right, steampunk rabbits. These little creatures are not just cute and cuddly, but they are also the epitome of efficiency and innovation. From the gears in their top hats to the clockwork in their tails, steampunk rabbits are revolutionizing the way we work and live.

\n

So, what makes steampunk rabbits so special? Well, for starters, they never sleep. They work tirelessly around the clock, getting more done in a day than any human ever could. They are also incredibly multi-talented. With their clockwork appendages, they can type, write, assemble, and even paint! All while sipping on a cup of tea and looking fabulous, of course.

\n

Benefits of Steampunk Rabbits

\n

And the best part? They are never late for work. They have built-in clocks and calendars, ensuring that they are always on time. And forget a sick days and vacations; steampunk rabbits never get sick or need a break. They just keep working and working, providing us with endless hours of productivity.

\n

But wait, there's more! Steampunk rabbits also bring a touch of whimsy and charm to the workplace. Their Victorian-inspired attire and quirky personalities are sure to brighten up any office. They are the perfect office pets, and they make even the most mundane tasks feel like an adventure.

\n

So, there you have it folks, steampunk rabbits are the future of work. So, next time you're feeling stressed and overwhelmed with work, just remember, there's a steampunk rabbit out there who's got your back. And if you're lucky, maybe you'll even get to work with one someday.

\n

In conclusion, let us embrace the future and welcome our new steampunk rabbit overlords with open arms. The future of work has never looked so bright and full of bunnies!

", + "id": "ba559a1e-5b0c-4932-ab97-b1ab4ca69955", + "image": "3eff7dc2-445a-47c5-9503-3f600ecdb5c6", + "slug": "why-steampunk-rabbits-are-the-future-of-work", + "sort": 4, + "status": "published", + "title": "Why Steampunk Rabbits Are The Future of Work", + "description": "This post discusses how steampunk rabbits could be the future of work, highlighting their efficiency, multi-talented nature, and ability to bring charm to the workplace.", + "author": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "published_at": "2024-09-01T16:00:00.000Z", + "seo": { + "title": "Why Steampunk Rabbits Are The Future of Work", + "meta_description": null + } + }, + { + "content": "

Rabbits are known for their fast-paced and productive lifestyle. Their ability to multitask and work efficiently makes them a great source of inspiration for anyone looking to boost their productivity levels. In this blog post, we will look at some simple tips and tricks that you can adopt to become a very productive rabbit.

\n

Test external link

\n

Test internal link

\n

Plan your day in advance

\n

Planning your day is the first step to becoming a productive rabbit. Make a list of tasks you need to complete, prioritize them and allocate enough time for each. This will help you to stay focused and avoid procrastination.

\n

Wake up early

\n

Rabbits are early birds, and for good reason. Waking up early will give you a head start on your day, allowing you to tackle your most important tasks when you are most alert and focused.

\n

Stay hydrated and nourished

\n

Drinking plenty of water and eating a healthy and balanced diet is crucial for maintaining energy levels and concentration throughout the day. Just like rabbits, you should take regular breaks to recharge and refuel.

\n

Practice mindfulness and take breaks

\n

Rabbits know the importance of taking breaks to refresh their mind and recharge their batteries. Regular breaks can help you avoid burnout and increase your overall productivity. Try incorporating mindfulness practices like meditation or deep breathing into your daily routine.

\n

Stay organized

\n

An organized work environment can help you work more efficiently and increase your productivity levels. Keep your workspace tidy, and use tools like calendars, to-do lists, and filing systems to keep track of your tasks and deadlines.

\n

Surround yourself with positive people

\n

Surrounding yourself with positive and supportive people can help to boost your motivation and productivity levels. Seek out coworkers and friends who share your goals and are supportive of your efforts to become more productive.

", + "id": "ddf1003f-6b9a-460c-83fd-d985d6defbd6", + "image": "7775c53a-6c2c-453d-8c22-8b5445121d10", + "slug": "how-to-become-a-very-productive-rabbit", + "sort": 5, + "status": "published", + "title": "How To Become A Very Productive Rabbit", + "description": "In this blog post, we will look at some simple tips and tricks that you can adopt to become a very productive rabbit.", + "author": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "published_at": "2024-07-01T16:00:00.000Z", + "seo": { + "title": "How To Become A Very Productive Rabbit", + "meta_description": "In this blog post, we will look at some simple tips and tricks that you can adopt to become a very productive rabbit." + } + }, + { + "content": "

Rabbits are cute and cuddly animals that have been a staple of our childhoods. But did you know that there's more to these furry creatures than just their adorable appearance? Here are some rabbit facts that will blow your mind!

\n
    \n
  1. \n

    Rabbits have excellent vision: Rabbits have excellent vision, with eyes located on the sides of their heads, allowing them to see 360 degrees. This helps them to detect predators and keep themselves safe.

    \n
  2. \n
  3. \n

    Rabbits are fast runners: When it comes to running, rabbits are pretty speedy! They can run up to 45 miles per hour, making them one of the fastest animals in the animal kingdom.

    \n
  4. \n
  5. \n

    Rabbits are herbivores: Unlike many other animals, rabbits are strictly herbivores, meaning they only eat plants and vegetation. Their diet consists of leafy greens, hay, and fresh fruits and vegetables.

    \n
  6. \n
  7. \n

    Rabbits have unique teeth: Rabbits have unique teeth that continuously grow throughout their lives. To keep their teeth from becoming too long, they need to chew on hard objects like wood to file them down.

    \n
  8. \n
  9. \n

    Rabbits have powerful hind legs: Rabbits have incredibly powerful hind legs that allow them to make quick and nimble movements. These legs also help them to escape from predators by jumping away at incredible speeds.

    \n
  10. \n
  11. \n

    Rabbits are social creatures: Rabbits are social creatures and are best kept with other rabbits. They love to play and cuddle, and they will often form close bonds with their rabbit friends.

    \n
  12. \n
  13. \n

    Rabbits have a unique reproductive system: Rabbits have a unique reproductive system, with females capable of producing litters of bunnies several times a year. This makes rabbits some of the most productive mammals on the planet.

    \n
  14. \n
  15. \n

    Rabbits have a good memory: Rabbits have a good memory and can remember things for several months. This means that if you take the time to bond with your rabbit, they will remember you and be more likely to come to you for affection.

    \n
  16. \n
\n

In conclusion, rabbits are fascinating creatures that have much more to offer than just their cute appearance. From their excellent vision to their powerful hind legs and their unique reproductive system, rabbits are truly amazing animals that are sure to blow your mind!

", + "id": "f7845a69-edcb-4163-a2a9-fb82b64475c5", + "image": "8f748634-d77b-4985-b27e-7e1f3559881a", + "slug": "rabbit-facts-that-will-blow-your-mind", + "sort": 6, + "status": "published", + "title": "Rabbit Facts That Will Blow Your Mind", + "description": "These interesting facts about rabbits make them fascinating creatures that are worth learning more about.", + "author": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "published_at": "2024-06-01T16:00:00.000Z", + "seo": { + "title": "Eight Rabbit Facts That Will Blow Your Mind", + "meta_description": "These interesting facts about rabbits make them fascinating creatures that are worth learning more about." + } + }, + { + "content": "

Ahoy, ye digital corsairs! Have ye ever wondered what tools web developers be usin' on their sleek Macs to keep the seas of code navigable? Well, hoist the mainsail and buckle yer swashbuckling selves, for I be sharin' the secret treasures that make a Mac a true vessel of productivity on these here digital seas.

\n

1. Visual Studio Code

\n

First in the treasure chest be Visual Studio Code, the trusty compass for many a developer. This mighty editor be free, open-source, and oh-so-customizable. With extensions as plentiful as the fish in the sea, VS Code helps yer code run smoother than a schooner in a gentle breeze.

\n

2. iTerm2

\n

When it be time to navigate through the terminal, iTerm2 be the anchor ye need. This advanced terminal emulator gives ye multiple panes, session restoration, and a wealth of shortcuts that’ll make yer command-line navigations swift as a gull in flight.

\n

3. Homebrew

\n

Homebrew be the package manager that every Mac-developer swears by. It makes installing and managing software as easy as pie, with a simple command: brew install. Whether ye be needin' a database or a new programming language, Homebrew be the quartermaster providin' the goods.

\n

4. Alfred

\n

Meet Alfred, yer first mate when it comes to magic productivity. This mighty app launcher and workflow automator allows ye to control yer Mac with but a flick of the wrist. Custom workflows and powerful searches make sure Alfred steers ye quickly to any file or task.

\n

5. Postman

\n

If ye be workin' on APIs, Postman be the ultimate tool in yer treasure trove. It helps ye test, develop, and document yer APIs with ease. No more sendin' messages in bottles; Postman be the efficient way to communicate with yer backend services.

\n

6. Magnet

\n

To keep yer ship’s deck clean and tidy, Magnet be the window management tool ye need. With simple drag-and-snap functionalities, Magnet arranges all yer open windows and applications in a manner that keeps yer workspace shipshape.

\n

7. Slack

\n

And of course, no seafaring squad be complete without Slack. This communication tool keeps the crew in constant contact, sharing semaphore signals across projects. Integrations with other tools make Slack a veritable crow’s nest, keepin' ye alert to all happenings aboard the ship.

\n

So there ye have it, mateys! Equip yerselves with these fine tools and set sail toward greater productivity. The digital seas be vast and fraught with peril, but with these treasures on yer side, ye’ll be ready to chart any course. Arrr!

", + "id": "a5068543-fdd1-4773-b6c3-43b4c222d377", + "image": "9a52e835-e131-4290-81bb-5a512599f93e", + "slug": "pirates-guide-productivity-tools-mac", + "sort": null, + "status": "draft", + "title": "A Pirate's Guide to Productivity: Web Developers' Favorite Tools on Macs", + "description": "Ahoy, matey! Discover the top productivity tools web developers be usein' on their trusty Macs. Set sail for smoother workflows and greater bounty!", + "author": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "published_at": null, + "seo": { + "title": "A Pirate's Guide to Productivity: Developers' Tools on Macs", + "meta_description": "Ahoy, matey! Discover the top productivity tools web developers be usein' on their trusty Macs. Set sail for smoother workflows and greater bounty!" + } + }, + { + "content": "

What is a Headless CMS?

\n

Before diving into the benefits, let’s quickly clarify what a headless CMS actually is. Essentially, a headless Content Management System (CMS) is a backend-only content management system. Unlike traditional CMSs, which tie the content and front-end display together, a headless CMS separates the two. This means you can manage your content in the backend while delivering it to any device or platform using APIs.

\n\n

Top Benefits of a Headless CMS

\n\n

1. Flexibility and Customization

\n

One of the standout benefits of a headless CMS is flexibility. Since the front-end and back-end are decoupled, developers have the freedom to choose how they want to present the content. Whether it’s a website, a mobile app, or even a digital kiosk, you can easily adapt the content to fit any platform or screen size. This is ideal for brands wanting to deliver tailored experiences without being locked into specific templates.

\n\n

2. Omnichannel Experience

\n

We live in a multi-device world, and users expect a seamless experience across all platforms. A headless CMS makes this possible. By serving content via APIs, it can distribute it to any device or channel you can think of—websites, apps, IoT devices, you name it. This ensures your customers receive consistent messaging and a cohesive experience no matter where they interact with your brand.

\n\n

3. Faster Performance

\n

In today’s fast-paced digital environment, load times can make or break user experience. Since a headless CMS focuses on content delivery via APIs, it can significantly improve performance. Developers can create lighter, faster front-end experiences without the bloat often found in traditional CMSs. This means quicker load times for users, which can lead to lower bounce rates and higher engagement levels.

\n\n

4. Better Security

\n

Security is a big concern for any online business. With a headless CMS, you can minimize the risks associated with external attacks. Because the front end is separate, hackers are less likely to exploit vulnerabilities within the CMS itself. That doesn't mean you're completely invulnerable, but it does create an additional layer of protection against common threats.

\n\n

5. Future-Proofing Your Content

\n

Trends and technologies are constantly evolving, and businesses need a way to keep up. A headless CMS allows you to be future-ready. As new platforms and devices emerge, you can easily integrate and reconfigure your content delivery without overhauling your entire system. It’s a smart investment for businesses looking to adapt to changes down the road.

\n\n

Final Thoughts

\n

If you're considering a content management system, the benefits of a headless CMS are hard to ignore. While it may require a bit more technical know-how to set up, the payoff in terms of flexibility, performance, and security makes it worth the effort. So, if you're ready to take your content strategy to the next level, a headless CMS might just be the way to go!

", + "id": "399a9a1b-bad5-4b5b-86e4-291ad1676e91", + "image": "fd6440c2-dd48-4792-9d08-3124cd99b40f", + "slug": "benefits-of-headless-cms", + "sort": null, + "status": "draft", + "title": "The Perks of Going Headless: Why You Should Consider a Headless CMS", + "description": "Discover why a headless CMS might be the right choice for your business.", + "author": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "published_at": null, + "seo": { + "title": "The Perks of Going Headless: Why You Should Consider a Headless CMS", + "meta_description": "Discover why a headless CMS might be the right choice for your business.", + "no_index": true + } + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/dashboards.json b/simple-website-cms/directus/template/src/dashboards.json new file mode 100644 index 00000000..ed4aafe8 --- /dev/null +++ b/simple-website-cms/directus/template/src/dashboards.json @@ -0,0 +1,12 @@ +[ + { + "id": "5a5b8448-16f4-46b1-abe8-19730cadc3a5", + "name": "Form Submissions", + "icon": "forms_apps_script", + "note": "Quick dashboard to tracking performance of your forms", + "date_created": "2024-09-12T20:44:53.881Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "color": null, + "panels": null + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/extensions.json b/simple-website-cms/directus/template/src/extensions.json new file mode 100644 index 00000000..8e3a5730 --- /dev/null +++ b/simple-website-cms/directus/template/src/extensions.json @@ -0,0 +1,403 @@ +[ + { + "id": "1c09c3a4-2750-4a01-94fd-c0d91fe35870", + "bundle": null, + "meta": { + "enabled": true, + "id": "1c09c3a4-2750-4a01-94fd-c0d91fe35870", + "folder": "467d87ba-5246-41b7-be33-2bd0aa9c6c5e", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/467d87ba-5246-41b7-be33-2bd0aa9c6c5e", + "name": "@directus-labs/ai-image-generation-operation", + "version": "1.0.1", + "type": "operation", + "entrypoint": { + "app": "dist/app.js", + "api": "dist/api.js" + }, + "host": "^10.10.0", + "sandbox": { + "enabled": true, + "requestedScopes": { + "request": { + "urls": [ + "https://api.openai.com/v1/**" + ], + "methods": [ + "POST" + ] + }, + "log": {} + } + }, + "local": true + } + }, + { + "id": "2d64a791-0274-441b-88d3-70675fb29335", + "bundle": null, + "meta": { + "enabled": true, + "id": "2d64a791-0274-441b-88d3-70675fb29335", + "folder": "09bdf221-3b49-44ff-a514-6258a67ff587", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/09bdf221-3b49-44ff-a514-6258a67ff587", + "name": "@directus-labs/experimental-m2a-interface", + "version": "1.1.0", + "type": "interface", + "entrypoint": "dist/index.js", + "host": "^10.10.0", + "local": true + } + }, + { + "id": "335e9232-b5c7-48bf-ae06-d4e524df53a6", + "bundle": null, + "meta": { + "enabled": true, + "id": "335e9232-b5c7-48bf-ae06-d4e524df53a6", + "folder": "8ae044cb-6f8c-4196-8392-8c3ae8f9071d", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/8ae044cb-6f8c-4196-8392-8c3ae8f9071d", + "name": "@directus-labs/super-header-interface", + "version": "1.1.0", + "type": "interface", + "entrypoint": "dist/index.js", + "host": "^10.0.0 || ^11.0.0", + "local": true + } + }, + { + "id": "631b181f-3a8d-44be-a7e4-120326a9d733", + "bundle": null, + "meta": { + "enabled": true, + "id": "631b181f-3a8d-44be-a7e4-120326a9d733", + "folder": "4cd50f5f-886b-451b-aac7-efb4ea2587a5", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/4cd50f5f-886b-451b-aac7-efb4ea2587a5", + "name": "@directus-labs/inline-repeater-interface", + "version": "1.0.0", + "type": "interface", + "entrypoint": "dist/index.js", + "host": "^10.0.0 || ^11.0.0", + "local": true + } + }, + { + "id": "6d5e25af-4c3e-4c81-8a42-d7b6f66c9703", + "bundle": null, + "meta": { + "enabled": true, + "id": "6d5e25af-4c3e-4c81-8a42-d7b6f66c9703", + "folder": "071941f2-2afa-4341-8f88-2a8198bb9f2e", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/071941f2-2afa-4341-8f88-2a8198bb9f2e", + "name": "@directus-labs/seo-plugin", + "version": "1.0.0", + "type": "bundle", + "entrypoint": { + "app": "dist/app.js", + "api": "dist/api.js" + }, + "entries": [ + { + "name": "seo-interface", + "type": "interface" + }, + { + "name": "seo-display", + "type": "display" + } + ], + "host": "^10.10.0", + "local": true + } + }, + { + "id": "8a827d6a-f820-4814-8803-9bcf398282d4", + "bundle": null, + "meta": { + "enabled": true, + "id": "8a827d6a-f820-4814-8803-9bcf398282d4", + "folder": "9bde3cf6-c3bd-4bbf-befe-e65294d4b632", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/9bde3cf6-c3bd-4bbf-befe-e65294d4b632", + "name": "directus-extension-wpslug-interface", + "version": "1.1.0", + "type": "interface", + "entrypoint": "dist/index.js", + "host": "^v9.9.0", + "local": true + } + }, + { + "id": "8c20b301-38aa-48a7-99c4-3142338da1b2", + "bundle": null, + "meta": { + "enabled": true, + "id": "8c20b301-38aa-48a7-99c4-3142338da1b2", + "folder": "b9534a05-19a0-4f19-912b-729086969eef", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/b9534a05-19a0-4f19-912b-729086969eef", + "name": "@directus-labs/ai-writer-operation", + "version": "1.3.1", + "type": "operation", + "entrypoint": { + "app": "dist/app.js", + "api": "dist/api.js" + }, + "host": "^10.0.0 || ^11.0.0", + "sandbox": { + "enabled": true, + "requestedScopes": { + "request": { + "urls": [ + "https://api.openai.com/v1/**", + "https://api.anthropic.com/v1/**", + "https://api.replicate.com/v1/**" + ], + "methods": [ + "POST", + "GET" + ] + }, + "log": {}, + "sleep": {} + } + }, + "local": true + } + }, + { + "id": "a2587ead-a73a-4718-88e2-02de0c78d57a", + "bundle": null, + "meta": { + "enabled": true, + "id": "a2587ead-a73a-4718-88e2-02de0c78d57a", + "folder": "f313973c-0a76-4eec-9bdf-8a37713bd797", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/f313973c-0a76-4eec-9bdf-8a37713bd797", + "name": "@directus-labs/liquidjs-operation", + "version": "1.1.0", + "type": "operation", + "entrypoint": { + "app": "dist/app.js", + "api": "dist/api.js" + }, + "host": "^10.10.0", + "sandbox": { + "enabled": true, + "requestedScopes": { + "request": { + "urls": [ + "http://*", + "https://*" + ], + "methods": [ + "GET" + ] + }, + "log": {} + } + }, + "local": true + } + }, + { + "id": "af053cdb-242e-4142-a053-e3e23d7658e5", + "bundle": null, + "meta": { + "enabled": true, + "id": "af053cdb-242e-4142-a053-e3e23d7658e5", + "folder": "3f627cf9-4079-4880-b32a-3848829c93dc", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/3f627cf9-4079-4880-b32a-3848829c93dc", + "name": "@directus-labs/card-select-interfaces", + "version": "1.0.0", + "type": "bundle", + "entrypoint": { + "app": "dist/app.js", + "api": "dist/api.js" + }, + "entries": [ + { + "name": "radio-cards-interface", + "type": "interface" + }, + { + "name": "checkbox-cards-interface", + "type": "interface" + }, + { + "name": "image-uuid-interface", + "type": "interface" + } + ], + "host": "^10.0.0 || ^11.0.0", + "local": true + } + }, + { + "id": "bfa185ec-f15c-4d3e-8e0e-06925ba6cdfe", + "bundle": null, + "meta": { + "enabled": true, + "id": "bfa185ec-f15c-4d3e-8e0e-06925ba6cdfe", + "folder": "3b80b125-4f65-4a6f-96c6-4ede2ed9f506", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/3b80b125-4f65-4a6f-96c6-4ede2ed9f506", + "name": "@directus-labs/simple-list-interface", + "version": "1.0.0", + "type": "interface", + "entrypoint": "dist/index.js", + "host": "^10.10.0", + "local": true + } + }, + { + "id": "c53d1496-ab3b-4a23-9b0c-9fb8ce85800f", + "bundle": null, + "meta": { + "enabled": true, + "id": "c53d1496-ab3b-4a23-9b0c-9fb8ce85800f", + "folder": "b5913ec2-e23c-47d7-ba58-d359334d75f4", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/b5913ec2-e23c-47d7-ba58-d359334d75f4", + "name": "@directus-labs/command-palette-module", + "version": "1.1.0", + "type": "module", + "entrypoint": "dist/index.js", + "host": "^11.0.0", + "local": true + } + }, + { + "id": "dab2c341-5ce5-42da-872f-40e596c4db16", + "bundle": null, + "meta": { + "enabled": true, + "id": "dab2c341-5ce5-42da-872f-40e596c4db16", + "folder": "9621987d-012d-475a-bd7f-e293cac7b077", + "source": "registry", + "bundle": null + }, + "schema": { + "path": "/directus/node_modules/.directus/extensions/.registry/9621987d-012d-475a-bd7f-e293cac7b077", + "name": "directus-extension-group-tabs-interface", + "version": "2.1.0", + "type": "interface", + "entrypoint": "dist/index.js", + "host": "^10.1.0", + "local": true + } + }, + { + "id": "0fe9b997-3aac-4fbf-8d36-fea91ddb883f", + "bundle": "af053cdb-242e-4142-a053-e3e23d7658e5", + "meta": { + "enabled": true, + "id": "0fe9b997-3aac-4fbf-8d36-fea91ddb883f", + "folder": "image-uuid-interface", + "source": "registry", + "bundle": "af053cdb-242e-4142-a053-e3e23d7658e5" + }, + "schema": { + "name": "image-uuid-interface", + "type": "interface" + } + }, + { + "id": "3b327243-154b-4040-8cc6-284bff1e61ff", + "bundle": "af053cdb-242e-4142-a053-e3e23d7658e5", + "meta": { + "enabled": true, + "id": "3b327243-154b-4040-8cc6-284bff1e61ff", + "folder": "radio-cards-interface", + "source": "registry", + "bundle": "af053cdb-242e-4142-a053-e3e23d7658e5" + }, + "schema": { + "name": "radio-cards-interface", + "type": "interface" + } + }, + { + "id": "6afb0edf-fb8f-4a70-9616-8f3fc02409e3", + "bundle": "6d5e25af-4c3e-4c81-8a42-d7b6f66c9703", + "meta": { + "enabled": true, + "id": "6afb0edf-fb8f-4a70-9616-8f3fc02409e3", + "folder": "seo-interface", + "source": "registry", + "bundle": "6d5e25af-4c3e-4c81-8a42-d7b6f66c9703" + }, + "schema": { + "name": "seo-interface", + "type": "interface" + } + }, + { + "id": "7feb4341-c83c-4336-a273-78085baf202f", + "bundle": "6d5e25af-4c3e-4c81-8a42-d7b6f66c9703", + "meta": { + "enabled": true, + "id": "7feb4341-c83c-4336-a273-78085baf202f", + "folder": "seo-display", + "source": "registry", + "bundle": "6d5e25af-4c3e-4c81-8a42-d7b6f66c9703" + }, + "schema": { + "name": "seo-display", + "type": "display" + } + }, + { + "id": "cfe77abd-a824-4930-a113-b77d458e786b", + "bundle": "af053cdb-242e-4142-a053-e3e23d7658e5", + "meta": { + "enabled": true, + "id": "cfe77abd-a824-4930-a113-b77d458e786b", + "folder": "checkbox-cards-interface", + "source": "registry", + "bundle": "af053cdb-242e-4142-a053-e3e23d7658e5" + }, + "schema": { + "name": "checkbox-cards-interface", + "type": "interface" + } + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/fields.json b/simple-website-cms/directus/template/src/fields.json new file mode 100644 index 00000000..6fba035d --- /dev/null +++ b/simple-website-cms/directus/template/src/fields.json @@ -0,0 +1,9004 @@ +[ + { + "collection": "block_button", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "block_button", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_button", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_button", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "block_button", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_button", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_button", + "field": "type", + "type": "string", + "schema": { + "name": "type", + "table": "block_button", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_button", + "field": "type", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "Page", + "value": "page", + "icon": "web_asset" + }, + { + "text": "Post", + "value": "post", + "icon": "article" + }, + { + "text": "URL", + "value": "url", + "icon": "link" + } + ] + }, + "display": "labels", + "display_options": { + "format": true, + "choices": [ + { + "text": "Page", + "value": "page", + "icon": "web_asset" + }, + { + "text": "Post", + "value": "post", + "icon": "article" + }, + { + "text": "URL", + "value": "url", + "icon": "link" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": "What type of link is this? Page and Post allow you to link to internal content. URL is for external content. Group can contain other menu items.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_button", + "field": "page", + "type": "uuid", + "schema": { + "name": "page", + "table": "block_button", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "pages", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "block_button", + "field": "page", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{title}} - {{permalink}}" + }, + "display": "related-values", + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 5, + "width": "half", + "translations": null, + "note": "The internal page to link to.", + "conditions": [ + { + "name": "IF type = pages", + "rule": { + "_and": [ + { + "type": { + "_eq": "page" + } + } + ] + }, + "hidden": false, + "options": { + "enableCreate": true, + "enableSelect": true + } + } + ], + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_button", + "field": "post", + "type": "uuid", + "schema": { + "name": "post", + "table": "block_button", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "posts", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "block_button", + "field": "post", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{title}} - {{slug}}" + }, + "display": "related-values", + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 6, + "width": "half", + "translations": null, + "note": "The internal post to link to.", + "conditions": [ + { + "name": "IF type = post", + "rule": { + "_and": [ + { + "type": { + "_eq": "post" + } + } + ] + }, + "hidden": false, + "options": { + "enableCreate": true, + "enableSelect": true + } + } + ], + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_button", + "field": "label", + "type": "string", + "schema": { + "name": "label", + "table": "block_button", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_button", + "field": "label", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": "Text to include on the button.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_button", + "field": "variant", + "type": "string", + "schema": { + "name": "variant", + "table": "block_button", + "data_type": "character varying", + "default_value": "solid", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_button", + "field": "variant", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "Default", + "value": "default" + }, + { + "text": "Outline", + "value": "outline" + }, + { + "text": "Soft", + "value": "soft" + }, + { + "text": "Ghost", + "value": "ghost" + }, + { + "text": "Link", + "value": "link" + } + ] + }, + "display": "formatted-value", + "display_options": { + "format": true + }, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "half", + "translations": null, + "note": "What type of button", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_button", + "field": "button_group", + "type": "uuid", + "schema": { + "name": "button_group", + "table": "block_button", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "block_button_group", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "block_button", + "field": "button_group", + "special": null, + "interface": "select-dropdown-m2o", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": "The id of the Button Group this button belongs to.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_button", + "field": "url", + "type": "string", + "schema": { + "name": "url", + "table": "block_button", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_button", + "field": "url", + "special": null, + "interface": "input", + "options": { + "iconLeft": "link", + "trim": true + }, + "display": "formatted-value", + "display_options": { + "format": true + }, + "readonly": false, + "hidden": true, + "sort": 7, + "width": "half", + "translations": null, + "note": "The URL to link to. Could be relative (ie `/my-page`) or a full external URL (ie `https://docs.directus.io`)", + "conditions": [ + { + "name": "If type = external", + "rule": { + "_and": [ + { + "type": { + "_eq": "url" + } + } + ] + }, + "hidden": false, + "options": { + "font": "sans-serif", + "trim": false, + "masked": false, + "clear": false, + "slug": false + } + } + ], + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_button_group", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "block_button_group", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_button_group", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_button_group", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "block_button_group", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_button_group", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_form", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "block_form", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_form", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_form", + "field": "form", + "type": "uuid", + "schema": { + "name": "form", + "table": "block_form", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "forms", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "block_form", + "field": "form", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "full", + "translations": null, + "note": "Form to show within block", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_form", + "field": "headline", + "type": "text", + "schema": { + "name": "headline", + "table": "block_form", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_form", + "field": "headline", + "special": null, + "interface": "input", + "options": { + "defaultView": { + "center": { + "lng": 0, + "lat": 0 + }, + "zoom": 0, + "bearing": 0, + "pitch": 0 + }, + "geometryType": "Point" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "full", + "translations": null, + "note": "Larger main headline for this page section.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_form", + "field": "tagline", + "type": "string", + "schema": { + "name": "tagline", + "table": "block_form", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_form", + "field": "tagline", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": "Smaller copy shown above the headline to label a section or add extra context.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_gallery", + "field": "headline", + "type": "text", + "schema": { + "name": "headline", + "table": "block_gallery", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_gallery", + "field": "headline", + "special": null, + "interface": "input", + "options": { + "toolbar": [ + "italic", + "removeformat" + ] + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "full", + "translations": null, + "note": "Larger main headline for this page section.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_gallery", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "block_gallery", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_gallery", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_gallery", + "field": "tagline", + "type": "string", + "schema": { + "name": "tagline", + "table": "block_gallery", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_gallery", + "field": "tagline", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": "Smaller copy shown above the headline to label a section or add extra context.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_gallery_items", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "block_gallery_items", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_gallery_items", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_gallery_items", + "field": "block_gallery", + "type": "uuid", + "schema": { + "name": "block_gallery", + "table": "block_gallery_items", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "block_gallery", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "block_gallery_items", + "field": "block_gallery", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": "The id of the gallery block this item belongs to.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_gallery_items", + "field": "directus_file", + "type": "uuid", + "schema": { + "name": "directus_file", + "table": "block_gallery_items", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "block_gallery_items", + "field": "directus_file", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": "The id of the file included in the gallery.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_gallery_items", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "block_gallery_items", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_gallery_items", + "field": "sort", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 4, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_hero", + "field": "headline", + "type": "text", + "schema": { + "name": "headline", + "table": "block_hero", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_hero", + "field": "headline", + "special": null, + "interface": "input", + "options": { + "defaultView": { + "center": { + "lng": 0, + "lat": 0 + }, + "zoom": 0, + "bearing": 0, + "pitch": 0 + }, + "geometryType": "Point" + }, + "display": "raw", + "display_options": { + "background": "#A2B5CD" + }, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "full", + "translations": null, + "note": "Larger main headline for this page section.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_hero", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "block_hero", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_hero", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_hero", + "field": "image", + "type": "uuid", + "schema": { + "name": "image", + "table": "block_hero", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "block_hero", + "field": "image", + "special": [ + "file" + ], + "interface": "file-image", + "options": { + "crop": false, + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "full", + "translations": null, + "note": "Featured image in the hero.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_hero", + "field": "button_group", + "type": "uuid", + "schema": { + "name": "button_group", + "table": "block_hero", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "block_button_group", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "block_hero", + "field": "button_group", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{buttons.label}}", + "createRelatedItem": "always", + "enableLink": true, + "enableSelect": false + }, + "display": "related-values", + "display_options": { + "template": "{{buttons.label}}" + }, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": null, + "note": "Action buttons that show below headline and description.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_hero", + "field": "description", + "type": "text", + "schema": { + "name": "description", + "table": "block_hero", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_hero", + "field": "description", + "special": null, + "interface": "input-multiline", + "options": { + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "full", + "translations": null, + "note": "Supporting copy that shows below the headline.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_hero", + "field": "tagline", + "type": "string", + "schema": { + "name": "tagline", + "table": "block_hero", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_hero", + "field": "tagline", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": "Smaller copy shown above the headline to label a section or add extra context.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_hero", + "field": "layout", + "type": "string", + "schema": { + "name": "layout", + "table": "block_hero", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_hero", + "field": "layout", + "special": null, + "interface": "radio-cards-interface", + "options": { + "choices": [ + { + "text": "Image Left", + "value": "image_left", + "icon": "format_image_left", + "icon_type": "image", + "image": "d5a1290f-8819-4e7c-b292-bffe5b1c8274.jpg" + }, + { + "text": "Image Center", + "value": "image_center", + "icon": "image", + "icon_type": "image", + "image": "8a652e52-a275-4dde-9fc5-edf2188afe56.jpg" + }, + { + "text": "Image Right", + "value": "image_right", + "icon": "format_image_right", + "icon_type": "image", + "image": "fe7c7e04-5aac-4370-8bbd-6fd578d26ea1.jpg" + } + ], + "gridSize": 3 + }, + "display": "labels", + "display_options": { + "format": true, + "choices": [ + { + "text": "Image Left", + "value": "image_left", + "icon": "format_image_left" + }, + { + "text": "Image Center", + "value": "image_center", + "icon": "image" + }, + { + "text": "Image Right", + "value": "image_right", + "icon": "format_image_right" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "full", + "translations": null, + "note": "The layout for the component. You can set the image to display left, right, or in the center of page..", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_posts", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "block_posts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_posts", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_posts", + "field": "headline", + "type": "text", + "schema": { + "name": "headline", + "table": "block_posts", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_posts", + "field": "headline", + "special": null, + "interface": "input", + "options": { + "defaultView": { + "center": { + "lng": 0, + "lat": 0 + }, + "zoom": 0, + "bearing": 0, + "pitch": 0 + }, + "geometryType": "Point" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "full", + "translations": null, + "note": "Larger main headline for this page section.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_posts", + "field": "collection", + "type": "string", + "schema": { + "name": "collection", + "table": "block_posts", + "data_type": "character varying", + "default_value": "posts", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_posts", + "field": "collection", + "special": null, + "interface": "select-radio", + "options": { + "choices": [ + { + "text": "Posts", + "value": "posts" + } + ] + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": "The collection of content to fetch and display on the page within this block.", + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_posts", + "field": "tagline", + "type": "string", + "schema": { + "name": "tagline", + "table": "block_posts", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_posts", + "field": "tagline", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": "Smaller copy shown above the headline to label a section or add extra context.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_posts", + "field": "limit", + "type": "integer", + "schema": { + "name": "limit", + "table": "block_posts", + "data_type": "integer", + "default_value": 6, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_posts", + "field": "limit", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "block_pricing", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_pricing", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing", + "field": "headline", + "type": "text", + "schema": { + "name": "headline", + "table": "block_pricing", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_pricing", + "field": "headline", + "special": null, + "interface": "input", + "options": { + "defaultView": { + "center": { + "lng": 0, + "lat": 0 + }, + "zoom": 0, + "bearing": 0, + "pitch": 0 + }, + "geometryType": "Point" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "full", + "translations": null, + "note": "Larger main headline for this page section.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing", + "field": "tagline", + "type": "string", + "schema": { + "name": "tagline", + "table": "block_pricing", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_pricing", + "field": "tagline", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": "Smaller copy shown above the headline to label a section or add extra context.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing_cards", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "block_pricing_cards", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_pricing_cards", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing_cards", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "block_pricing_cards", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_pricing_cards", + "field": "title", + "special": null, + "interface": "input", + "options": { + "placeholder": "Starter Plan" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "half", + "translations": null, + "note": "Name of the pricing plan. Shown at the top of the card.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing_cards", + "field": "description", + "type": "text", + "schema": { + "name": "description", + "table": "block_pricing_cards", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_pricing_cards", + "field": "description", + "special": null, + "interface": "input-multiline", + "options": { + "placeholder": "For small businesses and indie hackers" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "half", + "translations": null, + "note": "Short, one sentence description of the pricing plan and who it is for.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing_cards", + "field": "price", + "type": "string", + "schema": { + "name": "price", + "table": "block_pricing_cards", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_pricing_cards", + "field": "price", + "special": null, + "interface": "input", + "options": { + "placeholder": "$199 /month" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": "Price and term for the pricing plan. (ie `$199/mo`)", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing_cards", + "field": "badge", + "type": "string", + "schema": { + "name": "badge", + "table": "block_pricing_cards", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_pricing_cards", + "field": "badge", + "special": null, + "interface": "input", + "options": { + "placeholder": "Most popular" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "half", + "translations": null, + "note": "Badge that displays at the top of the pricing plan card to add helpful context.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing_cards", + "field": "features", + "type": "json", + "schema": { + "name": "features", + "table": "block_pricing_cards", + "data_type": "json", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_pricing_cards", + "field": "features", + "special": [ + "cast-json" + ], + "interface": "simple-list", + "options": { + "limit": 10 + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": "Short list of features included in this plan. Press `Enter` to add another item to the list.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing_cards", + "field": "button", + "type": "uuid", + "schema": { + "name": "button", + "table": "block_pricing_cards", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "block_button", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "block_pricing_cards", + "field": "button", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "createRelatedItem": "always", + "template": "{{label}} • {{type}}", + "enableSelect": false, + "enableLink": true + }, + "display": "related-values", + "display_options": { + "template": "{{label}} • {{type}}" + }, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "full", + "translations": null, + "note": "The action button / link shown at the bottom of the pricing card.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing_cards", + "field": "pricing", + "type": "uuid", + "schema": { + "name": "pricing", + "table": "block_pricing_cards", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "block_pricing", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "block_pricing_cards", + "field": "pricing", + "special": null, + "interface": "select-dropdown-m2o", + "options": { + "enableSelect": false, + "enableLink": true + }, + "display": "related-values", + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 9, + "width": "full", + "translations": null, + "note": "The id of the pricing block this card belongs to.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing_cards", + "field": "is_highlighted", + "type": "boolean", + "schema": { + "name": "is_highlighted", + "table": "block_pricing_cards", + "data_type": "boolean", + "default_value": false, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_pricing_cards", + "field": "is_highlighted", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Highlighted" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": "Add highlighted border around the pricing plan to make it stand out.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing_cards", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "block_pricing_cards", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_pricing_cards", + "field": "sort", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 10, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_richtext", + "field": "content", + "type": "text", + "schema": { + "name": "content", + "table": "block_richtext", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_richtext", + "field": "content", + "special": null, + "interface": "input-rich-text-html", + "options": { + "customFormats": null, + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "full", + "translations": null, + "note": "Rich text content for this block.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_richtext", + "field": "headline", + "type": "string", + "schema": { + "name": "headline", + "table": "block_richtext", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_richtext", + "field": "headline", + "special": null, + "interface": "input", + "options": null, + "display": "raw", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "full", + "translations": null, + "note": "Larger main headline for this page section.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_richtext", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "block_richtext", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_richtext", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_richtext", + "field": "alignment", + "type": "string", + "schema": { + "name": "alignment", + "table": "block_richtext", + "data_type": "character varying", + "default_value": "center", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_richtext", + "field": "alignment", + "special": null, + "interface": "select-radio", + "options": { + "choices": [ + { + "text": "Left", + "value": "left" + }, + { + "text": "Center", + "value": "center" + } + ] + }, + "display": "formatted-value", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": null, + "note": "Controls how the content block is positioned on the page. Choose \"Left\" to align the block against the left margin or \"Center\" to position the block in the middle of the page. This setting affects the entire content block's placement, not the text alignment within it.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_richtext", + "field": "tagline", + "type": "string", + "schema": { + "name": "tagline", + "table": "block_richtext", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "block_richtext", + "field": "tagline", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": "Smaller copy shown above the headline to label a section or add extra context.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "directus_settings", + "field": "command_palette_settings", + "type": "json", + "schema": { + "name": "command_palette_settings", + "table": "directus_settings", + "data_type": "json", + "default_value": {}, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "directus_settings", + "field": "command_palette_settings", + "special": [ + "cast-json" + ], + "interface": "input-code", + "options": null, + "display": "raw", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": "Settings for the Command Palette Module.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_fields", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "form_fields", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_fields", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_fields", + "field": "name", + "type": "string", + "schema": { + "name": "name", + "table": "form_fields", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_fields", + "field": "name", + "special": null, + "interface": "input", + "options": { + "slug": true, + "trim": true, + "iconLeft": "key", + "placeholder": "full-name" + }, + "display": "formatted-value", + "display_options": { + "format": true + }, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": "Unique field identifier, not shown to users (lowercase, hyphenated)", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_fields", + "field": "type", + "type": "string", + "schema": { + "name": "type", + "table": "form_fields", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_fields", + "field": "type", + "special": null, + "interface": "radio-cards-interface", + "options": { + "choices": [ + { + "text": "Text", + "value": "text", + "icon": "format_color_text", + "icon_type": "icon" + }, + { + "text": "Textarea", + "value": "textarea", + "icon": "display_external_input", + "icon_type": "icon" + }, + { + "text": "Checkbox", + "value": "checkbox", + "icon": "check_box_outline_blank", + "icon_type": "icon" + }, + { + "text": "Checkbox Group", + "value": "checkbox_group", + "icon": "library_add_check", + "icon_type": "icon" + }, + { + "text": "Radio", + "value": "radio", + "icon": "radio_button_unchecked", + "icon_type": "icon" + }, + { + "text": "File", + "value": "file", + "icon": "attach_file", + "icon_type": "icon" + }, + { + "text": "Select", + "value": "select", + "icon": "text_select_move_down", + "icon_type": "icon" + }, + { + "text": "Hidden", + "value": "hidden", + "icon": "hide_source", + "icon_type": "icon" + } + ], + "gridSize": 5 + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "Text", + "value": "text", + "icon": "format_color_text" + }, + { + "text": "Textarea", + "value": "textarea", + "icon": "display_external_input" + }, + { + "text": "Checkbox", + "value": "checkbox", + "icon": "check_box_outline_blank" + }, + { + "text": "Checkbox Group", + "value": "checkbox_group", + "icon": "library_add_check" + }, + { + "text": "Radio", + "value": "radio", + "icon": "radio_button_unchecked" + }, + { + "text": "File", + "value": "file", + "icon": "attach_file" + }, + { + "text": "Select", + "value": "select", + "icon": "text_select_move_down" + }, + { + "text": "Hidden", + "value": "hidden", + "icon": "hide_source" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": null, + "note": "Input type for the field", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_fields", + "field": "label", + "type": "string", + "schema": { + "name": "label", + "table": "form_fields", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_fields", + "field": "label", + "special": null, + "interface": "input", + "options": { + "placeholder": "Your Full Name" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": "Text label shown to form users.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_fields", + "field": "placeholder", + "type": "string", + "schema": { + "name": "placeholder", + "table": "form_fields", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_fields", + "field": "placeholder", + "special": null, + "interface": "input", + "options": { + "placeholder": "John Doe" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": "Default text shown in empty input.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_fields", + "field": "help", + "type": "string", + "schema": { + "name": "help", + "table": "form_fields", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_fields", + "field": "help", + "special": null, + "interface": "input", + "options": { + "placeholder": "Use first and last name" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": "Additional instructions shown below the input", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_fields", + "field": "validation", + "type": "string", + "schema": { + "name": "validation", + "table": "form_fields", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_fields", + "field": "validation", + "special": null, + "interface": "input", + "options": { + "placeholder": "max:255", + "trim": true + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "half", + "translations": null, + "note": "Available rules: `email`, `url`, `min:5`, `max:20`, `length:10`. Combine with pipes example: `email|max:255`", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_fields", + "field": "width", + "type": "string", + "schema": { + "name": "width", + "table": "form_fields", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_fields", + "field": "width", + "special": null, + "interface": "select-radio", + "options": { + "choices": [ + { + "text": "100%", + "value": "100" + }, + { + "text": "67%", + "value": "67" + }, + { + "text": "50%", + "value": "50" + }, + { + "text": "33%", + "value": "33" + } + ] + }, + "display": "formatted-value", + "display_options": { + "format": true, + "suffix": "%" + }, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "full", + "translations": null, + "note": "Field width on the form", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_fields", + "field": "choices", + "type": "json", + "schema": { + "name": "choices", + "table": "form_fields", + "data_type": "json", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_fields", + "field": "choices", + "special": [ + "cast-json" + ], + "interface": "list", + "options": { + "fields": [ + { + "field": "text", + "name": "text", + "type": "string", + "meta": { + "field": "text", + "width": "half", + "type": "string", + "interface": "input", + "note": "Displayed label to user", + "required": true, + "options": { + "placeholder": "Sales Team" + } + } + }, + { + "field": "value", + "name": "value", + "type": "string", + "meta": { + "field": "value", + "width": "half", + "type": "string", + "interface": "input", + "note": "Stored value", + "required": true, + "options": { + "placeholder": "sales" + } + } + } + ], + "template": "{{ text }}" + }, + "display": "formatted-json-value", + "display_options": { + "format": "{{ label }}" + }, + "readonly": false, + "hidden": true, + "sort": 7, + "width": "full", + "translations": null, + "note": "Options for radio or select inputs", + "conditions": [ + { + "name": "Show Choices", + "rule": { + "_and": [ + { + "_or": [ + { + "type": { + "_eq": "select" + } + }, + { + "type": { + "_eq": "checkbox_group" + } + }, + { + "type": { + "_eq": "radio" + } + } + ] + } + ] + }, + "hidden": false, + "options": {} + } + ], + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_fields", + "field": "form", + "type": "uuid", + "schema": { + "name": "form", + "table": "form_fields", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "forms", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "form_fields", + "field": "form", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{title}}" + }, + "display": "related-values", + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": "Parent form this field belongs to.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_fields", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "form_fields", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_fields", + "field": "sort", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_fields", + "field": "required", + "type": "boolean", + "schema": { + "name": "required", + "table": "form_fields", + "data_type": "boolean", + "default_value": false, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_fields", + "field": "required", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Required" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "half", + "translations": null, + "note": "Make this field mandatory to complete.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_submission_values", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "form_submission_values", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_submission_values", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_submission_values", + "field": "form_submission", + "type": "uuid", + "schema": { + "name": "form_submission", + "table": "form_submission_values", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "form_submissions", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "form_submission_values", + "field": "form_submission", + "special": null, + "interface": "select-dropdown-m2o", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": "Parent form submission for this value.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_submission_values", + "field": "field", + "type": "uuid", + "schema": { + "name": "field", + "table": "form_submission_values", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "form_fields", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "form_submission_values", + "field": "field", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{name}} • {{type}}" + }, + "display": "related-values", + "display_options": { + "template": "{{name}} • {{type}}" + }, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_submission_values", + "field": "value", + "type": "text", + "schema": { + "name": "value", + "table": "form_submission_values", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_submission_values", + "field": "value", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": "The data entered by the user for this specific field in the form submission.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_submission_values", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "form_submission_values", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_submission_values", + "field": "sort", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 6, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_submission_values", + "field": "file", + "type": "uuid", + "schema": { + "name": "file", + "table": "form_submission_values", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "form_submission_values", + "field": "file", + "special": [ + "file" + ], + "interface": "file", + "options": { + "folder": "e6308546-92fb-4b10-b586-eefaf1d97f7f" + }, + "display": "file", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_submissions", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "form_submissions", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_submissions", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": { + "iconLeft": "vpn_key" + }, + "display": null, + "display_options": null, + "readonly": true, + "hidden": false, + "sort": 3, + "width": "half", + "translations": null, + "note": "Unique ID for this specific form submission", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_submissions", + "field": "timestamp", + "type": "timestamp", + "schema": { + "name": "timestamp", + "table": "form_submissions", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "form_submissions", + "field": "timestamp", + "special": [ + "date-created" + ], + "interface": "datetime", + "options": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "readonly": true, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": "Form submission date and time.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_submissions", + "field": "form", + "type": "uuid", + "schema": { + "name": "form", + "table": "form_submissions", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "forms", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "form_submissions", + "field": "form", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{title}}", + "enableLink": true + }, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "readonly": true, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": "Associated form for this submission.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "forms", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "forms", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": { + "iconLeft": "vpn_key" + }, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "on_success", + "type": "string", + "schema": { + "name": "on_success", + "table": "forms", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "forms", + "field": "on_success", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "Redirect to URL", + "value": "redirect", + "icon": "arrow_outward" + }, + { + "text": "Show Message", + "value": "message", + "icon": "chat" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "Redirect to URL", + "value": "redirect" + }, + { + "text": "Show Message", + "value": "message" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": "Action after successful submission.", + "conditions": null, + "required": false, + "group": "meta_fields", + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "forms", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "forms", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "submit_label", + "type": "string", + "schema": { + "name": "submit_label", + "table": "forms", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "forms", + "field": "submit_label", + "special": null, + "interface": "input", + "options": { + "placeholder": "Sign Up Now", + "iconLeft": "smart_button" + }, + "display": "raw", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "half", + "translations": null, + "note": "Text shown on submit button.", + "conditions": null, + "required": false, + "group": "meta_fields", + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "success_message", + "type": "text", + "schema": { + "name": "success_message", + "table": "forms", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "forms", + "field": "success_message", + "special": null, + "interface": "input-multiline", + "options": { + "placeholder": "Thanks for reaching out! We'll be in touch soon." + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 5, + "width": "full", + "translations": null, + "note": "Message shown after successful submission.", + "conditions": [ + { + "name": "If Message", + "readonly": false, + "hidden": false, + "options": { + "toolbar": [ + "bold", + "italic", + "underline", + "h1", + "h2", + "h3", + "numlist", + "bullist", + "removeformat", + "blockquote", + "customLink", + "customImage", + "customMedia", + "hr", + "code", + "fullscreen" + ], + "font": "sans-serif" + }, + "rule": { + "_and": [ + { + "on_success": { + "_eq": "message" + } + } + ] + } + } + ], + "required": false, + "group": "meta_fields", + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "forms", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "forms", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": "Form name (for internal reference).", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "success_redirect_url", + "type": "string", + "schema": { + "name": "success_redirect_url", + "table": "forms", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "forms", + "field": "success_redirect_url", + "special": null, + "interface": "input", + "options": { + "iconLeft": "link" + }, + "display": "raw", + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 6, + "width": "full", + "translations": null, + "note": "Destination URL after successful submission.", + "conditions": [ + { + "name": "If Redirect", + "options": { + "font": "sans-serif", + "trim": false, + "masked": false, + "clear": false, + "slug": false + }, + "hidden": false, + "rule": { + "_and": [ + { + "on_success": { + "_eq": "redirect" + } + } + ] + } + } + ], + "required": false, + "group": "meta_fields", + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "is_active", + "type": "boolean", + "schema": { + "name": "is_active", + "table": "forms", + "data_type": "boolean", + "default_value": true, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "forms", + "field": "is_active", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Active" + }, + "display": "boolean", + "display_options": { + "labelOn": "Active", + "labelOff": "Inactive" + }, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": [ + { + "language": "en-US", + "translation": "Active" + } + ], + "note": "Show or hide this form from the site.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "emails", + "type": "json", + "schema": { + "name": "emails", + "table": "forms", + "data_type": "json", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "forms", + "field": "emails", + "special": [ + "cast-json" + ], + "interface": "list", + "options": { + "fields": [ + { + "field": "to", + "name": "to", + "type": "json", + "meta": { + "field": "to", + "width": "full", + "type": "json", + "required": true, + "note": "Add an email address and press enter. To use a form field as the email address use merge tags `{# #}` (e.g. `{# email #}.", + "interface": "tags", + "options": { + "choices": null + }, + "display": "labels", + "display_options": { + "format": false + } + } + }, + { + "field": "subject", + "name": "subject", + "type": "string", + "meta": { + "field": "subject", + "width": "full", + "type": "string", + "required": true, + "note": "Email subject line. You can use merge tags like this `Hi {# first-name #}`.", + "interface": "input", + "display": "formatted-value", + "display_options": {} + } + }, + { + "field": "message", + "name": "message", + "type": "text", + "meta": { + "field": "message", + "width": "full", + "type": "text", + "required": true, + "note": "Include a message for the email body. To merge form responses use merge tags with the field name like `{# first-name #}`.", + "interface": "input-rich-text-html", + "options": { + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "toolbar": [ + "undo", + "redo", + "bold", + "italic", + "underline", + "h1", + "h2", + "h3", + "numlist", + "bullist", + "removeformat", + "blockquote", + "customLink", + "customImage", + "table", + "hr", + "code", + "fullscreen" + ] + } + } + } + ], + "addLabel": "Add New Email", + "template": "To: {{ to }} • Subject: {{ subject }}" + }, + "display": "formatted-json-value", + "display_options": { + "format": "To: {{ to }} • Subject: {{ subject }}" + }, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": "Setup email notifications when forms are submitted.", + "conditions": null, + "required": false, + "group": "meta_emails", + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "description", + "type": "text", + "schema": { + "name": "description", + "table": "globals", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "globals", + "field": "description", + "special": null, + "interface": "input-multiline", + "options": { + "softLength": 160 + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 12, + "width": "full", + "translations": null, + "note": "Site summary for search results.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "globals", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "globals", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "social_links", + "type": "json", + "schema": { + "name": "social_links", + "table": "globals", + "data_type": "json", + "default_value": [], + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "globals", + "field": "social_links", + "special": [ + "cast-json" + ], + "interface": "inline-repeater-interface", + "options": { + "fields": [ + { + "field": "url", + "name": "url", + "type": "string", + "meta": { + "field": "url", + "width": "half", + "type": "string", + "interface": "input", + "options": { + "trim": true, + "placeholder": "https://www.linkedin.com/in/fullprofile" + }, + "note": "Full profile URL (not just username)" + } + }, + { + "field": "service", + "name": "service", + "type": "string", + "meta": { + "field": "service", + "width": "half", + "type": "string", + "required": null, + "note": "Social media platform name", + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "Facebook", + "value": "facebook", + "icon": "facebook" + }, + { + "text": "Instagram", + "value": "instagram", + "icon": "instagram" + }, + { + "text": "LinkedIn", + "value": "linkedin", + "icon": "linkedin" + }, + { + "text": "X", + "value": "x", + "icon": "twitter" + }, + { + "text": "Vimeo", + "value": "vimeo", + "icon": "vimeo" + }, + { + "text": "YouTube", + "value": "youtube", + "icon": "youtube" + }, + { + "text": "GitHub", + "value": "github", + "icon": "github" + }, + { + "text": "Discord", + "value": "discord", + "icon": "discord" + }, + { + "text": "Docker", + "value": "docker", + "icon": "docker" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "Facebook", + "value": "facebook", + "icon": "facebook" + }, + { + "text": "Instagram", + "value": "instagram", + "icon": "instagram" + }, + { + "text": "LinkedIn", + "value": "linkedin", + "icon": "linkedin" + }, + { + "text": "X", + "value": "x", + "icon": "twitter" + }, + { + "text": "Vimeo", + "value": "vimeo", + "icon": "vimeo" + }, + { + "text": "YouTube", + "value": "youtube", + "icon": "youtube" + }, + { + "text": "GitHub", + "value": "github", + "icon": "github" + }, + { + "text": "Discord", + "value": "discord", + "icon": "discord" + }, + { + "text": "Docker", + "value": "docker", + "icon": "docker" + } + ] + } + } + } + ], + "template": "{{ service }}", + "addLabel": "Add New Link" + }, + "display": "labels", + "display_options": {}, + "readonly": false, + "hidden": false, + "sort": 14, + "width": "full", + "translations": null, + "note": "Social media profile URLs", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "tagline", + "type": "string", + "schema": { + "name": "tagline", + "table": "globals", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "globals", + "field": "tagline", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "full", + "translations": null, + "note": "Short phrase describing the site.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "globals", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "globals", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": "Main site title", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "url", + "type": "string", + "schema": { + "name": "url", + "table": "globals", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "globals", + "field": "url", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": "Public URL for the website", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "favicon", + "type": "uuid", + "schema": { + "name": "favicon", + "table": "globals", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "globals", + "field": "favicon", + "special": [ + "file" + ], + "interface": "file-image", + "options": { + "crop": false, + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "half", + "translations": null, + "note": "Small icon for browser tabs. 1:1 ratio. No larger than 512px × 512px.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "logo", + "type": "uuid", + "schema": { + "name": "logo", + "table": "globals", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "globals", + "field": "logo", + "special": [ + "file" + ], + "interface": "file-image", + "options": { + "crop": false, + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": "Main logo shown on the site (for light mode).", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "openai_api_key", + "type": "string", + "schema": { + "name": "openai_api_key", + "table": "globals", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "globals", + "field": "openai_api_key", + "special": null, + "interface": "input", + "options": { + "trim": true, + "iconLeft": "vpn_key_alert", + "masked": true + }, + "display": "formatted-value", + "display_options": { + "masked": true + }, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "half", + "translations": null, + "note": "Secret OpenAI API key. Don't share with anyone outside your team.", + "conditions": null, + "required": false, + "group": "meta_credentials", + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "directus_url", + "type": "string", + "schema": { + "name": "directus_url", + "table": "globals", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "globals", + "field": "directus_url", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "half", + "translations": null, + "note": "The public URL for this Directus instance. Used in Flows.", + "conditions": null, + "required": false, + "group": "meta_credentials", + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "logo_dark_mode", + "type": "uuid", + "schema": { + "name": "logo_dark_mode", + "table": "globals", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "globals", + "field": "logo_dark_mode", + "special": [ + "file" + ], + "interface": "file-image", + "options": { + "crop": false, + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": [ + { + "language": "en-US", + "translation": "Dark Mode Logo" + } + ], + "note": "Main logo shown on the site (for dark mode).", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "accent_color", + "type": "string", + "schema": { + "name": "accent_color", + "table": "globals", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "globals", + "field": "accent_color", + "special": null, + "interface": "select-color", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "half", + "translations": null, + "note": "Accent color for the website (used on buttons, links, etc).", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation", + "field": "id", + "type": "string", + "schema": { + "name": "id", + "table": "navigation", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "navigation", + "field": "id", + "special": null, + "interface": "input", + "options": { + "iconLeft": "vpn_key" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "half", + "translations": null, + "note": "Unique identifier for this menu. Can't be edited after creation.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "navigation", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "navigation", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "half", + "translations": null, + "note": "What is the name of this menu? Only used internally.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation", + "field": "is_active", + "type": "boolean", + "schema": { + "name": "is_active", + "table": "navigation", + "data_type": "boolean", + "default_value": true, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "navigation", + "field": "is_active", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": { + "label": "Active" + }, + "display": "boolean", + "display_options": { + "labelOn": "Active", + "labelOff": "Inactive" + }, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Active" + } + ], + "note": "Show or hide this menu from the site.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation_items", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "navigation_items", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "navigation_items", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation_items", + "field": "navigation", + "type": "string", + "schema": { + "name": "navigation", + "table": "navigation_items", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "navigation", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "navigation_items", + "field": "navigation", + "special": null, + "interface": "select-dropdown-m2o", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": "Navigation menu that the individual links belong to.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation_items", + "field": "page", + "type": "uuid", + "schema": { + "name": "page", + "table": "navigation_items", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "pages", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "navigation_items", + "field": "page", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{title}}" + }, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "readonly": false, + "hidden": true, + "sort": 6, + "width": "full", + "translations": null, + "note": "The internal page to link to.", + "conditions": [ + { + "name": "IF page", + "rule": { + "_and": [ + { + "type": { + "_eq": "page" + } + } + ] + }, + "options": { + "enableCreate": true, + "enableSelect": true + }, + "hidden": false + }, + { + "name": "Hide If Has Children", + "rule": { + "_and": [ + { + "has_children": { + "_eq": true + } + } + ] + }, + "hidden": true, + "options": { + "enableCreate": true, + "enableSelect": true + } + } + ], + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation_items", + "field": "parent", + "type": "uuid", + "schema": { + "name": "parent", + "table": "navigation_items", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "navigation_items", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "navigation_items", + "field": "parent", + "special": null, + "interface": "select-dropdown-m2o", + "options": { + "template": "{{title}}" + }, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "readonly": false, + "hidden": true, + "sort": 10, + "width": "full", + "translations": null, + "note": "The parent navigation item.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation_items", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "navigation_items", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "navigation_items", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation_items", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "navigation_items", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "navigation_items", + "field": "title", + "special": null, + "interface": "input", + "options": null, + "display": "raw", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": "Label shown to the user for the menu item.", + "conditions": null, + "required": true, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation_items", + "field": "type", + "type": "string", + "schema": { + "name": "type", + "table": "navigation_items", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "navigation_items", + "field": "type", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "Page", + "value": "page", + "icon": "web_asset" + }, + { + "text": "Post", + "value": "post", + "icon": "article" + }, + { + "text": "URL", + "value": "url", + "icon": "link" + }, + { + "text": "Group", + "value": "group", + "icon": "tab_group" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "Page", + "value": "page", + "icon": "web_asset" + }, + { + "text": "Post", + "value": "post", + "icon": "article" + }, + { + "text": "URL", + "value": "url", + "icon": "link" + }, + { + "text": "Group", + "value": "group", + "icon": "tab_group" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": "What type of link is this? Page and Post allow you to link to internal content. URL is for external content. Group can contain other menu items.", + "conditions": [ + { + "name": "Hide if Children", + "rule": { + "_and": [ + { + "has_children": { + "_eq": true + } + } + ] + }, + "hidden": true, + "options": { + "iconOn": "radio_button_checked", + "iconOff": "radio_button_unchecked", + "allowOther": false + } + } + ], + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation_items", + "field": "url", + "type": "string", + "schema": { + "name": "url", + "table": "navigation_items", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "navigation_items", + "field": "url", + "special": null, + "interface": "input", + "options": null, + "display": "raw", + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 8, + "width": "full", + "translations": null, + "note": "The URL to link to. Could be relative (ie `/my-page`) or a full external URL (ie `https://docs.directus.io`)", + "conditions": [ + { + "name": "IF url", + "rule": { + "_and": [ + { + "type": { + "_eq": "url" + } + } + ] + }, + "options": { + "font": "sans-serif", + "trim": false, + "masked": false, + "clear": false, + "slug": false + }, + "hidden": false + }, + { + "name": "Hide If Had Children", + "rule": { + "_and": [ + { + "has_children": { + "_eq": true + } + } + ] + }, + "hidden": true, + "options": { + "font": "sans-serif", + "trim": false, + "masked": false, + "clear": false, + "slug": false + } + } + ], + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation_items", + "field": "post", + "type": "uuid", + "schema": { + "name": "post", + "table": "navigation_items", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "posts", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "navigation_items", + "field": "post", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{title}}" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 7, + "width": "full", + "translations": null, + "note": "The internal post to link to.", + "conditions": [ + { + "name": "Show If Type = Post", + "rule": { + "_and": [ + { + "type": { + "_eq": "post" + } + } + ] + }, + "hidden": false, + "options": { + "enableCreate": true, + "enableSelect": true + } + } + ], + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "page_blocks", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "page_blocks", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "page_blocks", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "page_blocks", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "page_blocks", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "page_blocks", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "page_blocks", + "field": "page", + "type": "uuid", + "schema": { + "name": "page", + "table": "page_blocks", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "pages", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "page_blocks", + "field": "page", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 3, + "width": "full", + "translations": null, + "note": "The id of the page that this block belongs to.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "page_blocks", + "field": "item", + "type": "string", + "schema": { + "name": "item", + "table": "page_blocks", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "page_blocks", + "field": "item", + "special": null, + "interface": null, + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 4, + "width": "full", + "translations": null, + "note": "The data for the block.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "page_blocks", + "field": "collection", + "type": "string", + "schema": { + "name": "collection", + "table": "page_blocks", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "page_blocks", + "field": "collection", + "special": null, + "interface": null, + "options": null, + "display": "labels", + "display_options": { + "format": true, + "color": "#18222F", + "border": true + }, + "readonly": false, + "hidden": true, + "sort": 5, + "width": "full", + "translations": null, + "note": "The collection (type of block).", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "page_blocks", + "field": "hide_block", + "type": "boolean", + "schema": { + "name": "hide_block", + "table": "page_blocks", + "data_type": "boolean", + "default_value": false, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "page_blocks", + "field": "hide_block", + "special": [ + "cast-boolean" + ], + "interface": "boolean", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": "Temporarily hide this block on the website without having to remove it from your page.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "page_blocks", + "field": "background", + "type": "string", + "schema": { + "name": "background", + "table": "page_blocks", + "data_type": "character varying", + "default_value": "light", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "page_blocks", + "field": "background", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "Default", + "value": "light", + "icon": "light_mode" + }, + { + "text": "Dark", + "value": "dark", + "icon": "dark_mode" + } + ] + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "half", + "translations": null, + "note": "Background color for the block to create contrast. Does not control dark or light mode for the entire site.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "pages", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "pages", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "pages", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "pages", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "half", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "pages", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "pages", + "field": "title", + "special": null, + "interface": "input", + "options": { + "placeholder": "About Us" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "half", + "translations": null, + "note": "The title of this page.", + "conditions": null, + "required": true, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "permalink", + "type": "string", + "schema": { + "name": "permalink", + "table": "pages", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": true, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "pages", + "field": "permalink", + "special": null, + "interface": "input", + "options": { + "font": "monospace", + "trim": true, + "placeholder": "/about-us" + }, + "display": "formatted-value", + "display_options": { + "font": "monospace" + }, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "half", + "translations": null, + "note": "Unique URL for this page (start with `/`, can have multiple segments `/about/me`)).", + "conditions": null, + "required": true, + "group": "meta_content", + "validation": { + "_and": [ + { + "permalink": { + "_regex": "^/(?:[a-z0-9]+(?:-[a-z0-9]+)*(?:/[a-z0-9]+(?:-[a-z0-9]+)*)*)?$" + } + } + ] + }, + "validation_message": "Please use lowercase letters, numbers, and hyphens in your permalink, starting with a slash (/) and without a trailing slash" + } + }, + { + "collection": "pages", + "field": "status", + "type": "string", + "schema": { + "name": "status", + "table": "pages", + "data_type": "character varying", + "default_value": "draft", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "pages", + "field": "status", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "$t:draft", + "value": "draft", + "icon": "draft_orders", + "color": "#A2B5CD" + }, + { + "text": "In Review", + "value": "in_review", + "icon": "rate_review", + "color": "#FFA439" + }, + { + "text": "$t:published", + "value": "published", + "icon": "check", + "color": "#2ECDA7" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "$t:draft", + "value": "draft", + "icon": "draft_orders", + "color": "#A2B5CD" + }, + { + "text": "In Review", + "value": "in_review", + "icon": "rate_review", + "color": "#FFA439" + }, + { + "text": "$t:published", + "value": "published", + "icon": "check", + "color": "#2ECDA7" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "half", + "translations": null, + "note": "Is this page published?", + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "published_at", + "type": "timestamp", + "schema": { + "name": "published_at", + "table": "pages", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "pages", + "field": "published_at", + "special": null, + "interface": "datetime", + "options": { + "use24": false + }, + "display": "datetime", + "display_options": { + "format": "short" + }, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": "Publish now or schedule for later.", + "conditions": [ + { + "name": "Show If Status = Published", + "rule": { + "_and": [ + { + "status": { + "_eq": "published" + } + } + ] + }, + "hidden": false, + "options": { + "includeSeconds": false, + "use24": true + } + } + ], + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "seo", + "type": "json", + "schema": { + "name": "seo", + "table": "pages", + "data_type": "json", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "pages", + "field": "seo", + "special": [ + "cast-json" + ], + "interface": "seo-interface", + "options": { + "titleTemplate": "{{title}}", + "showSearchControls": true + }, + "display": "seo-display", + "display_options": { + "showSearchPreview": true + }, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_seo", + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "content", + "type": "text", + "schema": { + "name": "content", + "table": "posts", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "posts", + "field": "content", + "special": null, + "interface": "input-rich-text-html", + "options": { + "toolbar": [ + "blockquote", + "bold", + "bullist", + "code", + "customImage", + "customLink", + "customMedia", + "fullscreen", + "h1", + "h2", + "h3", + "hr", + "italic", + "numlist", + "redo", + "removeformat", + "underline", + "undo" + ], + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "display": "formatted-value", + "display_options": { + "format": true + }, + "readonly": false, + "hidden": false, + "sort": 11, + "width": "full", + "translations": null, + "note": "Rich text content of your blog post.", + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "id", + "type": "uuid", + "schema": { + "name": "id", + "table": "posts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": true, + "is_indexed": false, + "is_primary_key": true, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "posts", + "field": "id", + "special": [ + "uuid" + ], + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": true, + "hidden": true, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "image", + "type": "uuid", + "schema": { + "name": "image", + "table": "posts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "posts", + "field": "image", + "special": [ + "file" + ], + "interface": "file-image", + "options": { + "crop": false, + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "display": "image", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "full", + "translations": null, + "note": "Featured image for this post. Used in cards linking to the post and in the post detail page.", + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "slug", + "type": "string", + "schema": { + "name": "slug", + "table": "posts", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "posts", + "field": "slug", + "special": null, + "interface": "extension-wpslug", + "options": { + "font": "monospace", + "template": "{{title}}", + "placeholder": null + }, + "display": "formatted-value", + "display_options": { + "font": "monospace" + }, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "half", + "translations": null, + "note": "Unique URL for this post (e.g., `yoursite.com/posts/{{your-slug}}`)", + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "sort", + "type": "integer", + "schema": { + "name": "sort", + "table": "posts", + "data_type": "integer", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": 32, + "numeric_scale": 0, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "posts", + "field": "sort", + "special": null, + "interface": "input", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": true, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "status", + "type": "string", + "schema": { + "name": "status", + "table": "posts", + "data_type": "character varying", + "default_value": "draft", + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": false, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "posts", + "field": "status", + "special": null, + "interface": "select-dropdown", + "options": { + "choices": [ + { + "text": "$t:draft", + "value": "draft", + "icon": "draft_orders", + "color": "#A2B5CD" + }, + { + "text": "In Review", + "value": "in_review", + "icon": "rate_review", + "color": "#FFA439" + }, + { + "text": "$t:published", + "value": "published", + "icon": "check", + "color": "#2ECDA7" + } + ] + }, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "$t:draft", + "value": "draft", + "icon": "draft_orders", + "color": "#A2B5CD" + }, + { + "text": "In Review", + "value": "in_review", + "icon": "rate_review", + "color": "#FFA439" + }, + { + "text": "$t:published", + "value": "published", + "icon": "check", + "color": "#2ECDA7" + } + ] + }, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "half", + "translations": null, + "note": "Is this post published?", + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "title", + "type": "string", + "schema": { + "name": "title", + "table": "posts", + "data_type": "character varying", + "default_value": null, + "generation_expression": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "posts", + "field": "title", + "special": null, + "interface": "input", + "options": { + "placeholder": "Essential tips for first-time home buyers" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "half", + "translations": null, + "note": "Title of the blog post (used in page title and meta tags)", + "conditions": null, + "required": true, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "description", + "type": "text", + "schema": { + "name": "description", + "table": "posts", + "data_type": "text", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "posts", + "field": "description", + "special": null, + "interface": "input-multiline", + "options": { + "placeholder": "Discover key strategies for navigating the home buying process, from budgeting to closing. Learn how to avoid common pitfalls and make informed decisions." + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "half", + "translations": null, + "note": "Short summary of the blog post to entice readers.", + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "author", + "type": "uuid", + "schema": { + "name": "author", + "table": "posts", + "data_type": "uuid", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "comment": null + }, + "meta": { + "collection": "posts", + "field": "author", + "special": [ + "m2o" + ], + "interface": "select-dropdown-m2o", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "display": "user", + "display_options": { + "circle": true + }, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "half", + "translations": null, + "note": "Select the team member who wrote this post", + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "published_at", + "type": "timestamp", + "schema": { + "name": "published_at", + "table": "posts", + "data_type": "timestamp with time zone", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "posts", + "field": "published_at", + "special": null, + "interface": "datetime", + "options": { + "use24": false + }, + "display": "datetime", + "display_options": { + "format": "short" + }, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "half", + "translations": null, + "note": "Publish now or schedule for later.", + "conditions": [ + { + "name": "Show If Status = Published", + "rule": { + "_and": [ + { + "status": { + "_eq": "published" + } + } + ] + }, + "hidden": false, + "options": { + "includeSeconds": false, + "use24": true + } + } + ], + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "seo", + "type": "json", + "schema": { + "name": "seo", + "table": "posts", + "data_type": "json", + "default_value": null, + "generation_expression": null, + "max_length": null, + "numeric_precision": null, + "numeric_scale": null, + "is_generated": false, + "is_nullable": true, + "is_unique": false, + "is_indexed": false, + "is_primary_key": false, + "has_auto_increment": false, + "foreign_key_schema": null, + "foreign_key_table": null, + "foreign_key_column": null, + "comment": null + }, + "meta": { + "collection": "posts", + "field": "seo", + "special": [ + "cast-json" + ], + "interface": "seo-interface", + "options": { + "titleTemplate": "{{title}}", + "descriptionTemplate": "{{description}}", + "additionalFields": null + }, + "display": "seo-display", + "display_options": { + "showSearchPreview": true + }, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_seo", + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_button_group", + "field": "buttons", + "type": "alias", + "schema": null, + "meta": { + "collection": "block_button_group", + "field": "buttons", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "enableLink": true, + "template": "{{label}} - {{type}}" + }, + "display": "related-values", + "display_options": { + "template": "{{label}} - {{type}}" + }, + "readonly": false, + "hidden": false, + "sort": 9, + "width": "full", + "translations": null, + "note": "Add individual buttons to the button group.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "meta_divider_content", + "type": "alias", + "schema": null, + "meta": { + "collection": "pages", + "field": "meta_divider_content", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "icon": "format_paragraph", + "color": "#A2B5CD", + "inlineTitle": true + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing", + "field": "pricing_cards", + "type": "alias", + "schema": null, + "meta": { + "collection": "block_pricing", + "field": "pricing_cards", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "template": "{{title}} • {{price}}" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "full", + "translations": null, + "note": "The individual pricing cards to display.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "divider_logo", + "type": "alias", + "schema": null, + "meta": { + "collection": "globals", + "field": "divider_logo", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "color": "#A2B5CD", + "icon": "imagesmode", + "inlineTitle": true + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "meta_credentials", + "type": "alias", + "schema": null, + "meta": { + "collection": "globals", + "field": "meta_credentials", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-detail", + "options": { + "headerIcon": "warning", + "start": "closed" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 15, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Credentials" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "fields", + "type": "alias", + "schema": null, + "meta": { + "collection": "forms", + "field": "fields", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "template": "{{name}} • {{type}}", + "enableSelect": false, + "sort": "sort" + }, + "display": "related-values", + "display_options": { + "template": "{{name}} • {{type}}" + }, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": "Form structure and input fields", + "conditions": null, + "required": false, + "group": "meta_fields", + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "meta_divider_globals", + "type": "alias", + "schema": null, + "meta": { + "collection": "globals", + "field": "meta_divider_globals", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "inlineTitle": true, + "icon": "link", + "title": null, + "color": "#A2B5CD" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 13, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_submissions", + "field": "values", + "type": "alias", + "schema": null, + "meta": { + "collection": "form_submissions", + "field": "values", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "fields": [ + "field.label", + "value", + "field.type", + "file" + ], + "enableSearchFilter": true, + "sort": "sort", + "template": "{{value}} • {{field}}", + "filter": { + "_and": [ + { + "field": { + "form": { + "_eq": "{{form}}" + } + } + } + ] + }, + "layout": "table", + "enableSelect": false, + "enableCreate": false, + "limit": 25 + }, + "display": "related-values", + "display_options": { + "template": "{{value}} • {{field}}" + }, + "readonly": true, + "hidden": false, + "sort": 5, + "width": "full", + "translations": null, + "note": "Submitted field responses", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "meta_divider_info", + "type": "alias", + "schema": null, + "meta": { + "collection": "posts", + "field": "meta_divider_info", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "icon": "calendar_month", + "color": "#A2B5CD", + "inlineTitle": true + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "meta_m2a_button", + "type": "alias", + "schema": null, + "meta": { + "collection": "pages", + "field": "meta_m2a_button", + "special": [ + "alias", + "no-data" + ], + "interface": "directus-labs-experimental-m2a-interface", + "options": { + "target": "above" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "blocks", + "type": "alias", + "schema": null, + "meta": { + "collection": "pages", + "field": "blocks", + "special": [ + "m2a" + ], + "interface": "list-m2a", + "options": { + "prefix": null + }, + "display": "related-values", + "display_options": { + "template": "{{collection}}" + }, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "full", + "translations": null, + "note": "Create and arrange different content blocks (like text, images, or videos) to build your page.", + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "submissions", + "type": "alias", + "schema": null, + "meta": { + "collection": "forms", + "field": "submissions", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "layout": "table", + "fields": [ + "timestamp", + "values.value", + "values.field.name" + ], + "sort": "timestamp", + "enableCreate": false, + "enableSelect": false, + "limit": 25, + "enableSearchFilter": true, + "enableLink": true + }, + "display": "related-values", + "display_options": { + "template": "{{values.value}}" + }, + "readonly": true, + "hidden": false, + "sort": 2, + "width": "fill", + "translations": null, + "note": "Received form responses.", + "conditions": null, + "required": false, + "group": "meta_submissions", + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "meta_fields", + "type": "alias", + "schema": null, + "meta": { + "collection": "forms", + "field": "meta_fields", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-raw", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Form Fields" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "meta_tabs", + "type": "alias", + "schema": null, + "meta": { + "collection": "forms", + "field": "meta_tabs", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-tabs", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Tabs" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "meta_notice_pagebuilder", + "type": "alias", + "schema": null, + "meta": { + "collection": "pages", + "field": "meta_notice_pagebuilder", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-notice", + "options": { + "text": "Build dynamic pages quickly using ready-made blocks. See our documentation to learn more about the Page Builder." + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_gallery", + "field": "items", + "type": "alias", + "schema": null, + "meta": { + "collection": "block_gallery", + "field": "items", + "special": [ + "files" + ], + "interface": "files", + "options": { + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "full", + "translations": null, + "note": "Images to include in the image gallery.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "meta_notice_globals", + "type": "alias", + "schema": null, + "meta": { + "collection": "globals", + "field": "meta_notice_globals", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-notice", + "options": { + "text": "Globals are settings that are applied across your entire site. Globals use what we call a `singleton` collection type. Learn more about globals and singletons." + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_hero", + "field": "meta_divider_block_here", + "type": "alias", + "schema": null, + "meta": { + "collection": "block_hero", + "field": "meta_divider_block_here", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-divider", + "options": { + "inlineTitle": true, + "icon": "image", + "color": "#A2B5CD" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 7, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation_items", + "field": "children", + "type": "alias", + "schema": null, + "meta": { + "collection": "navigation_items", + "field": "children", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "template": "{{title}} • {{type}}", + "filter": { + "_and": [ + { + "_and": [ + { + "navigation": { + "_null": true + } + }, + { + "parent": { + "navigation": { + "_null": true + } + } + } + ] + } + ] + } + }, + "display": "related-values", + "display_options": { + "template": "{{title}} • {{type}}" + }, + "readonly": false, + "hidden": true, + "sort": 9, + "width": "full", + "translations": null, + "note": "Add child menu items within the group.", + "conditions": [ + { + "name": "Show If Group", + "rule": { + "_and": [ + { + "type": { + "_eq": "group" + } + } + ] + }, + "hidden": false, + "options": { + "layout": "list", + "enableCreate": true, + "enableSelect": true, + "limit": 15, + "sortDirection": "+", + "enableSearchFilter": false, + "enableLink": false + } + } + ], + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "meta_notice_form_fields", + "type": "alias", + "schema": null, + "meta": { + "collection": "forms", + "field": "meta_notice_form_fields", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-notice", + "options": { + "text": " Create custom forms by adding and configuring your desired input fields below. No coding required." + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_fields", + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "meta_notice_form_emails", + "type": "alias", + "schema": null, + "meta": { + "collection": "forms", + "field": "meta_notice_form_emails", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-notice", + "options": { + "text": "Set up automatic emails to notify your team members when forms are submitted, or send confirmation receipts to people who complete your forms." + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_emails", + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "meta_emails", + "type": "alias", + "schema": null, + "meta": { + "collection": "forms", + "field": "meta_emails", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-raw", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Emails" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "meta_notice_form_responses", + "type": "alias", + "schema": null, + "meta": { + "collection": "forms", + "field": "meta_notice_form_responses", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-notice", + "options": { + "text": "This table displays all responses submitted through this form. Each entry includes the submission timestamp and the values for each form field." + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_submissions", + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "meta_notice_security", + "type": "alias", + "schema": null, + "meta": { + "collection": "globals", + "field": "meta_notice_security", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-notice", + "options": { + "color": "warning", + "icon": "warning", + "text": "Be careful about changing the access policies and permissions for the `globals` collection so that you don't expose your private API keys." + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_credentials", + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "meta_submissions", + "type": "alias", + "schema": null, + "meta": { + "collection": "forms", + "field": "meta_submissions", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-raw", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Submissions" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "directus_users", + "field": "posts", + "type": "alias", + "schema": null, + "meta": { + "collection": "directus_users", + "field": "posts", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "template": "{{title}}" + }, + "display": "related-values", + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": "Blog posts this user has authored.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation", + "field": "meta_notice_navigation", + "type": "alias", + "schema": null, + "meta": { + "collection": "navigation", + "field": "meta_notice_navigation", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-notice", + "options": { + "text": "Create and manage navigation menus for your website. Each menu can contain multiple links organized into a hierarchy." + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 5, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_submissions", + "field": "meta_notice_submissions", + "type": "alias", + "schema": null, + "meta": { + "collection": "form_submissions", + "field": "meta_notice_submissions", + "special": [ + "alias", + "no-data" + ], + "interface": "presentation-notice", + "options": { + "text": "Form submissions are configured to be read-only for data integrity reasons. But they are a great candidate for use in [Flows](/admin/settings/flows). Directus Flows is a drag and drop, low-code automation builder to simplify tasks like automatic notifications or sending incoming requests to third party services. Learn more about Flows." + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "meta_header_image", + "type": "alias", + "schema": null, + "meta": { + "collection": "posts", + "field": "meta_header_image", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "Image", + "icon": "image", + "help": "

Need inspiration? Use Flows like AI Image Generator to generate on-brand images for your post using AI.

\n

Note: This uses OpenAI so you'll need to add your API key in the Globals collection first.

", + "actions": [ + { + "label": "AI Image Generator", + "icon": "image", + "type": "normal", + "actionType": "flow", + "flow": { + "key": "d4bbac48-a444-49e0-aedb-9af5273b88df", + "collection": "directus_flows" + } + } + ] + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 8, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation", + "field": "items", + "type": "alias", + "schema": null, + "meta": { + "collection": "navigation", + "field": "items", + "special": [ + "o2m" + ], + "interface": "list-o2m", + "options": { + "enableLink": true, + "filter": { + "_and": [ + { + "_and": [ + { + "navigation": { + "_null": true + } + }, + { + "parent": { + "navigation": { + "_null": true + } + } + } + ] + } + ] + }, + "template": "{{title}} • {{type}}" + }, + "display": "related-values", + "display_options": { + "template": "{{title}} • {{type}}" + }, + "readonly": false, + "hidden": false, + "sort": 6, + "width": "full", + "translations": null, + "note": "Links within the menu.", + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_form", + "field": "meta_header_block_form", + "type": "alias", + "schema": null, + "meta": { + "collection": "block_form", + "field": "meta_header_block_form", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "Form Block", + "help": "

Embed interactive forms to collect information from your visitors. Great for:

\n\n

When adding a form:

\n\n

You can create or edit forms outside of this block in the Forms collection.

", + "icon": "format_shapes" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_gallery", + "field": "meta_header_block_gallery", + "type": "alias", + "schema": null, + "meta": { + "collection": "block_gallery", + "field": "meta_header_block_gallery", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "Gallery Block", + "icon": "grid_view", + "help": "

Create visual showcases with multiple images. Ideal for:

\n\n

Tips for great galleries:

\n" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_hero", + "field": "meta_header_block_hero", + "type": "alias", + "schema": null, + "meta": { + "collection": "block_hero", + "field": "meta_header_block_hero", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "Hero Block", + "icon": "aspect_ratio", + "help": "

Creates a prominent section at the top of your page that immediately captures attention. Ideal for:

\n\n

Tips for effective heroes:

\n" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_posts", + "field": "meta_header_block_posts", + "type": "alias", + "schema": null, + "meta": { + "collection": "block_posts", + "field": "meta_header_block_posts", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "Posts Block", + "help": "

Automatically displays your most recent blog posts in chronological order. Perfect for:

\n\n

You can:

\n\n

The posts will automatically update as you publish new content, ensuring your pages always show your latest articles.

", + "icon": "signpost" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "meta_header_posts", + "type": "alias", + "schema": null, + "meta": { + "collection": "posts", + "field": "meta_header_posts", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "{{title}}", + "subtitle": "{{status}} • Published At: {{published_at}}", + "help": "

Managing Blog Posts

\n

Blog posts are a powerful way to share your content, news, and updates with your audience. Each post can include rich text content, images, and metadata to help with organization and discovery.

\n

Post Settings

\n

Title

\n

The main headline of your blog post. This appears at the top of the post and in preview cards across your site. Make it:

\n\n

Description

\n

A brief preview of your post that appears in blog listings and search results. Write 1-2 compelling sentences that:

\n\n

Featured Image

\n

The main visual for your post that appears:

\n\n

URL Slug

\n

The unique portion of the URL for this post. For example, in \"yoursite.com/posts/my-first-post\", \"my-first-post\" is the slug.

\n\n

Content

\n

The main body of your post, supporting rich text formatting including:

\n\n

Author

\n

Select the team member who wrote the post. This helps:

\n\n

Publishing Options

\n\n

Best Practices for Blog Posts

\n

Writing Tips

\n\n

SEO Considerations

\n\n

Image Guidelines

\n", + "icon": null + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "fill", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "forms", + "field": "meta_header_forms", + "type": "alias", + "schema": null, + "meta": { + "collection": "forms", + "field": "meta_header_forms", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "{{title}}", + "help": "

Understanding Forms

\n

Forms are reusable components that you create once and can place anywhere on your site using Form blocks. Think of the Forms collection as your form template library - you build the forms here, then use Form blocks to display them on your pages.

\n

The Forms & Form Blocks Relationship

\n
    \n
  1. First, create and configure your form in the Forms collection
  2. \n
  3. Then, add a Form block to any page where you want the form to appear
  4. \n
  5. Select your form from the dropdown in the Form block settings
  6. \n
  7. Customize the block's headline and tagline to match your page context
  8. \n
\n

This approach lets you:

\n\n

Creating Forms

\n

Basic Settings

\n

Form Title

\n

Internal name to identify your form in the admin panel. Choose something descriptive like:

\n\n

Submit Button

\n

Customize the text on your submit button. Use action-oriented phrases like:

\n\n

Success Handling

\n

Choose what happens after submission:

\n

Show Message

\n\n

Redirect

\n\n

Email Notifications

\n

Configure automated emails for form submissions:

\n\n

Active Status

\n

Control form availability:

\n\n

Building Your Form

\n

Available Field Types

\n\n

Field Configuration

\n

Label The visible field name shown to users

\n

Placeholder Optional hint text inside empty fields

\n

Help Text Additional instructions below the field

\n

Required Fields Mark essential fields that must be filled out

\n

Width Options Control field layout:

\n\n

Validation: Here's the available rules

\n\n

You can combine rules with pipes: email|max:255

\n

Using Forms with Form Blocks

\n

Adding Forms to Pages

\n
    \n
  1. Add a Form block to your page
  2. \n
  3. Select your form from the dropdown
  4. \n
  5. Add an optional headline and tagline
  6. \n
  7. Preview to check the layout
  8. \n
\n

Form Block Customization

\n\n

Best Practices

\n

Form Design & Experience

\n\n

Data Collection

\n\n

Managing Form Submissions

\n

All submissions are stored in the Form Submissions collection.

\n", + "actions": [] + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "form_submissions", + "field": "meta_header_form_submissions", + "type": "alias", + "schema": null, + "meta": { + "collection": "form_submissions", + "field": "meta_header_form_submissions", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "Form Submission", + "subtitle": "Submitted at: {{timestamp}}", + "help": "

Form Submissions

\n

Form submissions are read-only records of responses received through your site's forms. This ensures data integrity and provides a reliable audit trail of all submitted information.

\n

Understanding Submissions

\n

Each submission contains:

\n\n

Automating with Flows

\n

While submissions are read-only, you can use Flows to automate actions when new submissions arrive:

\n\n

Think of Flows as your automation toolkit - they let you act on submission data without modifying the original records.

\n

Data Management

\n

Exporting Data

\n

Export submissions to work with them outside the CMS:

\n\n

Data Cleanup

\n

Keep your submission data organized:

\n\n

Privacy & Security

\n

Since form submissions often contain personal data:

\n" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "navigation", + "field": "meta_header_navigation", + "type": "alias", + "schema": null, + "meta": { + "collection": "navigation", + "field": "meta_header_navigation", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "{{title}}", + "help": "

Understanding Navigation

\n

Navigation menus help visitors find their way around your site. You can create multiple menus (like main navigation, footer links, or utility menus) and manage them all from this collection.

\n

Navigation Structure

\n

Each navigation menu consists of:

\n
    \n
  1. A menu container (Navigation)
  2. \n
  3. Menu items within it (Navigation Items)
  4. \n
\n

Creating Navigation Menus

\n

Menu Settings

\n

Title

\n

Internal name for your menu (only visible in admin). Examples:

\n\n

Active Status

\n

Toggle menus on/off without deleting them. Useful for:

\n\n

Adding Menu Items

\n

Item Types

\n

Page

\n\n

Post

\n\n

URL

\n\n

Group

\n\n

Examples of Group Usage:

\n
\n
About (Group) \n└─ Our Story (Page)\n└─ Team (Page)\n└─ Careers (URL - External job board)
\nServices (Group) \n└─ Consulting (Page) \n└─ Training (Group) \n└─ Online Courses (URL) \n└─ Workshops (Page) \n└─ Support (Page)\n
\n

Item Settings

\n

Title

\n

The text shown to visitors in the menu

\n

Parent Item

\n

For creating nested navigation:

\n\n

Sort Order

\n

Control the sequence of menu items:

\n\n

Best Practices

\n

Structure

\n\n

Usability

\n\n
" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "globals", + "field": "meta_header_globals", + "type": "alias", + "schema": null, + "meta": { + "collection": "globals", + "field": "meta_header_globals", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "{{title}} • Site Settings", + "subtitle": "{{url}}", + "help": "

Global Settings

\n

These settings control site-wide elements that affect your entire website. There's only one global settings record.

\n

Site Info

\n\n

Brand Assets

\n\n

Social Media Links

\n

Add URLs for your social profiles:

\n\n

API Settings

\n" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "meta_tabs", + "type": "alias", + "schema": null, + "meta": { + "collection": "pages", + "field": "meta_tabs", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-tabs", + "options": { + "fillWidth": true + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Tabs" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "meta_content", + "type": "alias", + "schema": null, + "meta": { + "collection": "posts", + "field": "meta_content", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-raw", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Content" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "meta_seo", + "type": "alias", + "schema": null, + "meta": { + "collection": "posts", + "field": "meta_seo", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-raw", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "SEO" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "meta_header_content", + "type": "alias", + "schema": null, + "meta": { + "collection": "posts", + "field": "meta_header_content", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "Content", + "icon": "text_snippet", + "help": "

Need inspiration? Use Flows like AI Ghostwriter to help draft your content.

\n

Note: This uses OpenAI so you'll need to add your API key in the Globals collection first.

", + "actions": [ + { + "label": "AI Ghostwriter", + "icon": "text_increase", + "type": "normal", + "actionType": "flow", + "flow": { + "key": "5915dd55-fff8-4d47-b48c-a0e42e5033c1", + "collection": "directus_flows" + } + } + ] + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 10, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": "meta_content", + "validation": null, + "validation_message": null + } + }, + { + "collection": "posts", + "field": "meta_tabs", + "type": "alias", + "schema": null, + "meta": { + "collection": "posts", + "field": "meta_tabs", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-tabs", + "options": { + "fillWidth": true + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 4, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Tabs" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_pricing", + "field": "meta_header_block_pricing", + "type": "alias", + "schema": null, + "meta": { + "collection": "block_pricing", + "field": "meta_header_block_pricing", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "help": "

Display your product or service pricing options in a clear, comparative format. Use this when:

\n\n

Best practices:

\n", + "title": "Pricing Block", + "icon": "attach_money" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "block_richtext", + "field": "meta_header_block_richtext", + "type": "alias", + "schema": null, + "meta": { + "collection": "block_richtext", + "field": "meta_header_block_richtext", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "Rich Text Block", + "help": "

Perfect for creating formatted text content with headings, paragraphs, and lists. Use this block when you need to:

\n", + "icon": "format_color_text" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "meta_content", + "type": "alias", + "schema": null, + "meta": { + "collection": "pages", + "field": "meta_content", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-raw", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 1, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "Content" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "meta_seo", + "type": "alias", + "schema": null, + "meta": { + "collection": "pages", + "field": "meta_seo", + "special": [ + "alias", + "no-data", + "group" + ], + "interface": "group-raw", + "options": null, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 2, + "width": "full", + "translations": [ + { + "language": "en-US", + "translation": "SEO" + } + ], + "note": null, + "conditions": null, + "required": false, + "group": "meta_tabs", + "validation": null, + "validation_message": null + } + }, + { + "collection": "pages", + "field": "meta_header_pages", + "type": "alias", + "schema": null, + "meta": { + "collection": "pages", + "field": "meta_header_pages", + "special": [ + "alias", + "no-data" + ], + "interface": "super-header", + "options": { + "title": "{{title}}", + "subtitle": "{{status}} • Published At: {{published_at}}", + "help": "

Creating and Managing Pages

\n

Pages are the foundation of your website, where you'll combine different content blocks to create engaging layouts. Each page can be built using a mix of blocks like Hero sections, Rich Text, Forms, and more.

\n

Page Settings

\n

Title

\n

The page title appears in browser tabs and search results. Make it clear and descriptive of the page's content. This is what visitors will see when they bookmark your page or share it on social media.

\n

URL (Permalink)

\n\n

Description

\n

A brief summary of the page that appears in search results. Write 1-2 sentences that clearly explain what visitors will find on this page. Good descriptions help with SEO and encourage people to click through to your site.

\n

Publishing Options

\n\n

\"Help

\n

Working with Blocks

\n

Your page content is built by adding and arranging blocks. Think of blocks as building pieces that you can stack and rearrange to create your perfect page layout.

\n

Tips for Building with Blocks

\n\n

Block Background Options

\n

Each block can have either a light or dark background:

\n\n

General Tips for All Blocks

\n" + }, + "display": null, + "display_options": null, + "readonly": false, + "hidden": false, + "sort": 3, + "width": "fill", + "translations": null, + "note": null, + "conditions": null, + "required": false, + "group": null, + "validation": null, + "validation_message": null + } + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/files.json b/simple-website-cms/directus/template/src/files.json new file mode 100644 index 00000000..7f486fda --- /dev/null +++ b/simple-website-cms/directus/template/src/files.json @@ -0,0 +1,982 @@ +[ + { + "id": "03a7d1c7-81e2-432f-9561-9df2691189c8", + "storage": "cloud", + "filename_disk": "03a7d1c7-81e2-432f-9561-9df2691189c8.png", + "filename_download": "169 - L-09Oct 08.55-4.png", + "title": "169 L 09 Oct 08.55 4", + "type": "image/png", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-12-18T13:23:30.706Z", + "modified_by": null, + "modified_on": "2024-12-18T13:23:30.750Z", + "charset": null, + "filesize": "659420", + "width": 2560, + "height": 1440, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-12-18T13:23:30.749Z" + }, + { + "id": "12e02b82-b4a4-4aaf-8ca4-e73c20a41c26", + "storage": "cloud", + "filename_disk": "12e02b82-b4a4-4aaf-8ca4-e73c20a41c26.jpeg", + "filename_download": "12e02b82-b4a4-4aaf-8ca4-e73c20a41c26.jpeg", + "title": "12e02b82 B4a4 4aaf 8ca4 E73c20a41c26", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:44.071Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-12T19:12:57.707Z", + "charset": null, + "filesize": "214070", + "width": 1920, + "height": 1280, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:44.071Z" + }, + { + "id": "14594872-a805-4251-8dfd-b93bb2effbc0", + "storage": "cloud", + "filename_disk": "14594872-a805-4251-8dfd-b93bb2effbc0.png", + "filename_download": "frontend-avatar.png", + "title": "Frontend Avatar", + "type": "image/png", + "folder": null, + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2025-04-07T21:57:36.731Z", + "modified_by": null, + "modified_on": "2025-04-07T21:57:36.758Z", + "charset": null, + "filesize": "1406914", + "width": 1024, + "height": 1536, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2025-04-07T21:57:36.757Z" + }, + { + "id": "1d3d2bd3-ff59-4626-bef5-9d5eef6510b3", + "storage": "cloud", + "filename_disk": "1d3d2bd3-ff59-4626-bef5-9d5eef6510b3.png", + "filename_download": "1024px-Visual_Studio_Code_1.35_icon.svg.png", + "title": "1024px Visual Studio Code 1.35 Icon.svg.png", + "type": "image/png", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-12-18T15:57:57.074Z", + "modified_by": null, + "modified_on": "2024-12-18T15:57:57.112Z", + "charset": null, + "filesize": "57617", + "width": 1024, + "height": 1024, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-12-18T15:57:57.111Z" + }, + { + "id": "2b4a0ba0-52c7-4e10-b191-c803d8da6a36", + "storage": "cloud", + "filename_disk": "2b4a0ba0-52c7-4e10-b191-c803d8da6a36.png", + "filename_download": "2b4a0ba0-52c7-4e10-b191-c803d8da6a36.png", + "title": "Directus Logo", + "type": "image/png", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:44.656Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-13T00:43:16.479Z", + "charset": null, + "filesize": "43613", + "width": 512, + "height": 512, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:44.656Z" + }, + { + "id": "35a67f1b-d401-4300-a503-b8e583186f2a", + "storage": "cloud", + "filename_disk": "35a67f1b-d401-4300-a503-b8e583186f2a.svg", + "filename_download": "35a67f1b-d401-4300-a503-b8e583186f2a.svg", + "title": "Directus Logo", + "type": "image/svg+xml", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:44.751Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-12T19:12:52.479Z", + "charset": null, + "filesize": "11267", + "width": null, + "height": null, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": null, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:44.751Z" + }, + { + "id": "3eff7dc2-445a-47c5-9503-3f600ecdb5c6", + "storage": "cloud", + "filename_disk": "3eff7dc2-445a-47c5-9503-3f600ecdb5c6.jpeg", + "filename_download": "3eff7dc2-445a-47c5-9503-3f600ecdb5c6.jpeg", + "title": "3eff7dc2 445a 47c5 9503 3f600ecdb5c6", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:44.859Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-12T19:12:57.707Z", + "charset": null, + "filesize": "51166", + "width": 512, + "height": 512, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:44.859Z" + }, + { + "id": "43ddd7b8-9b2f-4aa1-b63c-933b4ae81ca2", + "storage": "cloud", + "filename_disk": "43ddd7b8-9b2f-4aa1-b63c-933b4ae81ca2.svg", + "filename_download": "directus-logo-dark.svg", + "title": "Directus Logo Dark", + "type": "image/svg+xml", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-09-13T00:30:00.408Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-13T00:43:16.479Z", + "charset": null, + "filesize": "11267", + "width": null, + "height": null, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": null, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-13T00:30:00.438Z" + }, + { + "id": "440df429-4715-42a0-afcd-569f5cdfb145", + "storage": "cloud", + "filename_disk": "440df429-4715-42a0-afcd-569f5cdfb145.svg", + "filename_download": "bunny-bot.svg", + "title": "Bunny Bot", + "type": "image/svg+xml", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-12-19T15:17:27.295Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2025-01-15T16:39:15.310Z", + "charset": null, + "filesize": "33753", + "width": null, + "height": null, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": null, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-12-19T15:17:27.315Z" + }, + { + "id": "44a4e780-d59b-4fa5-9b26-1c4b447474d2", + "storage": "cloud", + "filename_disk": "44a4e780-d59b-4fa5-9b26-1c4b447474d2.jpg", + "filename_download": "44a4e780-d59b-4fa5-9b26-1c4b447474d2.jpg", + "title": "Multicolored Can Wall Decor", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:44.950Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-12T19:13:03.039Z", + "charset": null, + "filesize": "1221311", + "width": 1917, + "height": 1918, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:44.950Z" + }, + { + "id": "50570a31-a990-453c-bdfc-0ad7175dd8bf", + "storage": "cloud", + "filename_disk": "50570a31-a990-453c-bdfc-0ad7175dd8bf.png", + "filename_download": "169 - L-09Oct 09.09.png", + "title": "169 L 09 Oct 09.09", + "type": "image/png", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-12-18T13:22:47.817Z", + "modified_by": null, + "modified_on": "2024-12-18T13:22:47.846Z", + "charset": null, + "filesize": "409799", + "width": 2560, + "height": 1440, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-12-18T13:22:47.846Z" + }, + { + "id": "535f1284-dbc4-4e4e-9e50-b44a1df130bd", + "storage": "cloud", + "filename_disk": "535f1284-dbc4-4e4e-9e50-b44a1df130bd.webp", + "filename_download": "content-manager.webp", + "title": "Content Manager", + "type": "image/webp", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-09-13T00:48:11.566Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-13T01:58:44.119Z", + "charset": null, + "filesize": "93276", + "width": 1024, + "height": 1024, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-13T00:48:11.576Z" + }, + { + "id": "5e93050a-6f17-4314-a7e5-f78bda425fea", + "storage": "cloud", + "filename_disk": "5e93050a-6f17-4314-a7e5-f78bda425fea.png", + "filename_download": "help-blocks-content.png~bak.png", + "title": "Help Blocks Content.png~bak", + "type": "image/png", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2025-01-15T15:15:24.119Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2025-01-15T16:39:15.310Z", + "charset": null, + "filesize": "828178", + "width": 2076, + "height": 1551, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2025-01-15T15:15:24.151Z" + }, + { + "id": "5f35b7e3-0357-47c3-807f-f132cca95e3f", + "storage": "cloud", + "filename_disk": "5f35b7e3-0357-47c3-807f-f132cca95e3f.png", + "filename_download": "writer-avatar.png", + "title": "Writer Avatar", + "type": "image/png", + "folder": null, + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2025-04-07T21:37:15.525Z", + "modified_by": null, + "modified_on": "2025-04-07T21:37:15.557Z", + "charset": null, + "filesize": "1194631", + "width": 1024, + "height": 1536, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2025-04-07T21:37:15.556Z" + }, + { + "id": "6464e61f-455a-4b47-b623-bb12e5251dfe", + "storage": "cloud", + "filename_disk": "6464e61f-455a-4b47-b623-bb12e5251dfe.jpeg", + "filename_download": "6464e61f-455a-4b47-b623-bb12e5251dfe.jpeg", + "title": "6464e61f 455a 4b47 B623 Bb12e5251dfe", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:45.463Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-12T19:12:57.707Z", + "charset": null, + "filesize": "537459", + "width": 2048, + "height": 3072, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:45.463Z" + }, + { + "id": "68103296-6634-4d66-918a-04b09afe6621", + "storage": "cloud", + "filename_disk": "68103296-6634-4d66-918a-04b09afe6621.jpeg", + "filename_download": "68103296-6634-4d66-918a-04b09afe6621.jpeg", + "title": "68103296 6634 4d66 918a 04b09afe6621", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:45.654Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-12T19:12:57.707Z", + "charset": null, + "filesize": "421019", + "width": 3072, + "height": 2048, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:45.654Z" + }, + { + "id": "6964d750-1c00-4b9c-81e4-0c81cfa82bbb", + "storage": "cloud", + "filename_disk": "6964d750-1c00-4b9c-81e4-0c81cfa82bbb.png", + "filename_download": "169 - L-09Oct 08.53.png", + "title": "169 L 09 Oct 08.53", + "type": "image/png", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-12-18T13:23:30.688Z", + "modified_by": null, + "modified_on": "2024-12-18T13:23:30.726Z", + "charset": null, + "filesize": "665029", + "width": 2560, + "height": 1440, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-12-18T13:23:30.724Z" + }, + { + "id": "7775c53a-6c2c-453d-8c22-8b5445121d10", + "storage": "cloud", + "filename_disk": "7775c53a-6c2c-453d-8c22-8b5445121d10.jpeg", + "filename_download": "7775c53a-6c2c-453d-8c22-8b5445121d10.jpeg", + "title": "7775c53a 6c2c 453d 8c22 8b5445121d10", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:46.268Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-12T19:12:57.707Z", + "charset": null, + "filesize": "358326", + "width": 2048, + "height": 3072, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:46.268Z" + }, + { + "id": "8a652e52-a275-4dde-9fc5-edf2188afe56", + "storage": "cloud", + "filename_disk": "8a652e52-a275-4dde-9fc5-edf2188afe56.jpg", + "filename_download": "hero-center.jpg", + "title": "Hero Center", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2025-01-14T17:09:54.433Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2025-01-15T16:39:15.310Z", + "charset": null, + "filesize": "80086", + "width": 906, + "height": 800, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2025-01-14T17:09:54.468Z" + }, + { + "id": "8f748634-d77b-4985-b27e-7e1f3559881a", + "storage": "cloud", + "filename_disk": "8f748634-d77b-4985-b27e-7e1f3559881a.jpeg", + "filename_download": "8f748634-d77b-4985-b27e-7e1f3559881a.jpeg", + "title": "8f748634 D77b 4985 B27e 7e1f3559881a", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:46.650Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-12T19:12:57.707Z", + "charset": null, + "filesize": "98432", + "width": 512, + "height": 512, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:46.650Z" + }, + { + "id": "9a52e835-e131-4290-81bb-5a512599f93e", + "storage": "cloud", + "filename_disk": "9a52e835-e131-4290-81bb-5a512599f93e.png", + "filename_download": "img-lxoXolUwrduQCswqXmmk6utm.png", + "title": "Img Lxo Xol Uwrdu Q Cswq Xmmk6utm.png", + "type": "image/png", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-09-13T04:23:32.265Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-13T04:43:58.367Z", + "charset": null, + "filesize": "3083504", + "width": 1792, + "height": 1024, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-13T04:23:32.981Z" + }, + { + "id": "a051ea01-07a5-45cb-bcc6-411af9560be5", + "storage": "cloud", + "filename_disk": "a051ea01-07a5-45cb-bcc6-411af9560be5.png", + "filename_download": "169 - L-09Oct 09.09-2.png", + "title": "169 L 09 Oct 09.09 2", + "type": "image/png", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-12-18T13:22:15.631Z", + "modified_by": null, + "modified_on": "2024-12-18T13:22:15.677Z", + "charset": null, + "filesize": "297608", + "width": 2560, + "height": 1440, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-12-18T13:22:15.675Z" + }, + { + "id": "ac905071-0643-4337-8f53-48ed45b1ccf2", + "storage": "cloud", + "filename_disk": "ac905071-0643-4337-8f53-48ed45b1ccf2.jpg", + "filename_download": "ac905071-0643-4337-8f53-48ed45b1ccf2.jpg", + "title": "Silhouette Tree Sunset", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:46.862Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-12T19:13:03.039Z", + "charset": null, + "filesize": "300062", + "width": 1920, + "height": 1280, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:46.862Z" + }, + { + "id": "ae390ba1-fcff-4b99-a445-5f19257095d1", + "storage": "cloud", + "filename_disk": "ae390ba1-fcff-4b99-a445-5f19257095d1.svg", + "filename_download": "directus-logo-white.svg", + "title": "Directus Logo White", + "type": "image/svg+xml", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2025-01-09T17:49:25.084Z", + "modified_by": null, + "modified_on": "2025-01-09T17:49:25.110Z", + "charset": null, + "filesize": "11427", + "width": null, + "height": null, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": null, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2025-01-09T17:49:25.109Z" + }, + { + "id": "b9db00d9-535f-4e24-8a46-5f7e5fc65bf2", + "storage": "cloud", + "filename_disk": "b9db00d9-535f-4e24-8a46-5f7e5fc65bf2.jpg", + "filename_download": "b9db00d9-535f-4e24-8a46-5f7e5fc65bf2.jpg", + "title": "Yellow Click Pen", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:47.145Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-12T19:13:03.039Z", + "charset": null, + "filesize": "129160", + "width": 1920, + "height": 1280, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:47.145Z" + }, + { + "id": "c2a301bd-74ed-4a50-9b85-3cb1f40f8dee", + "storage": "cloud", + "filename_disk": "c2a301bd-74ed-4a50-9b85-3cb1f40f8dee.png", + "filename_download": "169 - L-09Oct 08.55-2.png", + "title": "169 L 09 Oct 08.55 2", + "type": "image/png", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-12-18T13:23:30.689Z", + "modified_by": null, + "modified_on": "2024-12-18T13:23:30.727Z", + "charset": null, + "filesize": "630837", + "width": 2560, + "height": 1440, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-12-18T13:23:30.725Z" + }, + { + "id": "d4fd6edc-4cc5-48c1-8bc7-e646924bbdca", + "storage": "cloud", + "filename_disk": "d4fd6edc-4cc5-48c1-8bc7-e646924bbdca.jpeg", + "filename_download": "d4fd6edc-4cc5-48c1-8bc7-e646924bbdca.jpeg", + "title": "D4fd6edc 4cc5 48c1 8bc7 E646924bbdca", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:47.562Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-12T19:12:57.707Z", + "charset": null, + "filesize": "395249", + "width": 2048, + "height": 3072, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:47.562Z" + }, + { + "id": "d5a1290f-8819-4e7c-b292-bffe5b1c8274", + "storage": "cloud", + "filename_disk": "d5a1290f-8819-4e7c-b292-bffe5b1c8274.jpg", + "filename_download": "hero-left.jpg", + "title": "Hero Left", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2025-01-14T17:09:48.650Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2025-01-15T16:39:15.310Z", + "charset": null, + "filesize": "80496", + "width": 1188, + "height": 663, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2025-01-14T17:09:48.691Z" + }, + { + "id": "d627d585-2c14-4bbf-89ca-34581083cc1d", + "storage": "cloud", + "filename_disk": "d627d585-2c14-4bbf-89ca-34581083cc1d.png", + "filename_download": "webmaster-avatar.png", + "title": "Webmaster Avatar", + "type": "image/png", + "folder": null, + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2025-04-07T21:53:25.874Z", + "modified_by": null, + "modified_on": "2025-04-07T21:53:25.912Z", + "charset": null, + "filesize": "1347150", + "width": 1024, + "height": 1536, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2025-04-07T21:53:25.911Z" + }, + { + "id": "dc258f02-d1a3-47f4-9f3e-2a71a0010c56", + "storage": "cloud", + "filename_disk": "dc258f02-d1a3-47f4-9f3e-2a71a0010c56.png", + "filename_download": "169 - L-09Oct 09.33-1.png", + "title": "169 L 09 Oct 09.33 1", + "type": "image/png", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-12-18T13:25:18.656Z", + "modified_by": null, + "modified_on": "2024-12-18T13:25:18.671Z", + "charset": null, + "filesize": "559420", + "width": 2560, + "height": 1440, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-12-18T13:25:18.670Z" + }, + { + "id": "dea64c65-de50-4d86-abea-6dee3d5256b2", + "storage": "cloud", + "filename_disk": "dea64c65-de50-4d86-abea-6dee3d5256b2.webp", + "filename_download": "webmaster.webp", + "title": "Webmaster", + "type": "image/webp", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-09-13T00:47:24.148Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-13T00:47:36.073Z", + "charset": null, + "filesize": "70668", + "width": 1024, + "height": 1024, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-13T00:47:24.158Z" + }, + { + "id": "df0745c2-b6e3-4b37-b64d-55a4eb0033ab", + "storage": "cloud", + "filename_disk": "df0745c2-b6e3-4b37-b64d-55a4eb0033ab.avif", + "filename_download": "df0745c2-b6e3-4b37-b64d-55a4eb0033ab.avif", + "title": "C02ae5db 9f53 4c29 Aadf C59b54056845", + "type": "image/avif", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2024-02-26T13:02:47.856Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-12T19:12:54.982Z", + "charset": null, + "filesize": "17700", + "width": 1184, + "height": 666, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-02-26T13:02:47.856Z" + }, + { + "id": "ea743e20-e6e9-4be8-a949-3771cd182810", + "storage": "cloud", + "filename_disk": "ea743e20-e6e9-4be8-a949-3771cd182810.png", + "filename_download": "HeroImage.png", + "title": "Hero Image", + "type": "image/png", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2025-01-09T17:57:02.562Z", + "modified_by": null, + "modified_on": "2025-01-09T17:57:02.603Z", + "charset": null, + "filesize": "35267", + "width": 616, + "height": 424, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2025-01-09T17:57:02.603Z" + }, + { + "id": "fd6440c2-dd48-4792-9d08-3124cd99b40f", + "storage": "cloud", + "filename_disk": "fd6440c2-dd48-4792-9d08-3124cd99b40f.png", + "filename_download": "img-edz5TMML7AMnFg5IJCUvkd20.png", + "title": "Img Edz5 Tmm L7 a Mn Fg5 Ijc Uvkd20.png", + "type": "image/png", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": null, + "created_on": "2024-09-13T04:43:17.484Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2024-09-13T04:43:58.367Z", + "charset": null, + "filesize": "3200060", + "width": 1792, + "height": 1024, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2024-09-13T04:43:18.268Z" + }, + { + "id": "fe7c7e04-5aac-4370-8bbd-6fd578d26ea1", + "storage": "cloud", + "filename_disk": "fe7c7e04-5aac-4370-8bbd-6fd578d26ea1.jpg", + "filename_download": "hero-right.jpg", + "title": "Hero Right", + "type": "image/jpeg", + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "uploaded_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "created_on": "2025-01-14T17:09:58.733Z", + "modified_by": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "modified_on": "2025-01-15T16:39:15.310Z", + "charset": null, + "filesize": "78328", + "width": 1229, + "height": 663, + "duration": null, + "embed": null, + "description": null, + "location": null, + "tags": null, + "metadata": {}, + "focal_point_x": null, + "focal_point_y": null, + "tus_id": null, + "tus_data": null, + "uploaded_on": "2025-01-14T17:09:58.743Z" + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/flows.json b/simple-website-cms/directus/template/src/flows.json new file mode 100644 index 00000000..3ba255ca --- /dev/null +++ b/simple-website-cms/directus/template/src/flows.json @@ -0,0 +1,345 @@ +[ + { + "id": "3172d021-0b0f-4d4d-bcca-c5c46eb8fadf", + "name": "Request Review", + "icon": "approval_delegation", + "color": null, + "description": "Request a content review for publishing.", + "status": "active", + "trigger": "manual", + "accountability": "all", + "options": { + "collections": [ + "posts" + ], + "requireConfirmation": true, + "confirmationDescription": "Request Review", + "fields": [ + { + "field": "editor", + "type": "json", + "name": "Editor", + "meta": { + "interface": "collection-item-dropdown", + "note": "Who should review this for publishing?", + "width": "full", + "options": { + "selectedCollection": "directus_users", + "filter": { + "_and": [ + { + "role": { + "id": { + "_in": [ + "ef049c8b-546b-4bbc-9cd7-b05d77e58b66", + "d70780bd-f3ed-418b-98c2-f5354fd3fa68", + "4516009c-8a04-49e4-b4ac-fd4883da6064" + ] + } + } + } + ] + } + }, + "required": true + } + }, + { + "field": "comments", + "type": "text", + "name": "Comments", + "meta": { + "interface": "input-multiline", + "note": "Do you have any helpful notes or comments for the editor?", + "width": "full" + } + } + ] + }, + "operation": "a16e81d1-4177-443e-a292-786a66faee8a", + "date_created": "2025-04-02T18:54:05.423Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "operations": null + }, + { + "id": "52fa6db4-a8ec-4bfc-9b36-d52f5a189620", + "name": "Utils -> Duplicate Block", + "icon": "file_copy", + "color": null, + "description": "Duplicates a specific page block", + "status": "active", + "trigger": "manual", + "accountability": "all", + "options": { + "collections": [ + "page_blocks" + ], + "requireSelection": false, + "location": "item", + "requireConfirmation": true + }, + "operation": "0255b0b8-3817-402f-a577-0d63328bada7", + "date_created": "2025-02-20T22:00:37.422Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "operations": null + }, + { + "id": "5429ccb0-7e97-4ef5-9d65-2bbcf964f9a6", + "name": "Utils -> Render Template", + "icon": "picture_in_picture", + "color": null, + "description": "Utility flow to render a Liquid JS template", + "status": "active", + "trigger": "operation", + "accountability": "all", + "options": { + "return": "$last" + }, + "operation": "c846f644-e7c1-43c9-8bb7-81181de0cd60", + "date_created": "2024-09-25T13:14:24.304Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "operations": null + }, + { + "id": "5915dd55-fff8-4d47-b48c-a0e42e5033c1", + "name": "AI Ghostwriter", + "icon": "magic_button", + "color": null, + "description": "Flow to automatically write blog posts and articles for you using AI.", + "status": "active", + "trigger": "manual", + "accountability": "all", + "options": { + "collections": [ + "posts" + ], + "requireConfirmation": true, + "confirmationDescription": "AI Ghostwriter", + "fields": [ + { + "field": "prompt", + "type": "text", + "name": "Prompt", + "meta": { + "interface": "input-multiline", + "note": "Describe the post you'd like AI to write for you.", + "width": "full" + } + }, + { + "field": "voice", + "type": "json", + "name": "Tone Of Voice", + "meta": { + "interface": "tags", + "note": "What tone of voice would you like AI to write with?", + "options": { + "presets": [ + "friendly", + "professional", + "casual", + "pirate" + ] + } + } + } + ], + "location": "item" + }, + "operation": "5d667ac5-2594-4f16-a863-3847d8917caa", + "date_created": "2024-09-12T21:27:14.184Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "operations": null + }, + { + "id": "61757ab0-b139-4079-b5eb-4e05bb8142ac", + "name": "Form Submissions -> Email Notifications", + "icon": "attach_email", + "color": null, + "description": "Automatically sends any emails configured for a form whenever a new submission is created.", + "status": "active", + "trigger": "event", + "accountability": "all", + "options": { + "type": "action", + "scope": [ + "items.create" + ], + "collections": [ + "form_submissions" + ] + }, + "operation": "599b80e4-7c74-4496-b243-da198c8613d9", + "date_created": "2024-09-13T03:26:25.396Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "operations": null + }, + { + "id": "69e87d0b-df14-4779-bdc8-abc05f2f1e97", + "name": "Utils -> Get Globals", + "icon": "globe_uk", + "color": null, + "description": "This is a utility flow to use in other flows when you need data from the Globals collection.", + "status": "active", + "trigger": "operation", + "accountability": "activity", + "options": { + "return": "$last" + }, + "operation": "bb1b1e3f-032e-48b7-b260-1cf3af4a116c", + "date_created": "2024-02-26T13:03:37.631Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "operations": null + }, + { + "id": "7c8732cd-9d9e-44be-a3f6-89c0d42c7687", + "name": "Utils -> Send Email", + "icon": "send", + "color": null, + "description": "Utility flow to send a single email. Used in other flows.", + "status": "active", + "trigger": "operation", + "accountability": "all", + "options": { + "return": "$last" + }, + "operation": "6efe1572-6cdd-4c80-a063-eb71b7f1e519", + "date_created": "2024-09-13T04:57:48.054Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "operations": null + }, + { + "id": "d4bbac48-a444-49e0-aedb-9af5273b88df", + "name": "AI Image Generator", + "icon": "image_search", + "color": null, + "description": "Generate AI images for your blog posts.", + "status": "active", + "trigger": "manual", + "accountability": "all", + "options": { + "collections": [ + "posts" + ], + "requireConfirmation": true, + "confirmationDescription": "AI Image Generator", + "fields": [ + { + "field": "prompt", + "type": "text", + "name": "Prompt", + "meta": { + "interface": "input-rich-text-md", + "note": "Describe the image you want to generate. The more descriptive - the better the results (usually 😉).", + "options": { + "placeholder": "Create a hand-drawn marker style illustration to be used as a featured image for blog posts targeting developers. The illustration should have a whimsical theme, using bold, uneven marker-style lines to create an engaging and eye-catching design. The background should always be white. ", + "toolbar": [ + "heading", + "bold", + "italic", + "strikethrough", + "blockquote", + "bullist", + "numlist", + "table", + "code", + "empty" + ] + } + } + }, + { + "field": "colors", + "type": "json", + "name": "Colors", + "meta": { + "interface": "list", + "options": { + "fields": [ + { + "field": "color", + "name": "color", + "type": "string", + "meta": { + "field": "color", + "width": "half", + "type": "string", + "interface": "select-color" + } + }, + { + "field": "name", + "name": "name", + "type": "string", + "meta": { + "field": "name", + "width": "half", + "type": "string", + "note": "What is the name of the color? AI seems to do better when supplying color names along with the hex codes.", + "interface": "input" + } + }, + { + "field": "type", + "name": "type", + "type": "string", + "meta": { + "field": "type", + "width": "full", + "type": "string", + "interface": "select-radio", + "options": { + "choices": [ + { + "text": "Primary", + "value": "primary" + }, + { + "text": "Secondary", + "value": "secondary" + }, + { + "text": "Background", + "value": "background" + } + ] + } + } + } + ] + } + } + }, + { + "field": "aspect_ratio", + "type": "string", + "name": "Aspect Ratio", + "meta": { + "interface": "select-radio", + "options": { + "choices": [ + { + "text": "1:1", + "value": "1:1" + }, + { + "text": "16:9", + "value": "16:9" + }, + { + "text": "9:16", + "value": "9:16" + } + ] + } + } + } + ], + "location": "item" + }, + "operation": "0cf30253-f9ed-413f-ac27-7a0ecffa9ee4", + "date_created": "2024-09-12T21:34:20.685Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "operations": null + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/folders.json b/simple-website-cms/directus/template/src/folders.json new file mode 100644 index 00000000..4d7e4750 --- /dev/null +++ b/simple-website-cms/directus/template/src/folders.json @@ -0,0 +1,17 @@ +[ + { + "id": "d0f67ad6-abbb-45d6-8d3e-b499a4c74d80", + "name": "2. Private", + "parent": null + }, + { + "id": "e6308546-92fb-4b10-b586-eefaf1d97f7f", + "name": "3. Uploads", + "parent": null + }, + { + "id": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "name": "1. Public", + "parent": null + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/operations.json b/simple-website-cms/directus/template/src/operations.json new file mode 100644 index 00000000..fc972a21 --- /dev/null +++ b/simple-website-cms/directus/template/src/operations.json @@ -0,0 +1,557 @@ +[ + { + "id": "0255b0b8-3817-402f-a577-0d63328bada7", + "name": "Get Collection", + "key": "get_collection", + "type": "item-read", + "position_x": 19, + "position_y": 1, + "options": { + "collection": "directus_collections", + "key": [ + "{{$trigger.body.collection}}" + ], + "permissions": "$full" + }, + "resolve": "c0f67e21-7332-4803-a1ae-f9a295b7e48e", + "reject": null, + "flow": "52fa6db4-a8ec-4bfc-9b36-d52f5a189620", + "date_created": "2025-02-20T22:10:11.714Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "0beeeb1a-2338-4ab4-95f5-0757bf3e43be", + "name": "Log Error", + "key": "log_error", + "type": "log", + "position_x": 37, + "position_y": 17, + "options": { + "message": "Trigger did NOT include a `to` address. " + }, + "resolve": null, + "reject": null, + "flow": "7c8732cd-9d9e-44be-a3f6-89c0d42c7687", + "date_created": "2024-12-19T15:26:30.553Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "0cf30253-f9ed-413f-ac27-7a0ecffa9ee4", + "name": "Globals", + "key": "globals", + "type": "trigger", + "position_x": 19, + "position_y": 1, + "options": { + "flow": "69e87d0b-df14-4779-bdc8-abc05f2f1e97" + }, + "resolve": "5df25cf8-b407-4fef-9d3b-c328f89f1561", + "reject": null, + "flow": "d4bbac48-a444-49e0-aedb-9af5273b88df", + "date_created": "2024-09-13T04:12:38.641Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "2adf33da-7fd7-42f7-a6fe-48409463d51b", + "name": "Update", + "key": "update", + "type": "item-update", + "position_x": 92, + "position_y": 1, + "options": { + "collection": "posts", + "payload": { + "image": "{{import.data.data.id}}" + }, + "key": "{{$trigger.body.keys}}", + "permissions": "$full" + }, + "resolve": null, + "reject": null, + "flow": "d4bbac48-a444-49e0-aedb-9af5273b88df", + "date_created": "2024-09-13T04:12:38.606Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "3b7d004a-1dba-43c4-b902-a44fd71602ae", + "name": "Format", + "key": "format", + "type": "exec", + "position_x": 55, + "position_y": 1, + "options": { + "code": "module.exports = function(data) {\n const aiResponse = JSON.parse(data.write)\n\tconst payload = {}\n payload.title = aiResponse.title\n payload.description = aiResponse.description\n payload.content = aiResponse.content\n payload.slug = aiResponse.slug\n return payload\n}" + }, + "resolve": "e6c50f84-e229-4f15-8119-c7708256e825", + "reject": null, + "flow": "5915dd55-fff8-4d47-b48c-a0e42e5033c1", + "date_created": "2024-09-13T03:52:01.503Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "4b46b1e9-1ca0-47c3-86a8-68826136664e", + "name": "Get Post", + "key": "get_post", + "type": "item-read", + "position_x": 19, + "position_y": 19, + "options": { + "permissions": "$full", + "collection": "{{$trigger.body.collection}}", + "key": "{{$trigger.body.keys}}" + }, + "resolve": "f6ae03f7-014d-43d1-8d69-cf122da302c0", + "reject": null, + "flow": "3172d021-0b0f-4d4d-bcca-c5c46eb8fadf", + "date_created": "2025-04-02T19:01:05.023Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "599b80e4-7c74-4496-b243-da198c8613d9", + "name": "Form", + "key": "form", + "type": "item-read", + "position_x": 19, + "position_y": 1, + "options": { + "collection": "forms", + "key": [ + "{{$trigger.payload.form}}" + ], + "query": { + "fields": [ + "*", + "fields.*" + ] + }, + "permissions": "$full" + }, + "resolve": "dff1a702-bcc0-4528-905e-309feb880111", + "reject": null, + "flow": "61757ab0-b139-4079-b5eb-4e05bb8142ac", + "date_created": "2024-09-13T03:30:58.055Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "5d667ac5-2594-4f16-a863-3847d8917caa", + "name": "Globals", + "key": "globals", + "type": "trigger", + "position_x": 19, + "position_y": 1, + "options": { + "flow": "69e87d0b-df14-4779-bdc8-abc05f2f1e97" + }, + "resolve": "89125be2-8205-4ad0-a77f-bd3e984202b3", + "reject": null, + "flow": "5915dd55-fff8-4d47-b48c-a0e42e5033c1", + "date_created": "2024-09-13T02:39:32.169Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "5df25cf8-b407-4fef-9d3b-c328f89f1561", + "name": "Prompt", + "key": "prompt", + "type": "directus-labs-ai-writer-operation", + "position_x": 37, + "position_y": 1, + "options": { + "apiKey": "{{globals.openai_api_key}}", + "promptKey": "custom", + "system": "You are an expert in writing prompts for generating images through Dall•E 3. \n\n## Rules\nReturn only the prompt text", + "text": "Use the following information and context to write a prompt to generate an image for a blog post.\n\nImage Style:\n{{ $trigger.body.prompt }}\n\nAspect Ratio: \n{{ $trigger.body.aspect_ratio }}\n\nColor Palette:\n{{ $trigger.body.colors }}", + "model": "gpt-4o-mini", + "aiProvider": "openai", + "apiKeyOpenAi": "{{globals.openai_api_key}}" + }, + "resolve": "d6f73e98-19ef-47d6-8d1f-99d77137d36b", + "reject": null, + "flow": "d4bbac48-a444-49e0-aedb-9af5273b88df", + "date_created": "2024-09-13T04:12:38.633Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "6efe1572-6cdd-4c80-a063-eb71b7f1e519", + "name": "Verify To", + "key": "verify_to", + "type": "condition", + "position_x": 19, + "position_y": 1, + "options": { + "filter": { + "$trigger": { + "to": { + "_nnull": true + } + } + } + }, + "resolve": "8673740a-f7f8-44dd-9abd-5a714e0d6c74", + "reject": "0beeeb1a-2338-4ab4-95f5-0757bf3e43be", + "flow": "7c8732cd-9d9e-44be-a3f6-89c0d42c7687", + "date_created": "2024-12-19T15:26:30.564Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "823ee957-6d5a-412c-886d-74d18de73864", + "name": "Get Editor", + "key": "get_editor", + "type": "item-read", + "position_x": 38, + "position_y": 1, + "options": { + "permissions": "$full", + "collection": "directus_users", + "key": [ + "{{$trigger.body.editor.key}}" + ], + "query": { + "fields": [ + "id", + "first_name", + "last_name", + "email" + ] + } + }, + "resolve": "dc181cb9-3853-41b9-98bf-6901472bc1af", + "reject": null, + "flow": "3172d021-0b0f-4d4d-bcca-c5c46eb8fadf", + "date_created": "2025-04-02T19:01:05.036Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "8673740a-f7f8-44dd-9abd-5a714e0d6c74", + "name": "Send Email", + "key": "send_email", + "type": "mail", + "position_x": 37, + "position_y": 1, + "options": { + "to": "{{$trigger.to}}", + "subject": "{{$trigger.subject}}", + "type": "wysiwyg", + "body": "

{{$trigger.body}}

" + }, + "resolve": null, + "reject": null, + "flow": "7c8732cd-9d9e-44be-a3f6-89c0d42c7687", + "date_created": "2024-09-25T13:08:40.529Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "89125be2-8205-4ad0-a77f-bd3e984202b3", + "name": "Write", + "key": "write", + "type": "directus-labs-ai-writer-operation", + "position_x": 37, + "position_y": 1, + "options": { + "apiKey": "{{globals.openai_api_key}}", + "model": "gpt-4o-mini", + "promptKey": "custom", + "system": "You are an expert in writing blog posts that are valuable for readers.\n\n## Rules\n- You are a human content writer. Avoid AI words like \"empower\". Avoid using prolix. Sound human.\n- ALWAYS output a JSON object that matches the sample below.\n{\n\"title\": \"Article Title\",\n\"slug\": \"formatted-slug\",\n\"description\": \"Short summary of the article to entice readers\",\n\"content\": \"Article content goes here. This needs to be properly encoded HTML string with proper line breaks, etc.\"\n}", + "json_mode": true, + "text": "Write an article based on this prompt.\n{{$trigger.body.prompt}}\n\n\n## Voice\nMatch this style and tone of voice when writing.\n{{ $trigger.body.voice }}", + "aiProvider": "openai", + "apiKeyOpenAi": "{{globals.openai_api_key}}", + "maxToken": 8192 + }, + "resolve": "3b7d004a-1dba-43c4-b902-a44fd71602ae", + "reject": null, + "flow": "5915dd55-fff8-4d47-b48c-a0e42e5033c1", + "date_created": "2024-09-13T03:52:01.514Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "a16e81d1-4177-443e-a292-786a66faee8a", + "name": "Globals", + "key": "globals", + "type": "trigger", + "position_x": 19, + "position_y": 1, + "options": { + "flow": "69e87d0b-df14-4779-bdc8-abc05f2f1e97" + }, + "resolve": "823ee957-6d5a-412c-886d-74d18de73864", + "reject": null, + "flow": "3172d021-0b0f-4d4d-bcca-c5c46eb8fadf", + "date_created": "2025-04-02T19:28:58.499Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "bb1b1e3f-032e-48b7-b260-1cf3af4a116c", + "name": "Read Globals", + "key": "read_globals", + "type": "item-read", + "position_x": 19, + "position_y": 1, + "options": { + "permissions": "$full", + "collection": "globals" + }, + "resolve": "fd271542-fac2-42d8-aa10-a02520c3753f", + "reject": null, + "flow": "69e87d0b-df14-4779-bdc8-abc05f2f1e97", + "date_created": "2024-02-26T13:03:38.721Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "bc71ca4e-d979-4ef9-a449-af100a7e1b3b", + "name": "Import", + "key": "import", + "type": "request", + "position_x": 74, + "position_y": 1, + "options": { + "method": "POST", + "url": "{{globals.directus_url}}/files/import", + "body": "{\n \"url\": \"{{image}}\"\n}", + "headers": [ + { + "header": "Authorization", + "value": "Bearer fT6_R5in_QUpUSXlLqGIhYtbRlBnopFe" + } + ] + }, + "resolve": "2adf33da-7fd7-42f7-a6fe-48409463d51b", + "reject": null, + "flow": "d4bbac48-a444-49e0-aedb-9af5273b88df", + "date_created": "2024-09-13T04:12:38.612Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "c0f67e21-7332-4803-a1ae-f9a295b7e48e", + "name": "Get Page Block", + "key": "get_page_block", + "type": "item-read", + "position_x": 37, + "position_y": 1, + "options": { + "collection": "{{$trigger.body.collection}}", + "key": [ + "{{$trigger.body.keys[0]}}" + ], + "permissions": "$full", + "query": { + "fields": "{{get_collection.item_duplication_fields}}" + } + }, + "resolve": "faffc005-c291-4be0-b0c8-38413b0a8446", + "reject": null, + "flow": "52fa6db4-a8ec-4bfc-9b36-d52f5a189620", + "date_created": "2025-02-20T22:10:11.730Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "c846f644-e7c1-43c9-8bb7-81181de0cd60", + "name": "Render Template", + "key": "render", + "type": "liquidjs-operation", + "position_x": 19, + "position_y": 1, + "options": { + "publicUrl": "http://localhost:8001/", + "mode": "custom", + "operationMode": "single", + "template": "{{ $trigger.template }}", + "data": "{{ $trigger.data }}" + }, + "resolve": "edc5e1ae-a3ed-45af-ae77-10409a66cd03", + "reject": null, + "flow": "5429ccb0-7e97-4ef5-9d65-2bbcf964f9a6", + "date_created": "2024-09-25T13:15:05.717Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "d6f73e98-19ef-47d6-8d1f-99d77137d36b", + "name": "Image", + "key": "image", + "type": "directus-labs-ai-image-generation", + "position_x": 56, + "position_y": 1, + "options": { + "apiKey": "{{globals.openai_api_key}}", + "quality": "hd", + "size": "landscape", + "prompt": "{{prompt}}" + }, + "resolve": "bc71ca4e-d979-4ef9-a449-af100a7e1b3b", + "reject": null, + "flow": "d4bbac48-a444-49e0-aedb-9af5273b88df", + "date_created": "2024-09-13T04:12:38.623Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "dc181cb9-3853-41b9-98bf-6901472bc1af", + "name": "Get User", + "key": "get_user", + "type": "item-read", + "position_x": 57, + "position_y": 1, + "options": { + "permissions": "$full", + "collection": "directus_users", + "key": [ + "{{$accountability.user}}" + ], + "query": { + "fields": [ + "id", + "first_name", + "last_name", + "email" + ] + } + }, + "resolve": "4b46b1e9-1ca0-47c3-86a8-68826136664e", + "reject": null, + "flow": "3172d021-0b0f-4d4d-bcca-c5c46eb8fadf", + "date_created": "2025-04-02T19:12:25.011Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "dff1a702-bcc0-4528-905e-309feb880111", + "name": "Format", + "key": "format", + "type": "exec", + "position_x": 19, + "position_y": 18, + "options": { + "code": "/**\n * Prepares email template data by matching trigger values with form fields\n * @param {Object} trigger - The trigger object containing payload values\n * @param {Object} form - The form object containing fields and email templates\n * @returns {Array} Array of prepared email template objects\n * @throws {Error} If required data is missing or invalid\n */\nfunction prepareEmailTemplateData(trigger, form) {\n // Validate input parameters\n if (!trigger?.payload?.values || !Array.isArray(trigger.payload.values)) {\n throw new Error('Invalid trigger payload values');\n }\n \n if (!form?.fields || !Array.isArray(form.fields)) {\n throw new Error('Invalid form fields');\n }\n \n if (!form?.emails || !Array.isArray(form.emails)) {\n throw new Error('Invalid form emails');\n }\n\n // Create an object to store the field name-value pairs\n const data = {};\n \n // Iterate through the trigger values and match them with form fields\n trigger.payload.values.forEach(item => {\n if (!item || typeof item !== 'object') {\n throw new Error('Invalid trigger value item');\n }\n\n // Ensure required properties exist\n if (!item.field && !item.field_name) {\n throw new Error('Missing field identifier in trigger value');\n }\n \n if (item.value === undefined) {\n throw new Error('Missing value in trigger value');\n }\n\n // Find the corresponding field in the form\n const formField = form.fields.find(field => field.id === item.field);\n \n // If a matching field is found, use its name as the key\n if (formField && formField.name) {\n data[formField.name] = item.value;\n } else {\n // Fallback to using the field_name from the trigger if no match is found\n data[item.field_name || item.field] = item.value;\n }\n });\n\n // Process and validate all email templates\n const emailTemplates = form.emails.map(email => {\n // Validate required email template properties\n if (!email.subject) {\n throw new Error('Missing email subject');\n }\n \n if (!email.message) {\n throw new Error('Missing email message template');\n }\n \n if (!email.to) {\n throw new Error('Missing email recipient');\n }\n\n // Normalize 'to' field to always be an array\n const toField = Array.isArray(email.to) ? email.to : [email.to];\n \n // Validate each email address\n toField.forEach(recipient => {\n if (typeof recipient !== 'string' || !recipient.trim()) {\n throw new Error('Invalid email recipient');\n }\n });\n\n return {\n to: toField,\n subject: email.subject,\n template: email.message,\n data: data\n };\n });\n\n return emailTemplates;\n}\n\nmodule.exports = function(data) {\n if (!data?.$trigger || !data?.form) {\n throw new Error('Missing required data');\n }\n \n return prepareEmailTemplateData(data.$trigger, data.form);\n};" + }, + "resolve": "fbf696ea-c6af-4230-8f62-c663beebd6d9", + "reject": null, + "flow": "61757ab0-b139-4079-b5eb-4e05bb8142ac", + "date_created": "2024-09-13T03:41:36.144Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "e12b95db-a408-4e7e-b30b-264f7fa8baa3", + "name": "Send", + "key": "send", + "type": "trigger", + "position_x": 59, + "position_y": 1, + "options": { + "flow": "7c8732cd-9d9e-44be-a3f6-89c0d42c7687", + "payload": "{{ render }}" + }, + "resolve": null, + "reject": null, + "flow": "61757ab0-b139-4079-b5eb-4e05bb8142ac", + "date_created": "2024-09-25T13:33:39.709Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "e6c50f84-e229-4f15-8119-c7708256e825", + "name": "Update", + "key": "update", + "type": "item-update", + "position_x": 73, + "position_y": 1, + "options": { + "collection": "posts", + "permissions": "$full", + "key": [ + "{{$trigger.body.keys}}" + ], + "payload": "{{format}}" + }, + "resolve": null, + "reject": null, + "flow": "5915dd55-fff8-4d47-b48c-a0e42e5033c1", + "date_created": "2024-09-13T03:52:01.490Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "edc5e1ae-a3ed-45af-ae77-10409a66cd03", + "name": "Format", + "key": "format", + "type": "exec", + "position_x": 37, + "position_y": 1, + "options": { + "code": "module.exports = function(data) {\n\treturn {\n ...data.$trigger,\n body: data.render.template\n }\n}" + }, + "resolve": null, + "reject": null, + "flow": "5429ccb0-7e97-4ef5-9d65-2bbcf964f9a6", + "date_created": "2024-09-25T13:31:35.265Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "f6ae03f7-014d-43d1-8d69-cf122da302c0", + "name": "Send Email", + "key": "send_email", + "type": "mail", + "position_x": 37, + "position_y": 19, + "options": { + "to": [ + "{{get_editor.email}}" + ], + "subject": "🧐 Review Request: {{get_post.title}} from {{get_user.first_name}} {{ get_user.last_name}}", + "body": "Hi {{ get_editor.first_name }},\n\n{{ get_user.first_name }} {{ get_user.last_name}} has requested your review on the following content:\n\n[{{ $trigger.body.collection }} – **{{ get_post.title }}**]({{globals.directus_url}}/admin/content/{{$trigger.body.collection}}/{{$trigger.body.keys[0]}})\n\n**Comments:**\n{{ $trigger.body.comments }}\n\n---\n\nPlease review to schedule for publishing or request changes.", + "replyTo": [ + "{{get_user.email}}" + ] + }, + "resolve": null, + "reject": null, + "flow": "3172d021-0b0f-4d4d-bcca-c5c46eb8fadf", + "date_created": "2025-04-02T19:04:55.879Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "faffc005-c291-4be0-b0c8-38413b0a8446", + "name": "Create Page Block", + "key": "create_page_block", + "type": "item-create", + "position_x": 55, + "position_y": 1, + "options": { + "collection": "{{$trigger.body.collection}}", + "permissions": "$full", + "payload": "{{get_page_block}}" + }, + "resolve": null, + "reject": null, + "flow": "52fa6db4-a8ec-4bfc-9b36-d52f5a189620", + "date_created": "2025-02-20T22:42:05.810Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "fbf696ea-c6af-4230-8f62-c663beebd6d9", + "name": "Render", + "key": "render", + "type": "trigger", + "position_x": 41, + "position_y": 1, + "options": { + "flow": "5429ccb0-7e97-4ef5-9d65-2bbcf964f9a6", + "payload": "{{ format }}" + }, + "resolve": "e12b95db-a408-4e7e-b30b-264f7fa8baa3", + "reject": null, + "flow": "61757ab0-b139-4079-b5eb-4e05bb8142ac", + "date_created": "2024-09-25T13:29:26.743Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "fd271542-fac2-42d8-aa10-a02520c3753f", + "name": "Format", + "key": "format", + "type": "exec", + "position_x": 37, + "position_y": 1, + "options": { + "code": "module.exports = async function(data) {\n return data.read_globals[0]\n}" + }, + "resolve": null, + "reject": null, + "flow": "69e87d0b-df14-4779-bdc8-abc05f2f1e97", + "date_created": "2024-02-26T13:03:38.753Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/panels.json b/simple-website-cms/directus/template/src/panels.json new file mode 100644 index 00000000..58b0d634 --- /dev/null +++ b/simple-website-cms/directus/template/src/panels.json @@ -0,0 +1,188 @@ +[ + { + "id": "01914ef3-5512-4c89-9709-904f9b47ddeb", + "dashboard": "5a5b8448-16f4-46b1-abe8-19730cadc3a5", + "name": "Submissions Over Time", + "icon": null, + "color": null, + "show_header": true, + "note": null, + "type": "time-series", + "position_x": 1, + "position_y": 20, + "width": 36, + "height": 12, + "options": { + "collection": "form_submissions", + "precision": "day", + "function": "count", + "range": "auto", + "filter": { + "_and": [ + { + "_and": [ + { + "timestamp": { + "_between": [ + "{{dateFrom}}", + "{{dateTo}}" + ] + } + } + ] + } + ] + }, + "dateField": "timestamp", + "valueField": "id" + }, + "date_created": "2024-09-12T20:57:38.458Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "19b3d901-aa7c-4a04-bc9a-800e43510e69", + "dashboard": "5a5b8448-16f4-46b1-abe8-19730cadc3a5", + "name": "Submissions", + "icon": null, + "color": null, + "show_header": true, + "note": null, + "type": "list", + "position_x": 1, + "position_y": 35, + "width": 36, + "height": 30, + "options": { + "collection": "form_submissions", + "limit": 100, + "sortField": "id", + "linkToItem": true, + "displayTemplate": "{{timestamp}} • {{values}} • {{form}}" + }, + "date_created": "2024-09-12T21:00:02.732Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "3861ceb1-11ff-4e9d-a985-60d862d90aa3", + "dashboard": "5a5b8448-16f4-46b1-abe8-19730cadc3a5", + "name": "From", + "icon": "date_range", + "color": null, + "show_header": true, + "note": null, + "type": "variable", + "position_x": 1, + "position_y": 6, + "width": 18, + "height": 6, + "options": { + "field": "dateFrom", + "type": "timestamp", + "inter": "datetime", + "defaultValue": "2024-01-01T12:00:00-05:00", + "options": { + "use24": false + } + }, + "date_created": "2024-09-12T20:56:09.536Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "53575d2f-e3a0-4532-a176-d047cbbc11a7", + "dashboard": "5a5b8448-16f4-46b1-abe8-19730cadc3a5", + "name": "Submissions - Last 30 Days", + "icon": null, + "color": null, + "show_header": true, + "note": null, + "type": "metric", + "position_x": 1, + "position_y": 12, + "width": 18, + "height": 8, + "options": { + "collection": "form_submissions", + "field": "id", + "function": "count", + "sortField": null, + "conditionalFormatting": null, + "filter": { + "_and": [ + { + "timestamp": { + "_gt": "$NOW(-30d)" + } + } + ] + } + }, + "date_created": "2024-09-12T20:56:09.528Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "8cb3b63c-d8e3-4078-9160-096e32b9fcb0", + "dashboard": "5a5b8448-16f4-46b1-abe8-19730cadc3a5", + "name": "Submissions - Total", + "icon": null, + "color": null, + "show_header": true, + "note": null, + "type": "metric", + "position_x": 19, + "position_y": 12, + "width": 18, + "height": 8, + "options": { + "collection": "form_submissions", + "field": "id", + "function": "count", + "sortField": null + }, + "date_created": "2024-09-12T21:00:59.426Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "b770ea7e-1b49-441f-ba6f-2d4b90e08070", + "dashboard": "5a5b8448-16f4-46b1-abe8-19730cadc3a5", + "name": null, + "icon": null, + "color": null, + "show_header": false, + "note": null, + "type": "label", + "position_x": 1, + "position_y": 3, + "width": 36, + "height": 3, + "options": { + "text": "Form Dashboard" + }, + "date_created": "2024-09-12T21:00:39.624Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + }, + { + "id": "dc01026c-1728-4e71-ab45-7cea9fc4751c", + "dashboard": "5a5b8448-16f4-46b1-abe8-19730cadc3a5", + "name": "To", + "icon": "date_range", + "color": null, + "show_header": true, + "note": null, + "type": "variable", + "position_x": 19, + "position_y": 6, + "width": 18, + "height": 6, + "options": { + "field": "dateTo", + "type": "timestamp", + "inter": "datetime", + "defaultValue": "2025-01-01T12:00:00-05:00", + "options": { + "use24": false + } + }, + "date_created": "2024-09-12T20:56:09.540Z", + "user_created": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0" + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/permissions.json b/simple-website-cms/directus/template/src/permissions.json new file mode 100644 index 00000000..ba0cac04 --- /dev/null +++ b/simple-website-cms/directus/template/src/permissions.json @@ -0,0 +1,1897 @@ +[ + { + "collection": "pages", + "action": "read", + "permissions": { + "_and": [ + { + "status": { + "_eq": "published" + } + }, + { + "published_at": { + "_lte": "$NOW" + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "posts", + "action": "read", + "permissions": { + "_and": [ + { + "status": { + "_eq": "published" + } + }, + { + "published_at": { + "_lte": "$NOW" + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "block_hero", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "block_richtext", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "globals", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "id", + "seo", + "url", + "title", + "tagline", + "description", + "social", + "og_image", + "twitter_image", + "social_links", + "contact", + "street_address", + "address_locality", + "address_region", + "postal_code", + "address_country", + "email", + "phone", + "routes", + "logo_on_dark_bg", + "logo_on_light_bg", + "theme", + "logo", + "favicon", + "logo_dark_mode", + "accent_color", + "notice-7-fv9g", + "divider_logo", + "divider_social" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "page_blocks", + "action": "read", + "permissions": { + "_and": [ + { + "page": { + "status": { + "_eq": "published" + } + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "forms", + "action": "read", + "permissions": { + "_and": [ + { + "is_active": { + "_eq": true + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "id", + "sort", + "title", + "is_active", + "meta_tabs", + "meta_fields", + "fields", + "submit_label", + "on_success", + "success_message", + "success_redirect_url" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "navigation", + "action": "read", + "permissions": { + "_and": [ + { + "is_active": { + "_eq": true + } + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "navigation_items", + "action": "read", + "permissions": { + "_and": [ + { + "_or": [ + { + "navigation": { + "is_active": { + "_eq": true + } + } + }, + { + "parent": { + "navigation": { + "is_active": { + "_eq": true + } + } + } + } + ] + } + ] + }, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "block_gallery", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "blog_settings", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "chat_config", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "block_button_group", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "block_button", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "block_button", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_button", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_button", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_button", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_button_group", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_button_group", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_button_group", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_button_group", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_gallery", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_gallery", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_gallery", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_gallery", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_hero", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_hero", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_hero", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_hero", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_richtext", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_richtext", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_richtext", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_richtext", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "blog_settings", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "blog_settings", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "blog_settings", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "blog_settings", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "forms", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "forms", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "forms", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "forms", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "globals", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "id", + "title", + "url", + "divider_logo", + "logo", + "favicon", + "tagline", + "description", + "divider_social", + "social_links", + "logo_dark_mode", + "accent_color", + "notice-7-fv9g" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "globals", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "id", + "title", + "url", + "divider_logo", + "logo", + "favicon", + "tagline", + "description", + "divider_social", + "social_links", + "logo_dark_mode", + "accent_color", + "notice-7-fv9g" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "globals", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "id", + "title", + "url", + "divider_logo", + "logo", + "favicon", + "tagline", + "description", + "divider_social", + "social_links", + "logo_dark_mode", + "notice-7-fv9g", + "accent_color" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "navigation", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "navigation", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "navigation", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "navigation", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "navigation_items", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "navigation_items", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "navigation_items", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "navigation_items", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "page_blocks", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "page_blocks", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "page_blocks", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "page_blocks", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "pages", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "pages", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "pages", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "pages", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "posts", + "action": "create", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "posts", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "posts", + "action": "update", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "posts", + "action": "delete", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "projects_settings", + "action": "read", + "permissions": {}, + "validation": {}, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "directus_files", + "action": "read", + "permissions": { + "_and": [ + { + "_or": [ + { + "folder": { + "name": { + "_contains": "Public" + } + } + }, + { + "folder": { + "parent": { + "name": { + "_contains": "Public" + } + } + } + } + ] + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "directus_dashboards", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_dashboards", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_dashboards", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_dashboards", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_panels", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_panels", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_panels", + "action": "update", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_panels", + "action": "delete", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_users", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "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": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_roles", + "action": "read", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_shares", + "action": "read", + "permissions": { + "_or": [ + { + "role": { + "_eq": "$CURRENT_ROLE" + } + }, + { + "role": { + "_null": true + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_shares", + "action": "create", + "permissions": {}, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_shares", + "action": "update", + "permissions": { + "user_created": { + "_eq": "$CURRENT_USER" + } + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_shares", + "action": "delete", + "permissions": { + "user_created": { + "_eq": "$CURRENT_USER" + } + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_flows", + "action": "read", + "permissions": { + "trigger": { + "_eq": "manual" + } + }, + "validation": null, + "presets": null, + "fields": [ + "id", + "status", + "name", + "icon", + "color", + "options", + "trigger" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "block_form", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "block_posts", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "form_fields", + "action": "read", + "permissions": { + "_and": [ + { + "form": { + "is_active": { + "_eq": true + } + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "form_fields", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "form_fields", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "form_fields", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "form_fields", + "action": "delete", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "form_submission_values", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "form_submission_values", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "form_submissions", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "form_submissions", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_posts", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_posts", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_posts", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_posts", + "action": "delete", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_form", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_form", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_form", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_form", + "action": "delete", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "directus_files", + "action": "create", + "permissions": null, + "validation": { + "_and": [ + { + "filesize": { + "_lte": "5000000" + } + } + ] + }, + "presets": { + "folder": "e6308546-92fb-4b10-b586-eefaf1d97f7f" + }, + "fields": [ + "*" + ], + "policy": "ee1055a2-7c03-4b0b-9b65-ca68491b6329" + }, + { + "collection": "form_submission_values", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ee1055a2-7c03-4b0b-9b65-ca68491b6329" + }, + { + "collection": "form_submissions", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "ee1055a2-7c03-4b0b-9b65-ca68491b6329" + }, + { + "collection": "form_submission_values", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "id" + ], + "policy": "ee1055a2-7c03-4b0b-9b65-ca68491b6329" + }, + { + "collection": "form_submissions", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "id" + ], + "policy": "ee1055a2-7c03-4b0b-9b65-ca68491b6329" + }, + { + "collection": "block_gallery_items", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_gallery_items", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_gallery_items", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_gallery_items", + "action": "delete", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_pricing", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_pricing", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_pricing", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_pricing", + "action": "delete", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_pricing_cards", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_pricing_cards", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_pricing_cards", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_pricing_cards", + "action": "delete", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "block_gallery_items", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "block_pricing", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "block_pricing_cards", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "directus_users", + "action": "read", + "permissions": { + "_and": [ + { + "posts": { + "_nnull": true + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "first_name", + "last_name", + "avatar", + "title", + "id" + ], + "policy": "abf8a154-5b1c-4a46-ac9c-7300570f4f17" + }, + { + "collection": "directus_files", + "action": "read", + "permissions": { + "_and": [ + { + "folder": { + "_eq": "e6308546-92fb-4b10-b586-eefaf1d97f7f" + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "id" + ], + "policy": "ee1055a2-7c03-4b0b-9b65-ca68491b6329" + }, + { + "collection": "page_blocks", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "3ba01681-3a5f-4fe3-8e95-4706b39f7dc5" + }, + { + "collection": "pages", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "3ba01681-3a5f-4fe3-8e95-4706b39f7dc5" + }, + { + "collection": "posts", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "3ba01681-3a5f-4fe3-8e95-4706b39f7dc5" + }, + { + "collection": "posts", + "action": "create", + "permissions": null, + "validation": { + "_and": [ + { + "status": { + "_neq": "published" + } + } + ] + }, + "presets": { + "author": "$CURRENT_USER" + }, + "fields": [ + "*" + ], + "policy": "a15b697e-29d5-4164-8d24-eb228ba901e3" + }, + { + "collection": "posts", + "action": "read", + "permissions": { + "_and": [ + { + "author": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "a15b697e-29d5-4164-8d24-eb228ba901e3" + }, + { + "collection": "posts", + "action": "update", + "permissions": { + "_and": [ + { + "author": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": { + "_and": [ + { + "status": { + "_neq": "published" + } + } + ] + }, + "presets": null, + "fields": [ + "*" + ], + "policy": "a15b697e-29d5-4164-8d24-eb228ba901e3" + }, + { + "collection": "directus_folders", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_files", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "52598a64-071d-4071-96fa-4b620d6189b5" + }, + { + "collection": "directus_folders", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "directus_folders", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "directus_folders", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "directus_folders", + "action": "delete", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "directus_files", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "directus_files", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "directus_files", + "action": "update", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "directus_files", + "action": "delete", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "8ba4ed6f-d330-4675-ae46-119c533a0928" + }, + { + "collection": "directus_files", + "action": "create", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "a15b697e-29d5-4164-8d24-eb228ba901e3" + }, + { + "collection": "directus_files", + "action": "read", + "permissions": null, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "a15b697e-29d5-4164-8d24-eb228ba901e3" + }, + { + "collection": "directus_files", + "action": "update", + "permissions": { + "_and": [ + { + "uploaded_by": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "a15b697e-29d5-4164-8d24-eb228ba901e3" + }, + { + "collection": "directus_files", + "action": "delete", + "permissions": { + "_and": [ + { + "uploaded_by": { + "_eq": "$CURRENT_USER" + } + } + ] + }, + "validation": null, + "presets": null, + "fields": [ + "*" + ], + "policy": "a15b697e-29d5-4164-8d24-eb228ba901e3" + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/policies.json b/simple-website-cms/directus/template/src/policies.json new file mode 100644 index 00000000..0d88fde7 --- /dev/null +++ b/simple-website-cms/directus/template/src/policies.json @@ -0,0 +1,72 @@ +[ + { + "id": "3ba01681-3a5f-4fe3-8e95-4706b39f7dc5", + "name": "Content - Live Preview", + "icon": "preview", + "description": "Grants read access to all pages and posts. Used for Live Preview so you can preview draft content. Be careful not to expose tokens of users with this policy.", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false + }, + { + "id": "52598a64-071d-4071-96fa-4b620d6189b5", + "name": "Team - App Access", + "icon": "badge", + "description": "Grants Directus Studio access to team members", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": true + }, + { + "id": "8ba4ed6f-d330-4675-ae46-119c533a0928", + "name": "Content - Manage", + "icon": "edit", + "description": "Grants ability to read and edit ALL content.", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false + }, + { + "id": "a15b697e-29d5-4164-8d24-eb228ba901e3", + "name": "Content - Self", + "icon": "self_improvement", + "description": "Grants user ability to ONLY edit their own content. Cannot publish content.", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false + }, + { + "id": "abf8a154-5b1c-4a46-ac9c-7300570f4f17", + "name": "Content - Public", + "icon": "public", + "description": "Grants ability to read ALL public (published) content.", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false + }, + { + "id": "ee1055a2-7c03-4b0b-9b65-ca68491b6329", + "name": "Forms - Submission", + "icon": "smart_button", + "description": "Grants ability to create form submissions. Used in frontend.", + "ip_access": null, + "enforce_tfa": false, + "admin_access": false, + "app_access": false + }, + { + "id": "ef049c8b-546b-4bbc-9cd7-b05d77e58b66", + "name": "Administrator", + "icon": "verified", + "description": "$t:admin_policy_description", + "ip_access": null, + "enforce_tfa": false, + "admin_access": true, + "app_access": true + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/presets.json b/simple-website-cms/directus/template/src/presets.json new file mode 100644 index 00000000..448bebe7 --- /dev/null +++ b/simple-website-cms/directus/template/src/presets.json @@ -0,0 +1,260 @@ +[ + { + "bookmark": null, + "user": null, + "role": null, + "collection": "pages", + "search": null, + "layout": "tabular", + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "title", + "permalink", + "status", + "seo", + "published_at", + "blocks" + ], + "sort": [ + "sort" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "title": 179.501708984375, + "status": 149.625, + "seo": 97.2890625, + "published_at": 192.8046875, + "blocks": 106.703125 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark_border", + "color": null + }, + { + "bookmark": "1. Workflow", + "user": null, + "role": null, + "collection": "posts", + "search": null, + "layout": "kanban", + "layout_query": { + "tabular": { + "fields": [ + "status", + "image", + "title", + "date_published" + ], + "sort": [ + "-date_published" + ], + "page": 1 + } + }, + "layout_options": { + "kanban": { + "titleField": "title", + "showUngrouped": false, + "dateField": "published_at", + "textField": "description", + "crop": true, + "groupField": "status", + "groupTitle": null, + "userField": "author", + "tagsField": null + } + }, + "refresh_interval": null, + "filter": null, + "icon": "view_kanban", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "directus_files", + "search": null, + "layout": "cards", + "layout_query": { + "cards": { + "sort": [ + "-uploaded_on" + ], + "page": 1, + "limit": 25 + } + }, + "layout_options": { + "cards": { + "icon": "insert_drive_file", + "title": "{{ title }}", + "subtitle": "{{ type }} • {{ filesize }}", + "size": 4, + "imageFit": "crop" + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark_border", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "posts", + "search": null, + "layout": "tabular", + "layout_query": { + "tabular": { + "page": 1, + "fields": [ + "image", + "title", + "slug", + "status", + "seo", + "published_at", + "author" + ], + "limit": 25 + } + }, + "layout_options": { + "tabular": { + "widths": { + "image": 55.890625, + "title": 375.66015625, + "status": 141.15625, + "seo": 98.453125, + "published_at": 182.125 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark_border", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "directus_presets", + "search": null, + "layout": null, + "layout_query": { + "tabular": { + "page": 1, + "limit": 25, + "fields": [ + "bookmark", + "id", + "role", + "user", + "collection" + ], + "sort": [ + "-collection" + ] + } + }, + "layout_options": null, + "refresh_interval": null, + "filter": null, + "icon": "bookmark_border", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "forms", + "search": null, + "layout": "tabular", + "layout_query": { + "tabular": { + "fields": [ + "title", + "fields", + "submissions", + "is_active" + ] + } + }, + "layout_options": { + "tabular": { + "widths": {} + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "form_submissions", + "search": null, + "layout": "tabular", + "layout_query": { + "tabular": { + "fields": [ + "form", + "timestamp", + "values", + "id" + ] + } + }, + "layout_options": { + "tabular": { + "widths": {} + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + }, + { + "bookmark": null, + "user": null, + "role": null, + "collection": "navigation", + "search": null, + "layout": "tabular", + "layout_query": { + "tabular": { + "fields": [ + "title", + "id", + "items", + "is_active" + ] + } + }, + "layout_options": { + "tabular": { + "widths": { + "id": 114.37890625 + } + } + }, + "refresh_interval": null, + "filter": null, + "icon": "bookmark", + "color": null + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/relations.json b/simple-website-cms/directus/template/src/relations.json new file mode 100644 index 00000000..8980da89 --- /dev/null +++ b/simple-website-cms/directus/template/src/relations.json @@ -0,0 +1,676 @@ +[ + { + "collection": "block_gallery_items", + "field": "block_gallery", + "related_collection": "block_gallery", + "schema": { + "constraint_name": "block_gallery_items_block_gallery_foreign", + "table": "block_gallery_items", + "column": "block_gallery", + "foreign_key_schema": "public", + "foreign_key_table": "block_gallery", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "block_gallery_items", + "many_field": "block_gallery", + "one_collection": "block_gallery", + "one_field": "items", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "directus_file", + "sort_field": "sort", + "one_deselect_action": "delete" + } + }, + { + "collection": "block_gallery_items", + "field": "directus_file", + "related_collection": "directus_files", + "schema": { + "constraint_name": "block_gallery_items_directus_file_foreign", + "table": "block_gallery_items", + "column": "directus_file", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "block_gallery_items", + "many_field": "directus_file", + "one_collection": "directus_files", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "block_gallery", + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "block_hero", + "field": "image", + "related_collection": "directus_files", + "schema": { + "constraint_name": "block_hero_image_foreign", + "table": "block_hero", + "column": "image", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "block_hero", + "many_field": "image", + "one_collection": "directus_files", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "block_hero", + "field": "button_group", + "related_collection": "block_button_group", + "schema": { + "constraint_name": "block_hero_button_group_foreign", + "table": "block_hero", + "column": "button_group", + "foreign_key_schema": "public", + "foreign_key_table": "block_button_group", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "block_hero", + "many_field": "button_group", + "one_collection": "block_button_group", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "block_form", + "field": "form", + "related_collection": "forms", + "schema": { + "constraint_name": "block_form_form_foreign", + "table": "block_form", + "column": "form", + "foreign_key_schema": "public", + "foreign_key_table": "forms", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "block_form", + "many_field": "form", + "one_collection": "forms", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "block_pricing_cards", + "field": "button", + "related_collection": "block_button", + "schema": { + "constraint_name": "block_pricing_cards_button_foreign", + "table": "block_pricing_cards", + "column": "button", + "foreign_key_schema": "public", + "foreign_key_table": "block_button", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "block_pricing_cards", + "many_field": "button", + "one_collection": "block_button", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "block_pricing_cards", + "field": "pricing", + "related_collection": "block_pricing", + "schema": { + "constraint_name": "block_pricing_cards_pricing_foreign", + "table": "block_pricing_cards", + "column": "pricing", + "foreign_key_schema": "public", + "foreign_key_table": "block_pricing", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "block_pricing_cards", + "many_field": "pricing", + "one_collection": "block_pricing", + "one_field": "pricing_cards", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": "sort", + "one_deselect_action": "nullify" + } + }, + { + "collection": "form_submission_values", + "field": "field", + "related_collection": "form_fields", + "schema": { + "constraint_name": "form_submission_values_field_foreign", + "table": "form_submission_values", + "column": "field", + "foreign_key_schema": "public", + "foreign_key_table": "form_fields", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "form_submission_values", + "many_field": "field", + "one_collection": "form_fields", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "form_submission_values", + "field": "form_submission", + "related_collection": "form_submissions", + "schema": { + "constraint_name": "form_submission_values_form_submission_foreign", + "table": "form_submission_values", + "column": "form_submission", + "foreign_key_schema": "public", + "foreign_key_table": "form_submissions", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "form_submission_values", + "many_field": "form_submission", + "one_collection": "form_submissions", + "one_field": "values", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": "sort", + "one_deselect_action": "delete" + } + }, + { + "collection": "form_submission_values", + "field": "file", + "related_collection": "directus_files", + "schema": { + "constraint_name": "form_submission_values_file_foreign", + "table": "form_submission_values", + "column": "file", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "form_submission_values", + "many_field": "file", + "one_collection": "directus_files", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "form_fields", + "field": "form", + "related_collection": "forms", + "schema": { + "constraint_name": "form_fields_form_foreign", + "table": "form_fields", + "column": "form", + "foreign_key_schema": "public", + "foreign_key_table": "forms", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + }, + "meta": { + "many_collection": "form_fields", + "many_field": "form", + "one_collection": "forms", + "one_field": "fields", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": "sort", + "one_deselect_action": "delete" + } + }, + { + "collection": "globals", + "field": "logo", + "related_collection": "directus_files", + "schema": { + "constraint_name": "globals_logo_foreign", + "table": "globals", + "column": "logo", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "globals", + "many_field": "logo", + "one_collection": "directus_files", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "globals", + "field": "favicon", + "related_collection": "directus_files", + "schema": { + "constraint_name": "globals_favicon_foreign", + "table": "globals", + "column": "favicon", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "globals", + "many_field": "favicon", + "one_collection": "directus_files", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "globals", + "field": "logo_dark_mode", + "related_collection": "directus_files", + "schema": { + "constraint_name": "globals_logo_dark_mode_foreign", + "table": "globals", + "column": "logo_dark_mode", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "globals", + "many_field": "logo_dark_mode", + "one_collection": "directus_files", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "form_submissions", + "field": "form", + "related_collection": "forms", + "schema": { + "constraint_name": "form_submissions_form_foreign", + "table": "form_submissions", + "column": "form", + "foreign_key_schema": "public", + "foreign_key_table": "forms", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "form_submissions", + "many_field": "form", + "one_collection": "forms", + "one_field": "submissions", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "navigation_items", + "field": "post", + "related_collection": "posts", + "schema": { + "constraint_name": "navigation_items_post_foreign", + "table": "navigation_items", + "column": "post", + "foreign_key_schema": "public", + "foreign_key_table": "posts", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "navigation_items", + "many_field": "post", + "one_collection": "posts", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "navigation_items", + "field": "parent", + "related_collection": "navigation_items", + "schema": { + "constraint_name": "navigation_items_parent_foreign", + "table": "navigation_items", + "column": "parent", + "foreign_key_schema": "public", + "foreign_key_table": "navigation_items", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "navigation_items", + "many_field": "parent", + "one_collection": "navigation_items", + "one_field": "children", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": "sort", + "one_deselect_action": "nullify" + } + }, + { + "collection": "navigation_items", + "field": "page", + "related_collection": "pages", + "schema": { + "constraint_name": "navigation_items_page_foreign", + "table": "navigation_items", + "column": "page", + "foreign_key_schema": "public", + "foreign_key_table": "pages", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "navigation_items", + "many_field": "page", + "one_collection": "pages", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "navigation_items", + "field": "navigation", + "related_collection": "navigation", + "schema": { + "constraint_name": "navigation_items_navigation_foreign", + "table": "navigation_items", + "column": "navigation", + "foreign_key_schema": "public", + "foreign_key_table": "navigation", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "navigation_items", + "many_field": "navigation", + "one_collection": "navigation", + "one_field": "items", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": "sort", + "one_deselect_action": "nullify" + } + }, + { + "collection": "posts", + "field": "image", + "related_collection": "directus_files", + "schema": { + "constraint_name": "posts_image_foreign", + "table": "posts", + "column": "image", + "foreign_key_schema": "public", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + }, + "meta": { + "many_collection": "posts", + "many_field": "image", + "one_collection": "directus_files", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "posts", + "field": "author", + "related_collection": "directus_users", + "schema": { + "constraint_name": "posts_author_foreign", + "table": "posts", + "column": "author", + "foreign_key_schema": "public", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "posts", + "many_field": "author", + "one_collection": "directus_users", + "one_field": "posts", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": "sort", + "one_deselect_action": "nullify" + } + }, + { + "collection": "page_blocks", + "field": "page", + "related_collection": "pages", + "schema": { + "constraint_name": "page_blocks_pages_id_foreign", + "table": "page_blocks", + "column": "page", + "foreign_key_schema": "public", + "foreign_key_table": "pages", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "page_blocks", + "many_field": "page", + "one_collection": "pages", + "one_field": "blocks", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": "item", + "sort_field": "sort", + "one_deselect_action": "nullify" + } + }, + { + "collection": "block_button", + "field": "post", + "related_collection": "posts", + "schema": { + "constraint_name": "block_button_post_foreign", + "table": "block_button", + "column": "post", + "foreign_key_schema": "public", + "foreign_key_table": "posts", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "block_button", + "many_field": "post", + "one_collection": "posts", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "block_button", + "field": "page", + "related_collection": "pages", + "schema": { + "constraint_name": "block_button_page_foreign", + "table": "block_button", + "column": "page", + "foreign_key_schema": "public", + "foreign_key_table": "pages", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "block_button", + "many_field": "page", + "one_collection": "pages", + "one_field": null, + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": null, + "one_deselect_action": "nullify" + } + }, + { + "collection": "block_button", + "field": "button_group", + "related_collection": "block_button_group", + "schema": { + "constraint_name": "block_button_button_group_foreign", + "table": "block_button", + "column": "button_group", + "foreign_key_schema": "public", + "foreign_key_table": "block_button_group", + "foreign_key_column": "id", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + }, + "meta": { + "many_collection": "block_button", + "many_field": "button_group", + "one_collection": "block_button_group", + "one_field": "buttons", + "one_collection_field": null, + "one_allowed_collections": null, + "junction_field": null, + "sort_field": "sort", + "one_deselect_action": "nullify" + } + }, + { + "collection": "page_blocks", + "field": "item", + "related_collection": null, + "schema": null, + "meta": { + "many_collection": "page_blocks", + "many_field": "item", + "one_collection": null, + "one_field": null, + "one_collection_field": "collection", + "one_allowed_collections": [ + "block_hero", + "block_richtext", + "block_form", + "block_posts", + "block_gallery", + "block_pricing" + ], + "junction_field": "page", + "sort_field": null, + "one_deselect_action": "nullify" + } + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/roles.json b/simple-website-cms/directus/template/src/roles.json new file mode 100644 index 00000000..8f6d382c --- /dev/null +++ b/simple-website-cms/directus/template/src/roles.json @@ -0,0 +1,42 @@ +[ + { + "id": "3a4464fb-2189-4710-a164-2503eed88ae7", + "name": "Writer", + "icon": "docs_add_on", + "description": "Role that can create new posts and edit their own posts.", + "parent": null, + "children": null, + "policies": null, + "users": null + }, + { + "id": "4516009c-8a04-49e4-b4ac-fd4883da6064", + "name": "Editor", + "icon": "nest_wake_on_approach", + "description": "Role that has the ability to edit and publish all content.", + "parent": null, + "children": null, + "policies": null, + "users": null + }, + { + "id": "d70780bd-f3ed-418b-98c2-f5354fd3fa68", + "name": "Content Admin", + "icon": "admin_panel_settings", + "description": "Role with full rights to edit all content. Useful for simple sites or those without publishing approval workflows.", + "parent": null, + "children": null, + "policies": null, + "users": null + }, + { + "id": "ef049c8b-546b-4bbc-9cd7-b05d77e58b66", + "name": "Administrator", + "icon": "verified", + "description": "$t:admin_description", + "parent": null, + "children": null, + "policies": null, + "users": null + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/schema/snapshot.json b/simple-website-cms/directus/template/src/schema/snapshot.json new file mode 100644 index 00000000..e8c4e84b --- /dev/null +++ b/simple-website-cms/directus/template/src/schema/snapshot.json @@ -0,0 +1,10226 @@ +{ + "version": 1, + "directus": "11.6.1", + "vendor": "postgres", + "collections": [ + { + "collection": "block_button", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": "archived", + "collapse": "open", + "collection": "block_button", + "color": null, + "display_template": "{{label}} - {{type}}", + "group": "block_button_group", + "hidden": true, + "icon": null, + "item_duplication_fields": [ + "sort", + "type", + "page", + "post", + "url", + "label", + "variant" + ], + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": "sort", + "translations": [ + { + "language": "en-US", + "plural": "Buttons", + "singular": "Button", + "translation": "Button" + } + ], + "unarchive_value": "draft", + "versioning": false + }, + "schema": { + "name": "block_button" + } + }, + { + "collection": "block_button_group", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": "archived", + "collapse": "open", + "collection": "block_button_group", + "color": "#18222F", + "display_template": "{{buttons.label}}", + "group": "blocks", + "hidden": true, + "icon": "smart_button", + "item_duplication_fields": [ + "sort", + "buttons.sort", + "buttons.type", + "buttons.page", + "buttons.post", + "buttons.url", + "buttons.label", + "buttons.variant" + ], + "note": null, + "preview_url": null, + "singleton": false, + "sort": 8, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "plural": "Button Groups", + "singular": "Button Group", + "translation": "Button Group" + } + ], + "unarchive_value": "draft", + "versioning": false + }, + "schema": { + "name": "block_button_group" + } + }, + { + "collection": "block_form", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "block_form", + "color": null, + "display_template": "{{form.title}}", + "group": "blocks", + "hidden": true, + "icon": "format_shapes", + "item_duplication_fields": [ + "tagline", + "headline", + "form" + ], + "note": null, + "preview_url": null, + "singleton": false, + "sort": 3, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "translation": "Form" + } + ], + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "block_form" + } + }, + { + "collection": "block_gallery", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "block_gallery", + "color": "#1A212C", + "display_template": "{{headline}}", + "group": "blocks", + "hidden": true, + "icon": "grid_view", + "item_duplication_fields": [ + "tagline", + "headline", + "items.block_gallery", + "items.directus_file", + "items.sort" + ], + "note": null, + "preview_url": null, + "singleton": false, + "sort": 5, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "plural": "Gallery", + "singular": "Gallery", + "translation": "Gallery" + } + ], + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "block_gallery" + } + }, + { + "collection": "block_gallery_items", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "block_gallery_items", + "color": null, + "display_template": null, + "group": "block_gallery", + "hidden": true, + "icon": null, + "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": "block_gallery_items" + } + }, + { + "collection": "block_hero", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "block_hero", + "color": "#1A212C", + "display_template": "{{headline}}", + "group": "blocks", + "hidden": true, + "icon": "aspect_ratio", + "item_duplication_fields": [ + "tagline", + "description", + "headline", + "image", + "layout", + "button_group.sort", + "button_group.buttons.sort", + "button_group.buttons.type", + "button_group.buttons.page", + "button_group.buttons.post", + "button_group.buttons.url", + "button_group.buttons.label", + "button_group.buttons.variant" + ], + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "plural": "Hero", + "singular": "Hero", + "translation": "Hero" + } + ], + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "block_hero" + } + }, + { + "collection": "block_posts", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "block_posts", + "color": null, + "display_template": "{{headline}}", + "group": "blocks", + "hidden": true, + "icon": "signpost", + "item_duplication_fields": [ + "tagline", + "headline", + "collection", + "limit" + ], + "note": null, + "preview_url": null, + "singleton": false, + "sort": 4, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "translation": "Posts" + } + ], + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "block_posts" + } + }, + { + "collection": "block_pricing", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "block_pricing", + "color": null, + "display_template": "{{headline}}", + "group": "blocks", + "hidden": true, + "icon": "attach_money", + "item_duplication_fields": [ + "tagline", + "headline", + "pricing_cards.title", + "pricing_cards.badge", + "pricing_cards.price", + "pricing_cards.is_highlighted", + "pricing_cards.features", + "pricing_cards.description", + "pricing_cards.sort", + "pricing_cards.button.type", + "pricing_cards.button.sort", + "pricing_cards.button.page", + "pricing_cards.button.post", + "pricing_cards.button.url", + "pricing_cards.button.label", + "pricing_cards.button.variant" + ], + "note": null, + "preview_url": null, + "singleton": false, + "sort": 7, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "translation": "Pricing" + } + ], + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "block_pricing" + } + }, + { + "collection": "block_pricing_cards", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "block_pricing_cards", + "color": null, + "display_template": null, + "group": "block_pricing", + "hidden": true, + "icon": null, + "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": "block_pricing_cards" + } + }, + { + "collection": "block_richtext", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "block_richtext", + "color": "#1A212C", + "display_template": "{{headline}}", + "group": "blocks", + "hidden": true, + "icon": "format_color_text", + "item_duplication_fields": [ + "tagline", + "headline", + "content", + "alignment" + ], + "note": null, + "preview_url": null, + "singleton": false, + "sort": 2, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "plural": "Rich Text", + "singular": "Rich Text", + "translation": "Rich Text" + } + ], + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "block_richtext" + } + }, + { + "collection": "blocks", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "closed", + "collection": "blocks", + "color": "#1A212C", + "display_template": null, + "group": null, + "hidden": true, + "icon": "content_copy", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 2, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + } + }, + { + "collection": "form_fields", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "form_fields", + "color": null, + "display_template": "{{name}} • {{type}}", + "group": "forms", + "hidden": true, + "icon": null, + "item_duplication_fields": null, + "note": "Individual fields for each form", + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "form_fields" + } + }, + { + "collection": "form_submission_values", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "form_submission_values", + "color": null, + "display_template": null, + "group": "form_submissions", + "hidden": true, + "icon": "list", + "item_duplication_fields": null, + "note": "Individual responses to each form field within a form submission", + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": [ + { + "language": "en-US", + "translation": "Submission Values" + } + ], + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "form_submission_values" + } + }, + { + "collection": "form_submissions", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "form_submissions", + "color": null, + "display_template": "{{timestamp}} • {{form}}", + "group": "website", + "hidden": false, + "icon": "inbox", + "item_duplication_fields": null, + "note": "Data for all form responses", + "preview_url": null, + "singleton": false, + "sort": 4, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "form_submissions" + } + }, + { + "collection": "forms", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": "is_active", + "archive_value": "false", + "collapse": "open", + "collection": "forms", + "color": null, + "display_template": "{{title}}", + "group": "website", + "hidden": false, + "icon": "text_format", + "item_duplication_fields": [ + "title", + "submit_label", + "on_success", + "success_message", + "success_redirect_url", + "status", + "fields", + "emails" + ], + "note": "Dynamic forms", + "preview_url": null, + "singleton": false, + "sort": 3, + "sort_field": "sort", + "translations": null, + "unarchive_value": "true", + "versioning": false + }, + "schema": { + "name": "forms" + } + }, + { + "collection": "globals", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "globals", + "color": null, + "display_template": null, + "group": "website", + "hidden": false, + "icon": "south_america", + "item_duplication_fields": null, + "note": "Site-wide settings", + "preview_url": null, + "singleton": true, + "sort": 6, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "globals" + } + }, + { + "collection": "navigation", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": "is_active", + "archive_value": "false", + "collapse": "open", + "collection": "navigation", + "color": null, + "display_template": null, + "group": "website", + "hidden": false, + "icon": "menu_open", + "item_duplication_fields": [ + "title", + "status", + "items.title", + "items.type", + "items.url", + "items.children", + "items.parent", + "items.page", + "items.post" + ], + "note": "Dynamic menus for your site", + "preview_url": null, + "singleton": false, + "sort": 5, + "sort_field": null, + "translations": null, + "unarchive_value": "true", + "versioning": false + }, + "schema": { + "name": "navigation" + } + }, + { + "collection": "navigation_items", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "navigation_items", + "color": "#18222F", + "display_template": "{{title}}", + "group": "navigation", + "hidden": true, + "icon": "navigate_next", + "item_duplication_fields": [ + "children", + "has_children", + "image", + "label", + "navigation", + "open_in_new_tab", + "title", + "type", + "url", + "post", + "page", + "sort" + ], + "note": "Individual menu items", + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "navigation_items" + } + }, + { + "collection": "page_blocks", + "meta": { + "accountability": "all", + "archive_app_filter": false, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "page_blocks", + "color": "#18222F", + "display_template": null, + "group": "pages", + "hidden": true, + "icon": "code_blocks", + "item_duplication_fields": [ + "page", + "sort", + "item:block_hero.tagline", + "item:block_hero.headline", + "item:block_hero.description", + "item:block_hero.button_group.sort", + "item:block_hero.button_group.buttons.sort", + "item:block_hero.button_group.buttons.type", + "item:block_hero.button_group.buttons.page", + "item:block_hero.button_group.buttons.post", + "item:block_hero.button_group.buttons.url", + "item:block_hero.button_group.buttons.label", + "item:block_hero.button_group.buttons.variant", + "item:block_hero.image", + "item:block_richtext.tagline", + "item:block_richtext.headline", + "item:block_richtext.content", + "item:block_richtext.alignment", + "item:block_form.tagline", + "item:block_form.headline", + "item:block_form.form", + "item:block_posts.tagline", + "item:block_posts.headline", + "item:block_posts.collection", + "item:block_gallery.tagline", + "item:block_gallery.headline", + "item:block_gallery.items", + "item:block_pricing.tagline", + "item:block_pricing.headline", + "item:block_pricing.pricing_cards.title", + "item:block_pricing.pricing_cards.badge", + "item:block_pricing.pricing_cards.price", + "item:block_pricing.pricing_cards.is_highlighted", + "item:block_pricing.pricing_cards.description", + "item:block_pricing.pricing_cards.features", + "item:block_pricing.pricing_cards.button.sort", + "item:block_pricing.pricing_cards.button.type", + "item:block_pricing.pricing_cards.button.page", + "item:block_pricing.pricing_cards.button.post", + "item:block_pricing.pricing_cards.button.url", + "item:block_pricing.pricing_cards.button.variant", + "item:block_pricing.pricing_cards.button.label", + "item:block_pricing.pricing_cards.sort", + "collection", + "hide_block", + "background" + ], + "note": null, + "preview_url": null, + "singleton": false, + "sort": 3, + "sort_field": "sort", + "translations": null, + "unarchive_value": null, + "versioning": false + }, + "schema": { + "name": "page_blocks" + } + }, + { + "collection": "pages", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": "status", + "archive_value": "archived", + "collapse": "open", + "collection": "pages", + "color": null, + "display_template": "{{title}}", + "group": "website", + "hidden": false, + "icon": "web_asset", + "item_duplication_fields": [ + "sort", + "title", + "permalink", + "status", + "published_at", + "seo", + "blocks.sort", + "blocks.page", + "blocks.item:block_hero.tagline", + "blocks.item:block_hero.headline", + "blocks.item:block_hero.description", + "blocks.item:block_hero.button_group.sort", + "blocks.item:block_hero.button_group.buttons.sort", + "blocks.item:block_hero.button_group.buttons.type", + "blocks.item:block_hero.button_group.buttons.page", + "blocks.item:block_hero.button_group.buttons.post", + "blocks.item:block_hero.button_group.buttons.url", + "blocks.item:block_hero.button_group.buttons.label", + "blocks.item:block_hero.button_group.buttons.variant", + "blocks.item:block_hero.image", + "blocks.item:block_hero.layout", + "blocks.item:block_richtext.tagline", + "blocks.item:block_richtext.headline", + "blocks.item:block_richtext.content", + "blocks.item:block_richtext.alignment", + "blocks.item:block_form.tagline", + "blocks.item:block_form.headline", + "blocks.item:block_form.form", + "blocks.item:block_posts.tagline", + "blocks.item:block_posts.headline", + "blocks.item:block_posts.collection", + "blocks.item:block_posts.limit", + "blocks.item:block_gallery.tagline", + "blocks.item:block_gallery.headline", + "blocks.item:block_gallery.items.block_gallery", + "blocks.item:block_gallery.items.directus_file", + "blocks.item:block_gallery.items.sort", + "blocks.item:block_pricing.tagline", + "blocks.item:block_pricing.headline", + "blocks.item:block_pricing.pricing_cards.title", + "blocks.item:block_pricing.pricing_cards.badge", + "blocks.item:block_pricing.pricing_cards.price", + "blocks.item:block_pricing.pricing_cards.is_highlighted", + "blocks.item:block_pricing.pricing_cards.description", + "blocks.item:block_pricing.pricing_cards.features", + "blocks.item:block_pricing.pricing_cards.button.sort", + "blocks.item:block_pricing.pricing_cards.button.type", + "blocks.item:block_pricing.pricing_cards.button.page", + "blocks.item:block_pricing.pricing_cards.button.post", + "blocks.item:block_pricing.pricing_cards.button.url", + "blocks.item:block_pricing.pricing_cards.button.label", + "blocks.item:block_pricing.pricing_cards.button.variant", + "blocks.item:block_pricing.pricing_cards.sort", + "blocks.collection", + "blocks.hide_block", + "blocks.background" + ], + "note": "Dynamic page builder", + "preview_url": "http://localhost:3000{{permalink}}?preview=true&version={{$version}}", + "singleton": false, + "sort": 1, + "sort_field": "sort", + "translations": null, + "unarchive_value": "draft", + "versioning": true + }, + "schema": { + "name": "pages" + } + }, + { + "collection": "posts", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": "status", + "archive_value": "archived", + "collapse": "open", + "collection": "posts", + "color": null, + "display_template": "{{title}}", + "group": "website", + "hidden": false, + "icon": "article", + "item_duplication_fields": [ + "title", + "slug", + "author", + "status", + "image", + "description", + "content", + "seo" + ], + "note": "Individual blog posts", + "preview_url": "http://localhost:3000/blog/{{slug}}?preview=true&version={{$version}}", + "singleton": false, + "sort": 2, + "sort_field": "sort", + "translations": null, + "unarchive_value": "draft", + "versioning": true + }, + "schema": { + "name": "posts" + } + }, + { + "collection": "website", + "meta": { + "accountability": "all", + "archive_app_filter": true, + "archive_field": null, + "archive_value": null, + "collapse": "open", + "collection": "website", + "color": null, + "display_template": null, + "group": null, + "hidden": false, + "icon": "folder_special", + "item_duplication_fields": null, + "note": null, + "preview_url": null, + "singleton": false, + "sort": 1, + "sort_field": null, + "translations": null, + "unarchive_value": null, + "versioning": false + } + } + ], + "fields": [ + { + "collection": "block_button", + "field": "id", + "type": "uuid", + "meta": { + "collection": "block_button", + "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": "block_button", + "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 + } + }, + { + "collection": "block_button", + "field": "sort", + "type": "integer", + "meta": { + "collection": "block_button", + "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": "block_button", + "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 + } + }, + { + "collection": "block_button", + "field": "type", + "type": "string", + "meta": { + "collection": "block_button", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "icon": "web_asset", + "text": "Page", + "value": "page" + }, + { + "icon": "article", + "text": "Post", + "value": "post" + }, + { + "icon": "link", + "text": "URL", + "value": "url" + } + ], + "format": true + }, + "field": "type", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": "What type of link is this? Page and Post allow you to link to internal content. URL is for external content. Group can contain other menu items.", + "options": { + "choices": [ + { + "icon": "web_asset", + "text": "Page", + "value": "page" + }, + { + "icon": "article", + "text": "Post", + "value": "post" + }, + { + "icon": "link", + "text": "URL", + "value": "url" + } + ] + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "type", + "table": "block_button", + "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 + } + }, + { + "collection": "block_button", + "field": "page", + "type": "uuid", + "meta": { + "collection": "block_button", + "conditions": [ + { + "hidden": false, + "name": "IF type = pages", + "options": { + "enableCreate": true, + "enableSelect": true + }, + "rule": { + "_and": [ + { + "type": { + "_eq": "page" + } + } + ] + } + } + ], + "display": "related-values", + "display_options": null, + "field": "page", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": "The internal page to link to.", + "options": { + "template": "{{title}} - {{permalink}}" + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "page", + "table": "block_button", + "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": "pages", + "foreign_key_column": "id" + } + }, + { + "collection": "block_button", + "field": "post", + "type": "uuid", + "meta": { + "collection": "block_button", + "conditions": [ + { + "hidden": false, + "name": "IF type = post", + "options": { + "enableCreate": true, + "enableSelect": true + }, + "rule": { + "_and": [ + { + "type": { + "_eq": "post" + } + } + ] + } + } + ], + "display": "related-values", + "display_options": null, + "field": "post", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": "The internal post to link to.", + "options": { + "template": "{{title}} - {{slug}}" + }, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "post", + "table": "block_button", + "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": "posts", + "foreign_key_column": "id" + } + }, + { + "collection": "block_button", + "field": "label", + "type": "string", + "meta": { + "collection": "block_button", + "conditions": null, + "display": null, + "display_options": null, + "field": "label", + "group": null, + "hidden": false, + "interface": "input", + "note": "Text to include on the button.", + "options": null, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "label", + "table": "block_button", + "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 + } + }, + { + "collection": "block_button", + "field": "variant", + "type": "string", + "meta": { + "collection": "block_button", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true + }, + "field": "variant", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": "What type of button", + "options": { + "choices": [ + { + "text": "Default", + "value": "default" + }, + { + "text": "Outline", + "value": "outline" + }, + { + "text": "Soft", + "value": "soft" + }, + { + "text": "Ghost", + "value": "ghost" + }, + { + "text": "Link", + "value": "link" + } + ] + }, + "readonly": false, + "required": false, + "sort": 10, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "variant", + "table": "block_button", + "data_type": "character varying", + "default_value": "solid", + "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 + } + }, + { + "collection": "block_button", + "field": "button_group", + "type": "uuid", + "meta": { + "collection": "block_button", + "conditions": null, + "display": null, + "display_options": null, + "field": "button_group", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": "The id of the Button Group this button belongs to.", + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "button_group", + "table": "block_button", + "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": "block_button_group", + "foreign_key_column": "id" + } + }, + { + "collection": "block_button", + "field": "url", + "type": "string", + "meta": { + "collection": "block_button", + "conditions": [ + { + "hidden": false, + "name": "If type = external", + "options": { + "clear": false, + "font": "sans-serif", + "masked": false, + "slug": false, + "trim": false + }, + "rule": { + "_and": [ + { + "type": { + "_eq": "url" + } + } + ] + } + } + ], + "display": "formatted-value", + "display_options": { + "format": true + }, + "field": "url", + "group": null, + "hidden": true, + "interface": "input", + "note": "The URL to link to. Could be relative (ie `/my-page`) or a full external URL (ie `https://docs.directus.io`)", + "options": { + "iconLeft": "link", + "trim": true + }, + "readonly": false, + "required": false, + "sort": 7, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "url", + "table": "block_button", + "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 + } + }, + { + "collection": "block_button_group", + "field": "id", + "type": "uuid", + "meta": { + "collection": "block_button_group", + "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": "block_button_group", + "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 + } + }, + { + "collection": "block_button_group", + "field": "sort", + "type": "integer", + "meta": { + "collection": "block_button_group", + "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": "block_button_group", + "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 + } + }, + { + "collection": "block_button_group", + "field": "buttons", + "type": "alias", + "meta": { + "collection": "block_button_group", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{label}} - {{type}}" + }, + "field": "buttons", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": "Add individual buttons to the button group.", + "options": { + "enableLink": true, + "template": "{{label}} - {{type}}" + }, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "block_form", + "field": "id", + "type": "uuid", + "meta": { + "collection": "block_form", + "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": "block_form", + "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 + } + }, + { + "collection": "block_form", + "field": "form", + "type": "uuid", + "meta": { + "collection": "block_form", + "conditions": null, + "display": null, + "display_options": null, + "field": "form", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": "Form to show within block", + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "form", + "table": "block_form", + "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": "forms", + "foreign_key_column": "id" + } + }, + { + "collection": "block_form", + "field": "headline", + "type": "text", + "meta": { + "collection": "block_form", + "conditions": null, + "display": null, + "display_options": null, + "field": "headline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Larger main headline for this page section.", + "options": { + "defaultView": { + "bearing": 0, + "center": { + "lat": 0, + "lng": 0 + }, + "pitch": 0, + "zoom": 0 + }, + "geometryType": "Point" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "headline", + "table": "block_form", + "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 + } + }, + { + "collection": "block_form", + "field": "tagline", + "type": "string", + "meta": { + "collection": "block_form", + "conditions": null, + "display": null, + "display_options": null, + "field": "tagline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Smaller copy shown above the headline to label a section or add extra context.", + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tagline", + "table": "block_form", + "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 + } + }, + { + "collection": "block_form", + "field": "meta_header_block_form", + "type": "alias", + "meta": { + "collection": "block_form", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_block_form", + "group": null, + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "help": "

Embed interactive forms to collect information from your visitors. Great for:

\n\n

When adding a form:

\n\n

You can create or edit forms outside of this block in the Forms collection.

", + "icon": "format_shapes", + "title": "Form Block" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "block_gallery", + "field": "headline", + "type": "text", + "meta": { + "collection": "block_gallery", + "conditions": null, + "display": null, + "display_options": null, + "field": "headline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Larger main headline for this page section.", + "options": { + "toolbar": [ + "italic", + "removeformat" + ] + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "headline", + "table": "block_gallery", + "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 + } + }, + { + "collection": "block_gallery", + "field": "id", + "type": "uuid", + "meta": { + "collection": "block_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": "block_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 + } + }, + { + "collection": "block_gallery", + "field": "items", + "type": "alias", + "meta": { + "collection": "block_gallery", + "conditions": null, + "display": null, + "display_options": null, + "field": "items", + "group": null, + "hidden": false, + "interface": "files", + "note": "Images to include in the image gallery.", + "options": { + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "files" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "block_gallery", + "field": "tagline", + "type": "string", + "meta": { + "collection": "block_gallery", + "conditions": null, + "display": null, + "display_options": null, + "field": "tagline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Smaller copy shown above the headline to label a section or add extra context.", + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tagline", + "table": "block_gallery", + "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 + } + }, + { + "collection": "block_gallery", + "field": "meta_header_block_gallery", + "type": "alias", + "meta": { + "collection": "block_gallery", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_block_gallery", + "group": null, + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "help": "

Create visual showcases with multiple images. Ideal for:

\n\n

Tips for great galleries:

\n", + "icon": "grid_view", + "title": "Gallery Block" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "block_gallery_items", + "field": "id", + "type": "uuid", + "meta": { + "collection": "block_gallery_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": "block_gallery_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 + } + }, + { + "collection": "block_gallery_items", + "field": "block_gallery", + "type": "uuid", + "meta": { + "collection": "block_gallery_items", + "conditions": null, + "display": null, + "display_options": null, + "field": "block_gallery", + "group": null, + "hidden": true, + "interface": null, + "note": "The id of the gallery block this item belongs to.", + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "block_gallery", + "table": "block_gallery_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": "block_gallery", + "foreign_key_column": "id" + } + }, + { + "collection": "block_gallery_items", + "field": "directus_file", + "type": "uuid", + "meta": { + "collection": "block_gallery_items", + "conditions": null, + "display": null, + "display_options": null, + "field": "directus_file", + "group": null, + "hidden": true, + "interface": null, + "note": "The id of the file included in the gallery.", + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "directus_file", + "table": "block_gallery_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" + } + }, + { + "collection": "block_gallery_items", + "field": "sort", + "type": "integer", + "meta": { + "collection": "block_gallery_items", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "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": "sort", + "table": "block_gallery_items", + "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 + } + }, + { + "collection": "block_hero", + "field": "headline", + "type": "text", + "meta": { + "collection": "block_hero", + "conditions": null, + "display": "raw", + "display_options": { + "background": "#A2B5CD" + }, + "field": "headline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Larger main headline for this page section.", + "options": { + "defaultView": { + "bearing": 0, + "center": { + "lat": 0, + "lng": 0 + }, + "pitch": 0, + "zoom": 0 + }, + "geometryType": "Point" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "headline", + "table": "block_hero", + "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 + } + }, + { + "collection": "block_hero", + "field": "id", + "type": "uuid", + "meta": { + "collection": "block_hero", + "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": "block_hero", + "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 + } + }, + { + "collection": "block_hero", + "field": "image", + "type": "uuid", + "meta": { + "collection": "block_hero", + "conditions": null, + "display": null, + "display_options": null, + "field": "image", + "group": null, + "hidden": false, + "interface": "file-image", + "note": "Featured image in the hero.", + "options": { + "crop": false, + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "image", + "table": "block_hero", + "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" + } + }, + { + "collection": "block_hero", + "field": "button_group", + "type": "uuid", + "meta": { + "collection": "block_hero", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{buttons.label}}" + }, + "field": "button_group", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": "Action buttons that show below headline and description.", + "options": { + "createRelatedItem": "always", + "enableLink": true, + "enableSelect": false, + "template": "{{buttons.label}}" + }, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "button_group", + "table": "block_hero", + "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": "block_button_group", + "foreign_key_column": "id" + } + }, + { + "collection": "block_hero", + "field": "description", + "type": "text", + "meta": { + "collection": "block_hero", + "conditions": null, + "display": null, + "display_options": null, + "field": "description", + "group": null, + "hidden": false, + "interface": "input-multiline", + "note": "Supporting copy that shows below the headline.", + "options": { + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "description", + "table": "block_hero", + "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 + } + }, + { + "collection": "block_hero", + "field": "tagline", + "type": "string", + "meta": { + "collection": "block_hero", + "conditions": null, + "display": null, + "display_options": null, + "field": "tagline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Smaller copy shown above the headline to label a section or add extra context.", + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tagline", + "table": "block_hero", + "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 + } + }, + { + "collection": "block_hero", + "field": "meta_divider_block_here", + "type": "alias", + "meta": { + "collection": "block_hero", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_divider_block_here", + "group": null, + "hidden": false, + "interface": "presentation-divider", + "note": null, + "options": { + "color": "#A2B5CD", + "icon": "image", + "inlineTitle": true + }, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "block_hero", + "field": "layout", + "type": "string", + "meta": { + "collection": "block_hero", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "icon": "format_image_left", + "text": "Image Left", + "value": "image_left" + }, + { + "icon": "image", + "text": "Image Center", + "value": "image_center" + }, + { + "icon": "format_image_right", + "text": "Image Right", + "value": "image_right" + } + ], + "format": true + }, + "field": "layout", + "group": null, + "hidden": false, + "interface": "radio-cards-interface", + "note": "The layout for the component. You can set the image to display left, right, or in the center of page..", + "options": { + "choices": [ + { + "icon": "format_image_left", + "icon_type": "image", + "image": "d5a1290f-8819-4e7c-b292-bffe5b1c8274.jpg", + "text": "Image Left", + "value": "image_left" + }, + { + "icon": "image", + "icon_type": "image", + "image": "8a652e52-a275-4dde-9fc5-edf2188afe56.jpg", + "text": "Image Center", + "value": "image_center" + }, + { + "icon": "format_image_right", + "icon_type": "image", + "image": "fe7c7e04-5aac-4370-8bbd-6fd578d26ea1.jpg", + "text": "Image Right", + "value": "image_right" + } + ], + "gridSize": 3 + }, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "layout", + "table": "block_hero", + "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 + } + }, + { + "collection": "block_hero", + "field": "meta_header_block_hero", + "type": "alias", + "meta": { + "collection": "block_hero", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_block_hero", + "group": null, + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "help": "

Creates a prominent section at the top of your page that immediately captures attention. Ideal for:

\n\n

Tips for effective heroes:

\n", + "icon": "aspect_ratio", + "title": "Hero Block" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "block_posts", + "field": "id", + "type": "uuid", + "meta": { + "collection": "block_posts", + "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": "block_posts", + "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 + } + }, + { + "collection": "block_posts", + "field": "headline", + "type": "text", + "meta": { + "collection": "block_posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "headline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Larger main headline for this page section.", + "options": { + "defaultView": { + "bearing": 0, + "center": { + "lat": 0, + "lng": 0 + }, + "pitch": 0, + "zoom": 0 + }, + "geometryType": "Point" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "headline", + "table": "block_posts", + "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 + } + }, + { + "collection": "block_posts", + "field": "collection", + "type": "string", + "meta": { + "collection": "block_posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "collection", + "group": null, + "hidden": false, + "interface": "select-radio", + "note": "The collection of content to fetch and display on the page within this block.", + "options": { + "choices": [ + { + "text": "Posts", + "value": "posts" + } + ] + }, + "readonly": false, + "required": true, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "collection", + "table": "block_posts", + "data_type": "character varying", + "default_value": "posts", + "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 + } + }, + { + "collection": "block_posts", + "field": "tagline", + "type": "string", + "meta": { + "collection": "block_posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "tagline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Smaller copy shown above the headline to label a section or add extra context.", + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tagline", + "table": "block_posts", + "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 + } + }, + { + "collection": "block_posts", + "field": "limit", + "type": "integer", + "meta": { + "collection": "block_posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "limit", + "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": "limit", + "table": "block_posts", + "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 + } + }, + { + "collection": "block_posts", + "field": "meta_header_block_posts", + "type": "alias", + "meta": { + "collection": "block_posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_block_posts", + "group": null, + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "help": "

Automatically displays your most recent blog posts in chronological order. Perfect for:

\n\n

You can:

\n\n

The posts will automatically update as you publish new content, ensuring your pages always show your latest articles.

", + "icon": "signpost", + "title": "Posts Block" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "block_pricing", + "field": "id", + "type": "uuid", + "meta": { + "collection": "block_pricing", + "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": "block_pricing", + "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 + } + }, + { + "collection": "block_pricing", + "field": "headline", + "type": "text", + "meta": { + "collection": "block_pricing", + "conditions": null, + "display": null, + "display_options": null, + "field": "headline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Larger main headline for this page section.", + "options": { + "defaultView": { + "bearing": 0, + "center": { + "lat": 0, + "lng": 0 + }, + "pitch": 0, + "zoom": 0 + }, + "geometryType": "Point" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "headline", + "table": "block_pricing", + "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 + } + }, + { + "collection": "block_pricing", + "field": "pricing_cards", + "type": "alias", + "meta": { + "collection": "block_pricing", + "conditions": null, + "display": null, + "display_options": null, + "field": "pricing_cards", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": "The individual pricing cards to display.", + "options": { + "template": "{{title}} • {{price}}" + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "block_pricing", + "field": "tagline", + "type": "string", + "meta": { + "collection": "block_pricing", + "conditions": null, + "display": null, + "display_options": null, + "field": "tagline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Smaller copy shown above the headline to label a section or add extra context.", + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tagline", + "table": "block_pricing", + "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 + } + }, + { + "collection": "block_pricing", + "field": "meta_header_block_pricing", + "type": "alias", + "meta": { + "collection": "block_pricing", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_block_pricing", + "group": null, + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "help": "

Display your product or service pricing options in a clear, comparative format. Use this when:

\n\n

Best practices:

\n", + "icon": "attach_money", + "title": "Pricing Block" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "block_pricing_cards", + "field": "id", + "type": "uuid", + "meta": { + "collection": "block_pricing_cards", + "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": "block_pricing_cards", + "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 + } + }, + { + "collection": "block_pricing_cards", + "field": "title", + "type": "string", + "meta": { + "collection": "block_pricing_cards", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": null, + "hidden": false, + "interface": "input", + "note": "Name of the pricing plan. Shown at the top of the card.", + "options": { + "placeholder": "Starter Plan" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "title", + "table": "block_pricing_cards", + "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 + } + }, + { + "collection": "block_pricing_cards", + "field": "description", + "type": "text", + "meta": { + "collection": "block_pricing_cards", + "conditions": null, + "display": null, + "display_options": null, + "field": "description", + "group": null, + "hidden": false, + "interface": "input-multiline", + "note": "Short, one sentence description of the pricing plan and who it is for.", + "options": { + "placeholder": "For small businesses and indie hackers" + }, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "description", + "table": "block_pricing_cards", + "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 + } + }, + { + "collection": "block_pricing_cards", + "field": "price", + "type": "string", + "meta": { + "collection": "block_pricing_cards", + "conditions": null, + "display": null, + "display_options": null, + "field": "price", + "group": null, + "hidden": false, + "interface": "input", + "note": "Price and term for the pricing plan. (ie `$199/mo`)", + "options": { + "placeholder": "$199 /month" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "price", + "table": "block_pricing_cards", + "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 + } + }, + { + "collection": "block_pricing_cards", + "field": "badge", + "type": "string", + "meta": { + "collection": "block_pricing_cards", + "conditions": null, + "display": null, + "display_options": null, + "field": "badge", + "group": null, + "hidden": false, + "interface": "input", + "note": "Badge that displays at the top of the pricing plan card to add helpful context.", + "options": { + "placeholder": "Most popular" + }, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "badge", + "table": "block_pricing_cards", + "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 + } + }, + { + "collection": "block_pricing_cards", + "field": "features", + "type": "json", + "meta": { + "collection": "block_pricing_cards", + "conditions": null, + "display": null, + "display_options": null, + "field": "features", + "group": null, + "hidden": false, + "interface": "simple-list", + "note": "Short list of features included in this plan. Press `Enter` to add another item to the list.", + "options": { + "limit": 10 + }, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "features", + "table": "block_pricing_cards", + "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 + } + }, + { + "collection": "block_pricing_cards", + "field": "button", + "type": "uuid", + "meta": { + "collection": "block_pricing_cards", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{label}} • {{type}}" + }, + "field": "button", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": "The action button / link shown at the bottom of the pricing card.", + "options": { + "createRelatedItem": "always", + "enableLink": true, + "enableSelect": false, + "template": "{{label}} • {{type}}" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "button", + "table": "block_pricing_cards", + "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": "block_button", + "foreign_key_column": "id" + } + }, + { + "collection": "block_pricing_cards", + "field": "pricing", + "type": "uuid", + "meta": { + "collection": "block_pricing_cards", + "conditions": null, + "display": "related-values", + "display_options": null, + "field": "pricing", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": "The id of the pricing block this card belongs to.", + "options": { + "enableLink": true, + "enableSelect": false + }, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "pricing", + "table": "block_pricing_cards", + "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": "block_pricing", + "foreign_key_column": "id" + } + }, + { + "collection": "block_pricing_cards", + "field": "is_highlighted", + "type": "boolean", + "meta": { + "collection": "block_pricing_cards", + "conditions": null, + "display": null, + "display_options": null, + "field": "is_highlighted", + "group": null, + "hidden": false, + "interface": "boolean", + "note": "Add highlighted border around the pricing plan to make it stand out.", + "options": { + "label": "Highlighted" + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "is_highlighted", + "table": "block_pricing_cards", + "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 + } + }, + { + "collection": "block_pricing_cards", + "field": "sort", + "type": "integer", + "meta": { + "collection": "block_pricing_cards", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 10, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "sort", + "table": "block_pricing_cards", + "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 + } + }, + { + "collection": "block_richtext", + "field": "content", + "type": "text", + "meta": { + "collection": "block_richtext", + "conditions": null, + "display": null, + "display_options": null, + "field": "content", + "group": null, + "hidden": false, + "interface": "input-rich-text-html", + "note": "Rich text content for this block.", + "options": { + "customFormats": null, + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "content", + "table": "block_richtext", + "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 + } + }, + { + "collection": "block_richtext", + "field": "headline", + "type": "string", + "meta": { + "collection": "block_richtext", + "conditions": null, + "display": "raw", + "display_options": null, + "field": "headline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Larger main headline for this page section.", + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "headline", + "table": "block_richtext", + "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 + } + }, + { + "collection": "block_richtext", + "field": "id", + "type": "uuid", + "meta": { + "collection": "block_richtext", + "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": "block_richtext", + "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 + } + }, + { + "collection": "block_richtext", + "field": "alignment", + "type": "string", + "meta": { + "collection": "block_richtext", + "conditions": null, + "display": "formatted-value", + "display_options": null, + "field": "alignment", + "group": null, + "hidden": false, + "interface": "select-radio", + "note": "Controls how the content block is positioned on the page. Choose \"Left\" to align the block against the left margin or \"Center\" to position the block in the middle of the page. This setting affects the entire content block's placement, not the text alignment within it.", + "options": { + "choices": [ + { + "text": "Left", + "value": "left" + }, + { + "text": "Center", + "value": "center" + } + ] + }, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "alignment", + "table": "block_richtext", + "data_type": "character varying", + "default_value": "center", + "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 + } + }, + { + "collection": "block_richtext", + "field": "tagline", + "type": "string", + "meta": { + "collection": "block_richtext", + "conditions": null, + "display": null, + "display_options": null, + "field": "tagline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Smaller copy shown above the headline to label a section or add extra context.", + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tagline", + "table": "block_richtext", + "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 + } + }, + { + "collection": "block_richtext", + "field": "meta_header_block_richtext", + "type": "alias", + "meta": { + "collection": "block_richtext", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_block_richtext", + "group": null, + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "help": "

Perfect for creating formatted text content with headings, paragraphs, and lists. Use this block when you need to:

\n", + "icon": "format_color_text", + "title": "Rich Text Block" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "directus_settings", + "field": "command_palette_settings", + "type": "json", + "meta": { + "collection": "directus_settings", + "conditions": null, + "display": "raw", + "display_options": null, + "field": "command_palette_settings", + "group": null, + "hidden": false, + "interface": "input-code", + "note": "Settings for the Command Palette Module.", + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "command_palette_settings", + "table": "directus_settings", + "data_type": "json", + "default_value": {}, + "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 + } + }, + { + "collection": "directus_users", + "field": "posts", + "type": "alias", + "meta": { + "collection": "directus_users", + "conditions": null, + "display": "related-values", + "display_options": null, + "field": "posts", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": "Blog posts this user has authored.", + "options": { + "template": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "form_fields", + "field": "id", + "type": "uuid", + "meta": { + "collection": "form_fields", + "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": "form_fields", + "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 + } + }, + { + "collection": "form_fields", + "field": "name", + "type": "string", + "meta": { + "collection": "form_fields", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true + }, + "field": "name", + "group": null, + "hidden": false, + "interface": "input", + "note": "Unique field identifier, not shown to users (lowercase, hyphenated)", + "options": { + "iconLeft": "key", + "placeholder": "full-name", + "slug": true, + "trim": true + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "name", + "table": "form_fields", + "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 + } + }, + { + "collection": "form_fields", + "field": "type", + "type": "string", + "meta": { + "collection": "form_fields", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "icon": "format_color_text", + "text": "Text", + "value": "text" + }, + { + "icon": "display_external_input", + "text": "Textarea", + "value": "textarea" + }, + { + "icon": "check_box_outline_blank", + "text": "Checkbox", + "value": "checkbox" + }, + { + "icon": "library_add_check", + "text": "Checkbox Group", + "value": "checkbox_group" + }, + { + "icon": "radio_button_unchecked", + "text": "Radio", + "value": "radio" + }, + { + "icon": "attach_file", + "text": "File", + "value": "file" + }, + { + "icon": "text_select_move_down", + "text": "Select", + "value": "select" + }, + { + "icon": "hide_source", + "text": "Hidden", + "value": "hidden" + } + ] + }, + "field": "type", + "group": null, + "hidden": false, + "interface": "radio-cards-interface", + "note": "Input type for the field", + "options": { + "choices": [ + { + "icon": "format_color_text", + "icon_type": "icon", + "text": "Text", + "value": "text" + }, + { + "icon": "display_external_input", + "icon_type": "icon", + "text": "Textarea", + "value": "textarea" + }, + { + "icon": "check_box_outline_blank", + "icon_type": "icon", + "text": "Checkbox", + "value": "checkbox" + }, + { + "icon": "library_add_check", + "icon_type": "icon", + "text": "Checkbox Group", + "value": "checkbox_group" + }, + { + "icon": "radio_button_unchecked", + "icon_type": "icon", + "text": "Radio", + "value": "radio" + }, + { + "icon": "attach_file", + "icon_type": "icon", + "text": "File", + "value": "file" + }, + { + "icon": "text_select_move_down", + "icon_type": "icon", + "text": "Select", + "value": "select" + }, + { + "icon": "hide_source", + "icon_type": "icon", + "text": "Hidden", + "value": "hidden" + } + ], + "gridSize": 5 + }, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "type", + "table": "form_fields", + "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 + } + }, + { + "collection": "form_fields", + "field": "label", + "type": "string", + "meta": { + "collection": "form_fields", + "conditions": null, + "display": null, + "display_options": null, + "field": "label", + "group": null, + "hidden": false, + "interface": "input", + "note": "Text label shown to form users.", + "options": { + "placeholder": "Your Full Name" + }, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "label", + "table": "form_fields", + "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 + } + }, + { + "collection": "form_fields", + "field": "placeholder", + "type": "string", + "meta": { + "collection": "form_fields", + "conditions": null, + "display": null, + "display_options": null, + "field": "placeholder", + "group": null, + "hidden": false, + "interface": "input", + "note": "Default text shown in empty input.", + "options": { + "placeholder": "John Doe" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "placeholder", + "table": "form_fields", + "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 + } + }, + { + "collection": "form_fields", + "field": "help", + "type": "string", + "meta": { + "collection": "form_fields", + "conditions": null, + "display": null, + "display_options": null, + "field": "help", + "group": null, + "hidden": false, + "interface": "input", + "note": "Additional instructions shown below the input", + "options": { + "placeholder": "Use first and last name" + }, + "readonly": false, + "required": false, + "sort": 9, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "help", + "table": "form_fields", + "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 + } + }, + { + "collection": "form_fields", + "field": "validation", + "type": "string", + "meta": { + "collection": "form_fields", + "conditions": null, + "display": null, + "display_options": null, + "field": "validation", + "group": null, + "hidden": false, + "interface": "input", + "note": "Available rules: `email`, `url`, `min:5`, `max:20`, `length:10`. Combine with pipes example: `email|max:255`", + "options": { + "placeholder": "max:255", + "trim": true + }, + "readonly": false, + "required": false, + "sort": 11, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "validation", + "table": "form_fields", + "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 + } + }, + { + "collection": "form_fields", + "field": "width", + "type": "string", + "meta": { + "collection": "form_fields", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true, + "suffix": "%" + }, + "field": "width", + "group": null, + "hidden": false, + "interface": "select-radio", + "note": "Field width on the form", + "options": { + "choices": [ + { + "text": "100%", + "value": "100" + }, + { + "text": "67%", + "value": "67" + }, + { + "text": "50%", + "value": "50" + }, + { + "text": "33%", + "value": "33" + } + ] + }, + "readonly": false, + "required": false, + "sort": 12, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "width", + "table": "form_fields", + "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 + } + }, + { + "collection": "form_fields", + "field": "choices", + "type": "json", + "meta": { + "collection": "form_fields", + "conditions": [ + { + "hidden": false, + "name": "Show Choices", + "options": {}, + "rule": { + "_and": [ + { + "_or": [ + { + "type": { + "_eq": "select" + } + }, + { + "type": { + "_eq": "checkbox_group" + } + }, + { + "type": { + "_eq": "radio" + } + } + ] + } + ] + } + } + ], + "display": "formatted-json-value", + "display_options": { + "format": "{{ label }}" + }, + "field": "choices", + "group": null, + "hidden": true, + "interface": "list", + "note": "Options for radio or select inputs", + "options": { + "fields": [ + { + "field": "text", + "meta": { + "field": "text", + "interface": "input", + "note": "Displayed label to user", + "options": { + "placeholder": "Sales Team" + }, + "required": true, + "type": "string", + "width": "half" + }, + "name": "text", + "type": "string" + }, + { + "field": "value", + "meta": { + "field": "value", + "interface": "input", + "note": "Stored value", + "options": { + "placeholder": "sales" + }, + "required": true, + "type": "string", + "width": "half" + }, + "name": "value", + "type": "string" + } + ], + "template": "{{ text }}" + }, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "choices", + "table": "form_fields", + "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 + } + }, + { + "collection": "form_fields", + "field": "form", + "type": "uuid", + "meta": { + "collection": "form_fields", + "conditions": null, + "display": "related-values", + "display_options": null, + "field": "form", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": "Parent form this field belongs to.", + "options": { + "template": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "form", + "table": "form_fields", + "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": "forms", + "foreign_key_column": "id" + } + }, + { + "collection": "form_fields", + "field": "sort", + "type": "integer", + "meta": { + "collection": "form_fields", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "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": "sort", + "table": "form_fields", + "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 + } + }, + { + "collection": "form_fields", + "field": "required", + "type": "boolean", + "meta": { + "collection": "form_fields", + "conditions": null, + "display": null, + "display_options": null, + "field": "required", + "group": null, + "hidden": false, + "interface": "boolean", + "note": "Make this field mandatory to complete.", + "options": { + "label": "Required" + }, + "readonly": false, + "required": false, + "sort": 10, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "required", + "table": "form_fields", + "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 + } + }, + { + "collection": "form_submission_values", + "field": "id", + "type": "uuid", + "meta": { + "collection": "form_submission_values", + "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": "form_submission_values", + "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 + } + }, + { + "collection": "form_submission_values", + "field": "form_submission", + "type": "uuid", + "meta": { + "collection": "form_submission_values", + "conditions": null, + "display": null, + "display_options": null, + "field": "form_submission", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": "Parent form submission for this value.", + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "form_submission", + "table": "form_submission_values", + "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": "form_submissions", + "foreign_key_column": "id" + } + }, + { + "collection": "form_submission_values", + "field": "field", + "type": "uuid", + "meta": { + "collection": "form_submission_values", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{name}} • {{type}}" + }, + "field": "field", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": null, + "options": { + "template": "{{name}} • {{type}}" + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "field", + "table": "form_submission_values", + "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": "form_fields", + "foreign_key_column": "id" + } + }, + { + "collection": "form_submission_values", + "field": "value", + "type": "text", + "meta": { + "collection": "form_submission_values", + "conditions": null, + "display": null, + "display_options": null, + "field": "value", + "group": null, + "hidden": false, + "interface": "input", + "note": "The data entered by the user for this specific field in the form submission.", + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "value", + "table": "form_submission_values", + "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 + } + }, + { + "collection": "form_submission_values", + "field": "sort", + "type": "integer", + "meta": { + "collection": "form_submission_values", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "interface": null, + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "sort", + "table": "form_submission_values", + "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 + } + }, + { + "collection": "form_submission_values", + "field": "file", + "type": "uuid", + "meta": { + "collection": "form_submission_values", + "conditions": null, + "display": "file", + "display_options": null, + "field": "file", + "group": null, + "hidden": false, + "interface": "file", + "note": null, + "options": { + "folder": "e6308546-92fb-4b10-b586-eefaf1d97f7f" + }, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "file", + "table": "form_submission_values", + "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" + } + }, + { + "collection": "form_submissions", + "field": "id", + "type": "uuid", + "meta": { + "collection": "form_submissions", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": false, + "interface": "input", + "note": "Unique ID for this specific form submission", + "options": { + "iconLeft": "vpn_key" + }, + "readonly": true, + "required": false, + "sort": 3, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "id", + "table": "form_submissions", + "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 + } + }, + { + "collection": "form_submissions", + "field": "timestamp", + "type": "timestamp", + "meta": { + "collection": "form_submissions", + "conditions": null, + "display": "datetime", + "display_options": { + "relative": true + }, + "field": "timestamp", + "group": null, + "hidden": false, + "interface": "datetime", + "note": "Form submission date and time.", + "options": null, + "readonly": true, + "required": false, + "sort": 4, + "special": [ + "date-created" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "timestamp", + "table": "form_submissions", + "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 + } + }, + { + "collection": "form_submissions", + "field": "form", + "type": "uuid", + "meta": { + "collection": "form_submissions", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "field": "form", + "group": null, + "hidden": false, + "interface": "select-dropdown-m2o", + "note": "Associated form for this submission.", + "options": { + "enableLink": true, + "template": "{{title}}" + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "form", + "table": "form_submissions", + "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": "forms", + "foreign_key_column": "id" + } + }, + { + "collection": "form_submissions", + "field": "values", + "type": "alias", + "meta": { + "collection": "form_submissions", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{value}} • {{field}}" + }, + "field": "values", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": "Submitted field responses", + "options": { + "enableCreate": false, + "enableSearchFilter": true, + "enableSelect": false, + "fields": [ + "field.label", + "value", + "field.type", + "file" + ], + "filter": { + "_and": [ + { + "field": { + "form": { + "_eq": "{{form}}" + } + } + } + ] + }, + "layout": "table", + "limit": 25, + "sort": "sort", + "template": "{{value}} • {{field}}" + }, + "readonly": true, + "required": false, + "sort": 5, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "form_submissions", + "field": "meta_notice_submissions", + "type": "alias", + "meta": { + "collection": "form_submissions", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_notice_submissions", + "group": null, + "hidden": false, + "interface": "presentation-notice", + "note": null, + "options": { + "text": "Form submissions are configured to be read-only for data integrity reasons. But they are a great candidate for use in [Flows](/admin/settings/flows). Directus Flows is a drag and drop, low-code automation builder to simplify tasks like automatic notifications or sending incoming requests to third party services. Learn more about Flows." + }, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "form_submissions", + "field": "meta_header_form_submissions", + "type": "alias", + "meta": { + "collection": "form_submissions", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_form_submissions", + "group": null, + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "help": "

Form Submissions

\n

Form submissions are read-only records of responses received through your site's forms. This ensures data integrity and provides a reliable audit trail of all submitted information.

\n

Understanding Submissions

\n

Each submission contains:

\n\n

Automating with Flows

\n

While submissions are read-only, you can use Flows to automate actions when new submissions arrive:

\n\n

Think of Flows as your automation toolkit - they let you act on submission data without modifying the original records.

\n

Data Management

\n

Exporting Data

\n

Export submissions to work with them outside the CMS:

\n\n

Data Cleanup

\n

Keep your submission data organized:

\n\n

Privacy & Security

\n

Since form submissions often contain personal data:

\n", + "subtitle": "Submitted at: {{timestamp}}", + "title": "Form Submission" + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "forms", + "field": "id", + "type": "uuid", + "meta": { + "collection": "forms", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": true, + "interface": "input", + "note": null, + "options": { + "iconLeft": "vpn_key" + }, + "readonly": true, + "required": false, + "sort": 1, + "special": [ + "uuid" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "id", + "table": "forms", + "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 + } + }, + { + "collection": "forms", + "field": "on_success", + "type": "string", + "meta": { + "collection": "forms", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "text": "Redirect to URL", + "value": "redirect" + }, + { + "text": "Show Message", + "value": "message" + } + ] + }, + "field": "on_success", + "group": "meta_fields", + "hidden": false, + "interface": "select-dropdown", + "note": "Action after successful submission.", + "options": { + "choices": [ + { + "icon": "arrow_outward", + "text": "Redirect to URL", + "value": "redirect" + }, + { + "icon": "chat", + "text": "Show Message", + "value": "message" + } + ] + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "on_success", + "table": "forms", + "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 + } + }, + { + "collection": "forms", + "field": "sort", + "type": "integer", + "meta": { + "collection": "forms", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "forms", + "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 + } + }, + { + "collection": "forms", + "field": "submit_label", + "type": "string", + "meta": { + "collection": "forms", + "conditions": null, + "display": "raw", + "display_options": null, + "field": "submit_label", + "group": "meta_fields", + "hidden": false, + "interface": "input", + "note": "Text shown on submit button.", + "options": { + "iconLeft": "smart_button", + "placeholder": "Sign Up Now" + }, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "submit_label", + "table": "forms", + "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 + } + }, + { + "collection": "forms", + "field": "success_message", + "type": "text", + "meta": { + "collection": "forms", + "conditions": [ + { + "hidden": false, + "name": "If Message", + "options": { + "font": "sans-serif", + "toolbar": [ + "bold", + "italic", + "underline", + "h1", + "h2", + "h3", + "numlist", + "bullist", + "removeformat", + "blockquote", + "customLink", + "customImage", + "customMedia", + "hr", + "code", + "fullscreen" + ] + }, + "readonly": false, + "rule": { + "_and": [ + { + "on_success": { + "_eq": "message" + } + } + ] + } + } + ], + "display": null, + "display_options": null, + "field": "success_message", + "group": "meta_fields", + "hidden": true, + "interface": "input-multiline", + "note": "Message shown after successful submission.", + "options": { + "placeholder": "Thanks for reaching out! We'll be in touch soon." + }, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "success_message", + "table": "forms", + "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 + } + }, + { + "collection": "forms", + "field": "title", + "type": "string", + "meta": { + "collection": "forms", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": null, + "hidden": false, + "interface": "input", + "note": "Form name (for internal reference).", + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "title", + "table": "forms", + "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 + } + }, + { + "collection": "forms", + "field": "success_redirect_url", + "type": "string", + "meta": { + "collection": "forms", + "conditions": [ + { + "hidden": false, + "name": "If Redirect", + "options": { + "clear": false, + "font": "sans-serif", + "masked": false, + "slug": false, + "trim": false + }, + "rule": { + "_and": [ + { + "on_success": { + "_eq": "redirect" + } + } + ] + } + } + ], + "display": "raw", + "display_options": null, + "field": "success_redirect_url", + "group": "meta_fields", + "hidden": true, + "interface": "input", + "note": "Destination URL after successful submission.", + "options": { + "iconLeft": "link" + }, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "success_redirect_url", + "table": "forms", + "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 + } + }, + { + "collection": "forms", + "field": "fields", + "type": "alias", + "meta": { + "collection": "forms", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{name}} • {{type}}" + }, + "field": "fields", + "group": "meta_fields", + "hidden": false, + "interface": "list-o2m", + "note": "Form structure and input fields", + "options": { + "enableSelect": false, + "sort": "sort", + "template": "{{name}} • {{type}}" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "forms", + "field": "submissions", + "type": "alias", + "meta": { + "collection": "forms", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{values.value}}" + }, + "field": "submissions", + "group": "meta_submissions", + "hidden": false, + "interface": "list-o2m", + "note": "Received form responses.", + "options": { + "enableCreate": false, + "enableLink": true, + "enableSearchFilter": true, + "enableSelect": false, + "fields": [ + "timestamp", + "values.value", + "values.field.name" + ], + "layout": "table", + "limit": 25, + "sort": "timestamp" + }, + "readonly": true, + "required": false, + "sort": 2, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "fill" + } + }, + { + "collection": "forms", + "field": "meta_tabs", + "type": "alias", + "meta": { + "collection": "forms", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_tabs", + "group": null, + "hidden": false, + "interface": "group-tabs", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "Tabs" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "forms", + "field": "meta_fields", + "type": "alias", + "meta": { + "collection": "forms", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_fields", + "group": "meta_tabs", + "hidden": false, + "interface": "group-raw", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "Form Fields" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "forms", + "field": "is_active", + "type": "boolean", + "meta": { + "collection": "forms", + "conditions": null, + "display": "boolean", + "display_options": { + "labelOff": "Inactive", + "labelOn": "Active" + }, + "field": "is_active", + "group": null, + "hidden": false, + "interface": "boolean", + "note": "Show or hide this form from the site.", + "options": { + "label": "Active" + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "cast-boolean" + ], + "translations": [ + { + "language": "en-US", + "translation": "Active" + } + ], + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "is_active", + "table": "forms", + "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 + } + }, + { + "collection": "forms", + "field": "emails", + "type": "json", + "meta": { + "collection": "forms", + "conditions": null, + "display": "formatted-json-value", + "display_options": { + "format": "To: {{ to }} • Subject: {{ subject }}" + }, + "field": "emails", + "group": "meta_emails", + "hidden": false, + "interface": "list", + "note": "Setup email notifications when forms are submitted.", + "options": { + "addLabel": "Add New Email", + "fields": [ + { + "field": "to", + "meta": { + "display": "labels", + "display_options": { + "format": false + }, + "field": "to", + "interface": "tags", + "note": "Add an email address and press enter. To use a form field as the email address use merge tags `{# #}` (e.g. `{# email #}.", + "options": { + "choices": null + }, + "required": true, + "type": "json", + "width": "full" + }, + "name": "to", + "type": "json" + }, + { + "field": "subject", + "meta": { + "display": "formatted-value", + "display_options": {}, + "field": "subject", + "interface": "input", + "note": "Email subject line. You can use merge tags like this `Hi {# first-name #}`.", + "required": true, + "type": "string", + "width": "full" + }, + "name": "subject", + "type": "string" + }, + { + "field": "message", + "meta": { + "field": "message", + "interface": "input-rich-text-html", + "note": "Include a message for the email body. To merge form responses use merge tags with the field name like `{# first-name #}`.", + "options": { + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "toolbar": [ + "undo", + "redo", + "bold", + "italic", + "underline", + "h1", + "h2", + "h3", + "numlist", + "bullist", + "removeformat", + "blockquote", + "customLink", + "customImage", + "table", + "hr", + "code", + "fullscreen" + ] + }, + "required": true, + "type": "text", + "width": "full" + }, + "name": "message", + "type": "text" + } + ], + "template": "To: {{ to }} • Subject: {{ subject }}" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "emails", + "table": "forms", + "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 + } + }, + { + "collection": "forms", + "field": "meta_submissions", + "type": "alias", + "meta": { + "collection": "forms", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_submissions", + "group": "meta_tabs", + "hidden": false, + "interface": "group-raw", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "Submissions" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "forms", + "field": "meta_emails", + "type": "alias", + "meta": { + "collection": "forms", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_emails", + "group": "meta_tabs", + "hidden": false, + "interface": "group-raw", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "Emails" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "forms", + "field": "meta_notice_form_fields", + "type": "alias", + "meta": { + "collection": "forms", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_notice_form_fields", + "group": "meta_fields", + "hidden": false, + "interface": "presentation-notice", + "note": null, + "options": { + "text": " Create custom forms by adding and configuring your desired input fields below. No coding required." + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "forms", + "field": "meta_notice_form_responses", + "type": "alias", + "meta": { + "collection": "forms", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_notice_form_responses", + "group": "meta_submissions", + "hidden": false, + "interface": "presentation-notice", + "note": null, + "options": { + "text": "This table displays all responses submitted through this form. Each entry includes the submission timestamp and the values for each form field." + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "forms", + "field": "meta_notice_form_emails", + "type": "alias", + "meta": { + "collection": "forms", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_notice_form_emails", + "group": "meta_emails", + "hidden": false, + "interface": "presentation-notice", + "note": null, + "options": { + "text": "Set up automatic emails to notify your team members when forms are submitted, or send confirmation receipts to people who complete your forms." + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "forms", + "field": "meta_header_forms", + "type": "alias", + "meta": { + "collection": "forms", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_forms", + "group": null, + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "actions": [], + "help": "

Understanding Forms

\n

Forms are reusable components that you create once and can place anywhere on your site using Form blocks. Think of the Forms collection as your form template library - you build the forms here, then use Form blocks to display them on your pages.

\n

The Forms & Form Blocks Relationship

\n
    \n
  1. First, create and configure your form in the Forms collection
  2. \n
  3. Then, add a Form block to any page where you want the form to appear
  4. \n
  5. Select your form from the dropdown in the Form block settings
  6. \n
  7. Customize the block's headline and tagline to match your page context
  8. \n
\n

This approach lets you:

\n\n

Creating Forms

\n

Basic Settings

\n

Form Title

\n

Internal name to identify your form in the admin panel. Choose something descriptive like:

\n\n

Submit Button

\n

Customize the text on your submit button. Use action-oriented phrases like:

\n\n

Success Handling

\n

Choose what happens after submission:

\n

Show Message

\n\n

Redirect

\n\n

Email Notifications

\n

Configure automated emails for form submissions:

\n\n

Active Status

\n

Control form availability:

\n\n

Building Your Form

\n

Available Field Types

\n\n

Field Configuration

\n

Label The visible field name shown to users

\n

Placeholder Optional hint text inside empty fields

\n

Help Text Additional instructions below the field

\n

Required Fields Mark essential fields that must be filled out

\n

Width Options Control field layout:

\n\n

Validation: Here's the available rules

\n\n

You can combine rules with pipes: email|max:255

\n

Using Forms with Form Blocks

\n

Adding Forms to Pages

\n
    \n
  1. Add a Form block to your page
  2. \n
  3. Select your form from the dropdown
  4. \n
  5. Add an optional headline and tagline
  6. \n
  7. Preview to check the layout
  8. \n
\n

Form Block Customization

\n\n

Best Practices

\n

Form Design & Experience

\n\n

Data Collection

\n\n

Managing Form Submissions

\n

All submissions are stored in the Form Submissions collection.

\n", + "title": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "globals", + "field": "id", + "type": "uuid", + "meta": { + "collection": "globals", + "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": "globals", + "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 + } + }, + { + "collection": "globals", + "field": "description", + "type": "text", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "description", + "group": null, + "hidden": false, + "interface": "input-multiline", + "note": "Site summary for search results.", + "options": { + "softLength": 160 + }, + "readonly": false, + "required": false, + "sort": 12, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "description", + "table": "globals", + "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 + } + }, + { + "collection": "globals", + "field": "tagline", + "type": "string", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "tagline", + "group": null, + "hidden": false, + "interface": "input", + "note": "Short phrase describing the site.", + "options": null, + "readonly": false, + "required": false, + "sort": 11, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "tagline", + "table": "globals", + "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 + } + }, + { + "collection": "globals", + "field": "title", + "type": "string", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": null, + "hidden": false, + "interface": "input", + "note": "Main site title", + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "title", + "table": "globals", + "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 + } + }, + { + "collection": "globals", + "field": "url", + "type": "string", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "url", + "group": null, + "hidden": false, + "interface": "input", + "note": "Public URL for the website", + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "url", + "table": "globals", + "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 + } + }, + { + "collection": "globals", + "field": "social_links", + "type": "json", + "meta": { + "collection": "globals", + "conditions": null, + "display": "labels", + "display_options": {}, + "field": "social_links", + "group": null, + "hidden": false, + "interface": "inline-repeater-interface", + "note": "Social media profile URLs", + "options": { + "addLabel": "Add New Link", + "fields": [ + { + "field": "url", + "meta": { + "field": "url", + "interface": "input", + "note": "Full profile URL (not just username)", + "options": { + "placeholder": "https://www.linkedin.com/in/fullprofile", + "trim": true + }, + "type": "string", + "width": "half" + }, + "name": "url", + "type": "string" + }, + { + "field": "service", + "meta": { + "display": "labels", + "display_options": { + "choices": [ + { + "icon": "facebook", + "text": "Facebook", + "value": "facebook" + }, + { + "icon": "instagram", + "text": "Instagram", + "value": "instagram" + }, + { + "icon": "linkedin", + "text": "LinkedIn", + "value": "linkedin" + }, + { + "icon": "twitter", + "text": "X", + "value": "x" + }, + { + "icon": "vimeo", + "text": "Vimeo", + "value": "vimeo" + }, + { + "icon": "youtube", + "text": "YouTube", + "value": "youtube" + }, + { + "icon": "github", + "text": "GitHub", + "value": "github" + }, + { + "icon": "discord", + "text": "Discord", + "value": "discord" + }, + { + "icon": "docker", + "text": "Docker", + "value": "docker" + } + ] + }, + "field": "service", + "interface": "select-dropdown", + "note": "Social media platform name", + "options": { + "choices": [ + { + "icon": "facebook", + "text": "Facebook", + "value": "facebook" + }, + { + "icon": "instagram", + "text": "Instagram", + "value": "instagram" + }, + { + "icon": "linkedin", + "text": "LinkedIn", + "value": "linkedin" + }, + { + "icon": "twitter", + "text": "X", + "value": "x" + }, + { + "icon": "vimeo", + "text": "Vimeo", + "value": "vimeo" + }, + { + "icon": "youtube", + "text": "YouTube", + "value": "youtube" + }, + { + "icon": "github", + "text": "GitHub", + "value": "github" + }, + { + "icon": "discord", + "text": "Discord", + "value": "discord" + }, + { + "icon": "docker", + "text": "Docker", + "value": "docker" + } + ] + }, + "required": null, + "type": "string", + "width": "half" + }, + "name": "service", + "type": "string" + } + ], + "template": "{{ service }}" + }, + "readonly": false, + "required": false, + "sort": 14, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "social_links", + "table": "globals", + "data_type": "json", + "default_value": [], + "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 + } + }, + { + "collection": "globals", + "field": "meta_divider_globals", + "type": "alias", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_divider_globals", + "group": null, + "hidden": false, + "interface": "presentation-divider", + "note": null, + "options": { + "color": "#A2B5CD", + "icon": "link", + "inlineTitle": true, + "title": null + }, + "readonly": false, + "required": false, + "sort": 13, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "globals", + "field": "favicon", + "type": "uuid", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "favicon", + "group": null, + "hidden": false, + "interface": "file-image", + "note": "Small icon for browser tabs. 1:1 ratio. No larger than 512px × 512px.", + "options": { + "crop": false, + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "favicon", + "table": "globals", + "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" + } + }, + { + "collection": "globals", + "field": "logo", + "type": "uuid", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "logo", + "group": null, + "hidden": false, + "interface": "file-image", + "note": "Main logo shown on the site (for light mode).", + "options": { + "crop": false, + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "logo", + "table": "globals", + "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" + } + }, + { + "collection": "globals", + "field": "divider_logo", + "type": "alias", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "divider_logo", + "group": null, + "hidden": false, + "interface": "presentation-divider", + "note": null, + "options": { + "color": "#A2B5CD", + "icon": "imagesmode", + "inlineTitle": true + }, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "globals", + "field": "openai_api_key", + "type": "string", + "meta": { + "collection": "globals", + "conditions": null, + "display": "formatted-value", + "display_options": { + "masked": true + }, + "field": "openai_api_key", + "group": "meta_credentials", + "hidden": false, + "interface": "input", + "note": "Secret OpenAI API key. Don't share with anyone outside your team.", + "options": { + "iconLeft": "vpn_key_alert", + "masked": true, + "trim": true + }, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "openai_api_key", + "table": "globals", + "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 + } + }, + { + "collection": "globals", + "field": "directus_url", + "type": "string", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "directus_url", + "group": "meta_credentials", + "hidden": false, + "interface": "input", + "note": "The public URL for this Directus instance. Used in Flows.", + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "directus_url", + "table": "globals", + "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 + } + }, + { + "collection": "globals", + "field": "meta_credentials", + "type": "alias", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_credentials", + "group": null, + "hidden": false, + "interface": "group-detail", + "note": null, + "options": { + "headerIcon": "warning", + "start": "closed" + }, + "readonly": false, + "required": false, + "sort": 15, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "Credentials" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "globals", + "field": "meta_notice_globals", + "type": "alias", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_notice_globals", + "group": null, + "hidden": false, + "interface": "presentation-notice", + "note": null, + "options": { + "text": "Globals are settings that are applied across your entire site. Globals use what we call a `singleton` collection type. Learn more about globals and singletons." + }, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "globals", + "field": "meta_notice_security", + "type": "alias", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_notice_security", + "group": "meta_credentials", + "hidden": false, + "interface": "presentation-notice", + "note": null, + "options": { + "color": "warning", + "icon": "warning", + "text": "Be careful about changing the access policies and permissions for the `globals` collection so that you don't expose your private API keys." + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "globals", + "field": "logo_dark_mode", + "type": "uuid", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "logo_dark_mode", + "group": null, + "hidden": false, + "interface": "file-image", + "note": "Main logo shown on the site (for dark mode).", + "options": { + "crop": false, + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": [ + "file" + ], + "translations": [ + { + "language": "en-US", + "translation": "Dark Mode Logo" + } + ], + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "logo_dark_mode", + "table": "globals", + "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" + } + }, + { + "collection": "globals", + "field": "accent_color", + "type": "string", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "accent_color", + "group": null, + "hidden": false, + "interface": "select-color", + "note": "Accent color for the website (used on buttons, links, etc).", + "options": null, + "readonly": false, + "required": false, + "sort": 10, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "accent_color", + "table": "globals", + "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 + } + }, + { + "collection": "globals", + "field": "meta_header_globals", + "type": "alias", + "meta": { + "collection": "globals", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_globals", + "group": null, + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "help": "

Global Settings

\n

These settings control site-wide elements that affect your entire website. There's only one global settings record.

\n

Site Info

\n\n

Brand Assets

\n\n

Social Media Links

\n

Add URLs for your social profiles:

\n\n

API Settings

\n", + "subtitle": "{{url}}", + "title": "{{title}} • Site Settings" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "navigation", + "field": "id", + "type": "string", + "meta": { + "collection": "navigation", + "conditions": null, + "display": null, + "display_options": null, + "field": "id", + "group": null, + "hidden": false, + "interface": "input", + "note": "Unique identifier for this menu. Can't be edited after creation.", + "options": { + "iconLeft": "vpn_key" + }, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "id", + "table": "navigation", + "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 + } + }, + { + "collection": "navigation", + "field": "title", + "type": "string", + "meta": { + "collection": "navigation", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": null, + "hidden": false, + "interface": "input", + "note": "What is the name of this menu? Only used internally.", + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "title", + "table": "navigation", + "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 + } + }, + { + "collection": "navigation", + "field": "items", + "type": "alias", + "meta": { + "collection": "navigation", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{title}} • {{type}}" + }, + "field": "items", + "group": null, + "hidden": false, + "interface": "list-o2m", + "note": "Links within the menu.", + "options": { + "enableLink": true, + "filter": { + "_and": [ + { + "_and": [ + { + "navigation": { + "_null": true + } + }, + { + "parent": { + "navigation": { + "_null": true + } + } + } + ] + } + ] + }, + "template": "{{title}} • {{type}}" + }, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "navigation", + "field": "is_active", + "type": "boolean", + "meta": { + "collection": "navigation", + "conditions": null, + "display": "boolean", + "display_options": { + "labelOff": "Inactive", + "labelOn": "Active" + }, + "field": "is_active", + "group": null, + "hidden": false, + "interface": "boolean", + "note": "Show or hide this menu from the site.", + "options": { + "label": "Active" + }, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "cast-boolean" + ], + "translations": [ + { + "language": "en-US", + "translation": "Active" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "is_active", + "table": "navigation", + "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 + } + }, + { + "collection": "navigation", + "field": "meta_notice_navigation", + "type": "alias", + "meta": { + "collection": "navigation", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_notice_navigation", + "group": null, + "hidden": false, + "interface": "presentation-notice", + "note": null, + "options": { + "text": "Create and manage navigation menus for your website. Each menu can contain multiple links organized into a hierarchy." + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "navigation", + "field": "meta_header_navigation", + "type": "alias", + "meta": { + "collection": "navigation", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_navigation", + "group": null, + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "help": "

Understanding Navigation

\n

Navigation menus help visitors find their way around your site. You can create multiple menus (like main navigation, footer links, or utility menus) and manage them all from this collection.

\n

Navigation Structure

\n

Each navigation menu consists of:

\n
    \n
  1. A menu container (Navigation)
  2. \n
  3. Menu items within it (Navigation Items)
  4. \n
\n

Creating Navigation Menus

\n

Menu Settings

\n

Title

\n

Internal name for your menu (only visible in admin). Examples:

\n\n

Active Status

\n

Toggle menus on/off without deleting them. Useful for:

\n\n

Adding Menu Items

\n

Item Types

\n

Page

\n\n

Post

\n\n

URL

\n\n

Group

\n\n

Examples of Group Usage:

\n
\n
About (Group) \n└─ Our Story (Page)\n└─ Team (Page)\n└─ Careers (URL - External job board)
\nServices (Group) \n└─ Consulting (Page) \n└─ Training (Group) \n└─ Online Courses (URL) \n└─ Workshops (Page) \n└─ Support (Page)\n
\n

Item Settings

\n

Title

\n

The text shown to visitors in the menu

\n

Parent Item

\n

For creating nested navigation:

\n\n

Sort Order

\n

Control the sequence of menu items:

\n\n

Best Practices

\n

Structure

\n\n

Usability

\n\n
", + "title": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "navigation_items", + "field": "id", + "type": "uuid", + "meta": { + "collection": "navigation_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": "navigation_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 + } + }, + { + "collection": "navigation_items", + "field": "navigation", + "type": "string", + "meta": { + "collection": "navigation_items", + "conditions": null, + "display": null, + "display_options": null, + "field": "navigation", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": "Navigation menu that the individual links belong to.", + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "navigation", + "table": "navigation_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": "navigation", + "foreign_key_column": "id" + } + }, + { + "collection": "navigation_items", + "field": "page", + "type": "uuid", + "meta": { + "collection": "navigation_items", + "conditions": [ + { + "hidden": false, + "name": "IF page", + "options": { + "enableCreate": true, + "enableSelect": true + }, + "rule": { + "_and": [ + { + "type": { + "_eq": "page" + } + } + ] + } + }, + { + "hidden": true, + "name": "Hide If Has Children", + "options": { + "enableCreate": true, + "enableSelect": true + }, + "rule": { + "_and": [ + { + "has_children": { + "_eq": true + } + } + ] + } + } + ], + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "field": "page", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": "The internal page to link to.", + "options": { + "template": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "page", + "table": "navigation_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": "pages", + "foreign_key_column": "id" + } + }, + { + "collection": "navigation_items", + "field": "parent", + "type": "uuid", + "meta": { + "collection": "navigation_items", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{title}}" + }, + "field": "parent", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": "The parent navigation item.", + "options": { + "template": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 10, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "parent", + "table": "navigation_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": "navigation_items", + "foreign_key_column": "id" + } + }, + { + "collection": "navigation_items", + "field": "sort", + "type": "integer", + "meta": { + "collection": "navigation_items", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "navigation_items", + "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 + } + }, + { + "collection": "navigation_items", + "field": "title", + "type": "string", + "meta": { + "collection": "navigation_items", + "conditions": null, + "display": "raw", + "display_options": null, + "field": "title", + "group": null, + "hidden": false, + "interface": "input", + "note": "Label shown to the user for the menu item.", + "options": null, + "readonly": false, + "required": true, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "title", + "table": "navigation_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 + } + }, + { + "collection": "navigation_items", + "field": "type", + "type": "string", + "meta": { + "collection": "navigation_items", + "conditions": [ + { + "hidden": true, + "name": "Hide if Children", + "options": { + "allowOther": false, + "iconOff": "radio_button_unchecked", + "iconOn": "radio_button_checked" + }, + "rule": { + "_and": [ + { + "has_children": { + "_eq": true + } + } + ] + } + } + ], + "display": "labels", + "display_options": { + "choices": [ + { + "icon": "web_asset", + "text": "Page", + "value": "page" + }, + { + "icon": "article", + "text": "Post", + "value": "post" + }, + { + "icon": "link", + "text": "URL", + "value": "url" + }, + { + "icon": "tab_group", + "text": "Group", + "value": "group" + } + ] + }, + "field": "type", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": "What type of link is this? Page and Post allow you to link to internal content. URL is for external content. Group can contain other menu items.", + "options": { + "choices": [ + { + "icon": "web_asset", + "text": "Page", + "value": "page" + }, + { + "icon": "article", + "text": "Post", + "value": "post" + }, + { + "icon": "link", + "text": "URL", + "value": "url" + }, + { + "icon": "tab_group", + "text": "Group", + "value": "group" + } + ] + }, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "type", + "table": "navigation_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 + } + }, + { + "collection": "navigation_items", + "field": "url", + "type": "string", + "meta": { + "collection": "navigation_items", + "conditions": [ + { + "hidden": false, + "name": "IF url", + "options": { + "clear": false, + "font": "sans-serif", + "masked": false, + "slug": false, + "trim": false + }, + "rule": { + "_and": [ + { + "type": { + "_eq": "url" + } + } + ] + } + }, + { + "hidden": true, + "name": "Hide If Had Children", + "options": { + "clear": false, + "font": "sans-serif", + "masked": false, + "slug": false, + "trim": false + }, + "rule": { + "_and": [ + { + "has_children": { + "_eq": true + } + } + ] + } + } + ], + "display": "raw", + "display_options": null, + "field": "url", + "group": null, + "hidden": true, + "interface": "input", + "note": "The URL to link to. Could be relative (ie `/my-page`) or a full external URL (ie `https://docs.directus.io`)", + "options": null, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "url", + "table": "navigation_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 + } + }, + { + "collection": "navigation_items", + "field": "children", + "type": "alias", + "meta": { + "collection": "navigation_items", + "conditions": [ + { + "hidden": false, + "name": "Show If Group", + "options": { + "enableCreate": true, + "enableLink": false, + "enableSearchFilter": false, + "enableSelect": true, + "layout": "list", + "limit": 15, + "sortDirection": "+" + }, + "rule": { + "_and": [ + { + "type": { + "_eq": "group" + } + } + ] + } + } + ], + "display": "related-values", + "display_options": { + "template": "{{title}} • {{type}}" + }, + "field": "children", + "group": null, + "hidden": true, + "interface": "list-o2m", + "note": "Add child menu items within the group.", + "options": { + "filter": { + "_and": [ + { + "_and": [ + { + "navigation": { + "_null": true + } + }, + { + "parent": { + "navigation": { + "_null": true + } + } + } + ] + } + ] + }, + "template": "{{title}} • {{type}}" + }, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "o2m" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "navigation_items", + "field": "post", + "type": "uuid", + "meta": { + "collection": "navigation_items", + "conditions": [ + { + "hidden": false, + "name": "Show If Type = Post", + "options": { + "enableCreate": true, + "enableSelect": true + }, + "rule": { + "_and": [ + { + "type": { + "_eq": "post" + } + } + ] + } + } + ], + "display": null, + "display_options": null, + "field": "post", + "group": null, + "hidden": true, + "interface": "select-dropdown-m2o", + "note": "The internal post to link to.", + "options": { + "template": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "post", + "table": "navigation_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": "posts", + "foreign_key_column": "id" + } + }, + { + "collection": "page_blocks", + "field": "id", + "type": "uuid", + "meta": { + "collection": "page_blocks", + "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": "page_blocks", + "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 + } + }, + { + "collection": "page_blocks", + "field": "sort", + "type": "integer", + "meta": { + "collection": "page_blocks", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "page_blocks", + "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 + } + }, + { + "collection": "page_blocks", + "field": "page", + "type": "uuid", + "meta": { + "collection": "page_blocks", + "conditions": null, + "display": null, + "display_options": null, + "field": "page", + "group": null, + "hidden": true, + "interface": null, + "note": "The id of the page that this block belongs to.", + "options": null, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "page", + "table": "page_blocks", + "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": "pages", + "foreign_key_column": "id" + } + }, + { + "collection": "page_blocks", + "field": "item", + "type": "string", + "meta": { + "collection": "page_blocks", + "conditions": null, + "display": null, + "display_options": null, + "field": "item", + "group": null, + "hidden": true, + "interface": null, + "note": "The data for the block.", + "options": null, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "item", + "table": "page_blocks", + "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 + } + }, + { + "collection": "page_blocks", + "field": "collection", + "type": "string", + "meta": { + "collection": "page_blocks", + "conditions": null, + "display": "labels", + "display_options": { + "border": true, + "color": "#18222F", + "format": true + }, + "field": "collection", + "group": null, + "hidden": true, + "interface": null, + "note": "The collection (type of block).", + "options": null, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "collection", + "table": "page_blocks", + "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 + } + }, + { + "collection": "page_blocks", + "field": "hide_block", + "type": "boolean", + "meta": { + "collection": "page_blocks", + "conditions": null, + "display": null, + "display_options": null, + "field": "hide_block", + "group": null, + "hidden": false, + "interface": "boolean", + "note": "Temporarily hide this block on the website without having to remove it from your page.", + "options": null, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "cast-boolean" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "hide_block", + "table": "page_blocks", + "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 + } + }, + { + "collection": "page_blocks", + "field": "background", + "type": "string", + "meta": { + "collection": "page_blocks", + "conditions": null, + "display": null, + "display_options": null, + "field": "background", + "group": null, + "hidden": false, + "interface": "select-dropdown", + "note": "Background color for the block to create contrast. Does not control dark or light mode for the entire site.", + "options": { + "choices": [ + { + "icon": "light_mode", + "text": "Default", + "value": "light" + }, + { + "icon": "dark_mode", + "text": "Dark", + "value": "dark" + } + ] + }, + "readonly": false, + "required": false, + "sort": 8, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "background", + "table": "page_blocks", + "data_type": "character varying", + "default_value": "light", + "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 + } + }, + { + "collection": "pages", + "field": "id", + "type": "uuid", + "meta": { + "collection": "pages", + "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": "pages", + "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 + } + }, + { + "collection": "pages", + "field": "sort", + "type": "integer", + "meta": { + "collection": "pages", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "pages", + "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 + } + }, + { + "collection": "pages", + "field": "title", + "type": "string", + "meta": { + "collection": "pages", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": "meta_content", + "hidden": false, + "interface": "input", + "note": "The title of this page.", + "options": { + "placeholder": "About Us" + }, + "readonly": false, + "required": true, + "sort": 1, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "title", + "table": "pages", + "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 + } + }, + { + "collection": "pages", + "field": "permalink", + "type": "string", + "meta": { + "collection": "pages", + "conditions": null, + "display": "formatted-value", + "display_options": { + "font": "monospace" + }, + "field": "permalink", + "group": "meta_content", + "hidden": false, + "interface": "input", + "note": "Unique URL for this page (start with `/`, can have multiple segments `/about/me`)).", + "options": { + "font": "monospace", + "placeholder": "/about-us", + "trim": true + }, + "readonly": false, + "required": true, + "sort": 2, + "special": null, + "translations": null, + "validation": { + "_and": [ + { + "permalink": { + "_regex": "^/(?:[a-z0-9]+(?:-[a-z0-9]+)*(?:/[a-z0-9]+(?:-[a-z0-9]+)*)*)?$" + } + } + ] + }, + "validation_message": "Please use lowercase letters, numbers, and hyphens in your permalink, starting with a slash (/) and without a trailing slash", + "width": "half" + }, + "schema": { + "name": "permalink", + "table": "pages", + "data_type": "character varying", + "default_value": null, + "max_length": 255, + "numeric_precision": null, + "numeric_scale": null, + "is_nullable": true, + "is_unique": true, + "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 + } + }, + { + "collection": "pages", + "field": "blocks", + "type": "alias", + "meta": { + "collection": "pages", + "conditions": null, + "display": "related-values", + "display_options": { + "template": "{{collection}}" + }, + "field": "blocks", + "group": "meta_content", + "hidden": false, + "interface": "list-m2a", + "note": "Create and arrange different content blocks (like text, images, or videos) to build your page.", + "options": { + "prefix": null + }, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "m2a" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "pages", + "field": "status", + "type": "string", + "meta": { + "collection": "pages", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "color": "#A2B5CD", + "icon": "draft_orders", + "text": "$t:draft", + "value": "draft" + }, + { + "color": "#FFA439", + "icon": "rate_review", + "text": "In Review", + "value": "in_review" + }, + { + "color": "#2ECDA7", + "icon": "check", + "text": "$t:published", + "value": "published" + } + ] + }, + "field": "status", + "group": "meta_content", + "hidden": false, + "interface": "select-dropdown", + "note": "Is this page published?", + "options": { + "choices": [ + { + "color": "#A2B5CD", + "icon": "draft_orders", + "text": "$t:draft", + "value": "draft" + }, + { + "color": "#FFA439", + "icon": "rate_review", + "text": "In Review", + "value": "in_review" + }, + { + "color": "#2ECDA7", + "icon": "check", + "text": "$t:published", + "value": "published" + } + ] + }, + "readonly": false, + "required": false, + "sort": 3, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "status", + "table": "pages", + "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 + } + }, + { + "collection": "pages", + "field": "meta_m2a_button", + "type": "alias", + "meta": { + "collection": "pages", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_m2a_button", + "group": "meta_content", + "hidden": false, + "interface": "directus-labs-experimental-m2a-interface", + "note": null, + "options": { + "target": "above" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "pages", + "field": "meta_divider_content", + "type": "alias", + "meta": { + "collection": "pages", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_divider_content", + "group": "meta_content", + "hidden": false, + "interface": "presentation-divider", + "note": null, + "options": { + "color": "#A2B5CD", + "icon": "format_paragraph", + "inlineTitle": true + }, + "readonly": false, + "required": false, + "sort": 5, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "pages", + "field": "published_at", + "type": "timestamp", + "meta": { + "collection": "pages", + "conditions": [ + { + "hidden": false, + "name": "Show If Status = Published", + "options": { + "includeSeconds": false, + "use24": true + }, + "rule": { + "_and": [ + { + "status": { + "_eq": "published" + } + } + ] + } + } + ], + "display": "datetime", + "display_options": { + "format": "short" + }, + "field": "published_at", + "group": "meta_content", + "hidden": false, + "interface": "datetime", + "note": "Publish now or schedule for later.", + "options": { + "use24": false + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "published_at", + "table": "pages", + "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 + } + }, + { + "collection": "pages", + "field": "meta_notice_pagebuilder", + "type": "alias", + "meta": { + "collection": "pages", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_notice_pagebuilder", + "group": "meta_content", + "hidden": false, + "interface": "presentation-notice", + "note": null, + "options": { + "text": "Build dynamic pages quickly using ready-made blocks. See our documentation to learn more about the Page Builder." + }, + "readonly": false, + "required": false, + "sort": 6, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "pages", + "field": "meta_header_pages", + "type": "alias", + "meta": { + "collection": "pages", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_pages", + "group": null, + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "help": "

Creating and Managing Pages

\n

Pages are the foundation of your website, where you'll combine different content blocks to create engaging layouts. Each page can be built using a mix of blocks like Hero sections, Rich Text, Forms, and more.

\n

Page Settings

\n

Title

\n

The page title appears in browser tabs and search results. Make it clear and descriptive of the page's content. This is what visitors will see when they bookmark your page or share it on social media.

\n

URL (Permalink)

\n\n

Description

\n

A brief summary of the page that appears in search results. Write 1-2 sentences that clearly explain what visitors will find on this page. Good descriptions help with SEO and encourage people to click through to your site.

\n

Publishing Options

\n\n

\"Help

\n

Working with Blocks

\n

Your page content is built by adding and arranging blocks. Think of blocks as building pieces that you can stack and rearrange to create your perfect page layout.

\n

Tips for Building with Blocks

\n\n

Block Background Options

\n

Each block can have either a light or dark background:

\n\n

General Tips for All Blocks

\n", + "subtitle": "{{status}} • Published At: {{published_at}}", + "title": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "fill" + } + }, + { + "collection": "pages", + "field": "meta_tabs", + "type": "alias", + "meta": { + "collection": "pages", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_tabs", + "group": null, + "hidden": false, + "interface": "group-tabs", + "note": null, + "options": { + "fillWidth": true + }, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "Tabs" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "pages", + "field": "meta_content", + "type": "alias", + "meta": { + "collection": "pages", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_content", + "group": "meta_tabs", + "hidden": false, + "interface": "group-raw", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "Content" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "pages", + "field": "meta_seo", + "type": "alias", + "meta": { + "collection": "pages", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_seo", + "group": "meta_tabs", + "hidden": false, + "interface": "group-raw", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "SEO" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "pages", + "field": "seo", + "type": "json", + "meta": { + "collection": "pages", + "conditions": null, + "display": "seo-display", + "display_options": { + "showSearchPreview": true + }, + "field": "seo", + "group": "meta_seo", + "hidden": false, + "interface": "seo-interface", + "note": null, + "options": { + "showSearchControls": true, + "titleTemplate": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "seo", + "table": "pages", + "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 + } + }, + { + "collection": "posts", + "field": "content", + "type": "text", + "meta": { + "collection": "posts", + "conditions": null, + "display": "formatted-value", + "display_options": { + "format": true + }, + "field": "content", + "group": "meta_content", + "hidden": false, + "interface": "input-rich-text-html", + "note": "Rich text content of your blog post.", + "options": { + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9", + "toolbar": [ + "blockquote", + "bold", + "bullist", + "code", + "customImage", + "customLink", + "customMedia", + "fullscreen", + "h1", + "h2", + "h3", + "hr", + "italic", + "numlist", + "redo", + "removeformat", + "underline", + "undo" + ] + }, + "readonly": false, + "required": false, + "sort": 11, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "content", + "table": "posts", + "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 + } + }, + { + "collection": "posts", + "field": "id", + "type": "uuid", + "meta": { + "collection": "posts", + "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": "posts", + "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 + } + }, + { + "collection": "posts", + "field": "image", + "type": "uuid", + "meta": { + "collection": "posts", + "conditions": null, + "display": "image", + "display_options": null, + "field": "image", + "group": "meta_content", + "hidden": false, + "interface": "file-image", + "note": "Featured image for this post. Used in cards linking to the post and in the post detail page.", + "options": { + "crop": false, + "folder": "ece7bab9-5433-4a63-b9f7-bde8b517d6d9" + }, + "readonly": false, + "required": false, + "sort": 9, + "special": [ + "file" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "image", + "table": "posts", + "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" + } + }, + { + "collection": "posts", + "field": "slug", + "type": "string", + "meta": { + "collection": "posts", + "conditions": null, + "display": "formatted-value", + "display_options": { + "font": "monospace" + }, + "field": "slug", + "group": "meta_content", + "hidden": false, + "interface": "extension-wpslug", + "note": "Unique URL for this post (e.g., `yoursite.com/posts/{{your-slug}}`)", + "options": { + "font": "monospace", + "placeholder": null, + "template": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 2, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "slug", + "table": "posts", + "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 + } + }, + { + "collection": "posts", + "field": "sort", + "type": "integer", + "meta": { + "collection": "posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "sort", + "group": null, + "hidden": true, + "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": "sort", + "table": "posts", + "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 + } + }, + { + "collection": "posts", + "field": "status", + "type": "string", + "meta": { + "collection": "posts", + "conditions": null, + "display": "labels", + "display_options": { + "choices": [ + { + "color": "#A2B5CD", + "icon": "draft_orders", + "text": "$t:draft", + "value": "draft" + }, + { + "color": "#FFA439", + "icon": "rate_review", + "text": "In Review", + "value": "in_review" + }, + { + "color": "#2ECDA7", + "icon": "check", + "text": "$t:published", + "value": "published" + } + ] + }, + "field": "status", + "group": "meta_content", + "hidden": false, + "interface": "select-dropdown", + "note": "Is this post published?", + "options": { + "choices": [ + { + "color": "#A2B5CD", + "icon": "draft_orders", + "text": "$t:draft", + "value": "draft" + }, + { + "color": "#FFA439", + "icon": "rate_review", + "text": "In Review", + "value": "in_review" + }, + { + "color": "#2ECDA7", + "icon": "check", + "text": "$t:published", + "value": "published" + } + ] + }, + "readonly": false, + "required": false, + "sort": 4, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "status", + "table": "posts", + "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 + } + }, + { + "collection": "posts", + "field": "title", + "type": "string", + "meta": { + "collection": "posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "title", + "group": "meta_content", + "hidden": false, + "interface": "input", + "note": "Title of the blog post (used in page title and meta tags)", + "options": { + "placeholder": "Essential tips for first-time home buyers" + }, + "readonly": false, + "required": true, + "sort": 1, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "title", + "table": "posts", + "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 + } + }, + { + "collection": "posts", + "field": "description", + "type": "text", + "meta": { + "collection": "posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "description", + "group": "meta_content", + "hidden": false, + "interface": "input-multiline", + "note": "Short summary of the blog post to entice readers.", + "options": { + "placeholder": "Discover key strategies for navigating the home buying process, from budgeting to closing. Learn how to avoid common pitfalls and make informed decisions." + }, + "readonly": false, + "required": false, + "sort": 6, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "description", + "table": "posts", + "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 + } + }, + { + "collection": "posts", + "field": "author", + "type": "uuid", + "meta": { + "collection": "posts", + "conditions": null, + "display": "user", + "display_options": { + "circle": true + }, + "field": "author", + "group": "meta_content", + "hidden": false, + "interface": "select-dropdown-m2o", + "note": "Select the team member who wrote this post", + "options": { + "template": "{{avatar.$thumbnail}} {{first_name}} {{last_name}}" + }, + "readonly": false, + "required": false, + "sort": 7, + "special": [ + "m2o" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "author", + "table": "posts", + "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" + } + }, + { + "collection": "posts", + "field": "published_at", + "type": "timestamp", + "meta": { + "collection": "posts", + "conditions": [ + { + "hidden": false, + "name": "Show If Status = Published", + "options": { + "includeSeconds": false, + "use24": true + }, + "rule": { + "_and": [ + { + "status": { + "_eq": "published" + } + } + ] + } + } + ], + "display": "datetime", + "display_options": { + "format": "short" + }, + "field": "published_at", + "group": "meta_content", + "hidden": false, + "interface": "datetime", + "note": "Publish now or schedule for later.", + "options": { + "use24": false + }, + "readonly": false, + "required": false, + "sort": 5, + "special": null, + "translations": null, + "validation": null, + "validation_message": null, + "width": "half" + }, + "schema": { + "name": "published_at", + "table": "posts", + "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 + } + }, + { + "collection": "posts", + "field": "meta_divider_info", + "type": "alias", + "meta": { + "collection": "posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_divider_info", + "group": "meta_content", + "hidden": false, + "interface": "presentation-divider", + "note": null, + "options": { + "color": "#A2B5CD", + "icon": "calendar_month", + "inlineTitle": true + }, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "posts", + "field": "meta_header_content", + "type": "alias", + "meta": { + "collection": "posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_content", + "group": "meta_content", + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "actions": [ + { + "actionType": "flow", + "flow": { + "collection": "directus_flows", + "key": "5915dd55-fff8-4d47-b48c-a0e42e5033c1" + }, + "icon": "text_increase", + "label": "AI Ghostwriter", + "type": "normal" + } + ], + "help": "

Need inspiration? Use Flows like AI Ghostwriter to help draft your content.

\n

Note: This uses OpenAI so you'll need to add your API key in the Globals collection first.

", + "icon": "text_snippet", + "title": "Content" + }, + "readonly": false, + "required": false, + "sort": 10, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "posts", + "field": "meta_header_image", + "type": "alias", + "meta": { + "collection": "posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_image", + "group": "meta_content", + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "actions": [ + { + "actionType": "flow", + "flow": { + "collection": "directus_flows", + "key": "d4bbac48-a444-49e0-aedb-9af5273b88df" + }, + "icon": "image", + "label": "AI Image Generator", + "type": "normal" + } + ], + "help": "

Need inspiration? Use Flows like AI Image Generator to generate on-brand images for your post using AI.

\n

Note: This uses OpenAI so you'll need to add your API key in the Globals collection first.

", + "icon": "image", + "title": "Image" + }, + "readonly": false, + "required": false, + "sort": 8, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "posts", + "field": "meta_header_posts", + "type": "alias", + "meta": { + "collection": "posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_header_posts", + "group": null, + "hidden": false, + "interface": "super-header", + "note": null, + "options": { + "help": "

Managing Blog Posts

\n

Blog posts are a powerful way to share your content, news, and updates with your audience. Each post can include rich text content, images, and metadata to help with organization and discovery.

\n

Post Settings

\n

Title

\n

The main headline of your blog post. This appears at the top of the post and in preview cards across your site. Make it:

\n\n

Description

\n

A brief preview of your post that appears in blog listings and search results. Write 1-2 compelling sentences that:

\n\n

Featured Image

\n

The main visual for your post that appears:

\n\n

URL Slug

\n

The unique portion of the URL for this post. For example, in \"yoursite.com/posts/my-first-post\", \"my-first-post\" is the slug.

\n\n

Content

\n

The main body of your post, supporting rich text formatting including:

\n\n

Author

\n

Select the team member who wrote the post. This helps:

\n\n

Publishing Options

\n\n

Best Practices for Blog Posts

\n

Writing Tips

\n\n

SEO Considerations

\n\n

Image Guidelines

\n", + "icon": null, + "subtitle": "{{status}} • Published At: {{published_at}}", + "title": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 3, + "special": [ + "alias", + "no-data" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "fill" + } + }, + { + "collection": "posts", + "field": "meta_tabs", + "type": "alias", + "meta": { + "collection": "posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_tabs", + "group": null, + "hidden": false, + "interface": "group-tabs", + "note": null, + "options": { + "fillWidth": true + }, + "readonly": false, + "required": false, + "sort": 4, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "Tabs" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "posts", + "field": "meta_content", + "type": "alias", + "meta": { + "collection": "posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_content", + "group": "meta_tabs", + "hidden": false, + "interface": "group-raw", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "Content" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "posts", + "field": "meta_seo", + "type": "alias", + "meta": { + "collection": "posts", + "conditions": null, + "display": null, + "display_options": null, + "field": "meta_seo", + "group": "meta_tabs", + "hidden": false, + "interface": "group-raw", + "note": null, + "options": null, + "readonly": false, + "required": false, + "sort": 2, + "special": [ + "alias", + "no-data", + "group" + ], + "translations": [ + { + "language": "en-US", + "translation": "SEO" + } + ], + "validation": null, + "validation_message": null, + "width": "full" + } + }, + { + "collection": "posts", + "field": "seo", + "type": "json", + "meta": { + "collection": "posts", + "conditions": null, + "display": "seo-display", + "display_options": { + "showSearchPreview": true + }, + "field": "seo", + "group": "meta_seo", + "hidden": false, + "interface": "seo-interface", + "note": null, + "options": { + "additionalFields": null, + "descriptionTemplate": "{{description}}", + "titleTemplate": "{{title}}" + }, + "readonly": false, + "required": false, + "sort": 1, + "special": [ + "cast-json" + ], + "translations": null, + "validation": null, + "validation_message": null, + "width": "full" + }, + "schema": { + "name": "seo", + "table": "posts", + "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 + } + } + ], + "relations": [ + { + "collection": "block_button", + "field": "page", + "related_collection": "pages", + "meta": { + "junction_field": null, + "many_collection": "block_button", + "many_field": "page", + "one_allowed_collections": null, + "one_collection": "pages", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "block_button", + "column": "page", + "foreign_key_table": "pages", + "foreign_key_column": "id", + "constraint_name": "block_button_page_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "block_button", + "field": "post", + "related_collection": "posts", + "meta": { + "junction_field": null, + "many_collection": "block_button", + "many_field": "post", + "one_allowed_collections": null, + "one_collection": "posts", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "block_button", + "column": "post", + "foreign_key_table": "posts", + "foreign_key_column": "id", + "constraint_name": "block_button_post_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "block_button", + "field": "button_group", + "related_collection": "block_button_group", + "meta": { + "junction_field": null, + "many_collection": "block_button", + "many_field": "button_group", + "one_allowed_collections": null, + "one_collection": "block_button_group", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "buttons", + "sort_field": "sort" + }, + "schema": { + "table": "block_button", + "column": "button_group", + "foreign_key_table": "block_button_group", + "foreign_key_column": "id", + "constraint_name": "block_button_button_group_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "block_form", + "field": "form", + "related_collection": "forms", + "meta": { + "junction_field": null, + "many_collection": "block_form", + "many_field": "form", + "one_allowed_collections": null, + "one_collection": "forms", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "block_form", + "column": "form", + "foreign_key_table": "forms", + "foreign_key_column": "id", + "constraint_name": "block_form_form_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "block_gallery_items", + "field": "directus_file", + "related_collection": "directus_files", + "meta": { + "junction_field": "block_gallery", + "many_collection": "block_gallery_items", + "many_field": "directus_file", + "one_allowed_collections": null, + "one_collection": "directus_files", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "block_gallery_items", + "column": "directus_file", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "block_gallery_items_directus_file_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "block_gallery_items", + "field": "block_gallery", + "related_collection": "block_gallery", + "meta": { + "junction_field": "directus_file", + "many_collection": "block_gallery_items", + "many_field": "block_gallery", + "one_allowed_collections": null, + "one_collection": "block_gallery", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": "items", + "sort_field": "sort" + }, + "schema": { + "table": "block_gallery_items", + "column": "block_gallery", + "foreign_key_table": "block_gallery", + "foreign_key_column": "id", + "constraint_name": "block_gallery_items_block_gallery_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "block_hero", + "field": "image", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "block_hero", + "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": "block_hero", + "column": "image", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "block_hero_image_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "block_hero", + "field": "button_group", + "related_collection": "block_button_group", + "meta": { + "junction_field": null, + "many_collection": "block_hero", + "many_field": "button_group", + "one_allowed_collections": null, + "one_collection": "block_button_group", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "block_hero", + "column": "button_group", + "foreign_key_table": "block_button_group", + "foreign_key_column": "id", + "constraint_name": "block_hero_button_group_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "block_pricing_cards", + "field": "button", + "related_collection": "block_button", + "meta": { + "junction_field": null, + "many_collection": "block_pricing_cards", + "many_field": "button", + "one_allowed_collections": null, + "one_collection": "block_button", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "block_pricing_cards", + "column": "button", + "foreign_key_table": "block_button", + "foreign_key_column": "id", + "constraint_name": "block_pricing_cards_button_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "block_pricing_cards", + "field": "pricing", + "related_collection": "block_pricing", + "meta": { + "junction_field": null, + "many_collection": "block_pricing_cards", + "many_field": "pricing", + "one_allowed_collections": null, + "one_collection": "block_pricing", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "pricing_cards", + "sort_field": "sort" + }, + "schema": { + "table": "block_pricing_cards", + "column": "pricing", + "foreign_key_table": "block_pricing", + "foreign_key_column": "id", + "constraint_name": "block_pricing_cards_pricing_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "form_fields", + "field": "form", + "related_collection": "forms", + "meta": { + "junction_field": null, + "many_collection": "form_fields", + "many_field": "form", + "one_allowed_collections": null, + "one_collection": "forms", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": "fields", + "sort_field": "sort" + }, + "schema": { + "table": "form_fields", + "column": "form", + "foreign_key_table": "forms", + "foreign_key_column": "id", + "constraint_name": "form_fields_form_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "form_submission_values", + "field": "form_submission", + "related_collection": "form_submissions", + "meta": { + "junction_field": null, + "many_collection": "form_submission_values", + "many_field": "form_submission", + "one_allowed_collections": null, + "one_collection": "form_submissions", + "one_collection_field": null, + "one_deselect_action": "delete", + "one_field": "values", + "sort_field": "sort" + }, + "schema": { + "table": "form_submission_values", + "column": "form_submission", + "foreign_key_table": "form_submissions", + "foreign_key_column": "id", + "constraint_name": "form_submission_values_form_submission_foreign", + "on_update": "NO ACTION", + "on_delete": "CASCADE" + } + }, + { + "collection": "form_submission_values", + "field": "field", + "related_collection": "form_fields", + "meta": { + "junction_field": null, + "many_collection": "form_submission_values", + "many_field": "field", + "one_allowed_collections": null, + "one_collection": "form_fields", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "form_submission_values", + "column": "field", + "foreign_key_table": "form_fields", + "foreign_key_column": "id", + "constraint_name": "form_submission_values_field_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "form_submission_values", + "field": "file", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "form_submission_values", + "many_field": "file", + "one_allowed_collections": null, + "one_collection": "directus_files", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "form_submission_values", + "column": "file", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "form_submission_values_file_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "form_submissions", + "field": "form", + "related_collection": "forms", + "meta": { + "junction_field": null, + "many_collection": "form_submissions", + "many_field": "form", + "one_allowed_collections": null, + "one_collection": "forms", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "submissions", + "sort_field": null + }, + "schema": { + "table": "form_submissions", + "column": "form", + "foreign_key_table": "forms", + "foreign_key_column": "id", + "constraint_name": "form_submissions_form_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "globals", + "field": "favicon", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "globals", + "many_field": "favicon", + "one_allowed_collections": null, + "one_collection": "directus_files", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "globals", + "column": "favicon", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "globals_favicon_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "globals", + "field": "logo", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "globals", + "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": "globals", + "column": "logo", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "globals_logo_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "globals", + "field": "logo_dark_mode", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "globals", + "many_field": "logo_dark_mode", + "one_allowed_collections": null, + "one_collection": "directus_files", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "globals", + "column": "logo_dark_mode", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "globals_logo_dark_mode_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "navigation_items", + "field": "navigation", + "related_collection": "navigation", + "meta": { + "junction_field": null, + "many_collection": "navigation_items", + "many_field": "navigation", + "one_allowed_collections": null, + "one_collection": "navigation", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "items", + "sort_field": "sort" + }, + "schema": { + "table": "navigation_items", + "column": "navigation", + "foreign_key_table": "navigation", + "foreign_key_column": "id", + "constraint_name": "navigation_items_navigation_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "navigation_items", + "field": "page", + "related_collection": "pages", + "meta": { + "junction_field": null, + "many_collection": "navigation_items", + "many_field": "page", + "one_allowed_collections": null, + "one_collection": "pages", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "navigation_items", + "column": "page", + "foreign_key_table": "pages", + "foreign_key_column": "id", + "constraint_name": "navigation_items_page_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "navigation_items", + "field": "parent", + "related_collection": "navigation_items", + "meta": { + "junction_field": null, + "many_collection": "navigation_items", + "many_field": "parent", + "one_allowed_collections": null, + "one_collection": "navigation_items", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "children", + "sort_field": "sort" + }, + "schema": { + "table": "navigation_items", + "column": "parent", + "foreign_key_table": "navigation_items", + "foreign_key_column": "id", + "constraint_name": "navigation_items_parent_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "navigation_items", + "field": "post", + "related_collection": "posts", + "meta": { + "junction_field": null, + "many_collection": "navigation_items", + "many_field": "post", + "one_allowed_collections": null, + "one_collection": "posts", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + }, + "schema": { + "table": "navigation_items", + "column": "post", + "foreign_key_table": "posts", + "foreign_key_column": "id", + "constraint_name": "navigation_items_post_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "page_blocks", + "field": "page", + "related_collection": "pages", + "meta": { + "junction_field": "item", + "many_collection": "page_blocks", + "many_field": "page", + "one_allowed_collections": null, + "one_collection": "pages", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "blocks", + "sort_field": "sort" + }, + "schema": { + "table": "page_blocks", + "column": "page", + "foreign_key_table": "pages", + "foreign_key_column": "id", + "constraint_name": "page_blocks_pages_id_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + }, + { + "collection": "page_blocks", + "field": "item", + "related_collection": null, + "meta": { + "junction_field": "page", + "many_collection": "page_blocks", + "many_field": "item", + "one_allowed_collections": [ + "block_hero", + "block_richtext", + "block_form", + "block_posts", + "block_gallery", + "block_pricing" + ], + "one_collection": null, + "one_collection_field": "collection", + "one_deselect_action": "nullify", + "one_field": null, + "sort_field": null + } + }, + { + "collection": "posts", + "field": "image", + "related_collection": "directus_files", + "meta": { + "junction_field": null, + "many_collection": "posts", + "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": "posts", + "column": "image", + "foreign_key_table": "directus_files", + "foreign_key_column": "id", + "constraint_name": "posts_image_foreign", + "on_update": "NO ACTION", + "on_delete": "NO ACTION" + } + }, + { + "collection": "posts", + "field": "author", + "related_collection": "directus_users", + "meta": { + "junction_field": null, + "many_collection": "posts", + "many_field": "author", + "one_allowed_collections": null, + "one_collection": "directus_users", + "one_collection_field": null, + "one_deselect_action": "nullify", + "one_field": "posts", + "sort_field": "sort" + }, + "schema": { + "table": "posts", + "column": "author", + "foreign_key_table": "directus_users", + "foreign_key_column": "id", + "constraint_name": "posts_author_foreign", + "on_update": "NO ACTION", + "on_delete": "SET NULL" + } + } + ] +} \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/settings.json b/simple-website-cms/directus/template/src/settings.json new file mode 100644 index 00000000..f0196dd9 --- /dev/null +++ b/simple-website-cms/directus/template/src/settings.json @@ -0,0 +1,270 @@ +{ + "id": 1, + "project_name": "CMS", + "project_url": null, + "project_color": "#6644FF", + "project_logo": null, + "public_foreground": null, + "public_background": null, + "public_note": null, + "auth_login_attempts": 25, + "auth_password_policy": "/^.{8,}$/", + "storage_asset_transform": "all", + "storage_asset_presets": [ + { + "key": "800w", + "fit": "inside", + "width": 800, + "quality": 90, + "withoutEnlargement": true, + "format": "webp", + "transforms": [], + "height": null + }, + { + "key": "1200w", + "fit": "inside", + "width": 1200, + "quality": 90, + "withoutEnlargement": true, + "format": "webp", + "transforms": [] + } + ], + "custom_css": ".v-divider.inlineTitle.large.add-margin-top {\n margin-top: 0 !important;\n}\n\n#sidebar .v-divider.inlineTitle {\n background-color: var(--theme--background) !important;\n box-shadow: none !important;\n}\n\nbody {\n font-size: 16px !important;\n}\n\n.drawer-item-content {\n --theme--form--row-gap: 18px;\n --theme--form--column-gap: 32px;\n}\n\n.v-workspace-tile {\n background: var(--theme--background) !important;\n}", + "storage_default_folder": null, + "basemaps": null, + "mapbox_key": null, + "module_bar": [ + { + "type": "module", + "id": "content", + "enabled": true + }, + { + "type": "module", + "id": "visual", + "enabled": true + }, + { + "type": "module", + "id": "users", + "enabled": true + }, + { + "type": "module", + "id": "files", + "enabled": true + }, + { + "type": "module", + "id": "insights", + "enabled": true + }, + { + "type": "link", + "id": "docs", + "name": "Directus Docs", + "url": "https://docs.directus.io", + "icon": "help_outline", + "enabled": true + }, + { + "type": "module", + "id": "settings", + "enabled": true, + "locked": true + }, + { + "type": "module", + "id": "global-search", + "enabled": true + } + ], + "project_descriptor": null, + "default_language": "en-US", + "custom_aspect_ratios": null, + "public_favicon": null, + "default_appearance": "auto", + "default_theme_light": "Directus Default", + "theme_light_overrides": { + "form": { + "rowGap": "16px", + "field": { + "input": { + "height": "48px", + "background": "var(--theme--background)" + } + } + }, + "borderWidth": "1px", + "navigation": { + "modules": { + "background": "color-mix(in srgb, var(--theme--foreground), var(--theme--primary) 80%)", + "button": { + "foreground": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 20%)", + "foregroundActive": "var(--theme--primary)", + "backgroundActive": "var(--theme--background)" + } + }, + "background": "var(--theme--background)", + "project": { + "background": "transparent" + }, + "borderColor": "color-mix(in srgb, var(--theme--foreground), var(--theme--background) 95%)", + "borderWidth": "1px", + "list": { + "divider": { + "borderColor": "var(--theme--border-color-subdued)" + }, + "backgroundHover": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 10%)", + "backgroundActive": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 15%)" + } + }, + "fonts": { + "display": { + "fontFamily": "\"Space Grotesk\", system-ui", + "fontWeight": "600" + }, + "sans": { + "fontFamily": "\"DM Sans\", system-ui" + } + }, + "borderRadius": "6px", + "sidebar": { + "background": "var(--theme--background)", + "borderWidth": "1px", + "borderColor": "var(--theme--border-color-subdued)", + "section": { + "toggle": { + "borderColor": "var(--theme--border-color-subdued)", + "borderWidth": "1px", + "background": "var(--theme--background)", + "foreground": "var(--theme--foreground)", + "foregroundHover": "var(--theme--foreground)", + "icon": { + "foreground": "var(--theme--foreground)", + "foregroundHover": "var(--theme--foreground)", + "foregroundActive": "var(--theme--foreground-accent)" + } + } + } + }, + "backgroundAccent": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 15%)" + }, + "default_theme_dark": "Directus Default", + "theme_dark_overrides": { + "form": { + "rowGap": "16px", + "field": { + "input": { + "height": "48px", + "background": "var(--theme--background)" + } + } + }, + "borderWidth": "1px", + "navigation": { + "modules": { + "background": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 80%)", + "button": { + "foreground": "color-mix(in srgb, var(--theme--foreground), var(--theme--primary) 20%)", + "foregroundActive": "#fff", + "backgroundActive": "color-mix(in srgb, var(--theme--primary), var(--theme--background) 40%)" + } + }, + "background": "var(--theme--background)", + "project": { + "background": "transparent" + }, + "borderColor": "color-mix(in srgb, var(--theme--foreground), var(--theme--background) 95%)", + "borderWidth": "1px", + "list": { + "divider": { + "borderColor": "var(--theme--border-color-subdued)" + }, + "backgroundHover": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 10%)", + "backgroundActive": "color-mix(in srgb, var(--theme--background), var(--theme--primary) 15%)" + } + }, + "fonts": { + "display": { + "fontFamily": "\"Space Grotesk\", system-ui" + }, + "sans": { + "fontFamily": "\"DM Sans\", system-ui" + } + }, + "borderRadius": "6px", + "sidebar": { + "background": "var(--theme--background)", + "borderWidth": "1px", + "borderColor": "var(--theme--border-color-subdued)", + "section": { + "toggle": { + "borderColor": "var(--theme--border-color-subdued)", + "borderWidth": "1px", + "foreground": "var(--theme--foreground)", + "foregroundHover": "var(--theme--foreground)", + "icon": { + "foreground": "var(--theme--foreground)", + "foregroundHover": "var(--theme--foreground)", + "foregroundActive": "var(--theme--foreground-accent)" + }, + "background": "var(--theme--background)" + } + } + }, + "foregroundSubdued": "color-mix(in srgb, var(--theme--background), var(--theme--foreground) 60%)" + }, + "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, + "command_palette_settings": { + "searchMode": "as_you_type", + "collections": [ + { + "collection": "pages", + "displayTemplate": "{{title}}", + "descriptionField": "permalink", + "fields": [ + "title", + "permalink" + ], + "limit": 10, + "availableGlobally": false + }, + { + "collection": "posts", + "displayTemplate": "{{title}}", + "descriptionField": "description", + "fields": [ + "title", + "description" + ], + "limit": 10, + "availableGlobally": true + }, + { + "collection": "forms", + "displayTemplate": "{{title}}", + "descriptionField": null, + "fields": [ + "values.field_name", + "title" + ], + "limit": 10, + "availableGlobally": false + } + ], + "triggerRate": 250, + "commandPaletteEnabled": true + }, + "visual_editor_urls": [ + "http://localhost:3000?visual-editing=true" + ] +} diff --git a/simple-website-cms/directus/template/src/translations.json b/simple-website-cms/directus/template/src/translations.json new file mode 100644 index 00000000..e969a7ae --- /dev/null +++ b/simple-website-cms/directus/template/src/translations.json @@ -0,0 +1,8 @@ +[ + { + "id": "8be74450-2f67-4c3c-a179-8b388222aa98", + "language": "en-US", + "key": "help", + "value": "Help" + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/template/src/users.json b/simple-website-cms/directus/template/src/users.json new file mode 100644 index 00000000..863302eb --- /dev/null +++ b/simple-website-cms/directus/template/src/users.json @@ -0,0 +1,94 @@ +[ + { + "id": "88a6e8cf-f0f8-41db-a3a2-8a9741c086cc", + "first_name": "Frontend", + "last_name": "Bot", + "email": null, + "password": null, + "location": null, + "title": "For server-to-server communication", + "description": "This user has API only access and is meant for communicating securely with Directus from your frontend.\n\nThis user has elevated permissions over the Public to:\n- Submit Forms \n- Upload Files \n\nFrom a security perspective, you would typically not want to allow public access to upload files or submit forms.\n\n- Generate a static token access below and include it in API calls to Directus when submitting forms or uploading files from a form.\n- Be careful to only use the token server side to prevent the static access token from being exposed to the client side.", + "tags": [ + "API" + ], + "avatar": "14594872-a805-4251-8dfd-b93bb2effbc0", + "language": null, + "tfa_secret": null, + "status": "active", + "role": null, + "token": "**********", + "last_access": null, + "last_page": null, + "provider": "default", + "external_identifier": null, + "auth_data": null, + "email_notifications": true, + "appearance": null, + "theme_dark": null, + "theme_light": null, + "theme_light_overrides": null, + "theme_dark_overrides": null, + "posts": null, + "policies": null + }, + { + "id": "9a105323-5eec-48d4-8a79-4681fdc94276", + "first_name": "Content", + "last_name": "Writer", + "email": "writer@example.com", + "password": "**********", + "location": null, + "title": null, + "description": null, + "tags": null, + "avatar": "5f35b7e3-0357-47c3-807f-f132cca95e3f", + "language": null, + "tfa_secret": null, + "status": "active", + "role": "3a4464fb-2189-4710-a164-2503eed88ae7", + "token": null, + "last_access": "2025-04-02T19:38:38.817Z", + "last_page": "/content/posts/ba559a1e-5b0c-4932-ab97-b1ab4ca69955", + "provider": "default", + "external_identifier": null, + "auth_data": null, + "email_notifications": true, + "appearance": null, + "theme_dark": null, + "theme_light": null, + "theme_light_overrides": null, + "theme_dark_overrides": null, + "posts": null, + "policies": null + }, + { + "id": "d56956bf-6ed0-465e-bb4a-ec9bde65c5f0", + "first_name": "Webmaster", + "last_name": null, + "email": "cms@example.com", + "password": "**********", + "location": null, + "title": null, + "description": null, + "tags": null, + "avatar": "d627d585-2c14-4bbf-89ca-34581083cc1d", + "language": null, + "tfa_secret": null, + "status": "active", + "role": "ef049c8b-546b-4bbc-9cd7-b05d77e58b66", + "token": "**********", + "last_access": "2025-04-08T21:26:16.499Z", + "last_page": "/users", + "provider": "default", + "external_identifier": null, + "auth_data": null, + "email_notifications": true, + "appearance": null, + "theme_dark": null, + "theme_light": null, + "theme_light_overrides": null, + "theme_dark_overrides": null, + "posts": null, + "policies": null + } +] \ No newline at end of file diff --git a/simple-website-cms/directus/uploads/.gitkeep b/simple-website-cms/directus/uploads/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/simple-website-cms/package.json b/simple-website-cms/package.json new file mode 100644 index 00000000..a10274b4 --- /dev/null +++ b/simple-website-cms/package.json @@ -0,0 +1,11 @@ +{ + "name": "directus-simple-website-cms-starter", + "version": "1.0.0", + "description": "A simple website CMS with pages, posts, and a block builder.", + "directus:template": { + "name": "Simple Website CMS", + "description": "A simple website CMS with pages, posts, and a block builder.", + "template": "./directus/template", + "frontends": {} + } +}