mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Add emitEvents flag to item reads in service (#14164)
* Add emitEvents flag to ItemsService.read* * Add emitEvents flag to item-read flow operation
This commit is contained in:
@@ -2042,6 +2042,7 @@ operations:
|
||||
description: Read items from the database
|
||||
key: IDs
|
||||
query: Query
|
||||
emit_events: Emit Events
|
||||
item-update:
|
||||
name: Update Data
|
||||
description: Update items in the database
|
||||
|
||||
@@ -105,5 +105,17 @@ export default defineOperationApp({
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'emitEvents',
|
||||
name: '$t:operations.item-create.emit_events',
|
||||
type: 'boolean',
|
||||
meta: {
|
||||
width: 'half',
|
||||
interface: 'boolean',
|
||||
},
|
||||
schema: {
|
||||
default_value: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user