1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- type Channel @entity {
- "Runtime entity identifier (EntityId)"
- id: ID!
- "Timestamp of the block the channel was created at"
- createdAt: DateTime!
- "Current member-owner of the channel (if owned by a member)"
- ownerMember: Membership
- "The title of the Channel"
- title: String
- "The description of a Channel"
- description: String
- "Channel's cover (background) photo asset. Recommended ratio: 16:9."
- coverPhoto: StorageDataObject
- "Channel's avatar photo asset."
- avatarPhoto: StorageDataObject
- "Flag signaling whether a channel is public."
- isPublic: Boolean
- "Flag signaling whether a channel is censored."
- isCensored: Boolean!
- "Whether a channel has been excluded/hidden (by the gateway operator)"
- isExcluded: Boolean!
- "The primary langauge of the channel's content"
- language: String @index
- "List of videos that belong to the channel"
- videos: [Video!]! @derivedFrom(field: "channel")
- "Number of the block the channel was created in"
- createdInBlock: Int!
- "Channel's reward account, storing the income from the nft sales and channel payouts."
- rewardAccount: String!
- "Value of channel state bloat bond fee paid by channel creator"
- channelStateBloatBond: BigInt!
- "Number of active follows (to speed up orderBy queries by avoiding COUNT aggregation)"
- followsNum: Int!
- "Number of total video views (to speed up orderBy queries by avoiding COUNT aggregation)"
- videoViewsNum: Int!
- "List of members blocked from commenting/reacting on any video of the channel."
- bannedMembers: [BannedMember!] @derivedFrom(field: "channel")
- "Application used for channel creation"
- entryApp: App
- "Number of videos ever created in this channel"
- totalVideosCreated: Int!
- "Cumulative rewards claimed by this channel"
- cumulativeRewardClaimed: BigInt
- }
- type BannedMember @entity @index(fields: ["member", "channel"], unique: true) {
- "{memberId}-{channelId}"
- id: ID!
- member: Membership!
- channel: Channel!
- }
|