Browse Source

add type to model

yohei0125 4 years ago
parent
commit
27f3231e08
1 changed files with 6 additions and 0 deletions
  1. 6 0
      packages/app/src/server/models/page-operation.ts

+ 6 - 0
packages/app/src/server/models/page-operation.ts

@@ -28,6 +28,12 @@ export const PageActionStage = {
 } as const;
 } as const;
 export type PageActionStage = typeof PageActionStage[keyof typeof PageActionStage];
 export type PageActionStage = typeof PageActionStage[keyof typeof PageActionStage];
 
 
+export const PageOperationAutoUpdateTimerType = {
+  ExtendSec: 5, // add this second(s) to current time
+  IntervalSec: 5, // every this second(s)
+  SelfStopSec: 20, // execute self-stop after this second(s)
+} as const;
+
 /*
 /*
  * Main Schema
  * Main Schema
  */
  */