~evanj/cms

ref: 4aa45cc85249c542c4d80aed47e25c86145bcc3c cms/internal/m/contenttype/contenttype.go -rw-r--r-- 203 bytes
4aa45cc8Evan M Jones Feat(mysql): Moving to mysql. Getting ready for alpha release (just for 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package contenttype

import (
	"encoding/json"

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

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