From 6d41a778b3c3e706834218ff3a4eb63860d167a1 Mon Sep 17 00:00:00 2001 From: qowevisa Date: Sat, 30 Nov 2024 16:37:11 +0200 Subject: [PATCH] Add types.SettingsTypeFilter struct --- types/types.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/types.go b/types/types.go index 7d29ac6..1459905 100644 --- a/types/types.go +++ b/types/types.go @@ -197,3 +197,11 @@ type StatsTypeCurrencyChart struct { CurrencyLabel string `json:"label" example:"$ (USD)"` Elements []StatsType `json:"elements"` } + +// {{{ Settings section +type SettingsTypeFilter struct { + TypeID uint `json:"type_id" example:"1"` + FilterThis bool `json:"filter_this" example:"true"` +} + +// }}}