Ádding LIKE to the plugin graph

This commit is contained in:
Belen Curcio
2017-05-01 10:58:29 -03:00
parent e1929f148a
commit 5c14ac3f67
@@ -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.