1
0
Fork 0
mirror of synced 2024-09-12 23:43:09 +12:00
budibase/packages/builder/src/components/common/eventHandlers.js

14 lines
356 B
JavaScript
Raw Normal View History

import { eventHandlers } from "../../../../client/src/state/eventHandlers"
export { EVENT_TYPE_MEMBER_NAME } from "../../../../client/src/state/eventHandlers"
2019-10-19 05:32:03 +13:00
2020-06-02 08:26:32 +12:00
export const allHandlers = () => {
const handlersObj = eventHandlers()
2020-05-07 21:53:34 +12:00
const handlers = Object.keys(handlersObj).map(name => ({
name,
...handlersObj[name],
}))
return handlers
}