From a072a91f7073fc2d39f3e89ad56e5f2889a408bf Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 19 Oct 2023 18:52:19 +0800 Subject: [PATCH] [add] keywords --- sui/core/types.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sui/core/types.go b/sui/core/types.go index a8e5d1e3..7621d056 100644 --- a/sui/core/types.go +++ b/sui/core/types.go @@ -62,11 +62,12 @@ type BlockLayoutItems struct { // LayoutItem is the struct for the layout it type LayoutItem struct { - ID string `json:"id"` - Label string `json:"label,omitempty"` - Width int `json:"width,omitempty"` - Height int `json:"height,omitempty"` - Blocks []LayoutItem `json:"blocks,omitempty"` + ID string `json:"id"` + Label string `json:"label,omitempty"` + Width int `json:"width,omitempty"` + Height int `json:"height,omitempty"` + Keywords []string `json:"keywords,omitempty"` + Blocks []LayoutItem `json:"blocks,omitempty"` } // Template is the struct for the template