diff --git a/api/src/database/seeds/system.yaml b/api/src/database/seeds/system.yaml
index e18ceee482..640924816a 100644
--- a/api/src/database/seeds/system.yaml
+++ b/api/src/database/seeds/system.yaml
@@ -1836,7 +1836,85 @@ rows:
hidden: true
locked: true
- # directus_webhooks TBD
+ - collection: directus_webhooks
+ field: id
+ hidden: true
+ locked: true
+ - collection: directus_webhooks
+ field: name
+ interface: text-input
+ locked: true
+ sort: 1
+ width: full
+ - collection: directus_webhooks
+ field: method
+ interface: dropdown
+ locked: true
+ options:
+ choices:
+ - GET
+ - POST
+ sort: 2
+ width: half
+ - collection: directus_webhooks
+ field: url
+ interface: text-input
+ locked: true
+ options:
+ iconRight: link
+ sort: 3
+ width: half
+ - collection: directus_webhooks
+ field: status
+ interface: dropdown
+ locked: true
+ options:
+ choices:
+ - text: Active
+ value: active
+ - text: Inactive
+ value: inactive
+ sort: 4
+ width: half
+ - collection: directus_webhooks
+ field: data
+ interface: toggle
+ locked: true
+ options:
+ choices:
+ label: Include item data in request
+ sort: 5
+ width: half
+ - collection: directus_webhooks
+ field: triggers_divider
+ interface: divider
+ options:
+ icon: api
+ title: Triggers
+ color: '#2F80ED'
+ special: alias
+ sort: 6
+ width: full
+ - collection: directus_webhooks
+ field: actions
+ interface: checkboxes
+ options:
+ choices:
+ - text: Create
+ value: create
+ - text: Update
+ value: update
+ - text: Delete
+ value: delete
+ special: csv
+ sort: 7
+ width: full
+ - collection: directus_webhooks
+ field: collections
+ interface: collections
+ special: csv
+ sort: 8
+ width: full
- collection: directus_activity
field: action
diff --git a/api/src/services/items.ts b/api/src/services/items.ts
index ce716e5edd..b46b7fe9bc 100644
--- a/api/src/services/items.ts
+++ b/api/src/services/items.ts
@@ -175,6 +175,7 @@ export default class ItemsService implements AbstractService {
}
const records = await runAST(ast);
+
return records;
}
diff --git a/app/src/interfaces/_system/collection/index.ts b/app/src/interfaces/_system/collection/index.ts
index 3f1e2e2bd0..99bb3c673c 100644
--- a/app/src/interfaces/_system/collection/index.ts
+++ b/app/src/interfaces/_system/collection/index.ts
@@ -2,7 +2,7 @@ import { defineInterface } from '@/interfaces/define';
import InterfaceCollection from './collection.vue';
export default defineInterface(({ i18n }) => ({
- id: 'collections',
+ id: 'collection',
name: i18n.t('interfaces.collection.collection'),
description: i18n.t('interfaces.collection.description'),
icon: 'featured_play_list',
diff --git a/app/src/interfaces/_system/collections/collections.vue b/app/src/interfaces/_system/collections/collections.vue
index 60563684b0..2c57a74067 100644
--- a/app/src/interfaces/_system/collections/collections.vue
+++ b/app/src/interfaces/_system/collections/collections.vue
@@ -1,5 +1,8 @@
-
+
+ {{ $t('no_collections') }}
+
+