feat: add targets field to Policy type for policy assignment tracking

Add optional targets array to Policy type containing type and id fields to support tracking policy assignments to users and groups.
This commit is contained in:
2026-03-17 20:51:20 +01:00
parent cf65dc0e41
commit 72c5bb6f55

View File

@@ -53,6 +53,10 @@ export type Policy = {
full_tunnel: boolean; full_tunnel: boolean;
is_active: boolean; is_active: boolean;
destinations?: string[]; destinations?: string[];
targets?: Array<{
type: string;
id: string;
}>;
}; };
export type Gateway = { export type Gateway = {