From 9f26b5aa0ff992d46b1bcedfb5c45a3585086ba2 Mon Sep 17 00:00:00 2001 From: Mike Kalange Date: Wed, 19 Mar 2025 14:05:41 -0700 Subject: [PATCH] Revert "Merge pull request 'Add functionality for retiring tags' (#165) from mk/retire-tags-gql into master" This reverts commit 70303b9363042078997f3bb22adadaad5636690a, reversing changes made to 7a9d2545c45db9e7149433512dd80ec7fd674bb9. --- src/index.tsx | 10 ---------- src/schema.gql | 4 +--- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 601e322..d7ac0fd 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2153,7 +2153,6 @@ export type Mutation = { getHlsInitUploadLink: GetUploadLinkReturn; getProfileImageUploadLink: GetProfileUploadLinkReturn; getUploadLink: GetUploadLinkReturn; - retireTags: Scalars["Boolean"]["output"]; setLoggerLevel: Scalars["Boolean"]["output"]; setSegmentDuration: Scalars["Boolean"]["output"]; unfollowUser: UserGql; @@ -2218,10 +2217,6 @@ export type MutationGetUploadLinkArgs = { videoId: Scalars["Int"]["input"]; }; -export type MutationRetireTagsArgs = { - tagIds: Array; -}; - export type MutationSetLoggerLevelArgs = { level: Scalars["String"]["input"]; path: Scalars["String"]["input"]; @@ -2439,10 +2434,6 @@ export type QueryGetUserRelationshipsMatchingArgs = { userId: Scalars["Int"]["input"]; }; -export type QueryGetUserTagsArgs = { - includeRetiredTags?: InputMaybe; -}; - export type QueryGetUserVideosArgs = { after?: InputMaybe; filters?: InputMaybe; @@ -2735,7 +2726,6 @@ export type TagGql = { __typename?: "TagGQL"; id: Scalars["Int"]["output"]; name: Scalars["String"]["output"]; - retired: Scalars["Boolean"]["output"]; tagClasses?: Maybe>; }; diff --git a/src/schema.gql b/src/schema.gql index 8174eff..7cdc102 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -60,7 +60,7 @@ type Query { after: String = null filters: VideoFilterInput = null ): VideoHistoryGQL! - getUserTags(includeRetiredTags: Boolean = false): [TagGQL!]! + getUserTags: [TagGQL!]! getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL! getVideos(videoIds: [Int!]!): [VideoGQL!]! getFeedVideos( @@ -718,7 +718,6 @@ type TagGQL { id: Int! name: String! tagClasses: [TagClassGQL!] - retired: Boolean! } type TagClassGQL { @@ -785,7 +784,6 @@ type Mutation { editUser(input: EditUserInputGQL!): UserGQL! followUser(followedUserId: Int!): UserGQL! unfollowUser(followedUserId: Int!): UserGQL! - retireTags(tagIds: [Int!]!): Boolean! findPrerecordTableLayout(b64Image: String!, videoId: Int!): HomographyInfoGQL createUploadStream( videoMetadata: VideoMetadataInput!