mirror of
https://github.com/nkanaev/yarr.git
synced 2025-11-08 18:39:36 +00:00
22 lines
448 B
Go
22 lines
448 B
Go
package server
|
|
|
|
import "github.com/nkanaev/yarr/src/storage"
|
|
|
|
type ItemUpdateForm struct {
|
|
Status *storage.ItemStatus `json:"status,omitempty"`
|
|
}
|
|
|
|
type FolderCreateForm struct {
|
|
Title string `json:"title"`
|
|
}
|
|
|
|
type FolderUpdateForm struct {
|
|
Title *string `json:"title,omitempty"`
|
|
IsExpanded *bool `json:"is_expanded,omitempty"`
|
|
}
|
|
|
|
type FeedCreateForm struct {
|
|
Url string `json:"url"`
|
|
FolderID *int64 `json:"folder_id,omitempty"`
|
|
}
|