Skip to content

Commit

Permalink
added interface ProjectActions
Browse files Browse the repository at this point in the history
  • Loading branch information
visualDust committed Nov 25, 2023
1 parent 717a4c8 commit fb871a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions neetbox/frontend/src/services/projects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export interface ProjectStatus {
free: number,
}
}>;
__action: WithTimestamp<Record<string, {
args: string[], blocking: boolean
}>>;
}

export interface WithTimestamp<T> {
Expand Down
10 changes: 5 additions & 5 deletions tests/client/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit fb871a5

Please sign in to comment.