mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 18:35:51 +02:00
feat: add filter of category for sites list
This commit is contained in:
parent
207f80f858
commit
aa556767f2
10 changed files with 278 additions and 80 deletions
|
@ -1,6 +1,7 @@
|
|||
package config
|
||||
|
||||
import (
|
||||
"github.com/0xJacky/Nginx-UI/model"
|
||||
"github.com/sashabaranov/go-openai"
|
||||
"time"
|
||||
)
|
||||
|
@ -13,5 +14,7 @@ type Config struct {
|
|||
ModifiedAt time.Time `json:"modified_at"`
|
||||
Size int64 `json:"size,omitempty"`
|
||||
IsDir bool `json:"is_dir"`
|
||||
SiteCategoryID uint64 `json:"site_category_id"`
|
||||
SiteCategory *model.SiteCategory `json:"site_category,omitempty"`
|
||||
Enabled bool `json:"enabled"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue