Add user to shot gql

This commit is contained in:
2024-05-21 14:14:02 -06:00
parent e86f40c620
commit 92c18f8bf7
4 changed files with 22 additions and 1 deletions

View File

@@ -612,6 +612,7 @@ export type GetShotsQuery = {
endFrame: number;
createdAt?: any | null;
updatedAt?: any | null;
user?: { __typename?: "UserGQL"; id: number } | null;
cueObjectFeatures?: {
__typename?: "CueObjectFeaturesGQL";
cueObjectDistance?: number | null;
@@ -1311,6 +1312,9 @@ export const GetShotsDocument = gql`
videoId
startFrame
endFrame
user {
id
}
createdAt @include(if: $includeCreatedAt)
updatedAt @include(if: $includeUpdatedAt)
cueObjectFeatures @include(if: $includeCueObjectFeatures) {

View File

@@ -17,6 +17,9 @@ query GetShots(
videoId
startFrame
endFrame
user {
id
}
createdAt @include(if: $includeCreatedAt)
updatedAt @include(if: $includeUpdatedAt)
cueObjectFeatures @include(if: $includeCueObjectFeatures) {