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

View File

@@ -36,6 +36,7 @@ query GetVideoUpdatePageDetails($videoId: Int!) {
makePercentage makePercentage
elapsedTime elapsedTime
tableSize tableSize
pocketSize
private private
tags { tags {
tagClasses { tagClasses {
@@ -66,6 +67,7 @@ query GetVideoDetails($videoId: Int!) {
createdAt createdAt
updatedAt updatedAt
tableSize tableSize
pocketSize
private private
owner { owner {
id id

View File

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