mirror of
https://github.com/wassname/talk.git
synced 2026-10-01 12:42:56 +08:00
Ádding LIKE to the plugin graph
This commit is contained in:
1 parent
e1929f148a
commit
5c14ac3f67
1 file changed
+16
@@ -4,6 +4,12 @@ enum ACTION_TYPE {
|
||||
LIKE
|
||||
}
|
||||
|
||||
enum ASSET_METRICS_SORT {
|
||||
|
||||
# Represents a LikeAction.
|
||||
LIKE
|
||||
}
|
||||
|
||||
input CreateLikeInput {
|
||||
|
||||
# The item's id for which we are to create a like.
|
||||
@@ -38,6 +44,16 @@ type LikeActionSummary implements ActionSummary {
|
||||
current_user: LikeAction
|
||||
}
|
||||
|
||||
# A summary of counts related to all the Likes on an Asset.
|
||||
type LikeAssetActionSummary implements AssetActionSummary {
|
||||
|
||||
# Number of likes associated with actionable types on this this Asset.
|
||||
actionCount: Int
|
||||
|
||||
# Number of unique actionable types that are referenced by the likes.
|
||||
actionableItemCount: Int
|
||||
}
|
||||
|
||||
type CreateLikeResponse implements Response {
|
||||
|
||||
# The like that was created.
|
||||
|
||||
Reference in new issue
Block a user