From 68a4c064f35dd87cb7d380d396c9e3f471ad12e6 Mon Sep 17 00:00:00 2001 From: Loewy Date: Thu, 5 Dec 2024 15:30:16 -0800 Subject: [PATCH] add private field to video endpoints --- src/index.tsx | 4 ++++ src/operations/video.gql | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index a259db7..f9bb713 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3786,6 +3786,7 @@ export type GetVideoUpdatePageDetailsQuery = { makePercentage: number; elapsedTime?: number | null; tableSize: number; + private: boolean; tags: Array<{ __typename?: "VideoTag"; name: string; @@ -3825,6 +3826,7 @@ export type GetVideoDetailsQuery = { createdAt?: any | null; updatedAt?: any | null; tableSize: number; + private: boolean; owner?: { __typename?: "UserGQL"; id: number; @@ -6750,6 +6752,7 @@ export const GetVideoUpdatePageDetailsDocument = gql` makePercentage elapsedTime tableSize + private tags { tagClasses { name @@ -6890,6 +6893,7 @@ export const GetVideoDetailsDocument = gql` createdAt updatedAt tableSize + private owner { id firebaseUid diff --git a/src/operations/video.gql b/src/operations/video.gql index 9633148..ecd84a8 100644 --- a/src/operations/video.gql +++ b/src/operations/video.gql @@ -36,6 +36,7 @@ query GetVideoUpdatePageDetails($videoId: Int!) { makePercentage elapsedTime tableSize + private tags { tagClasses { name @@ -65,6 +66,7 @@ query GetVideoDetails($videoId: Int!) { createdAt updatedAt tableSize + private owner { id firebaseUid -- 2.47.0