Compare commits
1 Commits
2938a78b75
...
dean/add-h
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aac9879afc |
@@ -2286,7 +2286,6 @@ export type Mutation = {
|
|||||||
createSubscription: CreateSubscriptionResultGql;
|
createSubscription: CreateSubscriptionResultGql;
|
||||||
createUploadStream: CreateUploadStreamReturn;
|
createUploadStream: CreateUploadStreamReturn;
|
||||||
deleteComment: Scalars["Boolean"]["output"];
|
deleteComment: Scalars["Boolean"]["output"];
|
||||||
deleteNotification: Scalars["Boolean"]["output"];
|
|
||||||
deleteTags: Scalars["Boolean"]["output"];
|
deleteTags: Scalars["Boolean"]["output"];
|
||||||
deleteUser: Scalars["Boolean"]["output"];
|
deleteUser: Scalars["Boolean"]["output"];
|
||||||
deleteVideo: Scalars["Boolean"]["output"];
|
deleteVideo: Scalars["Boolean"]["output"];
|
||||||
@@ -2301,9 +2300,6 @@ export type Mutation = {
|
|||||||
getHlsInitUploadLink: GetUploadLinkReturn;
|
getHlsInitUploadLink: GetUploadLinkReturn;
|
||||||
getProfileImageUploadLink: GetProfileUploadLinkReturn;
|
getProfileImageUploadLink: GetProfileUploadLinkReturn;
|
||||||
getUploadLink: GetUploadLinkReturn;
|
getUploadLink: GetUploadLinkReturn;
|
||||||
markAllNotificationsAsRead: Scalars["Boolean"]["output"];
|
|
||||||
markNotificationAsRead: Scalars["Boolean"]["output"];
|
|
||||||
markNotificationsAsRead: Scalars["Boolean"]["output"];
|
|
||||||
reactToVideo: Scalars["Boolean"]["output"];
|
reactToVideo: Scalars["Boolean"]["output"];
|
||||||
reportContent: Scalars["Boolean"]["output"];
|
reportContent: Scalars["Boolean"]["output"];
|
||||||
retireTags: Scalars["Boolean"]["output"];
|
retireTags: Scalars["Boolean"]["output"];
|
||||||
@@ -2350,10 +2346,6 @@ export type MutationDeleteCommentArgs = {
|
|||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type MutationDeleteNotificationArgs = {
|
|
||||||
notificationId: Scalars["Int"]["input"];
|
|
||||||
};
|
|
||||||
|
|
||||||
export type MutationDeleteTagsArgs = {
|
export type MutationDeleteTagsArgs = {
|
||||||
tagsToDelete: Array<VideoTagInput>;
|
tagsToDelete: Array<VideoTagInput>;
|
||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
@@ -2409,14 +2401,6 @@ export type MutationGetUploadLinkArgs = {
|
|||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type MutationMarkNotificationAsReadArgs = {
|
|
||||||
notificationId: Scalars["Int"]["input"];
|
|
||||||
};
|
|
||||||
|
|
||||||
export type MutationMarkNotificationsAsReadArgs = {
|
|
||||||
notificationIds: Array<Scalars["Int"]["input"]>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type MutationReactToVideoArgs = {
|
export type MutationReactToVideoArgs = {
|
||||||
reaction?: InputMaybe<ReactionEnum>;
|
reaction?: InputMaybe<ReactionEnum>;
|
||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
@@ -2457,39 +2441,6 @@ export type NoInitForChunkedUploadErr = {
|
|||||||
segmentType: StreamSegmentTypeEnum;
|
segmentType: StreamSegmentTypeEnum;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type NotificationConnection = {
|
|
||||||
__typename?: "NotificationConnection";
|
|
||||||
hasMore: Scalars["Boolean"]["output"];
|
|
||||||
notifications: Array<NotificationGql>;
|
|
||||||
totalCount: Scalars["Int"]["output"];
|
|
||||||
unreadCount: Scalars["Int"]["output"];
|
|
||||||
};
|
|
||||||
|
|
||||||
export type NotificationFilters = {
|
|
||||||
isRead?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
||||||
notificationTypes?: InputMaybe<Array<NotificationTypeEnum>>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type NotificationGql = {
|
|
||||||
__typename?: "NotificationGQL";
|
|
||||||
actor: UserGql;
|
|
||||||
comment?: Maybe<CommentGql>;
|
|
||||||
createdAt: Scalars["DateTime"]["output"];
|
|
||||||
id: Scalars["Int"]["output"];
|
|
||||||
isRead: Scalars["Boolean"]["output"];
|
|
||||||
notificationType: NotificationTypeEnum;
|
|
||||||
reactionType?: Maybe<Scalars["String"]["output"]>;
|
|
||||||
readAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
||||||
videoId?: Maybe<Scalars["Int"]["output"]>;
|
|
||||||
};
|
|
||||||
|
|
||||||
export enum NotificationTypeEnum {
|
|
||||||
Comment = "COMMENT",
|
|
||||||
CommentReply = "COMMENT_REPLY",
|
|
||||||
Follow = "FOLLOW",
|
|
||||||
Reaction = "REACTION",
|
|
||||||
}
|
|
||||||
|
|
||||||
export type OtherErrorNeedsNote = {
|
export type OtherErrorNeedsNote = {
|
||||||
__typename?: "OtherErrorNeedsNote";
|
__typename?: "OtherErrorNeedsNote";
|
||||||
msg?: Maybe<Scalars["String"]["output"]>;
|
msg?: Maybe<Scalars["String"]["output"]>;
|
||||||
@@ -2599,8 +2550,6 @@ export type Query = {
|
|||||||
getVideo: VideoGql;
|
getVideo: VideoGql;
|
||||||
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
|
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
|
||||||
getVideos: Array<VideoGql>;
|
getVideos: Array<VideoGql>;
|
||||||
notifications: NotificationConnection;
|
|
||||||
unreadNotificationCount: Scalars["Int"]["output"];
|
|
||||||
waitFor: Scalars["Float"]["output"];
|
waitFor: Scalars["Float"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2740,12 +2689,6 @@ export type QueryGetVideosArgs = {
|
|||||||
videoIds: Array<Scalars["Int"]["input"]>;
|
videoIds: Array<Scalars["Int"]["input"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type QueryNotificationsArgs = {
|
|
||||||
filters?: InputMaybe<NotificationFilters>;
|
|
||||||
limit?: Scalars["Int"]["input"];
|
|
||||||
offset?: Scalars["Int"]["input"];
|
|
||||||
};
|
|
||||||
|
|
||||||
export type QueryWaitForArgs = {
|
export type QueryWaitForArgs = {
|
||||||
duration: Scalars["Float"]["input"];
|
duration: Scalars["Float"]["input"];
|
||||||
};
|
};
|
||||||
@@ -3280,6 +3223,7 @@ export type VideoGql = {
|
|||||||
|
|
||||||
export type VideoHistoryGql = {
|
export type VideoHistoryGql = {
|
||||||
__typename?: "VideoHistoryGQL";
|
__typename?: "VideoHistoryGQL";
|
||||||
|
hasFollowing: Scalars["Boolean"]["output"];
|
||||||
pageInfo: PageInfoGql;
|
pageInfo: PageInfoGql;
|
||||||
videos: Array<VideoGql>;
|
videos: Array<VideoGql>;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -28,12 +28,6 @@ type Query {
|
|||||||
when: DateTime = null
|
when: DateTime = null
|
||||||
): CountLeaderboardGQL!
|
): CountLeaderboardGQL!
|
||||||
getMedals(scope: MedalScope!, userId: Int = null): RequestedMedalsGQL!
|
getMedals(scope: MedalScope!, userId: Int = null): RequestedMedalsGQL!
|
||||||
notifications(
|
|
||||||
limit: Int! = 20
|
|
||||||
offset: Int! = 0
|
|
||||||
filters: NotificationFilters = null
|
|
||||||
): NotificationConnection!
|
|
||||||
unreadNotificationCount: Int!
|
|
||||||
getRuns(
|
getRuns(
|
||||||
filterInput: RunFilterInput!
|
filterInput: RunFilterInput!
|
||||||
runIds: [Int!] = null
|
runIds: [Int!] = null
|
||||||
@@ -326,6 +320,7 @@ enum BannerKindEnum {
|
|||||||
type VideoHistoryGQL {
|
type VideoHistoryGQL {
|
||||||
videos: [VideoGQL!]!
|
videos: [VideoGQL!]!
|
||||||
pageInfo: PageInfoGQL!
|
pageInfo: PageInfoGQL!
|
||||||
|
hasFollowing: Boolean!
|
||||||
}
|
}
|
||||||
|
|
||||||
type VideoGQL {
|
type VideoGQL {
|
||||||
@@ -720,37 +715,6 @@ input MedalScope @oneOf {
|
|||||||
datetimeRange: DatetimeRangeAggregationInput
|
datetimeRange: DatetimeRangeAggregationInput
|
||||||
}
|
}
|
||||||
|
|
||||||
type NotificationConnection {
|
|
||||||
notifications: [NotificationGQL!]!
|
|
||||||
totalCount: Int!
|
|
||||||
unreadCount: Int!
|
|
||||||
hasMore: Boolean!
|
|
||||||
}
|
|
||||||
|
|
||||||
type NotificationGQL {
|
|
||||||
id: Int!
|
|
||||||
notificationType: NotificationTypeEnum!
|
|
||||||
actor: UserGQL!
|
|
||||||
videoId: Int
|
|
||||||
comment: CommentGQL
|
|
||||||
reactionType: String
|
|
||||||
isRead: Boolean!
|
|
||||||
createdAt: DateTime!
|
|
||||||
readAt: DateTime
|
|
||||||
}
|
|
||||||
|
|
||||||
enum NotificationTypeEnum {
|
|
||||||
COMMENT
|
|
||||||
COMMENT_REPLY
|
|
||||||
REACTION
|
|
||||||
FOLLOW
|
|
||||||
}
|
|
||||||
|
|
||||||
input NotificationFilters {
|
|
||||||
isRead: Boolean = null
|
|
||||||
notificationTypes: [NotificationTypeEnum!] = null
|
|
||||||
}
|
|
||||||
|
|
||||||
type GetRunsResult {
|
type GetRunsResult {
|
||||||
runs: [RunGQL!]!
|
runs: [RunGQL!]!
|
||||||
count: Int
|
count: Int
|
||||||
@@ -952,10 +916,6 @@ type Mutation {
|
|||||||
reason: ReportReasonEnum!
|
reason: ReportReasonEnum!
|
||||||
customReason: String = null
|
customReason: String = null
|
||||||
): Boolean!
|
): Boolean!
|
||||||
markNotificationAsRead(notificationId: Int!): Boolean!
|
|
||||||
markAllNotificationsAsRead: Boolean!
|
|
||||||
markNotificationsAsRead(notificationIds: [Int!]!): Boolean!
|
|
||||||
deleteNotification(notificationId: Int!): Boolean!
|
|
||||||
addAnnotationToShot(
|
addAnnotationToShot(
|
||||||
shotId: Int!
|
shotId: Int!
|
||||||
annotationName: String!
|
annotationName: String!
|
||||||
|
|||||||
Reference in New Issue
Block a user