Merge pull request 'Add following followers to user model' (#81) from kat/following-followers into master
Reviewed-on: #81
This commit is contained in:
commit
d49f9b213a
@ -1999,11 +1999,13 @@ export type Mutation = {
|
||||
editProfileImageUri: UserGql;
|
||||
editUploadStream: Scalars["Boolean"]["output"];
|
||||
editUser: UserGql;
|
||||
followUser: UserGql;
|
||||
getHlsInitUploadLink: GetUploadLinkReturn;
|
||||
getProfileImageUploadLink: GetProfileUploadLinkReturn;
|
||||
getUploadLink: GetUploadLinkReturn;
|
||||
setLoggerLevel: Scalars["Boolean"]["output"];
|
||||
setSegmentDuration: Scalars["Boolean"]["output"];
|
||||
unfollowUser: UserGql;
|
||||
updateShotAnnotations: UpdateShotAnnotationReturn;
|
||||
};
|
||||
|
||||
@ -2038,6 +2040,10 @@ export type MutationEditUserArgs = {
|
||||
input: EditUserInputGql;
|
||||
};
|
||||
|
||||
export type MutationFollowUserArgs = {
|
||||
followedUserId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type MutationGetHlsInitUploadLinkArgs = {
|
||||
videoId: Scalars["Int"]["input"];
|
||||
};
|
||||
@ -2062,6 +2068,10 @@ export type MutationSetSegmentDurationArgs = {
|
||||
videoId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type MutationUnfollowUserArgs = {
|
||||
followedUserId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type MutationUpdateShotAnnotationsArgs = {
|
||||
annotations: Array<UpdateAnnotationInputGql>;
|
||||
shotId: Scalars["Int"]["input"];
|
||||
@ -2504,6 +2514,8 @@ export type UserGql = {
|
||||
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||
fargoRating?: Maybe<Scalars["Int"]["output"]>;
|
||||
firebaseUid: Scalars["String"]["output"];
|
||||
followers?: Maybe<Array<Scalars["Int"]["output"]>>;
|
||||
following?: Maybe<Array<Scalars["Int"]["output"]>>;
|
||||
id: Scalars["Int"]["output"];
|
||||
isAdmin: Scalars["Boolean"]["output"];
|
||||
profileImageUri?: Maybe<Scalars["String"]["output"]>;
|
||||
|
@ -343,6 +343,8 @@ type UserGQL {
|
||||
profileImageUri: String
|
||||
createdAt: DateTime
|
||||
updatedAt: DateTime
|
||||
following: [Int!]
|
||||
followers: [Int!]
|
||||
}
|
||||
|
||||
type ShotAnnotationGQL {
|
||||
@ -596,6 +598,8 @@ type Mutation {
|
||||
): GetProfileUploadLinkReturn!
|
||||
editProfileImageUri(profileImageUri: String!): UserGQL!
|
||||
editUser(input: EditUserInputGQL!): UserGQL!
|
||||
followUser(followedUserId: Int!): UserGQL!
|
||||
unfollowUser(followedUserId: Int!): UserGQL!
|
||||
createUploadStream(
|
||||
videoMetadata: VideoMetadataInput!
|
||||
): CreateUploadStreamReturn!
|
||||
|
Loading…
Reference in New Issue
Block a user