mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 09:15:33 +00:00
15 lines
440 B
Go
15 lines
440 B
Go
package pagemodels
|
|
|
|
import (
|
|
"github.com/Theodor-Springmann-Stiftung/musenalm/templating"
|
|
"github.com/pocketbase/pocketbase/core"
|
|
"github.com/pocketbase/pocketbase/tools/router"
|
|
)
|
|
|
|
type IPage interface {
|
|
Up(app core.App, engine *templating.Engine) error
|
|
Down(app core.App, engine *templating.Engine) error
|
|
// TODO: pass the cache here
|
|
Setup(router *router.Router[*core.RequestEvent], app core.App, engine *templating.Engine) error
|
|
}
|