feat: admin dashboard recent pages + update deps
This commit is contained in:
@@ -27,7 +27,11 @@ type PageQuery {
|
||||
locale: String
|
||||
): PageSearchResponse! @auth(requires: ["manage:system", "read:pages"])
|
||||
|
||||
list: [PageListItem!]! @auth(requires: ["manage:system"])
|
||||
list(
|
||||
limit: Int
|
||||
orderBy: PageOrderBy
|
||||
orderByDirection: PageOrderByDirection
|
||||
): [PageListItem!]! @auth(requires: ["manage:system"])
|
||||
|
||||
single(
|
||||
id: Int!
|
||||
@@ -163,3 +167,16 @@ type PageListItem {
|
||||
createdAt: Date!
|
||||
updatedAt: Date!
|
||||
}
|
||||
|
||||
enum PageOrderBy {
|
||||
CREATED
|
||||
ID
|
||||
PATH
|
||||
TITLE
|
||||
UPDATED
|
||||
}
|
||||
|
||||
enum PageOrderByDirection {
|
||||
ASC
|
||||
DESC
|
||||
}
|
||||
|
Reference in New Issue
Block a user