From ce8d2aaec8695d1985ba401b4a0dff8d1f26f32a Mon Sep 17 00:00:00 2001 From: dean Date: Mon, 10 Nov 2025 10:55:08 -0800 Subject: [PATCH] Add pocket size field to GraphQL schema and operations --- src/index.tsx | 6 ++++++ src/operations/video.gql | 2 ++ src/schema.gql | 2 ++ 3 files changed, 10 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index ced217a..5c42efc 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3265,6 +3265,7 @@ export type VideoGql = { name?: Maybe; owner?: Maybe; playlist?: Maybe; + pocketSize?: Maybe; private: Scalars["Boolean"]["output"]; reactions: Array; screenshotUri?: Maybe; @@ -3293,6 +3294,7 @@ export type VideoMetadataInput = { /** @deprecated `game_type` is deprecated. Use `tags` instead. */ gameType?: InputMaybe; lastIntendedSegmentBound?: InputMaybe; + pocketSize?: InputMaybe; private?: InputMaybe; resolution?: InputMaybe; startTime?: InputMaybe; @@ -5168,6 +5170,7 @@ export type GetVideoUpdatePageDetailsQuery = { makePercentage: number; elapsedTime?: number | null; tableSize: number; + pocketSize?: number | null; private: boolean; tags: Array<{ __typename?: "VideoTag"; @@ -5208,6 +5211,7 @@ export type GetVideoDetailsQuery = { createdAt?: any | null; updatedAt?: any | null; tableSize: number; + pocketSize?: number | null; private: boolean; owner?: { __typename?: "UserGQL"; @@ -10058,6 +10062,7 @@ export const GetVideoUpdatePageDetailsDocument = gql` makePercentage elapsedTime tableSize + pocketSize private tags { tagClasses { @@ -10199,6 +10204,7 @@ export const GetVideoDetailsDocument = gql` createdAt updatedAt tableSize + pocketSize private owner { id diff --git a/src/operations/video.gql b/src/operations/video.gql index 5675745..44e878f 100644 --- a/src/operations/video.gql +++ b/src/operations/video.gql @@ -36,6 +36,7 @@ query GetVideoUpdatePageDetails($videoId: Int!) { makePercentage elapsedTime tableSize + pocketSize private tags { tagClasses { @@ -66,6 +67,7 @@ query GetVideoDetails($videoId: Int!) { createdAt updatedAt tableSize + pocketSize private owner { id diff --git a/src/schema.gql b/src/schema.gql index 37866a7..0a7bdb1 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -348,6 +348,7 @@ type VideoGQL { elapsedTime: Float framesPerSecond: Float! tableSize: Float! + pocketSize: Float private: Boolean! stream: UploadStreamGQL playlist: HLSPlaylistGQL @@ -1122,6 +1123,7 @@ input VideoMetadataInput { """ tags: [VideoTagInput!] = null tableSize: Float = null + pocketSize: Float = null lastIntendedSegmentBound: Int = null streamSegmentType: StreamSegmentTypeEnum = null private: Boolean = null