~evanj/cms

ref: f4362a4175b569eb2b18199a45525b0022b41478 cms/internal/m/contenttype/contenttype.go -rw-r--r-- 280 bytes
f4362a41Evan M Jones Fix(db/content.go): Quickfix for broken content search (accidently 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package contenttype

import (
	"git.sr.ht/~evanj/cms/internal/m/valuetype"
)

type ContentType interface {
	ID() string
	Name() string
	Fields() []valuetype.ValueType
	FieldsWithRefCount() int
}

type ContentTypeList interface {
	List() []ContentType
	More() bool
	Before() int
}