mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 09:15:33 +00:00
Bilder & Vorschau / Tabellen für die Satrtseite
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package dbmodels
|
||||
|
||||
import "github.com/pocketbase/pocketbase/core"
|
||||
import (
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/pocketbase/pocketbase/tools/filesystem"
|
||||
)
|
||||
|
||||
var _ core.RecordProxy = (*Content)(nil)
|
||||
|
||||
@@ -150,7 +153,7 @@ func (c *Content) Scans() []string {
|
||||
return c.GetStringSlice(SCAN_FIELD)
|
||||
}
|
||||
|
||||
func (c *Content) SetScans(scans []string) {
|
||||
func (c *Content) SetScans(scans []*filesystem.File) {
|
||||
c.Set(SCAN_FIELD, scans)
|
||||
}
|
||||
|
||||
|
||||
@@ -411,7 +411,8 @@ var SERIES_RELATIONS = []string{
|
||||
}
|
||||
|
||||
const (
|
||||
PUBLIC_VIEW_RULE = "@request.auth.id != ''"
|
||||
PUBLIC_VIEW_RULE = ""
|
||||
PUBLIC_LIST_RULE = ""
|
||||
|
||||
PLACES_TABLE = "places"
|
||||
AGENTS_TABLE = "agents"
|
||||
|
||||
Reference in New Issue
Block a user