Merge pull request 'Added user tags' (#23) from micah/get-user-tags into master
Reviewed-on: #23 Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
This commit is contained in:
commit
4feeba5150
@ -1114,6 +1114,7 @@ export type Query = {
|
|||||||
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
||||||
getShots: Array<ShotGql>;
|
getShots: Array<ShotGql>;
|
||||||
getUser?: Maybe<UserGql>;
|
getUser?: Maybe<UserGql>;
|
||||||
|
getUserTags: Array<TagGql>;
|
||||||
getUserVideos: VideoHistoryGql;
|
getUserVideos: VideoHistoryGql;
|
||||||
getUsernames: Array<Scalars["String"]["output"]>;
|
getUsernames: Array<Scalars["String"]["output"]>;
|
||||||
getVideo: VideoGql;
|
getVideo: VideoGql;
|
||||||
@ -1141,6 +1142,10 @@ export type QueryGetUserArgs = {
|
|||||||
userId: Scalars["Int"]["input"];
|
userId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type QueryGetUserTagsArgs = {
|
||||||
|
userId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type QueryGetUserVideosArgs = {
|
export type QueryGetUserVideosArgs = {
|
||||||
after?: InputMaybe<Scalars["String"]["input"]>;
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
filters?: InputMaybe<VideoFilterInput>;
|
filters?: InputMaybe<VideoFilterInput>;
|
||||||
@ -1229,6 +1234,13 @@ export enum StreamSegmentTypeEnum {
|
|||||||
RbChunkedMp4 = "RB_CHUNKED_MP4",
|
RbChunkedMp4 = "RB_CHUNKED_MP4",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type TagGql = {
|
||||||
|
__typename?: "TagGQL";
|
||||||
|
group?: Maybe<Scalars["String"]["output"]>;
|
||||||
|
id: Scalars["Int"]["output"];
|
||||||
|
name: Scalars["String"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
export type TargetMetricsGql = {
|
export type TargetMetricsGql = {
|
||||||
__typename?: "TargetMetricsGQL";
|
__typename?: "TargetMetricsGQL";
|
||||||
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
|
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
|
||||||
|
@ -24,6 +24,7 @@ type Query {
|
|||||||
after: String = null
|
after: String = null
|
||||||
filters: VideoFilterInput = null
|
filters: VideoFilterInput = null
|
||||||
): VideoHistoryGQL!
|
): VideoHistoryGQL!
|
||||||
|
getUserTags(userId: Int!): [TagGQL!]!
|
||||||
getVideo(videoId: Int!): VideoGQL!
|
getVideo(videoId: Int!): VideoGQL!
|
||||||
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
||||||
}
|
}
|
||||||
@ -358,6 +359,12 @@ input VideoFilterInput {
|
|||||||
requireCursorCompletion: Boolean! = true
|
requireCursorCompletion: Boolean! = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type TagGQL {
|
||||||
|
name: String!
|
||||||
|
id: Int!
|
||||||
|
group: String
|
||||||
|
}
|
||||||
|
|
||||||
type Mutation {
|
type Mutation {
|
||||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||||
|
Loading…
Reference in New Issue
Block a user