From fb871a59540a9c83675944a7a21c9ff51b97f33f Mon Sep 17 00:00:00 2001 From: VisualDust Date: Sat, 25 Nov 2023 23:05:38 +0800 Subject: [PATCH] added interface ProjectActions --- neetbox/frontend/src/services/projects.ts | 3 +++ tests/client/test.py | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/neetbox/frontend/src/services/projects.ts b/neetbox/frontend/src/services/projects.ts index 2905d821..e8217edf 100644 --- a/neetbox/frontend/src/services/projects.ts +++ b/neetbox/frontend/src/services/projects.ts @@ -34,6 +34,9 @@ export interface ProjectStatus { free: number, } }>; + __action: WithTimestamp>; } export interface WithTimestamp { diff --git a/tests/client/test.py b/tests/client/test.py index 34580f9b..54b2a9b0 100644 --- a/tests/client/test.py +++ b/tests/client/test.py @@ -28,27 +28,27 @@ def log_with_some_prefix(): logger.err("some error") -@watch(freq=40) +@watch(interval=40) def log_with_some_prefix_1(): logger.ok("some ok") -@watch(freq=50) +@watch(interval=50) def log_with_some_prefix_2(): logger.ok("some ok") -@watch(freq=60) +@watch(interval=60) def log_with_some_prefix_200(): logger.ok("some ok") -@watch(freq=88) +@watch(interval=88) def log_with_some_prefix_333(): logger.ok("some ok") -@watch(freq=30) +@watch(interval=30) def log_with_some_prefix_500(): logger.ok("some ok")