mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 02:56:56 +08:00
13 lines
242 B
JavaScript
13 lines
242 B
JavaScript
const ActionSummary = {
|
|
__resolveType({action_type}) {
|
|
switch (action_type) {
|
|
case 'FLAG':
|
|
return 'FlagActionSummary';
|
|
case 'DONTAGREE':
|
|
return 'DontAgreeActionSummary';
|
|
}
|
|
}
|
|
};
|
|
|
|
module.exports = ActionSummary;
|