|
@@ -143,7 +143,7 @@ export type UnfollowChannelMutation = {
|
|
}
|
|
}
|
|
|
|
|
|
export type GetMostViewedChannelsQueryVariables = Types.Exact<{
|
|
export type GetMostViewedChannelsQueryVariables = Types.Exact<{
|
|
- viewedWithinDays: Types.Scalars['Int']
|
|
|
|
|
|
+ timePeriodDays: Types.Scalars['Int']
|
|
limit?: Types.Maybe<Types.Scalars['Int']>
|
|
limit?: Types.Maybe<Types.Scalars['Int']>
|
|
}>
|
|
}>
|
|
|
|
|
|
@@ -162,7 +162,7 @@ export type GetMostViewedChannelsAllTimeQuery = {
|
|
}
|
|
}
|
|
|
|
|
|
export type GetMostFollowedChannelsQueryVariables = Types.Exact<{
|
|
export type GetMostFollowedChannelsQueryVariables = Types.Exact<{
|
|
- followedWithinDays: Types.Scalars['Int']
|
|
|
|
|
|
+ timePeriodDays: Types.Scalars['Int']
|
|
limit?: Types.Maybe<Types.Scalars['Int']>
|
|
limit?: Types.Maybe<Types.Scalars['Int']>
|
|
}>
|
|
}>
|
|
|
|
|
|
@@ -694,8 +694,8 @@ export type UnfollowChannelMutationOptions = Apollo.BaseMutationOptions<
|
|
UnfollowChannelMutationVariables
|
|
UnfollowChannelMutationVariables
|
|
>
|
|
>
|
|
export const GetMostViewedChannelsDocument = gql`
|
|
export const GetMostViewedChannelsDocument = gql`
|
|
- query GetMostViewedChannels($viewedWithinDays: Int!, $limit: Int) {
|
|
|
|
- mostViewedChannels(period: $viewedWithinDays, limit: $limit) {
|
|
|
|
|
|
+ query GetMostViewedChannels($timePeriodDays: Int!, $limit: Int) {
|
|
|
|
+ mostViewedChannels(timePeriodDays: $timePeriodDays, limit: $limit) {
|
|
id
|
|
id
|
|
views
|
|
views
|
|
}
|
|
}
|
|
@@ -714,7 +714,7 @@ export const GetMostViewedChannelsDocument = gql`
|
|
* @example
|
|
* @example
|
|
* const { data, loading, error } = useGetMostViewedChannelsQuery({
|
|
* const { data, loading, error } = useGetMostViewedChannelsQuery({
|
|
* variables: {
|
|
* variables: {
|
|
- * viewedWithinDays: // value for 'viewedWithinDays'
|
|
|
|
|
|
+ * timePeriodDays: // value for 'timePeriodDays'
|
|
* limit: // value for 'limit'
|
|
* limit: // value for 'limit'
|
|
* },
|
|
* },
|
|
* });
|
|
* });
|
|
@@ -794,8 +794,8 @@ export type GetMostViewedChannelsAllTimeQueryResult = Apollo.QueryResult<
|
|
GetMostViewedChannelsAllTimeQueryVariables
|
|
GetMostViewedChannelsAllTimeQueryVariables
|
|
>
|
|
>
|
|
export const GetMostFollowedChannelsDocument = gql`
|
|
export const GetMostFollowedChannelsDocument = gql`
|
|
- query GetMostFollowedChannels($followedWithinDays: Int!, $limit: Int) {
|
|
|
|
- mostFollowedChannels(period: $followedWithinDays, limit: $limit) {
|
|
|
|
|
|
+ query GetMostFollowedChannels($timePeriodDays: Int!, $limit: Int) {
|
|
|
|
+ mostFollowedChannels(timePeriodDays: $timePeriodDays, limit: $limit) {
|
|
id
|
|
id
|
|
follows
|
|
follows
|
|
}
|
|
}
|
|
@@ -814,7 +814,7 @@ export const GetMostFollowedChannelsDocument = gql`
|
|
* @example
|
|
* @example
|
|
* const { data, loading, error } = useGetMostFollowedChannelsQuery({
|
|
* const { data, loading, error } = useGetMostFollowedChannelsQuery({
|
|
* variables: {
|
|
* variables: {
|
|
- * followedWithinDays: // value for 'followedWithinDays'
|
|
|
|
|
|
+ * timePeriodDays: // value for 'timePeriodDays'
|
|
* limit: // value for 'limit'
|
|
* limit: // value for 'limit'
|
|
* },
|
|
* },
|
|
* });
|
|
* });
|