From 797ca3a387be453b097e5e8fb33d3ae7f08c1880 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 31 Mar 2024 22:17:29 -0600 Subject: [PATCH] Don't load shots in feed --- src/index.tsx | 17 ----------------- src/operations/feed.gql | 8 -------- 2 files changed, 25 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 48f0be4..c84f5b3 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -491,15 +491,6 @@ export type GetFeedQuery = { endTime?: any | null; elapsedTime?: number | null; owner?: { __typename?: "UserGQL"; username: string } | null; - shots: Array<{ - __typename?: "ShotGQL"; - id?: number | null; - videoId?: number | null; - startFrame?: number | null; - endFrame?: number | null; - createdAt?: any | null; - updatedAt?: any | null; - }>; stream?: { __typename?: "UploadStreamGQL"; id: string; @@ -917,14 +908,6 @@ export const GetFeedDocument = gql` averageTimeBetweenShots createdAt updatedAt - shots { - id - videoId - startFrame - endFrame - createdAt - updatedAt - } startTime endTime elapsedTime diff --git a/src/operations/feed.gql b/src/operations/feed.gql index e08a06c..4cca4bd 100644 --- a/src/operations/feed.gql +++ b/src/operations/feed.gql @@ -13,14 +13,6 @@ query GetFeed($limit: Int! = 5, $after: String = null) { averageTimeBetweenShots createdAt updatedAt - shots { - id - videoId - startFrame - endFrame - createdAt - updatedAt - } startTime endTime elapsedTime