mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 12:39:33 +08:00
15 lines
294 B
JavaScript
15 lines
294 B
JavaScript
const ActionSummary = {
|
|
__resolveType({ action_type }) {
|
|
switch (action_type) {
|
|
case 'FLAG':
|
|
return 'FlagActionSummary';
|
|
case 'DONTAGREE':
|
|
return 'DontAgreeActionSummary';
|
|
default:
|
|
return undefined;
|
|
}
|
|
},
|
|
};
|
|
|
|
module.exports = ActionSummary;
|