From 72c5bb6f555f8cc89fcd7ee899669b0db4d99eb7 Mon Sep 17 00:00:00 2001 From: nessi Date: Tue, 17 Mar 2026 20:51:20 +0100 Subject: [PATCH] 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. --- admin-web/src/api/client.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin-web/src/api/client.ts b/admin-web/src/api/client.ts index 4d92db8..db4552f 100644 --- a/admin-web/src/api/client.ts +++ b/admin-web/src/api/client.ts @@ -53,6 +53,10 @@ export type Policy = { full_tunnel: boolean; is_active: boolean; destinations?: string[]; + targets?: Array<{ + type: string; + id: string; + }>; }; export type Gateway = {