From 51a4eddbbdb483fe1792cfdee0b801e47751021d Mon Sep 17 00:00:00 2001 From: Pacien Boisson Date: Mon, 13 Jul 2020 11:57:53 +0200 Subject: [PATCH] added getBoxProfile action --- hasura/metadata/actions.graphql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/hasura/metadata/actions.graphql b/hasura/metadata/actions.graphql index 0b1d26e7..19eb7859 100644 --- a/hasura/metadata/actions.graphql +++ b/hasura/metadata/actions.graphql @@ -1,3 +1,10 @@ +type Query { + getBoxProfile ( + address: String + ): BoxProfile +} + + type Mutation { updateBoxProfile : UpdateBoxProfileResponse } @@ -10,3 +17,12 @@ type UpdateBoxProfileResponse { updatedProfiles : [String!]! } +type BoxProfile { + name : String + description : String + location : String + job : String + emoji : String + imageUrl : String +} +