fix: backend optional types + firewall frontend initial code

This commit is contained in:
Domingo Dirutigliano
2023-09-23 02:02:02 +02:00
parent e549d9cf2a
commit ae8dbd9423
12 changed files with 175 additions and 34 deletions

View File

@@ -25,10 +25,7 @@ export type ServiceAddForm = {
ip_dst: string,
}
export type ServiceAddResponse = {
status: string,
service_id?: string,
}
export type ServiceAddResponse = ServerResponse & { service_id: string }
export const porthijack = {
stats: async () => {