Removed wrapper type
All checks were successful
Tests / Tests (pull_request) Successful in 14s

This commit is contained in:
Micah Weitzman 2024-07-23 18:53:39 -07:00
parent b1550b31c5
commit e1237363f0
2 changed files with 4 additions and 11 deletions

View File

@ -1114,7 +1114,7 @@ export type Query = {
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>; getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
getShots: Array<ShotGql>; getShots: Array<ShotGql>;
getUser?: Maybe<UserGql>; getUser?: Maybe<UserGql>;
getUserTags: UserTagsGql; getUserTags: Array<TagGql>;
getUserVideos: VideoHistoryGql; getUserVideos: VideoHistoryGql;
getUsernames: Array<Scalars["String"]["output"]>; getUsernames: Array<Scalars["String"]["output"]>;
getVideo: VideoGql; getVideo: VideoGql;
@ -1236,6 +1236,7 @@ export enum StreamSegmentTypeEnum {
export type TagGql = { export type TagGql = {
__typename?: "TagGQL"; __typename?: "TagGQL";
group?: Maybe<Scalars["String"]["output"]>;
id: Scalars["Int"]["output"]; id: Scalars["Int"]["output"];
name: Scalars["String"]["output"]; name: Scalars["String"]["output"];
}; };
@ -1304,11 +1305,6 @@ export type UserPlayTimeGql = {
totalSeconds: Scalars["Float"]["output"]; totalSeconds: Scalars["Float"]["output"];
}; };
export type UserTagsGql = {
__typename?: "UserTagsGQL";
tags: Array<TagGql>;
};
export type VideoFilterInput = { export type VideoFilterInput = {
isStreamCompleted?: InputMaybe<Scalars["Boolean"]["input"]>; isStreamCompleted?: InputMaybe<Scalars["Boolean"]["input"]>;
requireCursorCompletion?: Scalars["Boolean"]["input"]; requireCursorCompletion?: Scalars["Boolean"]["input"];

View File

@ -24,7 +24,7 @@ type Query {
after: String = null after: String = null
filters: VideoFilterInput = null filters: VideoFilterInput = null
): VideoHistoryGQL! ): VideoHistoryGQL!
getUserTags(userId: Int!): UserTagsGQL! getUserTags(userId: Int!): [TagGQL!]!
getVideo(videoId: Int!): VideoGQL! getVideo(videoId: Int!): VideoGQL!
getVideos(videoIds: [Int!]!): [VideoGQL!]! getVideos(videoIds: [Int!]!): [VideoGQL!]!
} }
@ -359,13 +359,10 @@ input VideoFilterInput {
requireCursorCompletion: Boolean! = true requireCursorCompletion: Boolean! = true
} }
type UserTagsGQL {
tags: [TagGQL!]!
}
type TagGQL { type TagGQL {
name: String! name: String!
id: Int! id: Int!
group: String
} }
type Mutation { type Mutation {