Shun Miyazawa %!s(int64=4) %!d(string=hai) anos
pai
achega
b15b8f1826
Modificáronse 1 ficheiros con 0 adicións e 16 borrados
  1. 0 16
      packages/app/src/server/util/activityDefine.ts

+ 0 - 16
packages/app/src/server/util/activityDefine.ts

@@ -5,12 +5,6 @@ const ACTION_PAGE_UPDATE = 'PAGE_UPDATE';
 const ACTION_COMMENT_CREATE = 'COMMENT_CREATE';
 const ACTION_COMMENT_UPDATE = 'COMMENT_UPDATE';
 
-// const ACTION_UPDATE = 'UPDATE';
-// const ACTION_COMMENT = 'COMMENT';
-// const ACTION_CREATE = 'CREATE'; // Not support yet
-// const ACTION_DELETE = 'DELETE'; // Not support yet
-// const ACTION_LIKE = 'LIKE'; // Not support yet
-
 const getSupportTargetModelNames = () => {
   return [MODEL_PAGE];
 };
@@ -24,10 +18,6 @@ const getSupportActionNames = () => {
     ACTION_PAGE_UPDATE,
     ACTION_COMMENT_CREATE,
     ACTION_COMMENT_UPDATE,
-    // ACTION_UPDATE,
-    // ACTION_DELETE,
-    // ACTION_COMMENT,
-    // ACTION_LIKE,
   ];
 };
 
@@ -39,12 +29,6 @@ const activityDefine = {
   ACTION_COMMENT_CREATE,
   ACTION_COMMENT_UPDATE,
 
-  // ACTION_CREATE, // Not support yet
-  // ACTION_UPDATE,
-  // ACTION_DELETE, // Not support yet
-  // ACTION_COMMENT,
-  // ACTION_LIKE,
-
   getSupportTargetModelNames,
   getSupportEventModelNames,
   getSupportActionNames,