summaryrefslogtreecommitdiff
path: root/content/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'content/types.go')
-rw-r--r--content/types.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/content/types.go b/content/types.go
index f3b8bb3..ede2b58 100644
--- a/content/types.go
+++ b/content/types.go
@@ -1,7 +1,5 @@
package content
-import "net/http"
-
const (
// ErrTypeNotRegistered means content type isn't registered (not found in Types map)
ErrTypeNotRegistered = `Error:
@@ -18,14 +16,6 @@ func init() {
`
)
-// Mergeable allows external post content to be approved and published through
-// the public-facing API
-type Mergeable interface {
- // Approve copies an external post to the internal collection and triggers
- // a re-sort of its content type posts
- Approve(req *http.Request) error
-}
-
// Types is a map used to reference a type name to its actual Editable type
// mainly for lookups in /admin route based utilities
var Types = make(map[string]func() interface{})