From 2b47e5d906c90a4fcf269adf6d1784ab2c84889c Mon Sep 17 00:00:00 2001 From: Samler Date: Wed, 2 Jul 2025 02:18:18 +0800 Subject: [PATCH] feat: platform self-adaptation for file viewer application --- 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 {