diff options
Diffstat (limited to 'app/assets/javascripts/contribution_events/constants.js')
-rw-r--r-- | app/assets/javascripts/contribution_events/constants.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/assets/javascripts/contribution_events/constants.js b/app/assets/javascripts/contribution_events/constants.js new file mode 100644 index 00000000000..05f968e7bc4 --- /dev/null +++ b/app/assets/javascripts/contribution_events/constants.js @@ -0,0 +1,14 @@ +// From app/models/event.rb#L16 +export const EVENT_TYPE_CREATED = 'created'; +export const EVENT_TYPE_UPDATED = 'updated'; +export const EVENT_TYPE_CLOSED = 'closed'; +export const EVENT_TYPE_REOPENED = 'reopened'; +export const EVENT_TYPE_PUSHED = 'pushed'; +export const EVENT_TYPE_COMMENTED = 'commented'; +export const EVENT_TYPE_MERGED = 'merged'; +export const EVENT_TYPE_JOINED = 'joined'; +export const EVENT_TYPE_LEFT = 'left'; +export const EVENT_TYPE_DESTROYED = 'destroyed'; +export const EVENT_TYPE_EXPIRED = 'expired'; +export const EVENT_TYPE_APPROVED = 'approved'; +export const EVENT_TYPE_PRIVATE = 'private'; |