Merge pull request 'Get user videos' (#132) from volodymyr/get-user-videos into master
Reviewed-on: #132 Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
This commit is contained in:
commit
12798e368c
@ -2780,9 +2780,15 @@ export type GetFeedQuery = {
|
||||
updatedAt?: any | null;
|
||||
startTime?: any | null;
|
||||
endTime?: any | null;
|
||||
private: boolean;
|
||||
elapsedTime?: number | null;
|
||||
tableSize: number;
|
||||
owner?: { __typename?: "UserGQL"; username: string } | null;
|
||||
owner?: {
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
} | null;
|
||||
stream?: {
|
||||
__typename?: "UploadStreamGQL";
|
||||
id: string;
|
||||
@ -2793,6 +2799,19 @@ export type GetFeedQuery = {
|
||||
name: string;
|
||||
tagClasses: Array<{ __typename?: "VideoTagClass"; name: string }>;
|
||||
}>;
|
||||
currentProcessing?: {
|
||||
__typename?: "VideoProcessingGQL";
|
||||
id: number;
|
||||
status: ProcessingStatusEnum;
|
||||
errors: Array<{
|
||||
__typename?: "VideoProcessingErrorGQL";
|
||||
message: string;
|
||||
}>;
|
||||
statuses: Array<{
|
||||
__typename?: "VideoProcessingStatusGQL";
|
||||
status: ProcessingStatusEnum;
|
||||
}>;
|
||||
} | null;
|
||||
}>;
|
||||
pageInfo: {
|
||||
__typename?: "PageInfoGQL";
|
||||
@ -2849,6 +2868,7 @@ export type GetVideoFeedQueryVariables = Exact<{
|
||||
limit?: Scalars["Int"]["input"];
|
||||
after?: InputMaybe<Scalars["String"]["input"]>;
|
||||
filters?: InputMaybe<VideoFilterInput>;
|
||||
includeCallersVideos?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
}>;
|
||||
|
||||
export type GetVideoFeedQuery = {
|
||||
@ -4500,32 +4520,7 @@ export const GetFeedDocument = gql`
|
||||
) {
|
||||
getUserVideos(limit: $limit, after: $after, filters: $filters) {
|
||||
videos {
|
||||
id
|
||||
owner {
|
||||
username
|
||||
}
|
||||
name
|
||||
screenshotUri
|
||||
totalShotsMade
|
||||
totalShots
|
||||
makePercentage
|
||||
createdAt
|
||||
updatedAt
|
||||
startTime
|
||||
endTime
|
||||
elapsedTime
|
||||
screenshotUri
|
||||
stream {
|
||||
id
|
||||
isCompleted
|
||||
}
|
||||
tableSize
|
||||
tags {
|
||||
tagClasses {
|
||||
name
|
||||
}
|
||||
name
|
||||
}
|
||||
...VideoCardFields
|
||||
}
|
||||
pageInfo {
|
||||
hasNextPage
|
||||
@ -4533,6 +4528,7 @@ export const GetFeedDocument = gql`
|
||||
}
|
||||
}
|
||||
}
|
||||
${VideoCardFieldsFragmentDoc}
|
||||
`;
|
||||
|
||||
/**
|
||||
@ -4600,8 +4596,14 @@ export const GetVideoFeedDocument = gql`
|
||||
$limit: Int! = 5
|
||||
$after: String = null
|
||||
$filters: VideoFilterInput = null
|
||||
$includeCallersVideos: Boolean = null
|
||||
) {
|
||||
getFeedVideos(
|
||||
limit: $limit
|
||||
after: $after
|
||||
filters: $filters
|
||||
includeCallersVideos: $includeCallersVideos
|
||||
) {
|
||||
getFeedVideos(limit: $limit, after: $after, filters: $filters) {
|
||||
videos {
|
||||
...VideoCardFields
|
||||
}
|
||||
@ -4629,6 +4631,7 @@ export const GetVideoFeedDocument = gql`
|
||||
* limit: // value for 'limit'
|
||||
* after: // value for 'after'
|
||||
* filters: // value for 'filters'
|
||||
* includeCallersVideos: // value for 'includeCallersVideos'
|
||||
* },
|
||||
* });
|
||||
*/
|
||||
|
@ -6,32 +6,7 @@ query GetFeed(
|
||||
) {
|
||||
getUserVideos(limit: $limit, after: $after, filters: $filters) {
|
||||
videos {
|
||||
id
|
||||
owner {
|
||||
username
|
||||
}
|
||||
name
|
||||
screenshotUri
|
||||
totalShotsMade
|
||||
totalShots
|
||||
makePercentage
|
||||
createdAt
|
||||
updatedAt
|
||||
startTime
|
||||
endTime
|
||||
elapsedTime
|
||||
screenshotUri
|
||||
stream {
|
||||
id
|
||||
isCompleted
|
||||
}
|
||||
tableSize
|
||||
tags {
|
||||
tagClasses {
|
||||
name
|
||||
}
|
||||
name
|
||||
}
|
||||
...VideoCardFields
|
||||
}
|
||||
pageInfo {
|
||||
hasNextPage
|
||||
@ -86,8 +61,14 @@ query GetVideoFeed(
|
||||
$limit: Int! = 5
|
||||
$after: String = null
|
||||
$filters: VideoFilterInput = null
|
||||
$includeCallersVideos: Boolean = null
|
||||
) {
|
||||
getFeedVideos(limit: $limit, after: $after, filters: $filters) {
|
||||
getFeedVideos(
|
||||
limit: $limit
|
||||
after: $after
|
||||
filters: $filters
|
||||
includeCallersVideos: $includeCallersVideos
|
||||
) {
|
||||
videos {
|
||||
...VideoCardFields
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user