mirror of
https://github.com/wassname/talk.git
synced 2026-07-06 05:17:19 +08:00
17 lines
377 B
JavaScript
17 lines
377 B
JavaScript
const ActionSummary = {
|
|
action_type({action_type}) {
|
|
|
|
// FIXME: remove once we cast the data model to have uppercase action
|
|
// types.
|
|
return action_type.toUpperCase();
|
|
},
|
|
item_type({item_type}) {
|
|
|
|
// FIXME: remove once we cast the data model to have uppercase item
|
|
// types.
|
|
return item_type.toUpperCase();
|
|
}
|
|
};
|
|
|
|
module.exports = ActionSummary;
|