actors.graphql 568 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Content Actor
  2. union ContentActor = ContentActorCurator | ContentActorMember | ContentActorLead
  3. type ContentActorCurator {
  4. curator: Curator!
  5. }
  6. type ContentActorMember {
  7. member: Membership!
  8. }
  9. type ContentActorLead {
  10. phantom: Int
  11. }
  12. type CuratorGroup @entity {
  13. "Runtime identifier"
  14. id: ID!
  15. "Is group active or not"
  16. isActive: Boolean!
  17. }
  18. type Curator @entity {
  19. "Runtime identifier"
  20. id: ID!
  21. }
  22. # NFT owner
  23. union NftOwner = NftOwnerChannel | NftOwnerMember
  24. type NftOwnerChannel {
  25. channel: Channel!
  26. }
  27. type NftOwnerMember {
  28. member: Membership!
  29. }