feat: admin list pages + editor media ui imrprovements

This commit is contained in:
Nick committed 2019-04-07 18:10:44 -04:00
1 parent 1a788057b2
commit 5db7dcb266
5 files changed
+119 -26

No files matched your search

+16
View File
@@ -26,6 +26,8 @@ type PageQuery {
path: String
locale: String
): PageSearchResponse! @auth(requires: ["manage:system", "read:pages"])
list: [PageListItem!]! @auth(requires: ["manage:system"])
}
# -----------------------------------------------
@@ -108,3 +110,17 @@ type PageSearchResult {
path: String!
locale: String!
}
type PageListItem {
id: Int!
path: String!
locale: String!
title: String
description: String
contentType: String!
isPublished: Boolean!
isPrivate: Boolean!
privateNS: String
createdAt: Date!
updatedAt: Date!
}