Jelajahi Sumber

add type to model

yohei0125 4 tahun lalu
induk
melakukan
27f3231e08
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  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;
 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
  */