* Address plugin changes around incremental websocket * ensure change_fields is set and is an object before processing --------- Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
10 lines
510 B
TypeScript
10 lines
510 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {PLAYBOOKS_PLUGIN_ID} from '@playbooks/constants/plugin';
|
|
|
|
export const WEBSOCKET_EVENTS = {
|
|
WEBSOCKET_PLAYBOOK_RUN_UPDATED: `custom_${PLAYBOOKS_PLUGIN_ID}_playbook_run_updated`,
|
|
WEBSOCKET_PLAYBOOK_RUN_CREATED: `custom_${PLAYBOOKS_PLUGIN_ID}_playbook_run_created`,
|
|
WEBSOCKET_PLAYBOOK_RUN_UPDATED_INCREMENTAL: `custom_${PLAYBOOKS_PLUGIN_ID}_playbook_run_updated_incremental`,
|
|
};
|