From a0aefef691fc494a516d404a42cb10ef50198eac Mon Sep 17 00:00:00 2001 From: Samler Date: Thu, 3 Jul 2025 14:04:14 +0800 Subject: [PATCH] feat: platform self-adaptation for file viewer application (#2603) --- inventory/types/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/inventory/types/types.go b/inventory/types/types.go index 95a3676..b387425 100644 --- a/inventory/types/types.go +++ b/inventory/types/types.go @@ -286,6 +286,7 @@ type Viewer struct { MaxSize int64 `json:"max_size,omitempty"` Disabled bool `json:"disabled,omitempty"` Templates []NewFileTemplate `json:"templates,omitempty"` + Platform string `json:"platform,omitempty"` } type ViewerGroup struct {