2021-09-21 12:47:14 +02:00
|
|
|
export const Events = {
|
2022-06-06 12:11:13 +02:00
|
|
|
// TODO: Remove most UI events
|
2021-09-21 21:21:15 +02:00
|
|
|
BUILDER: {
|
|
|
|
STARTED: "Builder Started",
|
|
|
|
},
|
|
|
|
COMPONENT: {
|
|
|
|
CREATED: "Added Component",
|
|
|
|
},
|
|
|
|
DATASOURCE: {
|
|
|
|
CREATED: "Datasource Created",
|
|
|
|
UPDATED: "Datasource Updated",
|
|
|
|
},
|
2021-11-29 11:37:31 +01:00
|
|
|
QUERIES: {
|
|
|
|
REST: "REST Queries Imported",
|
|
|
|
},
|
2021-09-21 21:21:15 +02:00
|
|
|
TABLE: {
|
|
|
|
CREATED: "Table Created",
|
|
|
|
},
|
|
|
|
VIEW: {
|
|
|
|
CREATED: "View Created",
|
|
|
|
ADDED_FILTER: "Added View Filter",
|
|
|
|
ADDED_CALCULATE: "Added View Calculate",
|
|
|
|
},
|
|
|
|
SCREEN: {
|
|
|
|
CREATED: "Screen Created",
|
2022-04-07 13:22:16 +02:00
|
|
|
CREATE_ROLE_UPDATED: "Changed Role On Screen Creation",
|
2021-09-21 21:21:15 +02:00
|
|
|
},
|
|
|
|
AUTOMATION: {
|
|
|
|
CREATED: "Automation Created",
|
|
|
|
SAVED: "Automation Saved",
|
|
|
|
BLOCK_ADDED: "Added Automation Block",
|
|
|
|
},
|
|
|
|
NPS: {
|
|
|
|
SUBMITTED: "budibase:feedback_submitted",
|
|
|
|
},
|
|
|
|
APP: {
|
|
|
|
CREATED: "budibase:app_created",
|
|
|
|
PUBLISHED: "budibase:app_published",
|
|
|
|
UNPUBLISHED: "budibase:app_unpublished",
|
2022-04-20 12:08:06 +02:00
|
|
|
VIEW_PUBLISHED: "budibase:view_published_app",
|
2021-09-21 21:21:15 +02:00
|
|
|
},
|
|
|
|
ANALYTICS: {
|
|
|
|
OPT_IN: "budibase:analytics_opt_in",
|
|
|
|
OPT_OUT: "budibase:analytics_opt_out",
|
|
|
|
},
|
|
|
|
USER: {
|
|
|
|
INVITE: "budibase:portal_user_invite",
|
|
|
|
},
|
|
|
|
SMTP: {
|
|
|
|
SAVED: "budibase:smtp_saved",
|
|
|
|
},
|
|
|
|
SSO: {
|
|
|
|
SAVED: "budibase:sso_saved",
|
|
|
|
},
|
2021-09-21 12:47:14 +02:00
|
|
|
}
|
2022-04-20 12:08:06 +02:00
|
|
|
|
|
|
|
export const EventSource = {
|
|
|
|
PORTAL: "portal",
|
|
|
|
URL: "url",
|
|
|
|
NOTIFICATION: "notification",
|
|
|
|
}
|