Added user tags #23
@ -1114,6 +1114,7 @@ export type Query = {
|
||||
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
||||
getShots: Array<ShotGql>;
|
||||
getUser?: Maybe<UserGql>;
|
||||
getUserTags: UserTagsGql;
|
||||
|
||||
getUserVideos: VideoHistoryGql;
|
||||
getUsernames: Array<Scalars["String"]["output"]>;
|
||||
getVideo: VideoGql;
|
||||
@ -1141,6 +1142,10 @@ export type QueryGetUserArgs = {
|
||||
userId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type QueryGetUserTagsArgs = {
|
||||
userId: Scalars["Int"]["input"];
|
||||
};
|
||||
|
||||
export type QueryGetUserVideosArgs = {
|
||||
after?: InputMaybe<Scalars["String"]["input"]>;
|
||||
filters?: InputMaybe<VideoFilterInput>;
|
||||
@ -1229,6 +1234,12 @@ export enum StreamSegmentTypeEnum {
|
||||
RbChunkedMp4 = "RB_CHUNKED_MP4",
|
||||
}
|
||||
|
||||
export type TagGql = {
|
||||
__typename?: "TagGQL";
|
||||
id: Scalars["Int"]["output"];
|
||||
name: Scalars["String"]["output"];
|
||||
};
|
||||
|
||||
export type TargetMetricsGql = {
|
||||
__typename?: "TargetMetricsGQL";
|
||||
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
|
||||
@ -1293,6 +1304,11 @@ export type UserPlayTimeGql = {
|
||||
totalSeconds: Scalars["Float"]["output"];
|
||||
};
|
||||
|
||||
export type UserTagsGql = {
|
||||
colonelpanic
commented
Do we really need an outer wrapping type? I suppose if you want to do pagination it could end up being helpful. Do we really need an outer wrapping type?
I suppose if you want to do pagination it could end up being helpful.
micah_weitzman
commented
I guess I misinterpreted an error message and thought I had to. I guess I misinterpreted an error message and thought I had to.
|
||||
__typename?: "UserTagsGQL";
|
||||
tags: Array<TagGql>;
|
||||
};
|
||||
|
||||
export type VideoFilterInput = {
|
||||
isStreamCompleted?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||
requireCursorCompletion?: Scalars["Boolean"]["input"];
|
||||
|
@ -24,6 +24,7 @@ type Query {
|
||||
after: String = null
|
||||
filters: VideoFilterInput = null
|
||||
): VideoHistoryGQL!
|
||||
getUserTags(userId: Int!): UserTagsGQL!
|
||||
getVideo(videoId: Int!): VideoGQL!
|
||||
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
||||
}
|
||||
@ -358,6 +359,15 @@ input VideoFilterInput {
|
||||
requireCursorCompletion: Boolean! = true
|
||||
}
|
||||
|
||||
type UserTagsGQL {
|
||||
tags: [TagGQL!]!
|
||||
}
|
||||
|
||||
type TagGQL {
|
||||
name: String!
|
||||
id: Int!
|
||||
}
|
||||
|
||||
type Mutation {
|
||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||
|
Loading…
Reference in New Issue
Block a user
will this actually be user tags exclusively or also include the default railbird tags?
I suppose it could be any tag. It might be more useful to have a generic tag.