React Interface v3

This commit is contained in:
DomySh
2022-06-12 16:44:54 +02:00
parent 98652b0fa9
commit 3139cbf288
10 changed files with 284 additions and 163 deletions

View File

@@ -1,6 +1,6 @@
export const update_freq = 5000;
export const update_freq = 3000;
export const notification_time = 2000;
export type GeneralStats = {
@@ -36,4 +36,11 @@ export type RegexFilter = {
is_blacklist:boolean,
mode:string //C S B => C->S S->C BOTH
n_packets:number
}
export type RegexAddForm = {
"service_id":string,
"regex":string,
"is_blacklist":boolean,
"mode":string // C->S S->C BOTH
}