/**
 * Event Dictionary
 *
 * we keep a map of all events the app with some documentation, Since we use
 * events for internal communication between components, some events report
 * change of state, others represent a request addressed to a specific actor,
 * e.g. 'asks the http client to get x'
 *
 */

const eventWhitelist = [
  "forms/init",
  "forms/validate",
  "widgets/reset/workingState",
  "ui/addToSnackbar",
  "ui/setupProject",
  "ui/bootstrapFailed",
  "ui/syncRouteCompositions",
  "socket/data/update",
  "socket/join/room",
  "socket/leave/room",
  "backend/error",
]
const eventWildcards = [
  "query_deleted",
  "store_actionResolved",
  "socket_created",
  "socket_deleted",
]

export { eventWhitelist, eventWildcards }
