From a33601158f125905e3bdb66103758433e47020c5 Mon Sep 17 00:00:00 2001 From: Loewy Date: Mon, 16 Sep 2024 11:55:30 -0700 Subject: [PATCH 1/2] add serializedShotPaths to GetShots --- src/index.tsx | 7 +++++++ src/operations/shots.gql | 3 +++ 2 files changed, 10 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index bc7a8b1..ff369c8 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1841,6 +1841,10 @@ export type GetShotsQuery = { }; } | null; } | null; + serializedShotPaths?: { + __typename?: "SerializedShotPathsGQL"; + b64EncodedBuffer?: string | null; + } | null; cueObjectFeatures?: { __typename?: "CueObjectFeaturesGQL"; cueObjectDistance?: number | null; @@ -2873,6 +2877,9 @@ export const GetShotsDocument = gql` } } } + serializedShotPaths { + b64EncodedBuffer + } createdAt @include(if: $includeCreatedAt) updatedAt @include(if: $includeUpdatedAt) cueObjectFeatures @include(if: $includeCueObjectFeatures) { diff --git a/src/operations/shots.gql b/src/operations/shots.gql index 56ff57d..c1ac722 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -36,6 +36,9 @@ query GetShots( } } } + serializedShotPaths { + b64EncodedBuffer + } createdAt @include(if: $includeCreatedAt) updatedAt @include(if: $includeUpdatedAt) cueObjectFeatures @include(if: $includeCueObjectFeatures) { -- 2.45.2 From 5a9205a9b85f3c75b0839da486cb3ef62751883b Mon Sep 17 00:00:00 2001 From: Loewy Date: Mon, 16 Sep 2024 15:44:22 -0700 Subject: [PATCH 2/2] was on the wrong gql operation, updated --- src/index.tsx | 14 +++++++------- src/operations/shots.gql | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index ff369c8..c14dd86 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1841,10 +1841,6 @@ export type GetShotsQuery = { }; } | null; } | null; - serializedShotPaths?: { - __typename?: "SerializedShotPathsGQL"; - b64EncodedBuffer?: string | null; - } | null; cueObjectFeatures?: { __typename?: "CueObjectFeaturesGQL"; cueObjectDistance?: number | null; @@ -1938,6 +1934,10 @@ export type GetShotsWithMetadataQuery = { }; } | null; } | null; + serializedShotPaths?: { + __typename?: "SerializedShotPathsGQL"; + b64EncodedBuffer?: string | null; + } | null; cueObjectFeatures?: { __typename?: "CueObjectFeaturesGQL"; cueObjectDistance?: number | null; @@ -2877,9 +2877,6 @@ export const GetShotsDocument = gql` } } } - serializedShotPaths { - b64EncodedBuffer - } createdAt @include(if: $includeCreatedAt) updatedAt @include(if: $includeUpdatedAt) cueObjectFeatures @include(if: $includeCueObjectFeatures) { @@ -3166,6 +3163,9 @@ export const GetShotsWithMetadataDocument = gql` } } } + serializedShotPaths { + b64EncodedBuffer + } createdAt @include(if: $includeCreatedAt) updatedAt @include(if: $includeUpdatedAt) cueObjectFeatures @include(if: $includeCueObjectFeatures) { diff --git a/src/operations/shots.gql b/src/operations/shots.gql index c1ac722..545443c 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -36,9 +36,6 @@ query GetShots( } } } - serializedShotPaths { - b64EncodedBuffer - } createdAt @include(if: $includeCreatedAt) updatedAt @include(if: $includeUpdatedAt) cueObjectFeatures @include(if: $includeCueObjectFeatures) { @@ -116,6 +113,9 @@ query GetShotsWithMetadata( } } } + serializedShotPaths { + b64EncodedBuffer + } createdAt @include(if: $includeCreatedAt) updatedAt @include(if: $includeUpdatedAt) cueObjectFeatures @include(if: $includeCueObjectFeatures) { -- 2.45.2