nft rule post json
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s

This commit is contained in:
2026-02-11 21:26:58 +01:00
parent c34b71f5d7
commit 6c5b5ef4a1
9 changed files with 1000 additions and 267 deletions

View File

@@ -21,4 +21,22 @@ export interface TableOut {
export interface RulesetModel {
tables: TableOut[];
}
}
export interface CreateRuleRequest {
family: string;
table: string;
chain: string;
expr: Expr;
position?: any | null;
comment?: string | null;
}
/**
* ExecResult matches backend ExecResult
*/
export interface ExecResult {
rc: number;
stdout?: string | null;
stderr?: string | null;
}