mirror of
https://github.com/Unkn0wnCat/matrix-veles.git
synced 2025-06-06 20:51:55 +02:00
api: Update graphql schema
This commit is contained in:
parent
39f721101e
commit
4f587820d1
9 changed files with 578 additions and 200 deletions
|
@ -11,6 +11,7 @@ type List struct {
|
|||
Tags []string `json:"tags"`
|
||||
RawComments []*model.DBComment
|
||||
MaintainerIDs []*primitive.ObjectID
|
||||
CreatorID primitive.ObjectID
|
||||
}
|
||||
|
||||
func MakeList(dbList *model.DBHashList) *List {
|
||||
|
@ -20,5 +21,6 @@ func MakeList(dbList *model.DBHashList) *List {
|
|||
Tags: dbList.Tags,
|
||||
RawComments: dbList.Comments,
|
||||
MaintainerIDs: dbList.Maintainers,
|
||||
CreatorID: dbList.Creator,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue