feat: tags UI (wip) + save tags from page
This commit is contained in:
		| @@ -36,6 +36,8 @@ type PageQuery { | ||||
|   single( | ||||
|     id: Int! | ||||
|   ): Page @auth(requires: ["manage:pages", "delete:pages", "manage:system"]) | ||||
|  | ||||
|   tags: [PageTag]! @auth(requires: ["manage:system", "read:pages"]) | ||||
| } | ||||
|  | ||||
| # ----------------------------------------------- | ||||
| @@ -109,6 +111,7 @@ type Page { | ||||
|   privateNS: String | ||||
|   publishStartDate: Date! | ||||
|   publishEndDate: String! | ||||
|   tags: [PageTag]! | ||||
|   content: String! | ||||
|   render: String | ||||
|   toc: String | ||||
| @@ -125,6 +128,14 @@ type Page { | ||||
|   creatorEmail: String! | ||||
| } | ||||
|  | ||||
| type PageTag { | ||||
|   id: Int! | ||||
|   tag: String! | ||||
|   title: String | ||||
|   createdAt: Date! | ||||
|   updatedAt: Date! | ||||
| } | ||||
|  | ||||
| type PageHistory { | ||||
|   versionId: Int! | ||||
|   authorId: Int! | ||||
|   | ||||
		Reference in New Issue
	
	Block a user