From 679150326f9b6a6b319134482fa2dbdd10774f6d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 26 Mar 2024 16:50:57 -0600 Subject: [PATCH] Add elapsedTime to getUser gql operation --- src/index.tsx | 3 +++ src/operations/user.gql | 1 + src/schema.gql | 1 + 3 files changed, 5 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 8cf3691..42f9132 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -392,6 +392,7 @@ export type UploadStreamMetadataInput = { export type UserGql = { __typename?: "UserGQL"; createdAt?: Maybe; + elapsedTime: Scalars["Float"]["output"]; firebaseUid: Scalars["String"]["output"]; id: Scalars["Int"]["output"]; profileImageUri?: Maybe; @@ -651,6 +652,7 @@ export type GetLoggedInUserQuery = { profileImageUri?: string | null; createdAt?: any | null; updatedAt?: any | null; + elapsedTime: number; } | null; }; @@ -1337,6 +1339,7 @@ export const GetLoggedInUserDocument = gql` profileImageUri createdAt updatedAt + elapsedTime } } `; diff --git a/src/operations/user.gql b/src/operations/user.gql index 8703384..de1d3b4 100644 --- a/src/operations/user.gql +++ b/src/operations/user.gql @@ -27,5 +27,6 @@ query getLoggedInUser { profileImageUri createdAt updatedAt + elapsedTime } } diff --git a/src/schema.gql b/src/schema.gql index 4cfcc1e..fe953d8 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -127,6 +127,7 @@ type UserGQL { profileImageUri: String createdAt: DateTime updatedAt: DateTime + elapsedTime: Float! } """