From 62cf4ae56d8a6020a66c512196166aa67a937bd5 Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Mon, 3 Feb 2025 16:41:25 -0700 Subject: [PATCH] Create tags in video metadata --- src/index.tsx | 3 +++ src/schema.gql | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 63633d9..94b2762 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2906,6 +2906,7 @@ export type VideoMetadataInput = { endStream?: Scalars["Boolean"]["input"]; endTime?: InputMaybe; framesPerSecond?: InputMaybe; + /** @deprecated `game_type` is deprecated. Use `tags` instead. */ gameType?: InputMaybe; lastIntendedSegmentBound?: InputMaybe; private?: InputMaybe; @@ -2913,6 +2914,8 @@ export type VideoMetadataInput = { startTime?: InputMaybe; streamSegmentType?: InputMaybe; tableSize?: InputMaybe; + /** A list of tags associated with the video. Replace `game_type` */ + tags?: InputMaybe>; videoName?: InputMaybe; }; diff --git a/src/schema.gql b/src/schema.gql index 8db4dd1..9ceb5da 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -895,6 +895,12 @@ input VideoMetadataInput { startTime: DateTime = null endTime: DateTime = null gameType: String = null + @deprecated(reason: "`game_type` is deprecated. Use `tags` instead.") + + """ + A list of tags associated with the video. Replace `game_type` + """ + tags: [VideoTagInput!] = null tableSize: Float = null lastIntendedSegmentBound: Int = null streamSegmentType: StreamSegmentTypeEnum = null