From f4665f51b1ec7fc7e2fe476605d8ec932efc199c Mon Sep 17 00:00:00 2001 From: Loewy Date: Tue, 13 Aug 2024 15:30:04 -0700 Subject: [PATCH] add debugJson to getStreamMonitoringDetails --- src/index.tsx | 6 ++++-- src/operations/video.gql | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index a73f54c..6a473d8 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1729,6 +1729,7 @@ export type GetUsernamesQuery = { export type GetStreamMonitoringDetailsQueryVariables = Exact<{ videoId: Scalars["Int"]["input"]; + debuggingJson?: InputMaybe; }>; export type GetStreamMonitoringDetailsQuery = { @@ -2993,8 +2994,8 @@ export type GetUsernamesQueryResult = Apollo.QueryResult< GetUsernamesQueryVariables >; export const GetStreamMonitoringDetailsDocument = gql` - query GetStreamMonitoringDetails($videoId: Int!) { - getVideo(videoId: $videoId) { + query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) { + getVideo(videoId: $videoId, debuggingJson: $debuggingJson) { id totalShots makePercentage @@ -3072,6 +3073,7 @@ export const GetStreamMonitoringDetailsDocument = gql` * const { data, loading, error } = useGetStreamMonitoringDetailsQuery({ * variables: { * videoId: // value for 'videoId' + * debuggingJson: // value for 'debuggingJson' * }, * }); */ diff --git a/src/operations/video.gql b/src/operations/video.gql index 93dcd4e..69d5382 100644 --- a/src/operations/video.gql +++ b/src/operations/video.gql @@ -1,5 +1,5 @@ -query GetStreamMonitoringDetails($videoId: Int!) { - getVideo(videoId: $videoId) { +query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) { + getVideo(videoId: $videoId, debuggingJson: $debuggingJson) { id totalShots makePercentage -- 2.45.2