From 63ae6a08a5d27b09ca698f93071ebed1a0c7622d Mon Sep 17 00:00:00 2001 From: Vincent Texier <vit@free.fr> Date: Tue, 24 Jul 2018 07:43:24 +0000 Subject: [PATCH] Fix qraphql schema --- ...003 RFC GraphQL API for Duniter Clients.md | 25 +++---------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/rfc/0003 RFC GraphQL API for Duniter Clients.md b/rfc/0003 RFC GraphQL API for Duniter Clients.md index da822ad..8611d24 100644 --- a/rfc/0003 RFC GraphQL API for Duniter Clients.md +++ b/rfc/0003 RFC GraphQL API for Duniter Clients.md @@ -379,10 +379,8 @@ The SSL endpoint string is: ## API GraphQL Schema ```graphql - schema { query: Query - mutation: Mutation } type Query { @@ -400,30 +398,15 @@ type Summary { forkWindowSize: Int! } -interface Sandbox { - size: Int! - free: Int! -} - -type IdentitiesSandbox implements Sandbox { - size: Int! - free: Int! -} - -type MembershipsSandbox implements Sandbox { - size: Int! - free: Int! -} - -type TransactionsSandbox implements Sandbox { +type Sandbox { size: Int! free: Int! } type Sandboxes { - identities: IdentitiesSandbox - memberships: MembershipsSandbox - transactions: TransactionsSandbox + identities: Sandbox! + memberships: Sandbox! + transactions: Sandbox! } ``` -- GitLab