Merge pull request 'Add pocket size field to GraphQL schema and operations' (#209) from dean/add-pocket-size-clean into master

Reviewed-on: #209
This commit is contained in:
2025-11-11 21:09:28 +00:00
3 changed files with 10 additions and 0 deletions

View File

@@ -3275,6 +3275,7 @@ export type VideoGql = {
name?: Maybe<Scalars["String"]["output"]>;
owner?: Maybe<UserGql>;
playlist?: Maybe<HlsPlaylistGql>;
pocketSize?: Maybe<Scalars["Float"]["output"]>;
private: Scalars["Boolean"]["output"];
reactions: Array<ReactionGql>;
screenshotUri?: Maybe<Scalars["String"]["output"]>;
@@ -3303,6 +3304,7 @@ export type VideoMetadataInput = {
/** @deprecated `game_type` is deprecated. Use `tags` instead. */
gameType?: InputMaybe<Scalars["String"]["input"]>;
lastIntendedSegmentBound?: InputMaybe<Scalars["Int"]["input"]>;
pocketSize?: InputMaybe<Scalars["Float"]["input"]>;
private?: InputMaybe<Scalars["Boolean"]["input"]>;
resolution?: InputMaybe<VideoResolution>;
startTime?: InputMaybe<Scalars["DateTime"]["input"]>;
@@ -5103,6 +5105,7 @@ export type GetVideoUpdatePageDetailsQuery = {
makePercentage: number;
elapsedTime?: number | null;
tableSize: number;
pocketSize?: number | null;
private: boolean;
tags: Array<{
__typename?: "VideoTag";
@@ -5143,6 +5146,7 @@ export type GetVideoDetailsQuery = {
createdAt?: any | null;
updatedAt?: any | null;
tableSize: number;
pocketSize?: number | null;
private: boolean;
owner?: {
__typename?: "UserGQL";
@@ -9961,6 +9965,7 @@ export const GetVideoUpdatePageDetailsDocument = gql`
makePercentage
elapsedTime
tableSize
pocketSize
private
tags {
tagClasses {
@@ -10102,6 +10107,7 @@ export const GetVideoDetailsDocument = gql`
createdAt
updatedAt
tableSize
pocketSize
private
owner {
id

View File

@@ -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

View File

@@ -348,6 +348,7 @@ type VideoGQL {
elapsedTime: Float
framesPerSecond: Float!
tableSize: Float!
pocketSize: Float
private: Boolean!
stream: UploadStreamGQL
playlist: HLSPlaylistGQL
@@ -1124,6 +1125,7 @@ input VideoMetadataInput {
"""
tags: [VideoTagInput!] = null
tableSize: Float = null
pocketSize: Float = null
lastIntendedSegmentBound: Int = null
streamSegmentType: StreamSegmentTypeEnum = null
private: Boolean = null