Compare commits
5 Commits
mk/video-c
...
dean/updat
Author | SHA1 | Date | |
---|---|---|---|
170ff70b7a | |||
8df09b8c93 | |||
644ea66e98 | |||
0a5097c5c0 | |||
f4445f7ecb |
@@ -122,16 +122,6 @@ export enum ClientUploadStatusEnum {
|
||||
UploadEnabled = "UPLOAD_ENABLED",
|
||||
}
|
||||
|
||||
export type CommentGql = {
|
||||
__typename?: "CommentGQL";
|
||||
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
id: Scalars["Int"]["output"];
|
||||
message: Scalars["String"]["output"];
|
||||
replies: Array<CommentGql>;
|
||||
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
user: UserGql;
|
||||
};
|
||||
|
||||
export type CountLeaderboardGql = {
|
||||
__typename?: "CountLeaderboardGQL";
|
||||
entries: Array<UserShotCountEntry>;
|
||||
@@ -2236,13 +2226,10 @@ export type MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailed
|
||||
export type Mutation = {
|
||||
__typename?: "Mutation";
|
||||
addAnnotationToShot: AddShotAnnotationReturn;
|
||||
commentOnVideo: Scalars["Boolean"]["output"];
|
||||
createBucketSet: BucketSetGql;
|
||||
createUploadStream: CreateUploadStreamReturn;
|
||||
deleteComment: Scalars["Boolean"]["output"];
|
||||
deleteTags: Scalars["Boolean"]["output"];
|
||||
deleteVideo: Scalars["Boolean"]["output"];
|
||||
editComment: Scalars["Boolean"]["output"];
|
||||
editProfileImageUri: UserGql;
|
||||
editShot: EditShotReturn;
|
||||
editUploadStream: Scalars["Boolean"]["output"];
|
||||
@@ -2266,12 +2253,6 @@ export type MutationAddAnnotationToShotArgs = {
|
||||
shotId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type MutationCommentOnVideoArgs = {
|
||||
message: Scalars["String"]["input"];
|
||||
parentCommentId?: InputMaybe<Scalars["Int"]["input"]>;
|
||||
videoId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type MutationCreateBucketSetArgs = {
|
||||
params: CreateBucketSetInput;
|
||||
};
|
||||
@@ -2280,11 +2261,6 @@ export type MutationCreateUploadStreamArgs = {
|
||||
videoMetadata: VideoMetadataInput;
|
||||
};
|
||||
|
||||
export type MutationDeleteCommentArgs = {
|
||||
commentId: Scalars["Int"]["input"];
|
||||
videoId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type MutationDeleteTagsArgs = {
|
||||
tagsToDelete: Array<VideoTagInput>;
|
||||
videoId: Scalars["Int"]["input"];
|
||||
@@ -2294,12 +2270,6 @@ export type MutationDeleteVideoArgs = {
|
||||
videoId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type MutationEditCommentArgs = {
|
||||
commentId: Scalars["Int"]["input"];
|
||||
newMessage: Scalars["String"]["input"];
|
||||
videoId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type MutationEditProfileImageUriArgs = {
|
||||
profileImageUri: Scalars["String"]["input"];
|
||||
};
|
||||
@@ -3038,7 +3008,6 @@ export type VideoGql = {
|
||||
__typename?: "VideoGQL";
|
||||
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
|
||||
averageTimeBetweenShots?: Maybe<Scalars["Float"]["output"]>;
|
||||
comments: Array<CommentGql>;
|
||||
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
currentHomography?: Maybe<HomographyInfoGql>;
|
||||
currentProcessing?: Maybe<VideoProcessingGql>;
|
||||
@@ -3250,6 +3219,12 @@ export type GetFeedQuery = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
}>;
|
||||
}>;
|
||||
@@ -3314,6 +3289,12 @@ export type VideoCardFieldsFragment = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
}>;
|
||||
};
|
||||
@@ -3387,6 +3368,12 @@ export type GetVideoFeedQuery = {
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
followers?: Array<{
|
||||
__typename?: "UserGQL";
|
||||
id: number;
|
||||
username: string;
|
||||
profileImageUri?: string | null;
|
||||
}> | null;
|
||||
};
|
||||
}>;
|
||||
}>;
|
||||
@@ -5086,6 +5073,11 @@ export const VideoCardFieldsFragmentDoc = gql`
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
followers {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
}
|
||||
}
|
||||
reaction
|
||||
}
|
||||
|
@@ -64,6 +64,11 @@ fragment VideoCardFields on VideoGQL {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
followers {
|
||||
id
|
||||
username
|
||||
profileImageUri
|
||||
}
|
||||
}
|
||||
reaction
|
||||
}
|
||||
|
@@ -480,7 +480,6 @@ type VideoGQL {
|
||||
homographyHistory: [HomographyInfoGQL!]!
|
||||
currentProcessing: VideoProcessingGQL
|
||||
reactions: [ReactionGQL!]!
|
||||
comments: [CommentGQL!]!
|
||||
}
|
||||
|
||||
type UploadStreamGQL {
|
||||
@@ -622,15 +621,6 @@ type ReactionGQL {
|
||||
updatedAt: DateTime
|
||||
}
|
||||
|
||||
type CommentGQL {
|
||||
id: Int!
|
||||
user: UserGQL!
|
||||
message: String!
|
||||
replies: [CommentGQL!]!
|
||||
createdAt: DateTime
|
||||
updatedAt: DateTime
|
||||
}
|
||||
|
||||
enum ReactionEnum {
|
||||
LIKE
|
||||
HEART
|
||||
@@ -828,13 +818,6 @@ type Mutation {
|
||||
deleteVideo(videoId: Int!): Boolean!
|
||||
deleteTags(videoId: Int!, tagsToDelete: [VideoTagInput!]!): Boolean!
|
||||
reactToVideo(videoId: Int!, reaction: ReactionEnum): Boolean!
|
||||
commentOnVideo(
|
||||
videoId: Int!
|
||||
message: String!
|
||||
parentCommentId: Int
|
||||
): Boolean!
|
||||
editComment(videoId: Int!, commentId: Int!, newMessage: String!): Boolean!
|
||||
deleteComment(videoId: Int!, commentId: Int!): Boolean!
|
||||
}
|
||||
|
||||
input CreateBucketSetInput {
|
||||
|
Reference in New Issue
Block a user