Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dunitrust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab 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
rust
Dunitrust
Merge requests
!227
[feat] gva: blocks: add inputs interval and step & add negative paging
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
[feat] gva: blocks: add inputs interval and step & add negative paging
elois/gva
into
dev
Overview
0
Commits
1
Pipelines
0
Changes
10
Merged
Éloïs
requested to merge
elois/gva
into
dev
5 years ago
Overview
0
Commits
1
Pipelines
0
Changes
10
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
10d6985d
1 commit,
5 years ago
10 files
+
651
−
59
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
lib/modules/gva/resources/schema.gql
+
7
−
4
View file @ 10d6985d
Edit in single-file editor
Open in Web IDE
Show full file
@@ -8,7 +8,7 @@ type Query {
@@ -8,7 +8,7 @@ type Query {
node
:
Node
!
@
juniper
(
ownership
:
"
owned
"
)
node
:
Node
!
@
juniper
(
ownership
:
"
owned
"
)
current
:
Block
@
juniper
(
ownership
:
"
owned
"
)
current
:
Block
@
juniper
(
ownership
:
"
owned
"
)
block
(
number
:
Int
!):
Block
@
juniper
(
ownership
:
"
owned
"
)
block
(
number
:
Int
!):
Block
@
juniper
(
ownership
:
"
owned
"
)
blocks
(
paging
:
Paging
):
[
Block
!]!
@
juniper
(
ownership
:
"
owned
"
)
blocks
(
interval
:
BlockInterval
,
paging
:
Paging
,
step
:
Int
=
1
):
[
Block
!]!
@
juniper
(
ownership
:
"
owned
"
)
}
}
type
Mutation
{
type
Mutation
{
@@ -19,12 +19,15 @@ type Mutation {
@@ -19,12 +19,15 @@ type Mutation {
# Inputs
# Inputs
#################################
#################################
input
BlockInterval
{
from
:
Int
# default value: 0
# If toBlock is null, current block number is used
to
:
Int
}
input
Paging
{
input
Paging
{
pageNumber
:
Int
# default value: 0
pageNumber
:
Int
# default value: 0
pageSize
:
Int
# default value: 50
pageSize
:
Int
# default value: 50
fromBlock
:
Int
# default value: 0
# If toBlock is null, current block number is used
toBlock
:
Int
}
}
#################################
#################################
Loading