Compare commits
2 Commits
08dfafe1a3
...
2aadb8b49b
Author | SHA1 | Date | |
---|---|---|---|
2aadb8b49b | |||
5468b7ccda |
@ -3322,6 +3322,7 @@ export type GetLoggedInUserQuery = {
|
|||||||
|
|
||||||
export type GetUserPlayTimeQueryVariables = Exact<{
|
export type GetUserPlayTimeQueryVariables = Exact<{
|
||||||
userId: Scalars["Int"]["input"];
|
userId: Scalars["Int"]["input"];
|
||||||
|
filters?: InputMaybe<VideoFilterInput>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetUserPlayTimeQuery = {
|
export type GetUserPlayTimeQuery = {
|
||||||
@ -5620,8 +5621,8 @@ export type GetLoggedInUserQueryResult = Apollo.QueryResult<
|
|||||||
GetLoggedInUserQueryVariables
|
GetLoggedInUserQueryVariables
|
||||||
>;
|
>;
|
||||||
export const GetUserPlayTimeDocument = gql`
|
export const GetUserPlayTimeDocument = gql`
|
||||||
query GetUserPlayTime($userId: Int!) {
|
query GetUserPlayTime($userId: Int!, $filters: VideoFilterInput) {
|
||||||
getPlayTime(userId: $userId) {
|
getPlayTime(userId: $userId, filters: $filters) {
|
||||||
totalSeconds
|
totalSeconds
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -5640,6 +5641,7 @@ export const GetUserPlayTimeDocument = gql`
|
|||||||
* const { data, loading, error } = useGetUserPlayTimeQuery({
|
* const { data, loading, error } = useGetUserPlayTimeQuery({
|
||||||
* variables: {
|
* variables: {
|
||||||
* userId: // value for 'userId'
|
* userId: // value for 'userId'
|
||||||
|
* filters: // value for 'filters'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
|
@ -45,8 +45,8 @@ query getLoggedInUser {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
query GetUserPlayTime($userId: Int!) {
|
query GetUserPlayTime($userId: Int!, $filters: VideoFilterInput) {
|
||||||
getPlayTime(userId: $userId) {
|
getPlayTime(userId: $userId, filters: $filters) {
|
||||||
totalSeconds
|
totalSeconds
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user