Compare commits

...

3 Commits

Author SHA1 Message Date
35a8d71128 Make shots pagination optional 2024-08-16 20:17:10 -06:00
3480637600 Merge pull request 'Add debugJson to getStreamMonitoringDetails' (#34) from loewy/add-debug-json into master
Reviewed-on: #34
2024-08-13 19:09:11 -06:00
f4665f51b1 add debugJson to getStreamMonitoringDetails
All checks were successful
Tests / Tests (pull_request) Successful in 7s
2024-08-13 15:30:04 -07:00
3 changed files with 8 additions and 6 deletions

View File

@@ -1729,6 +1729,7 @@ export type GetUsernamesQuery = {
export type GetStreamMonitoringDetailsQueryVariables = Exact<{ export type GetStreamMonitoringDetailsQueryVariables = Exact<{
videoId: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"];
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
}>; }>;
export type GetStreamMonitoringDetailsQuery = { export type GetStreamMonitoringDetailsQuery = {
@@ -2462,7 +2463,7 @@ export type GetVideoMakePercentageIntervalsQueryResult = Apollo.QueryResult<
export const GetShotsDocument = gql` export const GetShotsDocument = gql`
query GetShots( query GetShots(
$filterInput: FilterInput! $filterInput: FilterInput!
$shotsPagination: GetShotsPagination $shotsPagination: GetShotsPagination = null
$limit: Int $limit: Int
$includeCreatedAt: Boolean! = false $includeCreatedAt: Boolean! = false
$includeUpdatedAt: Boolean! = false $includeUpdatedAt: Boolean! = false
@@ -2993,8 +2994,8 @@ export type GetUsernamesQueryResult = Apollo.QueryResult<
GetUsernamesQueryVariables GetUsernamesQueryVariables
>; >;
export const GetStreamMonitoringDetailsDocument = gql` export const GetStreamMonitoringDetailsDocument = gql`
query GetStreamMonitoringDetails($videoId: Int!) { query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
getVideo(videoId: $videoId) { getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
id id
totalShots totalShots
makePercentage makePercentage
@@ -3072,6 +3073,7 @@ export const GetStreamMonitoringDetailsDocument = gql`
* const { data, loading, error } = useGetStreamMonitoringDetailsQuery({ * const { data, loading, error } = useGetStreamMonitoringDetailsQuery({
* variables: { * variables: {
* videoId: // value for 'videoId' * videoId: // value for 'videoId'
* debuggingJson: // value for 'debuggingJson'
* }, * },
* }); * });
*/ */

View File

@@ -1,6 +1,6 @@
query GetShots( query GetShots(
$filterInput: FilterInput! $filterInput: FilterInput!
$shotsPagination: GetShotsPagination $shotsPagination: GetShotsPagination = null
$limit: Int $limit: Int
$includeCreatedAt: Boolean! = false $includeCreatedAt: Boolean! = false
$includeUpdatedAt: Boolean! = false $includeUpdatedAt: Boolean! = false

View File

@@ -1,5 +1,5 @@
query GetStreamMonitoringDetails($videoId: Int!) { query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
getVideo(videoId: $videoId) { getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
id id
totalShots totalShots
makePercentage makePercentage