Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
4e251d01
Commit
4e251d01
authored
Jun 04, 2019
by
Alessio Caiazza
Committed by
Nick Thomas
Jun 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expose wiki_size on GraphQL API
parent
6eee9335
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
app/graphql/types/project_statistics_type.rb
app/graphql/types/project_statistics_type.rb
+1
-0
changelogs/unreleased/ac-graphql-wikisize.yml
changelogs/unreleased/ac-graphql-wikisize.yml
+5
-0
spec/graphql/types/project_statistics_type_spec.rb
spec/graphql/types/project_statistics_type_spec.rb
+2
-1
No files found.
app/graphql/types/project_statistics_type.rb
View file @
4e251d01
...
...
@@ -11,5 +11,6 @@ module Types
field
:lfs_objects_size
,
GraphQL
::
INT_TYPE
,
null:
false
field
:build_artifacts_size
,
GraphQL
::
INT_TYPE
,
null:
false
field
:packages_size
,
GraphQL
::
INT_TYPE
,
null:
false
field
:wiki_size
,
GraphQL
::
INT_TYPE
,
null:
true
end
end
changelogs/unreleased/ac-graphql-wikisize.yml
0 → 100644
View file @
4e251d01
---
title
:
Expose wiki_size on GraphQL API
merge_request
:
29123
author
:
type
:
added
spec/graphql/types/project_statistics_type_spec.rb
View file @
4e251d01
...
...
@@ -5,6 +5,7 @@ require 'spec_helper'
describe
GitlabSchema
.
types
[
'ProjectStatistics'
]
do
it
"has all the required fields"
do
is_expected
.
to
have_graphql_fields
(
:storage_size
,
:repository_size
,
:lfs_objects_size
,
:build_artifacts_size
,
:packages_size
,
:commit_count
)
:build_artifacts_size
,
:packages_size
,
:commit_count
,
:wiki_size
)
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment