From d1b2539d67d61b1705990f368f05a28c72480a15 Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Tue, 24 Aug 2021 21:58:04 +0530 Subject: [PATCH] refactor: gql request object and history typing updates --- components/collections/graphql/Request.vue | 17 ++-- components/graphql/RequestOptions.vue | 30 +++--- components/graphql/Sidebar.vue | 2 +- components/history/graphql/Card.vue | 31 ++++--- components/history/index.vue | 32 ++++--- helpers/GQLConnection.ts | 2 +- helpers/fb/history.ts | 6 +- helpers/types/HoppGQLRequest.ts | 41 +++++++++ newstore/GQLSession.ts | 101 ++++++++++++--------- newstore/history.ts | 82 ++++++++++++++--- newstore/localpersistence.ts | 3 +- 11 files changed, 240 insertions(+), 107 deletions(-) create mode 100644 helpers/types/HoppGQLRequest.ts diff --git a/components/collections/graphql/Request.vue b/components/collections/graphql/Request.vue index 25e557a56..ad99dac86 100644 --- a/components/collections/graphql/Request.vue +++ b/components/collections/graphql/Request.vue @@ -97,7 +97,8 @@