feat: public API, SEO and existing surfaces
This commit is contained in:
1 parent
45fbbc33b1
commit
c390fcfe8d
103 files changed
+4476
-231
No files matched your search
@@ -38,6 +38,7 @@ type Filters struct {
|
||||
Q string
|
||||
Status string
|
||||
Lang *string
|
||||
Langs *[]string
|
||||
AuthorID *uint32
|
||||
Sort Sort
|
||||
Unpaged bool
|
||||
@@ -101,6 +102,7 @@ type Repository interface {
|
||||
ListByStories(storyIDs []uint32) ([]Article, error)
|
||||
Get(id uint32) (Article, error)
|
||||
GetByName(name string) (Article, error)
|
||||
GetByLangSlug(siteID uint32, lang string, slug string) (Article, error)
|
||||
GetAll() ([]Article, error)
|
||||
ListForAccount(creatorID uint32, authorID *uint32) ([]Article, error)
|
||||
Create(post Article) (Article, error)
|
||||
|
||||
Reference in new issue
Block a user