feat: source + history (wip)
This commit is contained in:
1 parent
076aeaf749
commit
78ba895eee
17 files changed
+373
-80
No files matched your search
@@ -15,6 +15,11 @@ extend type Mutation {
|
||||
# -----------------------------------------------
|
||||
|
||||
type PageQuery {
|
||||
history(
|
||||
id: Int!
|
||||
offset: Int
|
||||
): [PageHistory]
|
||||
|
||||
list(
|
||||
filter: String
|
||||
orderBy: String
|
||||
@@ -92,3 +97,13 @@ type Page {
|
||||
createdAt: Date!
|
||||
updatedAt: Date!
|
||||
}
|
||||
|
||||
type PageHistory {
|
||||
versionId: Int!
|
||||
authorId: Int!
|
||||
authorName: String!
|
||||
actionType: String!
|
||||
valueBefore: String
|
||||
valueAfter: String
|
||||
createdAt: Date!
|
||||
}
|
||||
Reference in new issue
Block a user