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:
Rijk van Zanten
2022-06-28 17:32:01 -04:00
committed by GitHub
parent 2607037ffe
commit f971eb4f1d
4 changed files with 52 additions and 29 deletions

View File

@@ -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

View File

@@ -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,
},
},
],
});