feat: edit comment
This commit is contained in:
		| @@ -47,7 +47,7 @@ type CommentMutation { | ||||
|   update( | ||||
|     id: Int! | ||||
|     content: String! | ||||
|   ): DefaultResponse @auth(requires: ["write:comments", "manage:comments", "manage:system"]) | ||||
|   ): CommentUpdateResponse @auth(requires: ["write:comments", "manage:comments", "manage:system"]) | ||||
|  | ||||
|   delete( | ||||
|     id: Int! | ||||
| @@ -77,7 +77,7 @@ input CommentProviderInput { | ||||
|  | ||||
| type CommentPost { | ||||
|   id: Int! | ||||
|   content: String! | ||||
|   content: String! @auth(requires: ["write:comments", "manage:comments", "manage:system"]) | ||||
|   render: String! | ||||
|   authorId: Int! | ||||
|   authorName: String! | ||||
| @@ -91,3 +91,8 @@ type CommentCreateResponse { | ||||
|   responseResult: ResponseStatus | ||||
|   id: Int | ||||
| } | ||||
|  | ||||
| type CommentUpdateResponse { | ||||
|   responseResult: ResponseStatus | ||||
|   render: String | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user