Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
doc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nodes
common
doc
Merge requests
!3
WIP: RFC 3 : GraphQL API for Duniter Client
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
WIP: RFC 3 : GraphQL API for Duniter Client
graphql_api_rfc
into
master
Overview
23
Commits
25
Changes
1
Open
nanocryk
requested to merge
graphql_api_rfc
into
master
7 years ago
Overview
18
Commits
25
Changes
1
Expand
TODO
0
0
Merge request reports
Viewing commit
8ca8ff02
Prev
Next
Show latest version
1 file
+
22
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
8ca8ff02
[feat] rfc gva: schema: add distance field
· 8ca8ff02
Éloïs
authored
6 years ago
appendices/0003_RFC/schema.gql
+
22
−
1
Options
@@ -193,6 +193,23 @@ type Revocation {
written
:
Boolean
!
}
# The only field that must be supported is "out",
# all other fields may be null if the server does not implement them.
type
Distance
{
# Is the member outdistanced ?
out
:
Boolean
!
# Referring members count
sentries
:
Int
# Count referring members reached
success
:
Int
# Count referring members reached at border
successAtBorder
:
Int
# Count members reached
reached
:
Int
,
# Count members reached at border
reachedAtBorder
:
Int
}
type
Identity
{
version
:
Int
!
type
:
String
!
@@ -203,7 +220,11 @@ type Identity {
signature
:
String
!
raw
:
String
!
written
:
Boolean
!
membership
:
Membership
distance
:
Distance
!
# Membership
mb
:
Membership
# Pending memberships
pMbs
:
[
Membership
!]!
# Received certifications
recvCerts
:
[
Certification
!]!
# Identity revocation document (=null when identity not revoked)
Loading