diff --git a/src/index.tsx b/src/index.tsx index a3b66d9..5c6c8b9 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1114,6 +1114,7 @@ export type Query = { getShotAnnotationTypes: Array; getShots: Array; getUser?: Maybe; + getUserTags: Array; getUserVideos: VideoHistoryGql; getUsernames: Array; 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; filters?: InputMaybe; @@ -1229,6 +1234,13 @@ export enum StreamSegmentTypeEnum { RbChunkedMp4 = "RB_CHUNKED_MP4", } +export type TagGql = { + __typename?: "TagGQL"; + group?: Maybe; + id: Scalars["Int"]["output"]; + name: Scalars["String"]["output"]; +}; + export type TargetMetricsGql = { __typename?: "TargetMetricsGQL"; averageDifficulty?: Maybe; diff --git a/src/schema.gql b/src/schema.gql index ef67913..6c41273 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -24,6 +24,7 @@ type Query { after: String = null filters: VideoFilterInput = null ): VideoHistoryGQL! + getUserTags(userId: Int!): [TagGQL!]! getVideo(videoId: Int!): VideoGQL! getVideos(videoIds: [Int!]!): [VideoGQL!]! } @@ -358,6 +359,12 @@ input VideoFilterInput { requireCursorCompletion: Boolean! = true } +type TagGQL { + name: String! + id: Int! + group: String +} + type Mutation { createBucketSet(params: CreateBucketSetInput!): BucketSetGQL! setLoggerLevel(path: String!, level: String!): Boolean!