hidden.graphql 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. type VideoViewEvent @entity {
  2. "Unique identifier of the video view event"
  3. id: ID!
  4. "ID of the video that was viewed (the video may no longer exist)"
  5. videoId: String! @index
  6. "IP address of the viewer"
  7. ip: String! @index
  8. "Video view event timestamp"
  9. timestamp: DateTime!
  10. }
  11. type Report @entity {
  12. "Unique identifier of the report"
  13. id: ID!
  14. "IP address of the reporter"
  15. ip: String! @index
  16. "If it's a channel report: ID of the channel being reported (the channel may no longer exist)"
  17. channelId: String @index
  18. "If it's a video report: ID of the video being reported (the video may no longer exist)"
  19. videoId: String @index
  20. "Time of the report"
  21. timestamp: DateTime!
  22. "Rationale behind the report"
  23. rationale: String!
  24. }
  25. type NftFeaturingRequest @entity {
  26. "Unique identifier of the request"
  27. id: ID!
  28. "IP address of the reporter"
  29. ip: String! @index
  30. "ID of the nft that is being requested to be featured by operator"
  31. nftId: String! @index
  32. "Time of the request"
  33. timestamp: DateTime!
  34. "Rationale behind the request"
  35. rationale: String!
  36. }
  37. type ChannelFollow @entity {
  38. "Unique identifier of the follow, also serves as a 'cancelToken' that needs to be provided when unfollowing the channel (to prevent abuse / inconsistent state)"
  39. id: ID!
  40. "IP address of the follower"
  41. ip: String! @index
  42. "ID of the channel being followed (the channel may no longer exist)"
  43. channelId: String! @index
  44. "Time when user started following the channel"
  45. timestamp: DateTime!
  46. }