6071 return only updated fields of records in zapier update trigger (#8193)
- move webhook triggers into `entity-events-to-db.listener.ts` - refactor event management - add a `@OnDatabaseEvent` decorator to manage database events - add updatedFields in updated events - update openApi webhooks docs - update zapier integration
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
import { DatabaseEventAction } from 'src/engine/api/graphql/graphql-query-runner/enums/database-event-action';
|
||||
|
||||
export const checkStringIsDatabaseEventAction = (
|
||||
value: string,
|
||||
): value is DatabaseEventAction => {
|
||||
return Object.values(DatabaseEventAction).includes(
|
||||
value as DatabaseEventAction,
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user