React Interface v1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
|
||||
export const update_freq = 3000;
|
||||
export const update_freq = 5000;
|
||||
export const notification_time = 2000;
|
||||
|
||||
export type GeneralStats = {
|
||||
services:number,
|
||||
@@ -17,3 +18,21 @@ export type Service = {
|
||||
n_packets:number,
|
||||
n_regex:number,
|
||||
}
|
||||
|
||||
export type ServiceAddForm = {
|
||||
name:string,
|
||||
port:number
|
||||
}
|
||||
|
||||
|
||||
export type ServerResponse = {
|
||||
status:string
|
||||
}
|
||||
|
||||
export type RegexFilter = {
|
||||
id:number,
|
||||
service_id:string,
|
||||
regex:string
|
||||
is_blacklist:boolean,
|
||||
mode:string // C->S S->C BOTH
|
||||
}
|
||||
Reference in New Issue
Block a user