~evanj/cms

ref: 515c5fd9b9df1ff4652d7ce3e5b2f7df58ee5b85 cms/internal/m/contenttype/contenttype.go -rw-r--r-- 278 bytes
515c5fd9Evan M Jones Feat(content search): Pagination for content search complete. Fix up 1 year, 2 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
	Last() int
}