~evanj/cms

ref: 41bddf091e571b359b94d1f4287ccb471fb29d03 cms/internal/m/contenttype/contenttype.go -rw-r--r-- 293 bytes
41bddf09Evan M Jones WIP(perPage/after): Testing to see if this is viable. 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
	After() int
}