add missing models
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s

This commit is contained in:
2026-10-04 01:56:25 +02:00
parent ea648082be
commit d9007ba0e4
28 changed files with 927 additions and 105 deletions
+7 -1
View File
@@ -18,7 +18,7 @@ import (
"github.com/gin-gonic/gin"
)
func New(admin *handlers.AdminHandler, comics *handlers.ComicsHandler, media *handlers.MediaHandler, tysc *handlers.TyscHandler, webApp *handlers.WebAppHandler) *gin.Engine {
func New(admin *handlers.AdminHandler, bookshelf *handlers.BookshelfHandler, comics *handlers.ComicsHandler, media *handlers.MediaHandler, tysc *handlers.TyscHandler, webApp *handlers.WebAppHandler) *gin.Engine {
router := gin.New()
router.Use(gin.Recovery())
router.Use(gin_slog.SetLogger(
@@ -83,6 +83,12 @@ func New(admin *handlers.AdminHandler, comics *handlers.ComicsHandler, media *ha
secured.GET("tysc/vendors", tysc.VendorHandler.List)
secured.GET("tysc/cardsets", tysc.CardSetHandler.List)
secured.GET("tysc/cards", tysc.CardHandler.List)
secured.GET("bookshelf/articles", bookshelf.ArticleHandler.List)
secured.GET("bookshelf/publishers", bookshelf.BookshelfPublisherHandler.List)
secured.GET("bookshelf/books", bookshelf.BookHandler.List)
secured.GET("bookshelf/authors", bookshelf.AuthorHandler.List)
secured.GET("bookshelf/articleauthors", bookshelf.ArticleAuthorHandler.List)
secured.GET("bookshelf/bookauthors", bookshelf.BookAuthorHandler.List)
secured.GET("/comics/comics", comics.ComicHandler.List)
secured.GET("/comics/publishers", comics.PublisherHandler.List)
secured.GET("/comics/artists", comics.ArtistHandler.List)