|
@@ -2398,668 +2398,6 @@ export type GetMostViewedVideosConnectionQuery = {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-export type GetTop10VideosThisWeekQueryVariables = Types.Exact<{
|
|
|
|
- where?: Types.InputMaybe<Types.VideoWhereInput>
|
|
|
|
-}>
|
|
|
|
-
|
|
|
|
-export type GetTop10VideosThisWeekQuery = {
|
|
|
|
- __typename?: 'Query'
|
|
|
|
- mostViewedVideosConnection: {
|
|
|
|
- __typename?: 'VideosConnection'
|
|
|
|
- edges: Array<{
|
|
|
|
- __typename?: 'VideoEdge'
|
|
|
|
- node: {
|
|
|
|
- __typename?: 'Video'
|
|
|
|
- id: string
|
|
|
|
- title?: string | null
|
|
|
|
- viewsNum: number
|
|
|
|
- createdAt: Date
|
|
|
|
- duration?: number | null
|
|
|
|
- reactionsCount: number
|
|
|
|
- commentsCount: number
|
|
|
|
- channel: {
|
|
|
|
- __typename?: 'Channel'
|
|
|
|
- id: string
|
|
|
|
- title?: string | null
|
|
|
|
- description?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- followsNum: number
|
|
|
|
- rewardAccount: string
|
|
|
|
- channelStateBloatBond: string
|
|
|
|
- avatarPhoto?: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- thumbnailPhoto?: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- nft?: {
|
|
|
|
- __typename?: 'OwnedNft'
|
|
|
|
- id: string
|
|
|
|
- createdAt: Date
|
|
|
|
- creatorRoyalty?: number | null
|
|
|
|
- lastSaleDate?: Date | null
|
|
|
|
- lastSalePrice?: string | null
|
|
|
|
- owner:
|
|
|
|
- | {
|
|
|
|
- __typename: 'NftOwnerChannel'
|
|
|
|
- channel: {
|
|
|
|
- __typename?: 'Channel'
|
|
|
|
- id: string
|
|
|
|
- title?: string | null
|
|
|
|
- description?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- followsNum: number
|
|
|
|
- rewardAccount: string
|
|
|
|
- channelStateBloatBond: string
|
|
|
|
- ownerMember?: {
|
|
|
|
- __typename?: 'Membership'
|
|
|
|
- id: string
|
|
|
|
- handle: string
|
|
|
|
- metadata?: {
|
|
|
|
- __typename?: 'MemberMetadata'
|
|
|
|
- about?: string | null
|
|
|
|
- avatar?:
|
|
|
|
- | {
|
|
|
|
- __typename?: 'AvatarObject'
|
|
|
|
- avatarObject: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | { __typename?: 'AvatarUri'; avatarUri: string }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- } | null
|
|
|
|
- avatarPhoto?: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | {
|
|
|
|
- __typename: 'NftOwnerMember'
|
|
|
|
- member: {
|
|
|
|
- __typename?: 'Membership'
|
|
|
|
- id: string
|
|
|
|
- handle: string
|
|
|
|
- metadata?: {
|
|
|
|
- __typename?: 'MemberMetadata'
|
|
|
|
- about?: string | null
|
|
|
|
- avatar?:
|
|
|
|
- | {
|
|
|
|
- __typename?: 'AvatarObject'
|
|
|
|
- avatarObject: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | { __typename?: 'AvatarUri'; avatarUri: string }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- transactionalStatus?:
|
|
|
|
- | {
|
|
|
|
- __typename: 'TransactionalStatusAuction'
|
|
|
|
- auction: {
|
|
|
|
- __typename?: 'Auction'
|
|
|
|
- id: string
|
|
|
|
- isCompleted: boolean
|
|
|
|
- buyNowPrice?: string | null
|
|
|
|
- startingPrice: string
|
|
|
|
- startsAtBlock: number
|
|
|
|
- endedAtBlock?: number | null
|
|
|
|
- auctionType:
|
|
|
|
- | {
|
|
|
|
- __typename: 'AuctionTypeEnglish'
|
|
|
|
- duration: number
|
|
|
|
- extensionPeriod: number
|
|
|
|
- minimalBidStep: string
|
|
|
|
- plannedEndAtBlock: number
|
|
|
|
- }
|
|
|
|
- | { __typename: 'AuctionTypeOpen'; bidLockDuration: number }
|
|
|
|
- topBid?: {
|
|
|
|
- __typename?: 'Bid'
|
|
|
|
- amount: string
|
|
|
|
- createdAt: Date
|
|
|
|
- isCanceled: boolean
|
|
|
|
- createdInBlock: number
|
|
|
|
- id: string
|
|
|
|
- bidder: {
|
|
|
|
- __typename?: 'Membership'
|
|
|
|
- id: string
|
|
|
|
- handle: string
|
|
|
|
- metadata?: {
|
|
|
|
- __typename?: 'MemberMetadata'
|
|
|
|
- about?: string | null
|
|
|
|
- avatar?:
|
|
|
|
- | {
|
|
|
|
- __typename?: 'AvatarObject'
|
|
|
|
- avatarObject: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | { __typename?: 'AvatarUri'; avatarUri: string }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- } | null
|
|
|
|
- bids: Array<{
|
|
|
|
- __typename?: 'Bid'
|
|
|
|
- amount: string
|
|
|
|
- createdAt: Date
|
|
|
|
- isCanceled: boolean
|
|
|
|
- createdInBlock: number
|
|
|
|
- id: string
|
|
|
|
- bidder: {
|
|
|
|
- __typename?: 'Membership'
|
|
|
|
- id: string
|
|
|
|
- handle: string
|
|
|
|
- metadata?: {
|
|
|
|
- __typename?: 'MemberMetadata'
|
|
|
|
- about?: string | null
|
|
|
|
- avatar?:
|
|
|
|
- | {
|
|
|
|
- __typename?: 'AvatarObject'
|
|
|
|
- avatarObject: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | { __typename?: 'AvatarUri'; avatarUri: string }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- }>
|
|
|
|
- whitelistedMembers: Array<{
|
|
|
|
- __typename?: 'AuctionWhitelistedMember'
|
|
|
|
- member: {
|
|
|
|
- __typename?: 'Membership'
|
|
|
|
- id: string
|
|
|
|
- handle: string
|
|
|
|
- metadata?: {
|
|
|
|
- __typename?: 'MemberMetadata'
|
|
|
|
- about?: string | null
|
|
|
|
- avatar?:
|
|
|
|
- | {
|
|
|
|
- __typename?: 'AvatarObject'
|
|
|
|
- avatarObject: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | { __typename?: 'AvatarUri'; avatarUri: string }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- }>
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | { __typename: 'TransactionalStatusBuyNow'; price: string }
|
|
|
|
- | { __typename: 'TransactionalStatusIdle' }
|
|
|
|
- | { __typename: 'TransactionalStatusInitiatedOfferToMember' }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- }>
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-export type GetTop10VideosThisMonthQueryVariables = Types.Exact<{
|
|
|
|
- where?: Types.InputMaybe<Types.VideoWhereInput>
|
|
|
|
-}>
|
|
|
|
-
|
|
|
|
-export type GetTop10VideosThisMonthQuery = {
|
|
|
|
- __typename?: 'Query'
|
|
|
|
- mostViewedVideosConnection: {
|
|
|
|
- __typename?: 'VideosConnection'
|
|
|
|
- edges: Array<{
|
|
|
|
- __typename?: 'VideoEdge'
|
|
|
|
- node: {
|
|
|
|
- __typename?: 'Video'
|
|
|
|
- id: string
|
|
|
|
- title?: string | null
|
|
|
|
- viewsNum: number
|
|
|
|
- createdAt: Date
|
|
|
|
- duration?: number | null
|
|
|
|
- reactionsCount: number
|
|
|
|
- commentsCount: number
|
|
|
|
- channel: {
|
|
|
|
- __typename?: 'Channel'
|
|
|
|
- id: string
|
|
|
|
- title?: string | null
|
|
|
|
- description?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- followsNum: number
|
|
|
|
- rewardAccount: string
|
|
|
|
- channelStateBloatBond: string
|
|
|
|
- avatarPhoto?: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- thumbnailPhoto?: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- nft?: {
|
|
|
|
- __typename?: 'OwnedNft'
|
|
|
|
- id: string
|
|
|
|
- createdAt: Date
|
|
|
|
- creatorRoyalty?: number | null
|
|
|
|
- lastSaleDate?: Date | null
|
|
|
|
- lastSalePrice?: string | null
|
|
|
|
- owner:
|
|
|
|
- | {
|
|
|
|
- __typename: 'NftOwnerChannel'
|
|
|
|
- channel: {
|
|
|
|
- __typename?: 'Channel'
|
|
|
|
- id: string
|
|
|
|
- title?: string | null
|
|
|
|
- description?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- followsNum: number
|
|
|
|
- rewardAccount: string
|
|
|
|
- channelStateBloatBond: string
|
|
|
|
- ownerMember?: {
|
|
|
|
- __typename?: 'Membership'
|
|
|
|
- id: string
|
|
|
|
- handle: string
|
|
|
|
- metadata?: {
|
|
|
|
- __typename?: 'MemberMetadata'
|
|
|
|
- about?: string | null
|
|
|
|
- avatar?:
|
|
|
|
- | {
|
|
|
|
- __typename?: 'AvatarObject'
|
|
|
|
- avatarObject: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | { __typename?: 'AvatarUri'; avatarUri: string }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- } | null
|
|
|
|
- avatarPhoto?: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | {
|
|
|
|
- __typename: 'NftOwnerMember'
|
|
|
|
- member: {
|
|
|
|
- __typename?: 'Membership'
|
|
|
|
- id: string
|
|
|
|
- handle: string
|
|
|
|
- metadata?: {
|
|
|
|
- __typename?: 'MemberMetadata'
|
|
|
|
- about?: string | null
|
|
|
|
- avatar?:
|
|
|
|
- | {
|
|
|
|
- __typename?: 'AvatarObject'
|
|
|
|
- avatarObject: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | { __typename?: 'AvatarUri'; avatarUri: string }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- transactionalStatus?:
|
|
|
|
- | {
|
|
|
|
- __typename: 'TransactionalStatusAuction'
|
|
|
|
- auction: {
|
|
|
|
- __typename?: 'Auction'
|
|
|
|
- id: string
|
|
|
|
- isCompleted: boolean
|
|
|
|
- buyNowPrice?: string | null
|
|
|
|
- startingPrice: string
|
|
|
|
- startsAtBlock: number
|
|
|
|
- endedAtBlock?: number | null
|
|
|
|
- auctionType:
|
|
|
|
- | {
|
|
|
|
- __typename: 'AuctionTypeEnglish'
|
|
|
|
- duration: number
|
|
|
|
- extensionPeriod: number
|
|
|
|
- minimalBidStep: string
|
|
|
|
- plannedEndAtBlock: number
|
|
|
|
- }
|
|
|
|
- | { __typename: 'AuctionTypeOpen'; bidLockDuration: number }
|
|
|
|
- topBid?: {
|
|
|
|
- __typename?: 'Bid'
|
|
|
|
- amount: string
|
|
|
|
- createdAt: Date
|
|
|
|
- isCanceled: boolean
|
|
|
|
- createdInBlock: number
|
|
|
|
- id: string
|
|
|
|
- bidder: {
|
|
|
|
- __typename?: 'Membership'
|
|
|
|
- id: string
|
|
|
|
- handle: string
|
|
|
|
- metadata?: {
|
|
|
|
- __typename?: 'MemberMetadata'
|
|
|
|
- about?: string | null
|
|
|
|
- avatar?:
|
|
|
|
- | {
|
|
|
|
- __typename?: 'AvatarObject'
|
|
|
|
- avatarObject: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | { __typename?: 'AvatarUri'; avatarUri: string }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- } | null
|
|
|
|
- bids: Array<{
|
|
|
|
- __typename?: 'Bid'
|
|
|
|
- amount: string
|
|
|
|
- createdAt: Date
|
|
|
|
- isCanceled: boolean
|
|
|
|
- createdInBlock: number
|
|
|
|
- id: string
|
|
|
|
- bidder: {
|
|
|
|
- __typename?: 'Membership'
|
|
|
|
- id: string
|
|
|
|
- handle: string
|
|
|
|
- metadata?: {
|
|
|
|
- __typename?: 'MemberMetadata'
|
|
|
|
- about?: string | null
|
|
|
|
- avatar?:
|
|
|
|
- | {
|
|
|
|
- __typename?: 'AvatarObject'
|
|
|
|
- avatarObject: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | { __typename?: 'AvatarUri'; avatarUri: string }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- }>
|
|
|
|
- whitelistedMembers: Array<{
|
|
|
|
- __typename?: 'AuctionWhitelistedMember'
|
|
|
|
- member: {
|
|
|
|
- __typename?: 'Membership'
|
|
|
|
- id: string
|
|
|
|
- handle: string
|
|
|
|
- metadata?: {
|
|
|
|
- __typename?: 'MemberMetadata'
|
|
|
|
- about?: string | null
|
|
|
|
- avatar?:
|
|
|
|
- | {
|
|
|
|
- __typename?: 'AvatarObject'
|
|
|
|
- avatarObject: {
|
|
|
|
- __typename?: 'StorageDataObject'
|
|
|
|
- id: string
|
|
|
|
- resolvedUrls: Array<string>
|
|
|
|
- resolvedUrl?: string | null
|
|
|
|
- createdAt: Date
|
|
|
|
- size: string
|
|
|
|
- isAccepted: boolean
|
|
|
|
- ipfsHash: string
|
|
|
|
- storageBag: { __typename?: 'StorageBag'; id: string }
|
|
|
|
- type?:
|
|
|
|
- | { __typename: 'DataObjectTypeChannelAvatar' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelCoverPhoto' }
|
|
|
|
- | { __typename: 'DataObjectTypeChannelPayoutsPayload' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoMedia' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoSubtitle' }
|
|
|
|
- | { __typename: 'DataObjectTypeVideoThumbnail' }
|
|
|
|
- | null
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | { __typename?: 'AvatarUri'; avatarUri: string }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- }>
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- | { __typename: 'TransactionalStatusBuyNow'; price: string }
|
|
|
|
- | { __typename: 'TransactionalStatusIdle' }
|
|
|
|
- | { __typename: 'TransactionalStatusInitiatedOfferToMember' }
|
|
|
|
- | null
|
|
|
|
- } | null
|
|
|
|
- }
|
|
|
|
- }>
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
export type GetVideosCountQueryVariables = Types.Exact<{
|
|
export type GetVideosCountQueryVariables = Types.Exact<{
|
|
where?: Types.InputMaybe<Types.VideoWhereInput>
|
|
where?: Types.InputMaybe<Types.VideoWhereInput>
|
|
}>
|
|
}>
|
|
@@ -3441,112 +2779,6 @@ export type GetMostViewedVideosConnectionQueryResult = Apollo.QueryResult<
|
|
GetMostViewedVideosConnectionQuery,
|
|
GetMostViewedVideosConnectionQuery,
|
|
GetMostViewedVideosConnectionQueryVariables
|
|
GetMostViewedVideosConnectionQueryVariables
|
|
>
|
|
>
|
|
-export const GetTop10VideosThisWeekDocument = gql`
|
|
|
|
- query GetTop10VideosThisWeek($where: VideoWhereInput) {
|
|
|
|
- mostViewedVideosConnection(limit: 10, where: $where, periodDays: 7, orderBy: viewsNum_DESC) {
|
|
|
|
- edges {
|
|
|
|
- node {
|
|
|
|
- ...BasicVideoFields
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ${BasicVideoFieldsFragmentDoc}
|
|
|
|
-`
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * __useGetTop10VideosThisWeekQuery__
|
|
|
|
- *
|
|
|
|
- * To run a query within a React component, call `useGetTop10VideosThisWeekQuery` and pass it any options that fit your needs.
|
|
|
|
- * When your component renders, `useGetTop10VideosThisWeekQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
|
|
- * you can use to render your UI.
|
|
|
|
- *
|
|
|
|
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
|
|
- *
|
|
|
|
- * @example
|
|
|
|
- * const { data, loading, error } = useGetTop10VideosThisWeekQuery({
|
|
|
|
- * variables: {
|
|
|
|
- * where: // value for 'where'
|
|
|
|
- * },
|
|
|
|
- * });
|
|
|
|
- */
|
|
|
|
-export function useGetTop10VideosThisWeekQuery(
|
|
|
|
- baseOptions?: Apollo.QueryHookOptions<GetTop10VideosThisWeekQuery, GetTop10VideosThisWeekQueryVariables>
|
|
|
|
-) {
|
|
|
|
- const options = { ...defaultOptions, ...baseOptions }
|
|
|
|
- return Apollo.useQuery<GetTop10VideosThisWeekQuery, GetTop10VideosThisWeekQueryVariables>(
|
|
|
|
- GetTop10VideosThisWeekDocument,
|
|
|
|
- options
|
|
|
|
- )
|
|
|
|
-}
|
|
|
|
-export function useGetTop10VideosThisWeekLazyQuery(
|
|
|
|
- baseOptions?: Apollo.LazyQueryHookOptions<GetTop10VideosThisWeekQuery, GetTop10VideosThisWeekQueryVariables>
|
|
|
|
-) {
|
|
|
|
- const options = { ...defaultOptions, ...baseOptions }
|
|
|
|
- return Apollo.useLazyQuery<GetTop10VideosThisWeekQuery, GetTop10VideosThisWeekQueryVariables>(
|
|
|
|
- GetTop10VideosThisWeekDocument,
|
|
|
|
- options
|
|
|
|
- )
|
|
|
|
-}
|
|
|
|
-export type GetTop10VideosThisWeekQueryHookResult = ReturnType<typeof useGetTop10VideosThisWeekQuery>
|
|
|
|
-export type GetTop10VideosThisWeekLazyQueryHookResult = ReturnType<typeof useGetTop10VideosThisWeekLazyQuery>
|
|
|
|
-export type GetTop10VideosThisWeekQueryResult = Apollo.QueryResult<
|
|
|
|
- GetTop10VideosThisWeekQuery,
|
|
|
|
- GetTop10VideosThisWeekQueryVariables
|
|
|
|
->
|
|
|
|
-export const GetTop10VideosThisMonthDocument = gql`
|
|
|
|
- query GetTop10VideosThisMonth($where: VideoWhereInput) {
|
|
|
|
- mostViewedVideosConnection(limit: 10, where: $where, periodDays: 30, orderBy: viewsNum_DESC) {
|
|
|
|
- edges {
|
|
|
|
- node {
|
|
|
|
- ...BasicVideoFields
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- ${BasicVideoFieldsFragmentDoc}
|
|
|
|
-`
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * __useGetTop10VideosThisMonthQuery__
|
|
|
|
- *
|
|
|
|
- * To run a query within a React component, call `useGetTop10VideosThisMonthQuery` and pass it any options that fit your needs.
|
|
|
|
- * When your component renders, `useGetTop10VideosThisMonthQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
|
|
|
- * you can use to render your UI.
|
|
|
|
- *
|
|
|
|
- * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
|
|
|
- *
|
|
|
|
- * @example
|
|
|
|
- * const { data, loading, error } = useGetTop10VideosThisMonthQuery({
|
|
|
|
- * variables: {
|
|
|
|
- * where: // value for 'where'
|
|
|
|
- * },
|
|
|
|
- * });
|
|
|
|
- */
|
|
|
|
-export function useGetTop10VideosThisMonthQuery(
|
|
|
|
- baseOptions?: Apollo.QueryHookOptions<GetTop10VideosThisMonthQuery, GetTop10VideosThisMonthQueryVariables>
|
|
|
|
-) {
|
|
|
|
- const options = { ...defaultOptions, ...baseOptions }
|
|
|
|
- return Apollo.useQuery<GetTop10VideosThisMonthQuery, GetTop10VideosThisMonthQueryVariables>(
|
|
|
|
- GetTop10VideosThisMonthDocument,
|
|
|
|
- options
|
|
|
|
- )
|
|
|
|
-}
|
|
|
|
-export function useGetTop10VideosThisMonthLazyQuery(
|
|
|
|
- baseOptions?: Apollo.LazyQueryHookOptions<GetTop10VideosThisMonthQuery, GetTop10VideosThisMonthQueryVariables>
|
|
|
|
-) {
|
|
|
|
- const options = { ...defaultOptions, ...baseOptions }
|
|
|
|
- return Apollo.useLazyQuery<GetTop10VideosThisMonthQuery, GetTop10VideosThisMonthQueryVariables>(
|
|
|
|
- GetTop10VideosThisMonthDocument,
|
|
|
|
- options
|
|
|
|
- )
|
|
|
|
-}
|
|
|
|
-export type GetTop10VideosThisMonthQueryHookResult = ReturnType<typeof useGetTop10VideosThisMonthQuery>
|
|
|
|
-export type GetTop10VideosThisMonthLazyQueryHookResult = ReturnType<typeof useGetTop10VideosThisMonthLazyQuery>
|
|
|
|
-export type GetTop10VideosThisMonthQueryResult = Apollo.QueryResult<
|
|
|
|
- GetTop10VideosThisMonthQuery,
|
|
|
|
- GetTop10VideosThisMonthQueryVariables
|
|
|
|
->
|
|
|
|
export const GetVideosCountDocument = gql`
|
|
export const GetVideosCountDocument = gql`
|
|
query GetVideosCount($where: VideoWhereInput) {
|
|
query GetVideosCount($where: VideoWhereInput) {
|
|
videosConnection(where: $where, orderBy: [createdAt_ASC]) {
|
|
videosConnection(where: $where, orderBy: [createdAt_ASC]) {
|