Compare commits
3 Commits
b4fd4c92a6
...
a78f9e7b9d
Author | SHA1 | Date | |
---|---|---|---|
a78f9e7b9d | |||
f98c98ecdd | |||
3f6314aab7 |
@ -2169,6 +2169,7 @@ export type Query = {
|
||||
getUserTags: Array<TagGql>;
|
||||
getUserVideos: VideoHistoryGql;
|
||||
getUsernames: Array<Scalars["String"]["output"]>;
|
||||
getUsernamesAndFollowing: UsernamesAndFollowingResponse;
|
||||
getVideo: VideoGql;
|
||||
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
|
||||
getVideos: Array<VideoGql>;
|
||||
@ -2238,6 +2239,13 @@ export type QueryGetUsernamesArgs = {
|
||||
matchString?: InputMaybe<Scalars["String"]["input"]>;
|
||||
};
|
||||
|
||||
export type QueryGetUsernamesAndFollowingArgs = {
|
||||
after?: InputMaybe<Scalars["String"]["input"]>;
|
||||
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
||||
matchString?: InputMaybe<Scalars["String"]["input"]>;
|
||||
userId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type QueryGetVideoArgs = {
|
||||
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
||||
videoId: Scalars["Int"]["input"];
|
||||
@ -2515,6 +2523,13 @@ export type UserPlayTimeGql = {
|
||||
totalSeconds: Scalars["Float"]["output"];
|
||||
};
|
||||
|
||||
export type UsernamesAndFollowingResponse = {
|
||||
__typename?: "UsernamesAndFollowingResponse";
|
||||
followers: Array<Scalars["Int"]["output"]>;
|
||||
following: Array<Scalars["Int"]["output"]>;
|
||||
usernames: Array<Scalars["String"]["output"]>;
|
||||
};
|
||||
|
||||
export type VideoFilterInput = {
|
||||
isStreamCompleted?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
requireCursorCompletion?: Scalars["Boolean"]["input"];
|
||||
|
@ -35,6 +35,12 @@ type Query {
|
||||
limit: Int = null
|
||||
after: String = null
|
||||
): [String!]!
|
||||
getUsernamesAndFollowing(
|
||||
userId: Int!
|
||||
matchString: String = null
|
||||
limit: Int = 100
|
||||
after: String = null
|
||||
): UsernamesAndFollowingResponse!
|
||||
getPlayTime(userId: Int!): UserPlayTimeGQL!
|
||||
getUserVideos(
|
||||
userId: Int = null
|
||||
@ -548,6 +554,12 @@ input CreatedAfter @oneOf {
|
||||
createdAt: DateTime
|
||||
}
|
||||
|
||||
type UsernamesAndFollowingResponse {
|
||||
usernames: [String!]!
|
||||
following: [Int!]!
|
||||
followers: [Int!]!
|
||||
}
|
||||
|
||||
type UserPlayTimeGQL {
|
||||
totalSeconds: Float!
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user